Versions in this module Expand all Collapse all v1 v1.7.28 Jan 13, 2021 Changes in this version + const AccessLogDrop + const AccessLogKeep + const AccessLogRedact + func CanonicalDomain(domain string) string + func MatchDomain(domain string, certDomain string) bool + type AccessLog struct + BufferingSize int64 + Fields *AccessLogFields + FilePath string + Filters *AccessLogFilters + Format string + type AccessLogFields struct + DefaultMode string + Headers *FieldHeaders + Names FieldNames + func (f *AccessLogFields) Keep(field string) bool + func (f *AccessLogFields) KeepHeader(header string) string + type AccessLogFilters struct + MinDuration parse.Duration + RetryAttempts bool + StatusCodes StatusCodes + type Auth struct + Basic *Basic + Digest *Digest + Forward *Forward + HeaderField string + type Backend struct + Buffering *Buffering + CircuitBreaker *CircuitBreaker + HealthCheck *HealthCheck + LoadBalancer *LoadBalancer + MaxConn *MaxConn + ResponseForwarding *ResponseForwarding + Servers map[string]Server + type Basic struct + RemoveHeader bool + UsersFile string + type Buckets []float64 + func (b *Buckets) Get() interface{} + func (b *Buckets) Set(str string) error + func (b *Buckets) SetValue(val interface{}) + func (b *Buckets) String() string + type Buffering struct + MaxRequestBodyBytes int64 + MaxResponseBodyBytes int64 + MemRequestBodyBytes int64 + MemResponseBodyBytes int64 + RetryExpression string + type CircuitBreaker struct + Expression string + type ClientTLS struct + CA string + CAOptional bool + Cert string + InsecureSkipVerify bool + Key string + func (clientTLS *ClientTLS) CreateTLSConfig() (*tls.Config, error) + type Cluster struct + Node string + Store *Store + type ConfigMessage struct + Configuration *Configuration + ProviderName string + type Configuration struct + Backends map[string]*Backend + Frontends map[string]*Frontend + TLS []*traefiktls.Configuration + type Configurations map[string]*Configuration + type Constraint struct + Key string + MustMatch bool + Regex string + func NewConstraint(exp string) (*Constraint, error) + func (c *Constraint) MarshalText() (text []byte, err error) + func (c *Constraint) MatchConstraintWithAtLeastOneTag(tags []string) bool + func (c *Constraint) String() string + func (c *Constraint) UnmarshalText(text []byte) error + type Constraints []*Constraint + func (cs *Constraints) Get() interface{} + func (cs *Constraints) Set(str string) error + func (cs *Constraints) SetValue(val interface{}) + func (cs *Constraints) String() string + func (cs *Constraints) Type() string + type DNSResolvers []string + func (r *DNSResolvers) Get() interface{} + func (r *DNSResolvers) Set(value string) error + func (r *DNSResolvers) SetValue(val interface{}) + func (r *DNSResolvers) String() string + func (r *DNSResolvers) Type() string + type Datadog struct + Address string + PushInterval string + type Digest struct + RemoveHeader bool + UsersFile string + type Domain struct + Main string + SANs []string + func (d *Domain) Set(domains []string) + func (d *Domain) ToStrArray() []string + type Domains []Domain + func (ds *Domains) Get() interface{} + func (ds *Domains) Set(str string) error + func (ds *Domains) SetValue(val interface{}) + func (ds *Domains) String() string + type ErrorPage struct + Backend string + Query string + Status []string + type FieldHeaderNames map[string]string + func (f *FieldHeaderNames) Get() interface{} + func (f *FieldHeaderNames) Set(value string) error + func (f *FieldHeaderNames) SetValue(val interface{}) + func (f *FieldHeaderNames) String() string + type FieldHeaders struct + DefaultMode string + Names FieldHeaderNames + type FieldNames map[string]string + func (f *FieldNames) Get() interface{} + func (f *FieldNames) Set(value string) error + func (f *FieldNames) SetValue(val interface{}) + func (f *FieldNames) String() string + type Forward struct + Address string + AuthResponseHeaders []string + TLS *ClientTLS + TrustForwardHeader bool + type Frontend struct + Auth *Auth + Backend string + BasicAuth []string + EntryPoints []string + Errors map[string]*ErrorPage + Headers *Headers + PassHostHeader bool + PassTLSCert bool + PassTLSClientCert *TLSClientHeaders + Priority int + RateLimit *RateLimit + Redirect *Redirect + Routes map[string]Route + WhiteList *WhiteList + WhitelistSourceRange []string + func (f *Frontend) Hash() (string, error) + type HTTPCodeRanges [][2]int + func NewHTTPCodeRanges(strBlocks []string) (HTTPCodeRanges, error) + func (h HTTPCodeRanges) Contains(statusCode int) bool + type Headers struct + AllowedHosts []string + BrowserXSSFilter bool + ContentSecurityPolicy string + ContentTypeNosniff bool + CustomBrowserXSSValue string + CustomFrameOptionsValue string + CustomRequestHeaders map[string]string + CustomResponseHeaders map[string]string + ForceSTSHeader bool + FrameDeny bool + HostsProxyHeaders []string + IsDevelopment bool + PublicKey string + ReferrerPolicy string + SSLForceHost bool + SSLHost string + SSLProxyHeaders map[string]string + SSLRedirect bool + SSLTemporaryRedirect bool + STSIncludeSubdomains bool + STSPreload bool + STSSeconds int64 + func (h *Headers) HasCustomHeadersDefined() bool + func (h *Headers) HasSecureHeadersDefined() bool + type HealthCheck struct + Headers map[string]string + Hostname string + Interval string + Path string + Port int + Scheme string + type InfluxDB struct + Address string + Database string + Protocol string + PushInterval string + RetentionPolicy string + type InternalRouter interface + AddRoutes func(systemRouter *mux.Router) + type LoadBalancer struct + Method string + Stickiness *Stickiness + Sticky bool + type LoadBalancerMethod uint8 + const Drr + const Wrr + func NewLoadBalancerMethod(loadBalancer *LoadBalancer) (LoadBalancerMethod, error) + type MaxConn struct + Amount int64 + ExtractorFunc string + type Metrics struct + Datadog *Datadog + InfluxDB *InfluxDB + Prometheus *Prometheus + StatsD *Statsd + type Prometheus struct + Buckets Buckets + EntryPoint string + type Rate struct + Average int64 + Burst int64 + Period flaeg.Duration + type RateLimit struct + ExtractorFunc string + RateSet map[string]*Rate + type Redirect struct + EntryPoint string + Permanent bool + Regex string + Replacement string + type ResponseForwarding struct + FlushInterval string + type Route struct + Rule string + type Server struct + URL string + Weight int + type ServerRoute struct + AddPrefix string + ReplacePath string + ReplacePathRegex string + Route *mux.Route + StripPrefixes []string + StripPrefixesRegex []string + type Statistics struct + RecentErrors int + type Statsd struct + Address string + PushInterval string + type StatusCodes []string + func (s *StatusCodes) Get() interface{} + func (s *StatusCodes) Set(str string) error + func (s *StatusCodes) SetValue(val interface{}) + func (s *StatusCodes) String() string + type Stickiness struct + CookieName string + HTTPOnly bool + SameSite string + Secure bool + type Store struct + Prefix string + type TLSCLientCertificateDNInfos struct + CommonName bool + Country bool + DomainComponent bool + Locality bool + Organization bool + Province bool + SerialNumber bool + type TLSClientCertificateInfos struct + Issuer *TLSCLientCertificateDNInfos + NotAfter bool + NotBefore bool + Sans bool + Subject *TLSCLientCertificateDNInfos + type TLSClientHeaders struct + Infos *TLSClientCertificateInfos + PEM bool + type TraefikLog struct + FilePath string + Format string + type Users []string + type WhiteList struct + SourceRange []string + UseXForwardedFor bool