Object/Class

nelson

Manifest

Related Docs: class Manifest | package nelson

Permalink

object Manifest extends Serializable

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[Task, (NelsonConfig, ActionConfig), Unit]) extends Product with Serializable

    Permalink
  2. final case class ActionConfig(datacenter: Datacenter, namespace: Namespace, plan: Plan, hash: String, notifications: NotificationSubscriptions) extends Product with Serializable

    Permalink
  3. final case class AlertOptOut(ref: String) extends Product with Serializable

    Permalink
  4. final case class Alerting(prometheus: PrometheusConfig) extends Product with Serializable

    Permalink
  5. final case class BackendDestination(name: UnitName, portReference: String) extends Product with Serializable

    Permalink
  6. sealed trait Constraint extends AnyRef

    Permalink
  7. final case class Deployable(name: String, version: Version, output: Output) extends Product with Serializable

    Permalink
  8. sealed trait DeploymentTarget extends AnyRef

    Permalink
  9. final case class Environment(cpu: Option[Double] = None, memory: Option[Double] = None, desiredInstances: Option[Int] = None, retries: Option[Int] = None, constraints: List[Constraint] = Nil, alertOptOuts: List[AlertOptOut] = Nil, volumes: List[Volume] = 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) extends Product with Serializable

    Permalink
  10. final case class EnvironmentVariable(name: String, value: String) extends Product with Serializable

    Permalink
  11. final case class HealthCheck(name: String, portRef: String, protocol: String, path: Option[String], interval: FiniteDuration, timeout: FiniteDuration) extends Product with Serializable

    Permalink
  12. final case class Loadbalancer(name: String, routes: Vector[Route], majorVersion: Option[MajorVersion] = None) extends Product with Serializable

    Permalink
  13. final case class Namespace(name: NamespaceName, units: Set[(UnitRef, Set[PlanRef])], loadbalancers: Set[(LoadbalancerRef, Option[PlanRef])]) extends Product with Serializable

    Permalink
  14. final case class Plan(name: String, environment: Environment) extends Product with Serializable

    Permalink
  15. final case class Port(ref: String, port: Int, protocol: String) extends Product with Serializable

    Permalink
  16. final case class Ports(default: Port, others: List[Port]) extends Product with Serializable

    Permalink
  17. final case class PrometheusAlert(alert: String, expression: String) extends Product with Serializable

    Permalink
  18. final case class PrometheusConfig(alerts: List[PrometheusAlert], rules: List[PrometheusRule]) extends Product with Serializable

    Permalink
  19. final case class PrometheusRule(rule: String, expression: String) extends Product with Serializable

    Permalink
  20. final case class Resource(name: String, description: Option[String] = None) extends Product with Serializable

    Permalink
  21. final case class Route(port: Port, destination: BackendDestination) extends Product with Serializable

    Permalink

    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

  22. final case class TrafficShift(policy: TrafficShiftPolicy, duration: FiniteDuration) extends Product with Serializable

    Permalink
  23. final case class UnitDef(name: String, description: String, dependencies: Map[String, FeatureVersion], resources: Set[Resource], alerting: Alerting, workflow: Workflow[Unit], ports: Option[Ports], deployable: Option[Deployable], meta: Set[String], schedule: Option[Schedule] = None, policy: Option[ExpirationPolicy] = None) extends Product with Serializable

    Permalink
  24. trait Versioned extends AnyRef

    Permalink
  25. final case class Volume(mount: String, source: String, mode: String) extends Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Alerting extends Serializable

    Permalink
  5. object Constraint

    Permalink
  6. object Deployable extends Serializable

    Permalink
  7. object DeploymentTarget

    Permalink
  8. object Plan extends Serializable

    Permalink
  9. object Port extends Serializable

    Permalink
  10. object PrometheusConfig extends Serializable

    Permalink
  11. val Versioned: TagOf[Versioned]

    Permalink
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def foldLoadbalancers[A](m: Manifest, dcs: Seq[Datacenter], f: (Datacenter, Namespace, Plan, Loadbalancer, A) ⇒ A, a: A): A

    Permalink
  18. def foldNamespaces[A](m: Manifest, dcs: Seq[Datacenter], f: (Datacenter, Namespace, A) ⇒ A, a: A): A

    Permalink
  19. def foldUnits[A](m: Manifest, dcs: Seq[Datacenter], f: (Datacenter, Namespace, Plan, UnitDef, A) ⇒ A, a: A): A

    Permalink

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

  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def getExpirationPolicy(unit: UnitDef, plan: Plan): Option[ExpirationPolicy]

    Permalink
  22. def getSchedule(unit: UnitDef, plan: Plan): Option[Schedule]

    Permalink
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def isPeriodic(unit: UnitDef, plan: Plan): Boolean

    Permalink
  26. def loadbalancerActions(m: @@[Manifest, Versioned], dcs: Seq[Datacenter], f: (Datacenter, Namespace, Plan, Loadbalancer) ⇒ Boolean): List[Action]

    Permalink
  27. def loadbalancers(m: Manifest, dcs: Seq[Datacenter]): List[(Datacenter, Namespace, Plan, Loadbalancer)]

    Permalink
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. def saturateManifest(m: Manifest)(r: Release): Task[@@[Manifest, Versioned]]

    Permalink
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. def toAction[A](a: A, dc: Datacenter, ns: Namespace, p: Plan, n: NotificationSubscriptions)(implicit A: Actionable[A]): Action

    Permalink
  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. def unitActions(m: @@[Manifest, Versioned], dcs: Seq[Datacenter], f: (Datacenter, Namespace, Plan, UnitDef) ⇒ Boolean): List[Action]

    Permalink
  36. def units(m: Manifest, dcs: Seq[Datacenter]): List[(Datacenter, Namespace, Plan, UnitDef)]

    Permalink
  37. def verifyDeployable(m: Manifest, dcs: Seq[Datacenter], storage: ~>[StoreOp, Task]): Task[ValidationNel[NelsonError, Unit]]

    Permalink
  38. def versionedUnits(m: @@[Manifest, Versioned]): List[@@[UnitDef, Versioned]]

    Permalink
  39. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped