o

nelson.yaml

ManifestV1Parser

object ManifestV1Parser

Source
ManifestV1Parser.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ManifestV1Parser
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type YamlValidation[A] = Validated[NonEmptyList[YamlError], A]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. val multipleDefaultPortError: YamlError
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. val noDefaultPortError: YamlError
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def parse(input: String): Either[NonEmptyList[NelsonError], Manifest]

  18. def parseAlerting(rawAlerting: AlertingYaml): YamlValidation[Alerting]
  19. def parseAlphaNumHyphen(str: String, fieldName: String): YamlValidation[String]
  20. def parseDependency(dep: DependencyYaml): YamlValidation[(String, FeatureVersion)]
  21. def parseDuration(d: String): Either[YamlError, FiniteDuration]
  22. def parseEmailNotifications(raw: NotificationEmailYaml): YamlValidation[List[String]]
  23. def parseNotifications(raw: NotificationYaml): YamlValidation[NotificationSubscriptions]
  24. def parsePrometheusAlert(rawAlert: PrometheusAlertYaml): State[Set[String], YamlValidation[PrometheusAlert]]
  25. def parsePrometheusAlerting(rawPrometheus: PrometheusConfigYaml): YamlValidation[PrometheusConfig]
  26. def parsePrometheusRule(rawRule: PrometheusRuleYaml): State[Set[String], YamlValidation[PrometheusRule]]
  27. def parseResource(u: UnitYaml)(r: ResourceYaml): YamlValidation[Resource]
  28. def parseSchedule(str: String): YamlValidation[Schedule]
  29. def parseSlackNotifications(raw: NotificationSlackYaml): YamlValidation[List[String]]
  30. def parseURI(raw: String): YamlValidation[URI]
  31. def resolvePolicy(name: String): YamlValidation[ExpirationPolicy]
  32. def resolveWorkflow(name: String): ValidatedNel[YamlError, Workflow[Unit]]
  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. def toConstraint(c: ConstraintYaml): List[Constraint]
    Annotations
    @SuppressWarnings()
  35. def toDeploymentTarget(dcs: DatacenterTargetYaml): DeploymentTarget
  36. def toEnvironmentVariable(s: String): Option[EnvironmentVariable]

    TIM: need to do something better here with errors.

  37. def toHealthCheck(raw: HealthCheckYaml): YamlValidation[HealthCheck]
  38. def toLoadbalancer(raw: LoadbalancerYaml): YamlValidation[Loadbalancer]
  39. def toPlan(raw: PlanYaml): YamlValidation[Plan]
  40. def toPlanResource(raw: PlanResourceYaml): YamlValidation[(String, URI)]
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. def toUnit(raw: UnitYaml): YamlValidation[UnitDef]
  43. def validateCPU(i: Double): YamlValidation[Double]
  44. def validateCPURequest(request: Double, limit: Option[Double]): YamlValidation[ResourceSpec]
  45. def validateInstances(i: Int): YamlValidation[Int]
  46. def validateMemory(i: Double): YamlValidation[Double]
  47. def validateMemoryRequest(request: Double, limit: Option[Double]): YamlValidation[ResourceSpec]
  48. def validateMeta(s: String): YamlValidation[String]
  49. def validatePlanConstraints[A](n: A, e: (A) ⇒ YamlError)(f: (A) ⇒ Boolean)(implicit arg0: Numeric[A]): YamlValidation[A]
  50. def validateTrafficShift(raw: TrafficShiftYaml): YamlValidation[TrafficShift]
  51. def validateTrafficShiftDuration(dur: String): YamlValidation[FiniteDuration]
  52. def validateVolumes(volume: VolumeYaml): YamlValidation[Volume]
  53. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped