2017-12-02 18:25:29 +00:00
|
|
|
package label
|
|
|
|
|
|
|
|
// Traefik labels
|
|
|
|
const (
|
|
|
|
Prefix = "traefik."
|
|
|
|
SuffixBackend = "backend"
|
|
|
|
SuffixDomain = "domain"
|
|
|
|
SuffixEnable = "enable"
|
|
|
|
SuffixPort = "port"
|
|
|
|
SuffixPortIndex = "portIndex"
|
|
|
|
SuffixProtocol = "protocol"
|
|
|
|
SuffixTags = "tags"
|
|
|
|
SuffixWeight = "weight"
|
|
|
|
SuffixBackendID = "backend.id"
|
|
|
|
SuffixBackendCircuitBreaker = "backend.circuitbreaker"
|
|
|
|
SuffixBackendCircuitBreakerExpression = "backend.circuitbreaker.expression"
|
|
|
|
SuffixBackendHealthCheckPath = "backend.healthcheck.path"
|
2017-12-16 12:24:07 +00:00
|
|
|
SuffixBackendHealthCheckPort = "backend.healthcheck.port"
|
2017-12-02 18:25:29 +00:00
|
|
|
SuffixBackendHealthCheckInterval = "backend.healthcheck.interval"
|
|
|
|
SuffixBackendLoadBalancerMethod = "backend.loadbalancer.method"
|
|
|
|
SuffixBackendLoadBalancerSticky = "backend.loadbalancer.sticky"
|
|
|
|
SuffixBackendLoadBalancerStickiness = "backend.loadbalancer.stickiness"
|
|
|
|
SuffixBackendLoadBalancerStickinessCookieName = "backend.loadbalancer.stickiness.cookieName"
|
|
|
|
SuffixBackendMaxConnAmount = "backend.maxconn.amount"
|
|
|
|
SuffixBackendMaxConnExtractorFunc = "backend.maxconn.extractorfunc"
|
2017-12-18 15:26:04 +00:00
|
|
|
SuffixFrontend = "frontend"
|
2017-12-02 18:25:29 +00:00
|
|
|
SuffixFrontendAuthBasic = "frontend.auth.basic"
|
|
|
|
SuffixFrontendBackend = "frontend.backend"
|
|
|
|
SuffixFrontendEntryPoints = "frontend.entryPoints"
|
|
|
|
SuffixFrontendRequestHeaders = "frontend.headers.customRequestHeaders"
|
|
|
|
SuffixFrontendResponseHeaders = "frontend.headers.customResponseHeaders"
|
|
|
|
SuffixFrontendHeadersAllowedHosts = "frontend.headers.allowedHosts"
|
|
|
|
SuffixFrontendHeadersHostsProxyHeaders = "frontend.headers.hostsProxyHeaders"
|
|
|
|
SuffixFrontendHeadersSSLRedirect = "frontend.headers.SSLRedirect"
|
|
|
|
SuffixFrontendHeadersSSLTemporaryRedirect = "frontend.headers.SSLTemporaryRedirect"
|
|
|
|
SuffixFrontendHeadersSSLHost = "frontend.headers.SSLHost"
|
|
|
|
SuffixFrontendHeadersSSLProxyHeaders = "frontend.headers.SSLProxyHeaders"
|
|
|
|
SuffixFrontendHeadersSTSSeconds = "frontend.headers.STSSeconds"
|
|
|
|
SuffixFrontendHeadersSTSIncludeSubdomains = "frontend.headers.STSIncludeSubdomains"
|
|
|
|
SuffixFrontendHeadersSTSPreload = "frontend.headers.STSPreload"
|
|
|
|
SuffixFrontendHeadersForceSTSHeader = "frontend.headers.forceSTSHeader"
|
|
|
|
SuffixFrontendHeadersFrameDeny = "frontend.headers.frameDeny"
|
|
|
|
SuffixFrontendHeadersCustomFrameOptionsValue = "frontend.headers.customFrameOptionsValue"
|
|
|
|
SuffixFrontendHeadersContentTypeNosniff = "frontend.headers.contentTypeNosniff"
|
|
|
|
SuffixFrontendHeadersBrowserXSSFilter = "frontend.headers.browserXSSFilter"
|
|
|
|
SuffixFrontendHeadersContentSecurityPolicy = "frontend.headers.contentSecurityPolicy"
|
|
|
|
SuffixFrontendHeadersPublicKey = "frontend.headers.publicKey"
|
|
|
|
SuffixFrontendHeadersReferrerPolicy = "frontend.headers.referrerPolicy"
|
|
|
|
SuffixFrontendHeadersIsDevelopment = "frontend.headers.isDevelopment"
|
|
|
|
SuffixFrontendPassHostHeader = "frontend.passHostHeader"
|
|
|
|
SuffixFrontendPassTLSCert = "frontend.passTLSCert"
|
|
|
|
SuffixFrontendPriority = "frontend.priority"
|
2017-12-18 17:06:12 +00:00
|
|
|
SuffixFrontendRateLimitExtractorFunc = "frontend.rateLimit.extractorFunc"
|
2017-12-15 21:16:48 +00:00
|
|
|
SuffixFrontendRedirectEntryPoint = "frontend.redirect.entryPoint"
|
|
|
|
SuffixFrontendRedirectRegex = "frontend.redirect.regex"
|
|
|
|
SuffixFrontendRedirectReplacement = "frontend.redirect.replacement"
|
2017-12-02 18:25:29 +00:00
|
|
|
SuffixFrontendRule = "frontend.rule"
|
|
|
|
SuffixFrontendRuleType = "frontend.rule.type"
|
|
|
|
SuffixFrontendWhitelistSourceRange = "frontend.whitelistSourceRange"
|
|
|
|
SuffixFrontendValue = "frontend.value"
|
|
|
|
TraefikDomain = Prefix + SuffixDomain
|
|
|
|
TraefikEnable = Prefix + SuffixEnable
|
|
|
|
TraefikPort = Prefix + SuffixPort
|
|
|
|
TraefikPortIndex = Prefix + SuffixPortIndex
|
|
|
|
TraefikProtocol = Prefix + SuffixProtocol
|
|
|
|
TraefikTags = Prefix + SuffixTags
|
|
|
|
TraefikWeight = Prefix + SuffixWeight
|
|
|
|
TraefikBackend = Prefix + SuffixBackend
|
|
|
|
TraefikBackendID = Prefix + SuffixBackendID
|
|
|
|
TraefikBackendCircuitBreaker = Prefix + SuffixBackendCircuitBreaker
|
|
|
|
TraefikBackendCircuitBreakerExpression = Prefix + SuffixBackendCircuitBreakerExpression
|
|
|
|
TraefikBackendHealthCheckPath = Prefix + SuffixBackendHealthCheckPath
|
2017-12-16 12:24:07 +00:00
|
|
|
TraefikBackendHealthCheckPort = Prefix + SuffixBackendHealthCheckPort
|
2017-12-02 18:25:29 +00:00
|
|
|
TraefikBackendHealthCheckInterval = Prefix + SuffixBackendHealthCheckInterval
|
|
|
|
TraefikBackendLoadBalancerMethod = Prefix + SuffixBackendLoadBalancerMethod
|
|
|
|
TraefikBackendLoadBalancerSticky = Prefix + SuffixBackendLoadBalancerSticky
|
|
|
|
TraefikBackendLoadBalancerStickiness = Prefix + SuffixBackendLoadBalancerStickiness
|
|
|
|
TraefikBackendLoadBalancerStickinessCookieName = Prefix + SuffixBackendLoadBalancerStickinessCookieName
|
|
|
|
TraefikBackendMaxConnAmount = Prefix + SuffixBackendMaxConnAmount
|
|
|
|
TraefikBackendMaxConnExtractorFunc = Prefix + SuffixBackendMaxConnExtractorFunc
|
2017-12-18 15:26:04 +00:00
|
|
|
TraefikFrontend = Prefix + SuffixFrontend
|
2017-12-02 18:25:29 +00:00
|
|
|
TraefikFrontendAuthBasic = Prefix + SuffixFrontendAuthBasic
|
|
|
|
TraefikFrontendEntryPoints = Prefix + SuffixFrontendEntryPoints
|
|
|
|
TraefikFrontendPassHostHeader = Prefix + SuffixFrontendPassHostHeader
|
|
|
|
TraefikFrontendPassTLSCert = Prefix + SuffixFrontendPassTLSCert
|
|
|
|
TraefikFrontendPriority = Prefix + SuffixFrontendPriority
|
2017-12-18 17:06:12 +00:00
|
|
|
TraefikFrontendRateLimitExtractorFunc = Prefix + SuffixFrontendRateLimitExtractorFunc
|
2017-12-15 21:16:48 +00:00
|
|
|
TraefikFrontendRedirectEntryPoint = Prefix + SuffixFrontendRedirectEntryPoint
|
|
|
|
TraefikFrontendRedirectRegex = Prefix + SuffixFrontendRedirectRegex
|
|
|
|
TraefikFrontendRedirectReplacement = Prefix + SuffixFrontendRedirectReplacement
|
2017-12-18 17:06:12 +00:00
|
|
|
TraefikFrontendRule = Prefix + SuffixFrontendRule
|
|
|
|
TraefikFrontendRuleType = Prefix + SuffixFrontendRuleType
|
2017-12-02 18:25:29 +00:00
|
|
|
TraefikFrontendValue = Prefix + SuffixFrontendValue
|
|
|
|
TraefikFrontendWhitelistSourceRange = Prefix + SuffixFrontendWhitelistSourceRange
|
|
|
|
TraefikFrontendRequestHeaders = Prefix + SuffixFrontendRequestHeaders
|
|
|
|
TraefikFrontendResponseHeaders = Prefix + SuffixFrontendResponseHeaders
|
|
|
|
TraefikFrontendAllowedHosts = Prefix + SuffixFrontendHeadersAllowedHosts
|
|
|
|
TraefikFrontendHostsProxyHeaders = Prefix + SuffixFrontendHeadersHostsProxyHeaders
|
|
|
|
TraefikFrontendSSLRedirect = Prefix + SuffixFrontendHeadersSSLRedirect
|
|
|
|
TraefikFrontendSSLTemporaryRedirect = Prefix + SuffixFrontendHeadersSSLTemporaryRedirect
|
|
|
|
TraefikFrontendSSLHost = Prefix + SuffixFrontendHeadersSSLHost
|
|
|
|
TraefikFrontendSSLProxyHeaders = Prefix + SuffixFrontendHeadersSSLProxyHeaders
|
|
|
|
TraefikFrontendSTSSeconds = Prefix + SuffixFrontendHeadersSTSSeconds
|
|
|
|
TraefikFrontendSTSIncludeSubdomains = Prefix + SuffixFrontendHeadersSTSIncludeSubdomains
|
|
|
|
TraefikFrontendSTSPreload = Prefix + SuffixFrontendHeadersSTSPreload
|
|
|
|
TraefikFrontendForceSTSHeader = Prefix + SuffixFrontendHeadersForceSTSHeader
|
|
|
|
TraefikFrontendFrameDeny = Prefix + SuffixFrontendHeadersFrameDeny
|
|
|
|
TraefikFrontendCustomFrameOptionsValue = Prefix + SuffixFrontendHeadersCustomFrameOptionsValue
|
|
|
|
TraefikFrontendContentTypeNosniff = Prefix + SuffixFrontendHeadersContentTypeNosniff
|
|
|
|
TraefikFrontendBrowserXSSFilter = Prefix + SuffixFrontendHeadersBrowserXSSFilter
|
|
|
|
TraefikFrontendContentSecurityPolicy = Prefix + SuffixFrontendHeadersContentSecurityPolicy
|
|
|
|
TraefikFrontendPublicKey = Prefix + SuffixFrontendHeadersPublicKey
|
|
|
|
TraefikFrontendReferrerPolicy = Prefix + SuffixFrontendHeadersReferrerPolicy
|
|
|
|
TraefikFrontendIsDevelopment = Prefix + SuffixFrontendHeadersIsDevelopment
|
2017-12-18 15:26:04 +00:00
|
|
|
BaseFrontendErrorPage = "frontend.errors."
|
|
|
|
SuffixErrorPageBackend = "backend"
|
|
|
|
SuffixErrorPageQuery = "query"
|
|
|
|
SuffixErrorPageStatus = "status"
|
2017-12-18 17:06:12 +00:00
|
|
|
BaseFrontendRateLimit = "frontend.rateLimit.rateSet."
|
|
|
|
SuffixRateLimitPeriod = "period"
|
|
|
|
SuffixRateLimitAverage = "average"
|
|
|
|
SuffixRateLimitBurst = "burst"
|
2017-12-02 18:25:29 +00:00
|
|
|
)
|