Packages

o

nelson

CycleDetection

object CycleDetection

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

Type Members

  1. type ReverseRoutingGraph = Graph[RoutingNode, Unit, RoutePath]
  2. type Valid[A] = Validated[NonEmptyList[NelsonError], A]

Value Members

  1. def collectViolations(u: UnitDef, reachables: List[DCUnit], namespace: Namespace): Valid[Unit]
  2. def dependants(g: ReverseRoutingGraph)(d: Deployment): List[DCUnit]
  3. def detect(m: Manifest, cfg: NelsonConfig): StoreOpF[Valid[Unit]]
  4. def err(u: UnitDef, namespace: Namespace, dcu: DCUnit): NelsonError
  5. def getNamespaceGraphs(ns: List[Namespace]): StoreOpF[List[(Namespace, ReverseRoutingGraph)]]
  6. def getNamespaces(datacenters: List[Datacenter], namespaces: List[Namespace]): StoreOpF[List[Namespace]]
  7. def isViolation(dep: String, depVersion: FeatureVersion)(reachable: DCUnit): Boolean
  8. def validateNoCycles(m: Manifest, cfg: NelsonConfig): EitherT[IO, NonEmptyList[NelsonError], Unit]
  9. def validateUnitDeps(namespace: Namespace, reachabilityGraph: ReverseRoutingGraph)(u: UnitDef): StoreOpF[Valid[Unit]]
  10. def validateUnitsInNamespace(m: Manifest, namespace: Namespace, reachabilityGraph: ReverseRoutingGraph): StoreOpF[Valid[Unit]]