Package

nelson

routing

Permalink

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]]

    Permalink

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

  2. type DiscoveryTables = SortedMap[NamespaceName, DiscoveryTable]

    Permalink

    A Discovery Table for each known namespace

  3. type GraphBuild[A] = IndexedReaderWriterStateT[StoreOpF, RoutingTables, List[String], RoutingGraph, RoutingGraph, A]

    Permalink
  4. type GraphBuildT[F[_], A] = IndexedReaderWriterStateT[F, RoutingTables, List[String], RoutingGraph, RoutingGraph, A]

    Permalink
  5. final case class RoutePath(stack: Deployment, portName: String, protocol: String, port: Int, weight: Int) extends Product with Serializable

    Permalink

    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]

    Permalink

    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

    Permalink
  8. type RoutingTable = SortedMap[ServiceTarget, Target]

    Permalink

    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]

    Permalink

    A routing table for each known namesapce

  10. type ServiceTarget = (UnitName, MajorVersion)

    Permalink

Value Members

  1. object Discovery

    Permalink
  2. object RoutePath extends Serializable

    Permalink
  3. object RoutingNode extends Serializable

    Permalink
  4. object RoutingTable

    Permalink
  5. object cron

    Permalink
  6. object deprecated

    Permalink
  7. object graphBuild

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped