Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RoutingTable ¶
type RoutingTable interface { RouteCount() int AddRoutes(desiredLRP *models.DesiredLRPSchedulingInfo) event.RoutingEvents UpdateRoutes(beforeLRP, afterLRP *models.DesiredLRPSchedulingInfo) event.RoutingEvents RemoveRoutes(desiredLRP *models.DesiredLRPSchedulingInfo) event.RoutingEvents AddEndpoint(actualLRP *models.ActualLRPGroup) event.RoutingEvents RemoveEndpoint(actualLRP *models.ActualLRPGroup) event.RoutingEvents Swap(t RoutingTable) event.RoutingEvents GetRoutingEvents() event.RoutingEvents }
func NewTable ¶
func NewTable(logger lager.Logger, entries map[endpoint.RoutingKey]endpoint.RoutableEndpoints) RoutingTable
Click to show internal directories.
Click to hide internal directories.