Packages

p

nelson

routing

package routing

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

Type Members

  1. type DiscoveryTable = SortedMap[NamedService, NonEmptyList[RoutePath]]

    A table used to discover deployments offering a particular named port in a particular namespace

  2. type DiscoveryTables = SortedMap[NamespaceName, DiscoveryTable]

    A Discovery Table for each known namespace

  3. type GraphBuild[A] = IndexedReaderWriterStateT[StoreOpF, RoutingTables, List[String], RoutingGraph, RoutingGraph, A]
  4. type GraphBuildT[F[_], A] = IndexedReaderWriterStateT[F, RoutingTables, List[String], RoutingGraph, RoutingGraph, A]
  5. final case class RoutePath(stack: Deployment, portName: String, protocol: String, port: Int, weight: Int) extends Product with Serializable

    A path to a particular port on a particular deployment, which is weighted, so that we split traffic between two deployments both offering the same named port on a named service.

    A path to a particular port on a particular deployment, which is weighted, so that we split traffic between two deployments both offering the same named port on a named service.

    Weights are stored as a percentage of traffic, so 100 means all traffic, 50 means half of the traffic.

  6. type RoutingGraph = Graph[RoutingNode, Unit, RoutePath]

    the quiver graph which we will build that contains the current running deployments for a particular namespace, from this we build both routing tables and discovery tables

  7. final case class RoutingNode(node: Either[LoadbalancerDeployment, Deployment]) extends Product with Serializable
  8. type RoutingTable = SortedMap[ServiceTarget, Target]

    A table built for a particular namespace, it says "if you are in this namespace, and looking for this service type, here is the current target

  9. type RoutingTables = SortedMap[NamespaceName, RoutingTable]

    A routing table for each known namesapce

  10. type ServiceTarget = (UnitName, MajorVersion)

Inherited from AnyRef

Inherited from Any

Ungrouped