Packages

object Manifest extends Serializable

Source
Manifest.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Manifest
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Action(config: ActionConfig, run: Kleisli[IO, (NelsonConfig, ActionConfig), Unit]) extends Product with Serializable
  2. final case class ActionConfig(datacenter: Datacenter, namespace: Namespace, plan: Plan, hash: String, notifications: NotificationSubscriptions) extends Product with Serializable
  3. final case class AlertOptOut(ref: String) extends Product with Serializable
  4. final case class Alerting(prometheus: PrometheusConfig) extends Product with Serializable
  5. final case class BackendDestination(name: UnitName, portReference: String) extends Product with Serializable
  6. sealed trait Constraint extends AnyRef
  7. final case class Deployable(name: String, version: Version, output: Output) extends Product with Serializable
  8. sealed trait DeploymentTarget extends AnyRef
  9. final case class Environment(cpu: ResourceSpec = ResourceSpec.unspecified, memory: ResourceSpec = ResourceSpec.unspecified, desiredInstances: Option[Int] = None, retries: Option[Int] = None, constraints: List[Constraint] = Nil, alertOptOuts: List[AlertOptOut] = Nil, bindings: List[EnvironmentVariable] = Nil, healthChecks: List[HealthCheck] = Nil, resources: Map[String, URI] = Map.empty, schedule: Option[Schedule] = None, policy: Option[ExpirationPolicy] = None, trafficShift: Option[TrafficShift] = None, volumes: List[Volume] = List.empty, workflow: Workflow[Unit] = Magnetar, blueprint: Option[Either[BlueprintRef, Blueprint]] = None) extends Product with Serializable
  10. final case class EnvironmentVariable(name: String, value: String) extends Product with Serializable
  11. final case class HealthCheck(name: String, portRef: String, protocol: String, path: Option[String], interval: FiniteDuration, timeout: FiniteDuration) extends Product with Serializable
  12. final case class Loadbalancer(name: String, routes: Vector[Route], majorVersion: Option[MajorVersion] = None) extends Product with Serializable
  13. final case class Namespace(name: NamespaceName, units: Set[(UnitRef, Set[PlanRef])], loadbalancers: Set[(LoadbalancerRef, Option[PlanRef])]) extends Product with Serializable
  14. final case class Plan(name: String, environment: Environment) extends Product with Serializable
  15. final case class Port(ref: String, port: Int, protocol: String) extends Product with Serializable
  16. final case class Ports(default: Port, others: List[Port]) extends Product with Serializable
  17. final case class PrometheusAlert(alert: String, expression: String) extends Product with Serializable
  18. final case class PrometheusConfig(alerts: List[PrometheusAlert], rules: List[PrometheusRule]) extends Product with Serializable
  19. final case class PrometheusRule(rule: String, expression: String) extends Product with Serializable
  20. final case class Resource(name: String, description: Option[String] = None) extends Product with Serializable
  21. sealed abstract class ResourceSpec extends Product with Serializable
  22. final case class Route(port: Port, destination: BackendDestination) extends Product with Serializable

    The concept over here is that a loadbalancer has routable units associated to it, which form a superset of the "dependency" concept.

    The concept over here is that a loadbalancer has routable units associated to it, which form a superset of the "dependency" concept. An example of a loadbalanced dependecy would be:

    Route -> BackendDestination("foo", "default")

    This makes *nelson* resolve the most recent stack for foo and declares that the port exposed by foo unit with the reference default will be the destination for traffic from this proxy config.

    The Route also defines a port which is exposed externally on the loadbalancer

  23. final case class TrafficShift(policy: TrafficShiftPolicy, duration: FiniteDuration) extends Product with Serializable
  24. final case class UnitDef(name: String, description: String, dependencies: Map[String, FeatureVersion], resources: Set[Resource], alerting: Alerting, ports: Option[Ports], deployable: Option[Deployable], meta: Set[String]) extends Product with Serializable
  25. trait Versioned extends AnyRef
  26. final case class Volume(name: String, mountPath: Path, size: Int) extends Product with Serializable

    An empty scratch volume to be mounted onto a container

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. val Versioned: TagOf[Versioned]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def foldLoadbalancers[A](m: Manifest, dcs: Seq[Datacenter], f: (Datacenter, Namespace, Plan, Loadbalancer, A) ⇒ A, a: A): A
  11. def foldNamespaces[A](m: Manifest, dcs: Seq[Datacenter], f: (Datacenter, Namespace, A) ⇒ A, a: A): A
  12. def foldUnits[A](m: Manifest, dcs: Seq[Datacenter], f: (Datacenter, Namespace, Plan, UnitDef, A) ⇒ A, a: A): A

    fold over all the datacenters, namespaces, (unit, plans) combinations specified by the Manifest.

  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getExpirationPolicy(plan: Plan): Option[ExpirationPolicy]
  15. def getSchedule(plan: Plan): Option[Schedule]
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isPeriodic(plan: Plan): Boolean
  19. def loadbalancerActions(m: @@[Manifest, Versioned], dcs: Seq[Datacenter], f: (Datacenter, Namespace, Plan, Loadbalancer) ⇒ Boolean): List[Action]
  20. def loadbalancers(m: Manifest, dcs: Seq[Datacenter]): List[(Datacenter, Namespace, Plan, Loadbalancer)]
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def saturateManifest(m: Manifest)(e: Deployment): IO[@@[Manifest, Versioned]]
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toAction[A](a: A, dc: Datacenter, ns: Namespace, p: Plan, n: NotificationSubscriptions)(implicit A: Actionable[A]): Action
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. def unitActions(m: @@[Manifest, Versioned], dcs: Seq[Datacenter], f: (Datacenter, Namespace, Plan, UnitDef) ⇒ Boolean): List[Action]
  29. def units(m: Manifest, dcs: Seq[Datacenter]): List[(Datacenter, Namespace, Plan, UnitDef)]
  30. def verifyDeployable(m: Manifest, dcs: Seq[Datacenter], storage: ~>[StoreOp, IO]): IO[ValidatedNel[NelsonError, Unit]]
  31. def versionedUnits(m: @@[Manifest, Versioned]): List[@@[UnitDef, Versioned]]
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  35. object Alerting extends Serializable
  36. object Constraint
  37. object Deployable extends Serializable
  38. object DeploymentTarget
  39. object Plan extends Serializable
  40. object Port extends Serializable
  41. object PrometheusConfig extends Serializable
  42. object ResourceSpec extends Serializable

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped