object CycleDetection
- Source
- CycleDetection.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CycleDetection
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type ReverseRoutingGraph = Graph[RoutingNode, Unit, RoutePath]
- type Valid[A] = Validated[NonEmptyList[NelsonError], A]
Value Members
- def collectViolations(u: UnitDef, reachables: List[DCUnit], namespace: Namespace): Valid[Unit]
- def dependants(g: ReverseRoutingGraph)(d: Deployment): List[DCUnit]
- def detect(m: Manifest, cfg: NelsonConfig): StoreOpF[Valid[Unit]]
- def err(u: UnitDef, namespace: Namespace, dcu: DCUnit): NelsonError
- def getNamespaceGraphs(ns: List[Namespace]): StoreOpF[List[(Namespace, ReverseRoutingGraph)]]
- def getNamespaces(datacenters: List[Datacenter], namespaces: List[Namespace]): StoreOpF[List[Namespace]]
- def isViolation(dep: String, depVersion: FeatureVersion)(reachable: DCUnit): Boolean
- def validateNoCycles(m: Manifest, cfg: NelsonConfig): EitherT[IO, NonEmptyList[NelsonError], Unit]
- def validateUnitDeps(namespace: Namespace, reachabilityGraph: ReverseRoutingGraph)(u: UnitDef): StoreOpF[Valid[Unit]]
- def validateUnitsInNamespace(m: Manifest, namespace: Namespace, reachabilityGraph: ReverseRoutingGraph): StoreOpF[Valid[Unit]]