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 DigestAuth
- type ErrorPage
- type ForwardAuth
- type HealthCheck
- type IngressRoute
- type IngressRouteList
- type IngressRouteSpec
- type IngressRouteTCP
- type IngressRouteTCPList
- type IngressRouteTCPSpec
- type LoadBalancerSpec
- type Middleware
- type MiddlewareList
- type MiddlewareRef
- type MiddlewareSpec
- type MirrorService
- type Mirroring
- type Route
- type RouteTCP
- type Service
- type ServiceSpec
- type ServiceTCP
- type TLS
- type TLSOption
- type TLSOptionList
- type TLSOptionRef
- type TLSOptionSpec
- type TLSOptionTCPRef
- 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"` // ClientAuthType defines the client authentication type to apply. // The available values are: "NoClientCert", "RequestClientCert", "VerifyClientCertIfGiven" and "RequireAndVerifyClientCert". ClientAuthType string `json:"clientAuthType"` }
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 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"` 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 HealthCheck ¶
type HealthCheck struct { Path string `json:"path"` Host string `json:"host,omitempty"` Scheme string `json:"scheme"` IntervalSeconds int64 `json:"intervalSeconds"` TimeoutSeconds int64 `json:"timeoutSeconds"` Headers map[string]string `json:"headers"` }
HealthCheck is the HealthCheck definition.
func (*HealthCheck) DeepCopy ¶
func (in *HealthCheck) DeepCopy() *HealthCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheck.
func (*HealthCheck) DeepCopyInto ¶
func (in *HealthCheck) DeepCopyInto(out *HealthCheck)
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"` 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"` 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 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"` Kind string `json:"kind"` Namespace string `json:"namespace"` Sticky *dynamic.Sticky `json:"sticky,omitempty"` // Port and all the fields below are related to a servers load-balancer, // and therefore should only be specified when Name references a Kubernetes Service. Port int32 `json:"port"` Scheme string `json:"scheme,omitempty"` HealthCheck *HealthCheck `json:"healthCheck,omitempty"` Strategy string `json:"strategy,omitempty"` PassHostHeader *bool `json:"passHostHeader,omitempty"` ResponseForwarding *dynamic.ResponseForwarding `json:"responseForwarding,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.
func (LoadBalancerSpec) IsServersLB ¶
func (lb LoadBalancerSpec) IsServersLB() (bool, error)
IsServersLB reports whether lb is a load-balancer of servers (as opposed to a traefik load-balancer of services).
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 ¶
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 *dynamic.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 *dynamic.Retry `json:"retry,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 MirrorService ¶
type MirrorService struct { LoadBalancerSpec 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 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 Route ¶
type Route struct { Match string `json:"match"` Kind string `json:"kind"` Priority int `json:"priority"` Services []Service `json:"services,omitempty"` Middlewares []MiddlewareRef `json:"middlewares"` }
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"` }
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 Service ¶
type Service struct {
LoadBalancerSpec
}
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"` Port int32 `json:"port"` Weight *int `json:"weight,omitempty"` TerminationDelay *int `json:"terminationDelay,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 TLS ¶
type TLS struct { // SecretName is the name of the referenced Kubernetes Secret to specify the // certificate details. SecretName string `json:"secretName"` // Options is a reference to a TLSOption, that specifies the parameters of the TLS connection. Options *TLSOptionRef `json:"options,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 ¶
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"` }
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 TLSOptionTCPRef ¶
TLSOptionTCPRef is a ref to the TLSOption resources.
func (*TLSOptionTCPRef) DeepCopy ¶
func (in *TLSOptionTCPRef) DeepCopy() *TLSOptionTCPRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSOptionTCPRef.
func (*TLSOptionTCPRef) DeepCopyInto ¶
func (in *TLSOptionTCPRef) DeepCopyInto(out *TLSOptionTCPRef)
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"` Passthrough bool `json:"passthrough"` // Options is a reference to a TLSOption, that specifies the parameters of the TLS connection. Options *TLSOptionTCPRef `json:"options"` CertResolver string `json:"certResolver"` 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.