final case class Route(port: Port, destination: BackendDestination) extends Product with Serializable
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
- Source
- Manifest.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Route
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Route(port: Port, destination: BackendDestination)
Value Members
- def asString: String
- val destination: BackendDestination
- val port: Port