Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=traefik.containo.us
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type BasicAuth
- type Chain
- type ClientAuth
- type ClientTLS
- type DefaultCertificate
- type DigestAuth
- type ErrorPage
- type ForwardAuth
- type ForwardingTimeouts
- type IngressRoute
- type IngressRouteList
- type IngressRouteSpec
- type IngressRouteTCP
- type IngressRouteTCPList
- type IngressRouteTCPSpec
- type IngressRouteUDP
- type IngressRouteUDPList
- type IngressRouteUDPSpec
- type LoadBalancerSpec
- type Middleware
- type MiddlewareList
- type MiddlewareRef
- type MiddlewareSpec
- type MiddlewareTCP
- type MiddlewareTCPList
- type MiddlewareTCPSpec
- type MirrorService
- type Mirroring
- type ObjectReference
- type RateLimit
- type Retry
- type Route
- type RouteTCP
- type RouteUDP
- type ServersTransport
- type ServersTransportList
- type ServersTransportSpec
- type Service
- type ServiceSpec
- type ServiceTCP
- type ServiceUDP
- type TLS
- type TLSOption
- type TLSOptionList
- type TLSOptionRef
- type TLSOptionSpec
- type TLSOptionUDPRef
- type TLSStore
- type TLSStoreList
- type TLSStoreRef
- type TLSStoreSpec
- type TLSTCP
- type TraefikService
- type TraefikServiceList
- type WeightedRoundRobin
Constants ¶
const GroupName = "traefik.containo.us"
GroupName is the group name for Traefik.
Variables ¶
var ( // SchemeBuilder collects the scheme builder functions. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme applies the SchemeBuilder functions to a specified scheme. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects.
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource.
Types ¶
type BasicAuth ¶
type BasicAuth struct { Secret string `json:"secret,omitempty"` Realm string `json:"realm,omitempty"` RemoveHeader bool `json:"removeHeader,omitempty"` HeaderField string `json:"headerField,omitempty"` }
BasicAuth holds the HTTP basic authentication configuration.
func (*BasicAuth) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicAuth.
func (*BasicAuth) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Chain ¶
type Chain struct {
Middlewares []MiddlewareRef `json:"middlewares,omitempty"`
}
Chain holds a chain of middlewares.
func (*Chain) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Chain.
func (*Chain) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClientAuth ¶
type ClientAuth struct { // SecretName is the name of the referenced Kubernetes Secret to specify the certificate details. SecretNames []string `json:"secretNames,omitempty"` // +kubebuilder:validation:Enum=NoClientCert;RequestClientCert;VerifyClientCertIfGiven;RequireAndVerifyClientCert // ClientAuthType defines the client authentication type to apply. ClientAuthType string `json:"clientAuthType,omitempty"` }
ClientAuth defines the parameters of the client authentication part of the TLS connection, if any.
func (*ClientAuth) DeepCopy ¶
func (in *ClientAuth) DeepCopy() *ClientAuth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientAuth.
func (*ClientAuth) DeepCopyInto ¶
func (in *ClientAuth) DeepCopyInto(out *ClientAuth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClientTLS ¶
type ClientTLS struct { CASecret string `json:"caSecret,omitempty"` CAOptional bool `json:"caOptional,omitempty"` CertSecret string `json:"certSecret,omitempty"` InsecureSkipVerify bool `json:"insecureSkipVerify,omitempty"` }
ClientTLS holds TLS specific configurations as client.
func (*ClientTLS) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientTLS.
func (*ClientTLS) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DefaultCertificate ¶
type DefaultCertificate struct { // SecretName is the name of the referenced Kubernetes Secret to specify the certificate details. SecretName string `json:"secretName"` }
DefaultCertificate holds a secret name for the TLSOption resource.
func (*DefaultCertificate) DeepCopy ¶
func (in *DefaultCertificate) DeepCopy() *DefaultCertificate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultCertificate.
func (*DefaultCertificate) DeepCopyInto ¶
func (in *DefaultCertificate) DeepCopyInto(out *DefaultCertificate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DigestAuth ¶
type DigestAuth struct { Secret string `json:"secret,omitempty"` RemoveHeader bool `json:"removeHeader,omitempty"` Realm string `json:"realm,omitempty"` HeaderField string `json:"headerField,omitempty"` }
DigestAuth holds the Digest HTTP authentication configuration.
func (*DigestAuth) DeepCopy ¶
func (in *DigestAuth) DeepCopy() *DigestAuth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DigestAuth.
func (*DigestAuth) DeepCopyInto ¶
func (in *DigestAuth) DeepCopyInto(out *DigestAuth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ErrorPage ¶
type ErrorPage struct { Status []string `json:"status,omitempty"` Service Service `json:"service,omitempty"` Query string `json:"query,omitempty"` }
ErrorPage holds the custom error page configuration.
func (*ErrorPage) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ErrorPage.
func (*ErrorPage) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ForwardAuth ¶
type ForwardAuth struct { Address string `json:"address,omitempty"` TrustForwardHeader bool `json:"trustForwardHeader,omitempty"` AuthResponseHeaders []string `json:"authResponseHeaders,omitempty"` AuthResponseHeadersRegex string `json:"authResponseHeadersRegex,omitempty"` AuthRequestHeaders []string `json:"authRequestHeaders,omitempty"` TLS *ClientTLS `json:"tls,omitempty"` }
ForwardAuth holds the http forward authentication configuration.
func (*ForwardAuth) DeepCopy ¶
func (in *ForwardAuth) DeepCopy() *ForwardAuth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardAuth.
func (*ForwardAuth) DeepCopyInto ¶
func (in *ForwardAuth) DeepCopyInto(out *ForwardAuth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ForwardingTimeouts ¶ added in v2.4.0
type ForwardingTimeouts struct { // The amount of time to wait until a connection to a backend server can be established. If zero, no timeout exists. DialTimeout *intstr.IntOrString `json:"dialTimeout,omitempty"` // The amount of time to wait for a server's response headers after fully writing the request (including its body, if any). // If zero, no timeout exists. ResponseHeaderTimeout *intstr.IntOrString `json:"responseHeaderTimeout,omitempty"` // The maximum period for which an idle HTTP keep-alive connection will remain open before closing itself. IdleConnTimeout *intstr.IntOrString `json:"idleConnTimeout,omitempty"` }
ForwardingTimeouts contains timeout configurations for forwarding requests to the backend servers.
func (*ForwardingTimeouts) DeepCopy ¶ added in v2.4.0
func (in *ForwardingTimeouts) DeepCopy() *ForwardingTimeouts
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardingTimeouts.
func (*ForwardingTimeouts) DeepCopyInto ¶ added in v2.4.0
func (in *ForwardingTimeouts) DeepCopyInto(out *ForwardingTimeouts)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressRoute ¶
type IngressRoute struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec IngressRouteSpec `json:"spec"` }
IngressRoute is an Ingress CRD specification.
func (*IngressRoute) DeepCopy ¶
func (in *IngressRoute) DeepCopy() *IngressRoute
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRoute.
func (*IngressRoute) DeepCopyInto ¶
func (in *IngressRoute) DeepCopyInto(out *IngressRoute)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressRoute) DeepCopyObject ¶
func (in *IngressRoute) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IngressRouteList ¶
type IngressRouteList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []IngressRoute `json:"items"` }
IngressRouteList is a list of IngressRoutes.
func (*IngressRouteList) DeepCopy ¶
func (in *IngressRouteList) DeepCopy() *IngressRouteList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteList.
func (*IngressRouteList) DeepCopyInto ¶
func (in *IngressRouteList) DeepCopyInto(out *IngressRouteList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressRouteList) DeepCopyObject ¶
func (in *IngressRouteList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IngressRouteSpec ¶
type IngressRouteSpec struct { Routes []Route `json:"routes"` EntryPoints []string `json:"entryPoints,omitempty"` TLS *TLS `json:"tls,omitempty"` }
IngressRouteSpec is a specification for a IngressRouteSpec resource.
func (*IngressRouteSpec) DeepCopy ¶
func (in *IngressRouteSpec) DeepCopy() *IngressRouteSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteSpec.
func (*IngressRouteSpec) DeepCopyInto ¶
func (in *IngressRouteSpec) DeepCopyInto(out *IngressRouteSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressRouteTCP ¶
type IngressRouteTCP struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec IngressRouteTCPSpec `json:"spec"` }
IngressRouteTCP is an Ingress CRD specification.
func (*IngressRouteTCP) DeepCopy ¶
func (in *IngressRouteTCP) DeepCopy() *IngressRouteTCP
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteTCP.
func (*IngressRouteTCP) DeepCopyInto ¶
func (in *IngressRouteTCP) DeepCopyInto(out *IngressRouteTCP)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressRouteTCP) DeepCopyObject ¶
func (in *IngressRouteTCP) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IngressRouteTCPList ¶
type IngressRouteTCPList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []IngressRouteTCP `json:"items"` }
IngressRouteTCPList is a list of IngressRoutes.
func (*IngressRouteTCPList) DeepCopy ¶
func (in *IngressRouteTCPList) DeepCopy() *IngressRouteTCPList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteTCPList.
func (*IngressRouteTCPList) DeepCopyInto ¶
func (in *IngressRouteTCPList) DeepCopyInto(out *IngressRouteTCPList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressRouteTCPList) DeepCopyObject ¶
func (in *IngressRouteTCPList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IngressRouteTCPSpec ¶
type IngressRouteTCPSpec struct { Routes []RouteTCP `json:"routes"` EntryPoints []string `json:"entryPoints,omitempty"` TLS *TLSTCP `json:"tls,omitempty"` }
IngressRouteTCPSpec is a specification for a IngressRouteTCPSpec resource.
func (*IngressRouteTCPSpec) DeepCopy ¶
func (in *IngressRouteTCPSpec) DeepCopy() *IngressRouteTCPSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteTCPSpec.
func (*IngressRouteTCPSpec) DeepCopyInto ¶
func (in *IngressRouteTCPSpec) DeepCopyInto(out *IngressRouteTCPSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressRouteUDP ¶
type IngressRouteUDP struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec IngressRouteUDPSpec `json:"spec"` }
IngressRouteUDP is an Ingress CRD specification.
func (*IngressRouteUDP) DeepCopy ¶
func (in *IngressRouteUDP) DeepCopy() *IngressRouteUDP
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteUDP.
func (*IngressRouteUDP) DeepCopyInto ¶
func (in *IngressRouteUDP) DeepCopyInto(out *IngressRouteUDP)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressRouteUDP) DeepCopyObject ¶
func (in *IngressRouteUDP) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IngressRouteUDPList ¶
type IngressRouteUDPList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []IngressRouteUDP `json:"items"` }
IngressRouteUDPList is a list of IngressRoutes.
func (*IngressRouteUDPList) DeepCopy ¶
func (in *IngressRouteUDPList) DeepCopy() *IngressRouteUDPList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteUDPList.
func (*IngressRouteUDPList) DeepCopyInto ¶
func (in *IngressRouteUDPList) DeepCopyInto(out *IngressRouteUDPList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressRouteUDPList) DeepCopyObject ¶
func (in *IngressRouteUDPList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IngressRouteUDPSpec ¶
type IngressRouteUDPSpec struct { Routes []RouteUDP `json:"routes"` EntryPoints []string `json:"entryPoints,omitempty"` }
IngressRouteUDPSpec is a specification for a IngressRouteUDPSpec resource.
func (*IngressRouteUDPSpec) DeepCopy ¶
func (in *IngressRouteUDPSpec) DeepCopy() *IngressRouteUDPSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteUDPSpec.
func (*IngressRouteUDPSpec) DeepCopyInto ¶
func (in *IngressRouteUDPSpec) DeepCopyInto(out *IngressRouteUDPSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancerSpec ¶
type LoadBalancerSpec struct { // Name is a reference to a Kubernetes Service object (for a load-balancer of servers), // or to a TraefikService object (service load-balancer, mirroring, etc). // The differentiation between the two is specified in the Kind field. Name string `json:"name"` // +kubebuilder:validation:Enum=Service;TraefikService Kind string `json:"kind,omitempty"` Namespace string `json:"namespace,omitempty"` Sticky *dynamic.Sticky `json:"sticky,omitempty"` Port intstr.IntOrString `json:"port,omitempty"` Scheme string `json:"scheme,omitempty"` Strategy string `json:"strategy,omitempty"` PassHostHeader *bool `json:"passHostHeader,omitempty"` ResponseForwarding *dynamic.ResponseForwarding `json:"responseForwarding,omitempty"` ServersTransport string `json:"serversTransport,omitempty"` // Weight should only be specified when Name references a TraefikService object // (and to be precise, one that embeds a Weighted Round Robin). Weight *int `json:"weight,omitempty"` }
LoadBalancerSpec can reference either a Kubernetes Service object (a load-balancer of servers), or a TraefikService object (a traefik load-balancer of services).
func (*LoadBalancerSpec) DeepCopy ¶
func (in *LoadBalancerSpec) DeepCopy() *LoadBalancerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerSpec.
func (*LoadBalancerSpec) DeepCopyInto ¶
func (in *LoadBalancerSpec) DeepCopyInto(out *LoadBalancerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Middleware ¶
type Middleware struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec MiddlewareSpec `json:"spec"` }
Middleware is a specification for a Middleware resource.
func (*Middleware) DeepCopy ¶
func (in *Middleware) DeepCopy() *Middleware
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Middleware.
func (*Middleware) DeepCopyInto ¶
func (in *Middleware) DeepCopyInto(out *Middleware)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Middleware) DeepCopyObject ¶
func (in *Middleware) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MiddlewareList ¶
type MiddlewareList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Middleware `json:"items"` }
MiddlewareList is a list of Middleware resources.
func (*MiddlewareList) DeepCopy ¶
func (in *MiddlewareList) DeepCopy() *MiddlewareList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MiddlewareList.
func (*MiddlewareList) DeepCopyInto ¶
func (in *MiddlewareList) DeepCopyInto(out *MiddlewareList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MiddlewareList) DeepCopyObject ¶
func (in *MiddlewareList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MiddlewareRef ¶
type MiddlewareRef struct { Name string `json:"name"` Namespace string `json:"namespace,omitempty"` }
MiddlewareRef is a ref to the Middleware resources.
func (*MiddlewareRef) DeepCopy ¶
func (in *MiddlewareRef) DeepCopy() *MiddlewareRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MiddlewareRef.
func (*MiddlewareRef) DeepCopyInto ¶
func (in *MiddlewareRef) DeepCopyInto(out *MiddlewareRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MiddlewareSpec ¶
type MiddlewareSpec struct { AddPrefix *dynamic.AddPrefix `json:"addPrefix,omitempty"` StripPrefix *dynamic.StripPrefix `json:"stripPrefix,omitempty"` StripPrefixRegex *dynamic.StripPrefixRegex `json:"stripPrefixRegex,omitempty"` ReplacePath *dynamic.ReplacePath `json:"replacePath,omitempty"` ReplacePathRegex *dynamic.ReplacePathRegex `json:"replacePathRegex,omitempty"` Chain *Chain `json:"chain,omitempty"` IPWhiteList *dynamic.IPWhiteList `json:"ipWhiteList,omitempty"` Headers *dynamic.Headers `json:"headers,omitempty"` Errors *ErrorPage `json:"errors,omitempty"` RateLimit *RateLimit `json:"rateLimit,omitempty"` RedirectRegex *dynamic.RedirectRegex `json:"redirectRegex,omitempty"` RedirectScheme *dynamic.RedirectScheme `json:"redirectScheme,omitempty"` BasicAuth *BasicAuth `json:"basicAuth,omitempty"` DigestAuth *DigestAuth `json:"digestAuth,omitempty"` ForwardAuth *ForwardAuth `json:"forwardAuth,omitempty"` InFlightReq *dynamic.InFlightReq `json:"inFlightReq,omitempty"` Buffering *dynamic.Buffering `json:"buffering,omitempty"` CircuitBreaker *dynamic.CircuitBreaker `json:"circuitBreaker,omitempty"` Compress *dynamic.Compress `json:"compress,omitempty"` PassTLSClientCert *dynamic.PassTLSClientCert `json:"passTLSClientCert,omitempty"` Retry *Retry `json:"retry,omitempty"` ContentType *dynamic.ContentType `json:"contentType,omitempty"` Plugin map[string]apiextensionv1.JSON `json:"plugin,omitempty"` }
MiddlewareSpec holds the Middleware configuration.
func (*MiddlewareSpec) DeepCopy ¶
func (in *MiddlewareSpec) DeepCopy() *MiddlewareSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MiddlewareSpec.
func (*MiddlewareSpec) DeepCopyInto ¶
func (in *MiddlewareSpec) DeepCopyInto(out *MiddlewareSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MiddlewareTCP ¶ added in v2.5.0
type MiddlewareTCP struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec MiddlewareTCPSpec `json:"spec"` }
MiddlewareTCP is a specification for a MiddlewareTCP resource.
func (*MiddlewareTCP) DeepCopy ¶ added in v2.5.0
func (in *MiddlewareTCP) DeepCopy() *MiddlewareTCP
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MiddlewareTCP.
func (*MiddlewareTCP) DeepCopyInto ¶ added in v2.5.0
func (in *MiddlewareTCP) DeepCopyInto(out *MiddlewareTCP)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MiddlewareTCP) DeepCopyObject ¶ added in v2.5.0
func (in *MiddlewareTCP) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MiddlewareTCPList ¶ added in v2.5.0
type MiddlewareTCPList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []MiddlewareTCP `json:"items"` }
MiddlewareTCPList is a list of MiddlewareTCP resources.
func (*MiddlewareTCPList) DeepCopy ¶ added in v2.5.0
func (in *MiddlewareTCPList) DeepCopy() *MiddlewareTCPList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MiddlewareTCPList.
func (*MiddlewareTCPList) DeepCopyInto ¶ added in v2.5.0
func (in *MiddlewareTCPList) DeepCopyInto(out *MiddlewareTCPList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MiddlewareTCPList) DeepCopyObject ¶ added in v2.5.0
func (in *MiddlewareTCPList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MiddlewareTCPSpec ¶ added in v2.5.0
type MiddlewareTCPSpec struct {
IPWhiteList *dynamic.TCPIPWhiteList `json:"ipWhiteList,omitempty"`
}
MiddlewareTCPSpec holds the MiddlewareTCP configuration.
func (*MiddlewareTCPSpec) DeepCopy ¶ added in v2.5.0
func (in *MiddlewareTCPSpec) DeepCopy() *MiddlewareTCPSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MiddlewareTCPSpec.
func (*MiddlewareTCPSpec) DeepCopyInto ¶ added in v2.5.0
func (in *MiddlewareTCPSpec) DeepCopyInto(out *MiddlewareTCPSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MirrorService ¶
type MirrorService struct { LoadBalancerSpec `json:",inline"` Percent int `json:"percent,omitempty"` }
MirrorService defines one of the mirrors of a Mirroring service.
func (*MirrorService) DeepCopy ¶
func (in *MirrorService) DeepCopy() *MirrorService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MirrorService.
func (*MirrorService) DeepCopyInto ¶
func (in *MirrorService) DeepCopyInto(out *MirrorService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Mirroring ¶
type Mirroring struct { LoadBalancerSpec `json:",inline"` MaxBodySize *int64 `json:"maxBodySize,omitempty"` Mirrors []MirrorService `json:"mirrors,omitempty"` }
Mirroring defines a mirroring service, which is composed of a main load-balancer, and a list of mirrors.
func (*Mirroring) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Mirroring.
func (*Mirroring) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectReference ¶ added in v2.5.0
type ObjectReference struct { Name string `json:"name"` Namespace string `json:"namespace,omitempty"` }
ObjectReference is a generic reference to a Traefik resource.
func (*ObjectReference) DeepCopy ¶ added in v2.5.0
func (in *ObjectReference) DeepCopy() *ObjectReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference.
func (*ObjectReference) DeepCopyInto ¶ added in v2.5.0
func (in *ObjectReference) DeepCopyInto(out *ObjectReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RateLimit ¶ added in v2.5.0
type RateLimit struct { Average int64 `json:"average,omitempty"` Period *intstr.IntOrString `json:"period,omitempty"` Burst *int64 `json:"burst,omitempty"` SourceCriterion *dynamic.SourceCriterion `json:"sourceCriterion,omitempty"` }
RateLimit holds the rate limiting configuration for a given router.
func (*RateLimit) DeepCopy ¶ added in v2.5.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimit.
func (*RateLimit) DeepCopyInto ¶ added in v2.5.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Retry ¶ added in v2.5.0
type Retry struct { Attempts int `json:"attempts,omitempty"` InitialInterval intstr.IntOrString `json:"initialInterval,omitempty"` }
Retry holds the retry configuration.
func (*Retry) DeepCopy ¶ added in v2.5.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Retry.
func (*Retry) DeepCopyInto ¶ added in v2.5.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Route ¶
type Route struct { Match string `json:"match"` // +kubebuilder:validation:Enum=Rule Kind string `json:"kind"` Priority int `json:"priority,omitempty"` Services []Service `json:"services,omitempty"` Middlewares []MiddlewareRef `json:"middlewares,omitempty"` }
Route contains the set of routes.
func (*Route) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.
func (*Route) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteTCP ¶
type RouteTCP struct { Match string `json:"match"` Services []ServiceTCP `json:"services,omitempty"` // Middlewares contains references to MiddlewareTCP resources. Middlewares []ObjectReference `json:"middlewares,omitempty"` }
RouteTCP contains the set of routes.
func (*RouteTCP) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteTCP.
func (*RouteTCP) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteUDP ¶
type RouteUDP struct {
Services []ServiceUDP `json:"services,omitempty"`
}
RouteUDP contains the set of routes.
func (*RouteUDP) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteUDP.
func (*RouteUDP) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServersTransport ¶ added in v2.4.0
type ServersTransport struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ServersTransportSpec `json:"spec"` }
ServersTransport is a specification for a ServersTransport resource.
func (*ServersTransport) DeepCopy ¶ added in v2.4.0
func (in *ServersTransport) DeepCopy() *ServersTransport
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersTransport.
func (*ServersTransport) DeepCopyInto ¶ added in v2.4.0
func (in *ServersTransport) DeepCopyInto(out *ServersTransport)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServersTransport) DeepCopyObject ¶ added in v2.4.0
func (in *ServersTransport) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServersTransportList ¶ added in v2.4.0
type ServersTransportList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ServersTransport `json:"items"` }
ServersTransportList is a list of ServersTransport resources.
func (*ServersTransportList) DeepCopy ¶ added in v2.4.0
func (in *ServersTransportList) DeepCopy() *ServersTransportList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersTransportList.
func (*ServersTransportList) DeepCopyInto ¶ added in v2.4.0
func (in *ServersTransportList) DeepCopyInto(out *ServersTransportList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServersTransportList) DeepCopyObject ¶ added in v2.4.0
func (in *ServersTransportList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServersTransportSpec ¶ added in v2.4.0
type ServersTransportSpec struct { // ServerName used to contact the server. ServerName string `json:"serverName,omitempty"` // Disable SSL certificate verification. InsecureSkipVerify bool `json:"insecureSkipVerify,omitempty"` // Add cert file for self-signed certificate. RootCAsSecrets []string `json:"rootCAsSecrets,omitempty"` // Certificates for mTLS. CertificatesSecrets []string `json:"certificatesSecrets,omitempty"` // If non-zero, controls the maximum idle (keep-alive) to keep per-host. If zero, DefaultMaxIdleConnsPerHost is used. MaxIdleConnsPerHost int `json:"maxIdleConnsPerHost,omitempty"` // Timeouts for requests forwarded to the backend servers. ForwardingTimeouts *ForwardingTimeouts `json:"forwardingTimeouts,omitempty"` // Disable HTTP/2 for connections with backend servers. DisableHTTP2 bool `json:"disableHTTP2,omitempty"` }
ServersTransportSpec options to configure communication between Traefik and the servers.
func (*ServersTransportSpec) DeepCopy ¶ added in v2.4.0
func (in *ServersTransportSpec) DeepCopy() *ServersTransportSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersTransportSpec.
func (*ServersTransportSpec) DeepCopyInto ¶ added in v2.4.0
func (in *ServersTransportSpec) DeepCopyInto(out *ServersTransportSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Service ¶
type Service struct {
LoadBalancerSpec `json:",inline"`
}
Service defines an upstream to proxy traffic.
func (*Service) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.
func (*Service) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceSpec ¶
type ServiceSpec struct { Weighted *WeightedRoundRobin `json:"weighted,omitempty"` Mirroring *Mirroring `json:"mirroring,omitempty"` }
ServiceSpec defines whether a TraefikService is a load-balancer of services or a mirroring service.
func (*ServiceSpec) DeepCopy ¶
func (in *ServiceSpec) DeepCopy() *ServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec.
func (*ServiceSpec) DeepCopyInto ¶
func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceTCP ¶
type ServiceTCP struct { Name string `json:"name"` Namespace string `json:"namespace,omitempty"` Port intstr.IntOrString `json:"port"` Weight *int `json:"weight,omitempty"` TerminationDelay *int `json:"terminationDelay,omitempty"` ProxyProtocol *dynamic.ProxyProtocol `json:"proxyProtocol,omitempty"` }
ServiceTCP defines an upstream to proxy traffic.
func (*ServiceTCP) DeepCopy ¶
func (in *ServiceTCP) DeepCopy() *ServiceTCP
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTCP.
func (*ServiceTCP) DeepCopyInto ¶
func (in *ServiceTCP) DeepCopyInto(out *ServiceTCP)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceUDP ¶
type ServiceUDP struct { Name string `json:"name"` Namespace string `json:"namespace,omitempty"` Port intstr.IntOrString `json:"port"` Weight *int `json:"weight,omitempty"` }
ServiceUDP defines an upstream to proxy traffic.
func (*ServiceUDP) DeepCopy ¶
func (in *ServiceUDP) DeepCopy() *ServiceUDP
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceUDP.
func (*ServiceUDP) DeepCopyInto ¶
func (in *ServiceUDP) DeepCopyInto(out *ServiceUDP)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TLS ¶
type TLS struct { // SecretName is the name of the referenced Kubernetes Secret to specify the // certificate details. SecretName string `json:"secretName,omitempty"` // Options is a reference to a TLSOption, that specifies the parameters of the TLS connection. Options *TLSOptionRef `json:"options,omitempty"` // Store is a reference to a TLSStore, that specifies the parameters of the TLS store. Store *TLSStoreRef `json:"store,omitempty"` CertResolver string `json:"certResolver,omitempty"` Domains []types.Domain `json:"domains,omitempty"` }
TLS contains the TLS certificates configuration of the routes. To enable Let's Encrypt, use an empty TLS struct, e.g. in YAML:
tls: {} # inline format tls: secretName: # block format
func (*TLS) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLS.
func (*TLS) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TLSOption ¶
type TLSOption struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec TLSOptionSpec `json:"spec"` }
TLSOption is a specification for a TLSOption resource.
func (*TLSOption) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSOption.
func (*TLSOption) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TLSOption) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TLSOptionList ¶
type TLSOptionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []TLSOption `json:"items"` }
TLSOptionList is a list of TLSOption resources.
func (*TLSOptionList) DeepCopy ¶
func (in *TLSOptionList) DeepCopy() *TLSOptionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSOptionList.
func (*TLSOptionList) DeepCopyInto ¶
func (in *TLSOptionList) DeepCopyInto(out *TLSOptionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TLSOptionList) DeepCopyObject ¶
func (in *TLSOptionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TLSOptionRef ¶
type TLSOptionRef struct { Name string `json:"name"` Namespace string `json:"namespace,omitempty"` }
TLSOptionRef is a ref to the TLSOption resources.
func (*TLSOptionRef) DeepCopy ¶
func (in *TLSOptionRef) DeepCopy() *TLSOptionRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSOptionRef.
func (*TLSOptionRef) DeepCopyInto ¶
func (in *TLSOptionRef) DeepCopyInto(out *TLSOptionRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TLSOptionSpec ¶
type TLSOptionSpec struct { MinVersion string `json:"minVersion,omitempty"` MaxVersion string `json:"maxVersion,omitempty"` CipherSuites []string `json:"cipherSuites,omitempty"` CurvePreferences []string `json:"curvePreferences,omitempty"` ClientAuth ClientAuth `json:"clientAuth,omitempty"` SniStrict bool `json:"sniStrict,omitempty"` PreferServerCipherSuites bool `json:"preferServerCipherSuites,omitempty"` }
TLSOptionSpec configures TLS for an entry point.
func (*TLSOptionSpec) DeepCopy ¶
func (in *TLSOptionSpec) DeepCopy() *TLSOptionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSOptionSpec.
func (*TLSOptionSpec) DeepCopyInto ¶
func (in *TLSOptionSpec) DeepCopyInto(out *TLSOptionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TLSOptionUDPRef ¶
type TLSOptionUDPRef struct { Name string `json:"name"` Namespace string `json:"namespace,omitempty"` }
TLSOptionUDPRef is a ref to the TLSOption resources.
func (*TLSOptionUDPRef) DeepCopy ¶
func (in *TLSOptionUDPRef) DeepCopy() *TLSOptionUDPRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSOptionUDPRef.
func (*TLSOptionUDPRef) DeepCopyInto ¶
func (in *TLSOptionUDPRef) DeepCopyInto(out *TLSOptionUDPRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TLSStore ¶
type TLSStore struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec TLSStoreSpec `json:"spec"` }
TLSStore is a specification for a TLSStore resource.
func (*TLSStore) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSStore.
func (*TLSStore) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TLSStore) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TLSStoreList ¶
type TLSStoreList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []TLSStore `json:"items"` }
TLSStoreList is a list of TLSStore resources.
func (*TLSStoreList) DeepCopy ¶
func (in *TLSStoreList) DeepCopy() *TLSStoreList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSStoreList.
func (*TLSStoreList) DeepCopyInto ¶
func (in *TLSStoreList) DeepCopyInto(out *TLSStoreList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TLSStoreList) DeepCopyObject ¶
func (in *TLSStoreList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TLSStoreRef ¶
TLSStoreRef is a ref to the TLSStore resource.
func (*TLSStoreRef) DeepCopy ¶
func (in *TLSStoreRef) DeepCopy() *TLSStoreRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSStoreRef.
func (*TLSStoreRef) DeepCopyInto ¶
func (in *TLSStoreRef) DeepCopyInto(out *TLSStoreRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TLSStoreSpec ¶
type TLSStoreSpec struct {
DefaultCertificate DefaultCertificate `json:"defaultCertificate"`
}
TLSStoreSpec configures a TLSStore resource.
func (*TLSStoreSpec) DeepCopy ¶
func (in *TLSStoreSpec) DeepCopy() *TLSStoreSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSStoreSpec.
func (*TLSStoreSpec) DeepCopyInto ¶
func (in *TLSStoreSpec) DeepCopyInto(out *TLSStoreSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TLSTCP ¶
type TLSTCP struct { // SecretName is the name of the referenced Kubernetes Secret to specify the // certificate details. SecretName string `json:"secretName,omitempty"` Passthrough bool `json:"passthrough,omitempty"` // Options is a reference to a TLSOption, that specifies the parameters of the TLS connection. Options *ObjectReference `json:"options,omitempty"` // Store is a reference to a TLSStore, that specifies the parameters of the TLS store. Store *ObjectReference `json:"store,omitempty"` CertResolver string `json:"certResolver,omitempty"` Domains []types.Domain `json:"domains,omitempty"` }
TLSTCP contains the TLS certificates configuration of the routes. To enable Let's Encrypt, use an empty TLS struct, e.g. in YAML:
tls: {} # inline format tls: secretName: # block format
func (*TLSTCP) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSTCP.
func (*TLSTCP) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TraefikService ¶
type TraefikService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ServiceSpec `json:"spec"` }
TraefikService is the specification for a service (that an IngressRoute refers to) that is usually not a terminal service (i.e. not a pod of servers), as opposed to a Kubernetes Service. That is to say, it usually refers to other (children) services, which themselves can be TraefikServices or Services.
func (*TraefikService) DeepCopy ¶
func (in *TraefikService) DeepCopy() *TraefikService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraefikService.
func (*TraefikService) DeepCopyInto ¶
func (in *TraefikService) DeepCopyInto(out *TraefikService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TraefikService) DeepCopyObject ¶
func (in *TraefikService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TraefikServiceList ¶
type TraefikServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []TraefikService `json:"items"` }
TraefikServiceList is a list of TraefikService resources.
func (*TraefikServiceList) DeepCopy ¶
func (in *TraefikServiceList) DeepCopy() *TraefikServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraefikServiceList.
func (*TraefikServiceList) DeepCopyInto ¶
func (in *TraefikServiceList) DeepCopyInto(out *TraefikServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TraefikServiceList) DeepCopyObject ¶
func (in *TraefikServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WeightedRoundRobin ¶
type WeightedRoundRobin struct { Services []Service `json:"services,omitempty"` Sticky *dynamic.Sticky `json:"sticky,omitempty"` }
WeightedRoundRobin defines a load-balancer of services.
func (*WeightedRoundRobin) DeepCopy ¶
func (in *WeightedRoundRobin) DeepCopy() *WeightedRoundRobin
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeightedRoundRobin.
func (*WeightedRoundRobin) DeepCopyInto ¶
func (in *WeightedRoundRobin) DeepCopyInto(out *WeightedRoundRobin)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.