Documentation ¶
Index ¶
Constants ¶
View Source
const ( // default listener values if key is not set in the `config.yaml` file when the service is run LISTENER_DEFAULT_NAME = "listener_0" LISTENER_DEFAULT_ADDRESS = "0.0.0.0" LISTENER_DEFAULT_PORT = 80 // config keys LISTENER_ADDRESS_CONFIG_KEY = "fuse.listener.address" LISTENER_PORT_CONFIG_KEY = "fuse.listener.port" DEFAULT_ROUTE_CONFIG_NAME = "route_config" )
Variables ¶
View Source
var ( ErrFailedRouteMarshal = errors.New("failed to marshal route") ErrUnableToSaveRoute = errors.New("unable to save route in the key/value store") )
View Source
var ( AddingRoute = "Add route request received" // Errors ErrNotImplemented = errors.New("not implemented") ErrInvalidRequest = errors.New("invalid request") ErrInvalidRoute = errors.New("invalid route") ErrInvalidRoutePrefix = errors.New("invalid route prefix") ErrInvalidRouteName = errors.New("invalid route name") ErrUnableToUpdateProxyCache = errors.New("unable to update proxy cache") )
Functions ¶
func GenerateSnapshot ¶
func GenerateSnapshot() *cache.Snapshot
`GenerateSnapshot` creates a snapshot with a cluster. This is only used to start the control plane.
func NewControlPlane ¶
Types ¶
type ControlPlane ¶
type Rpc ¶
type Rpc interface { chassis.RPCRegistrar ntConnect.NetworkingServiceHandler }
Click to show internal directories.
Click to hide internal directories.