package
1.7.0-rc3
Repository: https://github.com/blrn/traefik.git
Documentation: pkg.go.dev

# Functions

CanonicalDomain returns a lower case domain with trim space.
MatchDomain return true if a domain match the cert domain.
NewConstraint receive a string and return a *Constraint, after checking syntax and parsing the constraint expression.
NewHTTPCodeRanges creates HTTPCodeRanges from a given []string.
NewLoadBalancerMethod create a new LoadBalancerMethod from a given LoadBalancer.

# Constants

AccessLogDrop is the drop string value.
AccessLogKeep is the keep string value.
AccessLogRedact is the redact string value.
Drr = Dynamic Round Robin.
Wrr (default) = Weighted Round Robin.

# Structs

AccessLog holds the configuration settings for the access logger (middlewares/accesslog).
AccessLogFields holds configuration for access log fields.
AccessLogFilters holds filters configuration.
Auth holds authentication configuration (BASIC, DIGEST, users).
Backend holds backend configuration.
Basic HTTP basic authentication.
Buffering holds request/response buffering configuration/.
CircuitBreaker holds circuit breaker configuration.
ClientTLS holds TLS specific configurations as client CA, Cert and Key can be either path or file contents.
Cluster holds cluster config.
ConfigMessage hold configuration information exchanged between parts of traefik.
Configuration of a provider.
Constraint hold a parsed constraint expression.
Datadog contains address and metrics pushing interval configuration.
Digest HTTP authentication.
Domain holds a domain name with SANs.
ErrorPage holds custom error page configuration.
FieldHeaders holds configuration for access log headers.
Forward authentication.
Frontend holds frontend configuration.
Headers holds the custom header configuration.
HealthCheck holds HealthCheck configuration.
InfluxDB contains address and metrics pushing interval configuration.
LoadBalancer holds load balancing configuration.
MaxConn holds maximum connection configuration.
Metrics provides options to expose and send Traefik metrics to different third party monitoring systems.
Prometheus can contain specific configuration used by the Prometheus Metrics exporter.
Rate holds a rate limiting configuration for a specific time period.
RateLimit holds a rate limiting configuration for a given frontend.
Redirect configures a redirection of an entry point to another, or to an URL.
Route holds route configuration.
Server holds server configuration.
ServerRoute holds ServerRoute configuration.
Statistics provides options for monitoring request and response stats.
Statsd contains address and metrics pushing interval configuration.
Stickiness holds sticky session configuration.
Store holds KV store cluster config.
TraefikLog holds the configuration settings for the traefik logger.
WhiteList contains white list configuration.

# Interfaces

InternalRouter router used by server to register internal routes (/api, /ping ...).

# Type aliases

Buckets holds Prometheus Buckets.
Configurations is for currentConfigurations Map.
Constraints holds a Constraint parser.
Domains parse []Domain.
FieldHeaderNames holds maps of fields with specific mode.
FieldNames holds maps of fields with specific mode.
HTTPCodeRanges holds HTTP code ranges.
LoadBalancerMethod holds the method of load balancing to use.
StatusCodes holds status codes ranges to filter access log.
Users authentication users.