Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { WatchAll(namespaces []string, stopCh <-chan struct{}) (<-chan interface{}, error) GetGatewayClasses() ([]*gatev1alpha2.GatewayClass, error) UpdateGatewayStatus(gateway *gatev1alpha2.Gateway, gatewayStatus gatev1alpha2.GatewayStatus) error UpdateGatewayClassStatus(gatewayClass *gatev1alpha2.GatewayClass, condition metav1.Condition) error GetGateways() []*gatev1alpha2.Gateway GetHTTPRoutes(namespaces []string) ([]*gatev1alpha2.HTTPRoute, error) GetTCPRoutes(namespaces []string) ([]*gatev1alpha2.TCPRoute, error) GetTLSRoutes(namespaces []string) ([]*gatev1alpha2.TLSRoute, error) GetService(namespace, name string) (*corev1.Service, bool, error) GetSecret(namespace, name string) (*corev1.Secret, bool, error) GetEndpoints(namespace, name string) (*corev1.Endpoints, bool, error) GetNamespaces(selector labels.Selector) ([]string, error) }
Client is a client for the Provider master. WatchAll starts the watch of the Provider resources and updates the stores. The stores can then be accessed via the Get* functions.
type Entrypoint ¶
Entrypoint defines the available entry points.
type Provider ¶
type Provider struct { Endpoint string `` /* 158-byte string literal not displayed */ Token string `` /* 159-byte string literal not displayed */ CertAuthFilePath string `` /* 194-byte string literal not displayed */ Namespaces []string `` /* 134-byte string literal not displayed */ LabelSelector string `` /* 181-byte string literal not displayed */ ThrottleDuration ptypes.Duration `` /* 166-byte string literal not displayed */ EntryPoints map[string]Entrypoint `json:"-" toml:"-" yaml:"-" label:"-" file:"-"` // contains filtered or unexported fields }
Provider holds configurations of the provider.
func (*Provider) Provide ¶
Provide allows the k8s provider to provide configurations to traefik using the given configuration channel.
func (*Provider) SetRouterTransform ¶ added in v2.10.2
func (p *Provider) SetRouterTransform(routerTransform k8s.RouterTransform)
Click to show internal directories.
Click to hide internal directories.