Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTestRouteAllocationController ¶
func NewTestRouteAllocationController() *allocation.RouteAllocationController
Types ¶
type TestAllocationPlugin ¶
type TestAllocationPlugin struct {
Name string
}
func (*TestAllocationPlugin) Allocate ¶
func (p *TestAllocationPlugin) Allocate(route *routeapi.Route) (*routeapi.RouterShard, error)
func (*TestAllocationPlugin) GenerateHostname ¶
func (p *TestAllocationPlugin) GenerateHostname(route *routeapi.Route, shard *routeapi.RouterShard) string
Click to show internal directories.
Click to hide internal directories.