Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultDynamicConfig ¶
func NewDefaultDynamicConfig() *dynamic.Configuration
NewDefaultDynamicConfig creates and returns the minimal working dynamic configuration which should be propagated to proxy nodes.
Types ¶
type MiddlewareBuilder ¶
MiddlewareBuilder is capable of building a middleware from service annotations.
type PortFinder ¶
PortFinder finds service port mappings.
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
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 logrus.FieldLogger) *Provider
New creates a new Provider.
func (*Provider) BuildConfig ¶
func (p *Provider) BuildConfig(t *topology.Topology) *dynamic.Configuration
BuildConfig builds a dynamic configuration.
Click to show internal directories.
Click to hide internal directories.