test

package
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL