Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIConfig ¶
type APIConfig struct { HTTP struct { Middlewares map[string]*api.Middleware Routers map[string]*Router Services map[string][]*api.WeightedAddr } TCP struct { Middlewares map[string]*api.Middleware Routers map[string]*Router Services map[string][]*api.WeightedAddr } UDP struct { Middlewares map[string]*api.Middleware Routers map[string]*Router Services map[string][]*api.WeightedAddr } }
type Middleware ¶
type Middleware struct{}
type MiddlewareBuilder ¶
MiddlewareBuilder is capable of building a middleware from service annotations.
type PortFinder ¶
PortFinder finds service port mappings.
type Provider ¶
Provider holds the configuration for generating dynamic configuration from a kubernetes cluster state.
func New ¶
func New(httpStateTable, tcpStateTable, udpStateTable PortFinder, middlewareBuilder MiddlewareBuilder, cfg Config, logger logr.Logger) *Provider
New creates a new Provider.
Click to show internal directories.
Click to hide internal directories.