Documentation ¶
Index ¶
- func AddMiddleware(configuration *dynamic.HTTPConfiguration, middlewareName string, ...) bool
- func AddMiddlewareTCP(configuration *dynamic.TCPConfiguration, middlewareName string, ...) bool
- func AddRouter(configuration *dynamic.HTTPConfiguration, routerName string, ...) bool
- func AddRouterTCP(configuration *dynamic.TCPConfiguration, routerName string, ...) bool
- func AddRouterUDP(configuration *dynamic.UDPConfiguration, routerName string, ...) bool
- func AddService(configuration *dynamic.HTTPConfiguration, serviceName string, ...) bool
- func AddServiceTCP(configuration *dynamic.TCPConfiguration, serviceName string, ...) bool
- func AddServiceUDP(configuration *dynamic.UDPConfiguration, serviceName string, ...) bool
- func AddTransport(configuration *dynamic.HTTPConfiguration, transportName string, ...) bool
- func BuildRouterConfiguration(ctx context.Context, configuration *dynamic.HTTPConfiguration, ...)
- func BuildTCPRouterConfiguration(ctx context.Context, configuration *dynamic.TCPConfiguration)
- func BuildUDPRouterConfiguration(ctx context.Context, configuration *dynamic.UDPConfiguration)
- func MakeDefaultRuleTemplate(defaultRule string, funcMap template.FuncMap) (*template.Template, error)
- func Merge(ctx context.Context, configurations map[string]*dynamic.Configuration) *dynamic.Configuration
- func Normalize(name string) string
- type Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMiddleware ¶
func AddMiddleware(configuration *dynamic.HTTPConfiguration, middlewareName string, middleware *dynamic.Middleware) bool
AddMiddleware Adds a middleware to a configurations.
func AddMiddlewareTCP ¶ added in v2.5.0
func AddMiddlewareTCP(configuration *dynamic.TCPConfiguration, middlewareName string, middleware *dynamic.TCPMiddleware) bool
AddMiddlewareTCP Adds a middleware to a configurations.
func AddRouter ¶
func AddRouter(configuration *dynamic.HTTPConfiguration, routerName string, router *dynamic.Router) bool
AddRouter Adds a router to a configurations.
func AddRouterTCP ¶
func AddRouterTCP(configuration *dynamic.TCPConfiguration, routerName string, router *dynamic.TCPRouter) bool
AddRouterTCP Adds a router to a configurations.
func AddRouterUDP ¶
func AddRouterUDP(configuration *dynamic.UDPConfiguration, routerName string, router *dynamic.UDPRouter) bool
AddRouterUDP adds a router to a configuration.
func AddService ¶
func AddService(configuration *dynamic.HTTPConfiguration, serviceName string, service *dynamic.Service) bool
AddService Adds a service to a configurations.
func AddServiceTCP ¶
func AddServiceTCP(configuration *dynamic.TCPConfiguration, serviceName string, service *dynamic.TCPService) bool
AddServiceTCP Adds a service to a configurations.
func AddServiceUDP ¶
func AddServiceUDP(configuration *dynamic.UDPConfiguration, serviceName string, service *dynamic.UDPService) bool
AddServiceUDP adds a service to a configuration.
func AddTransport ¶ added in v2.5.0
func AddTransport(configuration *dynamic.HTTPConfiguration, transportName string, transport *dynamic.ServersTransport) bool
AddTransport Adds a transport to a configurations.
func BuildRouterConfiguration ¶
func BuildRouterConfiguration(ctx context.Context, configuration *dynamic.HTTPConfiguration, defaultRouterName string, defaultRuleTpl *template.Template, model interface{})
BuildRouterConfiguration Builds a router configuration.
func BuildTCPRouterConfiguration ¶
func BuildTCPRouterConfiguration(ctx context.Context, configuration *dynamic.TCPConfiguration)
BuildTCPRouterConfiguration Builds a router configuration.
func BuildUDPRouterConfiguration ¶
func BuildUDPRouterConfiguration(ctx context.Context, configuration *dynamic.UDPConfiguration)
BuildUDPRouterConfiguration Builds a router configuration.
func MakeDefaultRuleTemplate ¶
func MakeDefaultRuleTemplate(defaultRule string, funcMap template.FuncMap) (*template.Template, error)
MakeDefaultRuleTemplate Creates the default rule template.
func Merge ¶
func Merge(ctx context.Context, configurations map[string]*dynamic.Configuration) *dynamic.Configuration
Merge Merges multiple configurations.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
kubernetes
|
|
crd/generated/clientset/versioned
This package has the automatically generated clientset.
|
This package has the automatically generated clientset. |
crd/generated/clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
crd/generated/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
crd/generated/clientset/versioned/typed/traefik/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
crd/generated/clientset/versioned/typed/traefik/v1alpha1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
crd/traefik/v1alpha1
Package v1alpha1 is the v1alpha1 version of the API.
|
Package v1alpha1 is the v1alpha1 version of the API. |
mocks
Package mocks Code generated by mockery v1.0.0.
|
Package mocks Code generated by mockery v1.0.0. |