package
3.11.0+incompatible
Repository: https://github.com/csrwng/origin.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewBlueprintPlugin returns a new blueprint routes plugin.
NewClient returns a client used to dynamically change the haproxy config.
NewCSVConverter returns a new CSVConverter.
NewHAProxyConfigManager returns a new haproxyConfigManager.

# Constants

BackendServerStateDown indicates a server is down.
BackendServerStateDrain indicates a server is ready but draining.
BackendServerStateMaint indicates a server is under maintainence.
BackendServerStateReady indicates a server is ready.
GetServersStateCommand gets the state of all servers.
ListBackendsCommand is the command to get a list of all backends.
SetServerCommand sets server specific information and state.

# Structs

Backend represents a specific haproxy backend.
BackendServerInfo represents a server [endpoint] for a haproxy backend.
BlueprintPlugin implements the router.Plugin interface to process routes from the blueprint namespace for the associated config manager.
Client is a client used to dynamically configure haproxy.
CSVConverter is used to convert the haproxy dynamic configuration API responses into something that is valid CSV and then parse the response and unmarshal it into native golang structs.
HAProxyMap is a structure representing an haproxy map.
HAPrroxyMapEntry is an entry in HAProxyMap.

# Interfaces

Converter transforms a set of bytes.

# Type aliases

BackendServerState indicates the state for a haproxy backend server.
ByteConverterFunc converts bytes!.