v1alpha1

package
v2.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +groupName=traefik.containo.us

Index

Constants

View Source
const GroupName = "traefik.containo.us"

GroupName is the group name for Traefik.

Variables

View Source
var (
	// SchemeBuilder collects the scheme builder functions.
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

	// AddToScheme applies the SchemeBuilder functions to a specified scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects.

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind.

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

func (in *BasicAuth) DeepCopy() *BasicAuth

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicAuth.

func (*BasicAuth) DeepCopyInto

func (in *BasicAuth) DeepCopyInto(out *BasicAuth)

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

func (in *Chain) DeepCopy() *Chain

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Chain.

func (*Chain) DeepCopyInto

func (in *Chain) DeepCopyInto(out *Chain)

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

func (in *ClientTLS) DeepCopy() *ClientTLS

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientTLS.

func (*ClientTLS) DeepCopyInto

func (in *ClientTLS) DeepCopyInto(out *ClientTLS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DefaultCertificate added in v2.2.0

type DefaultCertificate struct {
	// SecretName is the name of the referenced Kubernetes Secret to specify the
	// certificate details.
	SecretName string `json:"secretName,omitempty"`
}

DefaultCertificate holds a secret name for the TLSOption resource.

func (*DefaultCertificate) DeepCopy added in v2.2.0

func (in *DefaultCertificate) DeepCopy() *DefaultCertificate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultCertificate.

func (*DefaultCertificate) DeepCopyInto added in v2.2.0

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

func (in *ErrorPage) DeepCopy() *ErrorPage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ErrorPage.

func (*ErrorPage) DeepCopyInto

func (in *ErrorPage) DeepCopyInto(out *ErrorPage)

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 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 IngressRouteUDP added in v2.2.0

type IngressRouteUDP struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`

	Spec IngressRouteUDPSpec `json:"spec"`
}

IngressRouteUDP is an Ingress CRD specification.

func (*IngressRouteUDP) DeepCopy added in v2.2.0

func (in *IngressRouteUDP) DeepCopy() *IngressRouteUDP

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteUDP.

func (*IngressRouteUDP) DeepCopyInto added in v2.2.0

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 added in v2.2.0

func (in *IngressRouteUDP) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type IngressRouteUDPList added in v2.2.0

type IngressRouteUDPList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []IngressRouteUDP `json:"items"`
}

IngressRouteUDPList is a list of IngressRoutes.

func (*IngressRouteUDPList) DeepCopy added in v2.2.0

func (in *IngressRouteUDPList) DeepCopy() *IngressRouteUDPList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteUDPList.

func (*IngressRouteUDPList) DeepCopyInto added in v2.2.0

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 added in v2.2.0

func (in *IngressRouteUDPList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type IngressRouteUDPSpec added in v2.2.0

type IngressRouteUDPSpec struct {
	Routes      []RouteUDP `json:"routes"`
	EntryPoints []string   `json:"entryPoints"`
}

IngressRouteUDPSpec is a specification for a IngressRouteUDPSpec resource.

func (*IngressRouteUDPSpec) DeepCopy added in v2.2.0

func (in *IngressRouteUDPSpec) DeepCopy() *IngressRouteUDPSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteUDPSpec.

func (*IngressRouteUDPSpec) DeepCopyInto added in v2.2.0

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 added in v2.1.0

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"`
	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 added in v2.1.0

func (in *LoadBalancerSpec) DeepCopy() *LoadBalancerSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerSpec.

func (*LoadBalancerSpec) DeepCopyInto added in v2.1.0

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"`
}

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"`
	ContentType       *dynamic.ContentType       `json:"contentType,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 added in v2.1.0

type MirrorService struct {
	LoadBalancerSpec
	Percent int `json:"percent,omitempty"`
}

MirrorService defines one of the mirrors of a Mirroring service.

func (*MirrorService) DeepCopy added in v2.1.0

func (in *MirrorService) DeepCopy() *MirrorService

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MirrorService.

func (*MirrorService) DeepCopyInto added in v2.1.0

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 added in v2.1.0

type Mirroring struct {
	LoadBalancerSpec
	MaxBodySize *int64
	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 added in v2.1.0

func (in *Mirroring) DeepCopy() *Mirroring

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Mirroring.

func (*Mirroring) DeepCopyInto added in v2.1.0

func (in *Mirroring) DeepCopyInto(out *Mirroring)

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

func (in *Route) DeepCopy() *Route

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.

func (*Route) DeepCopyInto

func (in *Route) DeepCopyInto(out *Route)

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

func (in *RouteTCP) DeepCopy() *RouteTCP

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteTCP.

func (*RouteTCP) DeepCopyInto

func (in *RouteTCP) DeepCopyInto(out *RouteTCP)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RouteUDP added in v2.2.0

type RouteUDP struct {
	Services []ServiceUDP `json:"services,omitempty"`
}

RouteUDP contains the set of routes.

func (*RouteUDP) DeepCopy added in v2.2.0

func (in *RouteUDP) DeepCopy() *RouteUDP

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteUDP.

func (*RouteUDP) DeepCopyInto added in v2.2.0

func (in *RouteUDP) DeepCopyInto(out *RouteUDP)

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

func (in *Service) DeepCopy() *Service

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.

func (*Service) DeepCopyInto

func (in *Service) DeepCopyInto(out *Service)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceSpec added in v2.1.0

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 added in v2.1.0

func (in *ServiceSpec) DeepCopy() *ServiceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec.

func (*ServiceSpec) DeepCopyInto added in v2.1.0

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"`
	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 ServiceUDP added in v2.2.0

type ServiceUDP struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
	Port      int32  `json:"port"`
	Weight    *int   `json:"weight,omitempty"`
}

ServiceUDP defines an upstream to proxy traffic.

func (*ServiceUDP) DeepCopy added in v2.2.0

func (in *ServiceUDP) DeepCopy() *ServiceUDP

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceUDP.

func (*ServiceUDP) DeepCopyInto added in v2.2.0

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"`
	// 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

func (in *TLS) DeepCopy() *TLS

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLS.

func (*TLS) DeepCopyInto

func (in *TLS) DeepCopyInto(out *TLS)

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

func (in *TLSOption) DeepCopy() *TLSOption

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSOption.

func (*TLSOption) DeepCopyInto

func (in *TLSOption) DeepCopyInto(out *TLSOption)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TLSOption) DeepCopyObject

func (in *TLSOption) DeepCopyObject() runtime.Object

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"`
}

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 TLSOptionTCPRef

type TLSOptionTCPRef struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

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 TLSOptionUDPRef added in v2.2.0

type TLSOptionUDPRef struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

TLSOptionUDPRef is a ref to the TLSOption resources.

func (*TLSOptionUDPRef) DeepCopy added in v2.2.0

func (in *TLSOptionUDPRef) DeepCopy() *TLSOptionUDPRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSOptionUDPRef.

func (*TLSOptionUDPRef) DeepCopyInto added in v2.2.0

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 added in v2.2.0

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 added in v2.2.0

func (in *TLSStore) DeepCopy() *TLSStore

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSStore.

func (*TLSStore) DeepCopyInto added in v2.2.0

func (in *TLSStore) DeepCopyInto(out *TLSStore)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TLSStore) DeepCopyObject added in v2.2.0

func (in *TLSStore) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type TLSStoreList added in v2.2.0

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 added in v2.2.0

func (in *TLSStoreList) DeepCopy() *TLSStoreList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSStoreList.

func (*TLSStoreList) DeepCopyInto added in v2.2.0

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 added in v2.2.0

func (in *TLSStoreList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type TLSStoreRef added in v2.2.0

type TLSStoreRef struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

TLSStoreRef is a ref to the TLSStore resource.

func (*TLSStoreRef) DeepCopy added in v2.2.0

func (in *TLSStoreRef) DeepCopy() *TLSStoreRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSStoreRef.

func (*TLSStoreRef) DeepCopyInto added in v2.2.0

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 added in v2.2.0

type TLSStoreSpec struct {
	DefaultCertificate DefaultCertificate `json:"defaultCertificate"`
}

TLSStoreSpec configures a TLSStore resource.

func (*TLSStoreSpec) DeepCopy added in v2.2.0

func (in *TLSStoreSpec) DeepCopy() *TLSStoreSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSStoreSpec.

func (*TLSStoreSpec) DeepCopyInto added in v2.2.0

func (in *TLSStoreSpec) DeepCopyInto(out *TLSStoreSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TLSStoreTCPRef added in v2.2.0

type TLSStoreTCPRef struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

TLSStoreTCPRef is a ref to the TLSStore resources.

func (*TLSStoreTCPRef) DeepCopy added in v2.2.0

func (in *TLSStoreTCPRef) DeepCopy() *TLSStoreTCPRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSStoreTCPRef.

func (*TLSStoreTCPRef) DeepCopyInto added in v2.2.0

func (in *TLSStoreTCPRef) DeepCopyInto(out *TLSStoreTCPRef)

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"`
	// Store is a reference to a TLSStore, that specifies the parameters of the TLS store.
	Store        *TLSStoreTCPRef `json:"store"`
	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

func (in *TLSTCP) DeepCopy() *TLSTCP

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSTCP.

func (*TLSTCP) DeepCopyInto

func (in *TLSTCP) DeepCopyInto(out *TLSTCP)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TraefikService added in v2.1.0

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 added in v2.1.0

func (in *TraefikService) DeepCopy() *TraefikService

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraefikService.

func (*TraefikService) DeepCopyInto added in v2.1.0

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 added in v2.1.0

func (in *TraefikService) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type TraefikServiceList added in v2.1.0

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 added in v2.1.0

func (in *TraefikServiceList) DeepCopy() *TraefikServiceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraefikServiceList.

func (*TraefikServiceList) DeepCopyInto added in v2.1.0

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 added in v2.1.0

func (in *TraefikServiceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type WeightedRoundRobin added in v2.1.0

type WeightedRoundRobin struct {
	Services []Service       `json:"services,omitempty"`
	Sticky   *dynamic.Sticky `json:"sticky,omitempty"`
}

WeightedRoundRobin defines a load-balancer of services.

func (*WeightedRoundRobin) DeepCopy added in v2.1.0

func (in *WeightedRoundRobin) DeepCopy() *WeightedRoundRobin

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeightedRoundRobin.

func (*WeightedRoundRobin) DeepCopyInto added in v2.1.0

func (in *WeightedRoundRobin) DeepCopyInto(out *WeightedRoundRobin)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL