Documentation ¶
Overview ¶
Package router contains the abstraction for router backend implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin interface { HandleRoute(watch.EventType, *routeapi.Route) error HandleEndpoints(watch.EventType, *kapi.Endpoints) error // If sent, filter the list of accepted routes and endpoints to this set HandleNamespaces(namespaces sets.String) error HandleNode(watch.EventType, *kapi.Node) error Commit() error }
Plugin is the interface the router controller dispatches watch events for the Routes and Endpoints resources to.
Directories ¶
Path | Synopsis |
---|---|
Package controller contains the router controller.
|
Package controller contains the router controller. |
factory
Package factory contains code used to create the router controller.
|
Package factory contains code used to create the router controller. |
haproxy
Package haproxy is inspired by https://github.com/prometheus/haproxy_exporter
|
Package haproxy is inspired by https://github.com/prometheus/haproxy_exporter |
Click to show internal directories.
Click to hide internal directories.