2017-12-23 16:45:25 +00:00
|
|
|
package kv
|
|
|
|
|
|
|
|
const (
|
|
|
|
pathBackends = "/backends/"
|
|
|
|
pathBackendCircuitBreakerExpression = "/circuitbreaker/expression"
|
|
|
|
pathBackendHealthCheckPath = "/healthcheck/path"
|
2018-01-03 14:57:36 +00:00
|
|
|
pathBackendHealthCheckPort = "/healthcheck/port"
|
2017-12-23 16:45:25 +00:00
|
|
|
pathBackendHealthCheckInterval = "/healthcheck/interval"
|
|
|
|
pathBackendLoadBalancerMethod = "/loadbalancer/method"
|
|
|
|
pathBackendLoadBalancerSticky = "/loadbalancer/sticky"
|
|
|
|
pathBackendLoadBalancerStickiness = "/loadbalancer/stickiness"
|
|
|
|
pathBackendLoadBalancerStickinessCookieName = "/loadbalancer/stickiness/cookiename"
|
2018-01-03 14:57:36 +00:00
|
|
|
pathBackendMaxConnAmount = "/maxconn/amount"
|
|
|
|
pathBackendMaxConnExtractorFunc = "/maxconn/extractorfunc"
|
2017-12-23 16:45:25 +00:00
|
|
|
pathBackendServers = "/servers/"
|
|
|
|
pathBackendServerURL = "/url"
|
2018-01-03 14:57:36 +00:00
|
|
|
pathBackendServerWeight = "/weight"
|
2018-01-31 14:32:04 +00:00
|
|
|
pathBackendBuffering = "/buffering/"
|
|
|
|
pathBackendBufferingMaxResponseBodyBytes = pathBackendBuffering + "maxresponsebodybytes"
|
|
|
|
pathBackendBufferingMemResponseBodyBytes = pathBackendBuffering + "memresponsebodybytes"
|
|
|
|
pathBackendBufferingMaxRequestBodyBytes = pathBackendBuffering + "maxrequestbodybytes"
|
|
|
|
pathBackendBufferingMemRequestBodyBytes = pathBackendBuffering + "memrequestbodybytes"
|
|
|
|
pathBackendBufferingRetryExpression = pathBackendBuffering + "retryexpression"
|
2017-12-23 16:45:25 +00:00
|
|
|
|
2018-03-15 21:22:03 +00:00
|
|
|
pathFrontends = "/frontends/"
|
|
|
|
pathFrontendBackend = "/backend"
|
|
|
|
pathFrontendPriority = "/priority"
|
|
|
|
pathFrontendPassHostHeaderDeprecated = "/passHostHeader" // Deprecated
|
|
|
|
pathFrontendPassHostHeader = "/passhostheader"
|
|
|
|
pathFrontendPassTLSCert = "/passtlscert"
|
|
|
|
pathFrontendWhiteListSourceRange = "/whitelistsourcerange"
|
|
|
|
pathFrontendBasicAuth = "/basicauth"
|
|
|
|
pathFrontendEntryPoints = "/entrypoints"
|
|
|
|
pathFrontendRedirectEntryPoint = "/redirect/entrypoint"
|
|
|
|
pathFrontendRedirectRegex = "/redirect/regex"
|
|
|
|
pathFrontendRedirectReplacement = "/redirect/replacement"
|
|
|
|
pathFrontendRedirectPermanent = "/redirect/permanent"
|
|
|
|
pathFrontendErrorPages = "/errors/"
|
|
|
|
pathFrontendErrorPagesBackend = "/backend"
|
|
|
|
pathFrontendErrorPagesQuery = "/query"
|
|
|
|
pathFrontendErrorPagesStatus = "/status"
|
|
|
|
pathFrontendRateLimit = "/ratelimit/"
|
|
|
|
pathFrontendRateLimitRateSet = pathFrontendRateLimit + "rateset/"
|
|
|
|
pathFrontendRateLimitExtractorFunc = pathFrontendRateLimit + "extractorfunc"
|
|
|
|
pathFrontendRateLimitPeriod = "/period"
|
|
|
|
pathFrontendRateLimitAverage = "/average"
|
|
|
|
pathFrontendRateLimitBurst = "/burst"
|
2018-01-03 14:57:36 +00:00
|
|
|
|
|
|
|
pathFrontendCustomRequestHeaders = "/headers/customrequestheaders/"
|
|
|
|
pathFrontendCustomResponseHeaders = "/headers/customresponseheaders/"
|
|
|
|
pathFrontendAllowedHosts = "/headers/allowedhosts"
|
|
|
|
pathFrontendHostsProxyHeaders = "/headers/hostsproxyheaders"
|
|
|
|
pathFrontendSSLRedirect = "/headers/sslredirect"
|
|
|
|
pathFrontendSSLTemporaryRedirect = "/headers/ssltemporaryredirect"
|
|
|
|
pathFrontendSSLHost = "/headers/sslhost"
|
|
|
|
pathFrontendSSLProxyHeaders = "/headers/sslproxyheaders/"
|
|
|
|
pathFrontendSTSSeconds = "/headers/stsseconds"
|
|
|
|
pathFrontendSTSIncludeSubdomains = "/headers/stsincludesubdomains"
|
|
|
|
pathFrontendSTSPreload = "/headers/stspreload"
|
|
|
|
pathFrontendForceSTSHeader = "/headers/forcestsheader"
|
|
|
|
pathFrontendFrameDeny = "/headers/framedeny"
|
|
|
|
pathFrontendCustomFrameOptionsValue = "/headers/customframeoptionsvalue"
|
|
|
|
pathFrontendContentTypeNosniff = "/headers/contenttypenosniff"
|
|
|
|
pathFrontendBrowserXSSFilter = "/headers/browserxssfilter"
|
2018-03-02 13:24:03 +00:00
|
|
|
pathFrontendCustomBrowserXSSValue = "/headers/custombrowserxssvalue"
|
2018-01-03 14:57:36 +00:00
|
|
|
pathFrontendContentSecurityPolicy = "/headers/contentsecuritypolicy"
|
|
|
|
pathFrontendPublicKey = "/headers/publickey"
|
|
|
|
pathFrontendReferrerPolicy = "/headers/referrerpolicy"
|
|
|
|
pathFrontendIsDevelopment = "/headers/isdevelopment"
|
|
|
|
|
|
|
|
pathFrontendRoutes = "/routes/"
|
|
|
|
pathFrontendRule = "/rule"
|
|
|
|
|
2018-01-24 10:57:06 +00:00
|
|
|
pathTLS = "/tls/"
|
|
|
|
pathTLSEntryPoints = "/entrypoints"
|
|
|
|
pathTLSCertFile = "/certificate/certfile"
|
|
|
|
pathTLSKeyFile = "/certificate/keyfile"
|
2017-12-23 16:45:25 +00:00
|
|
|
|
|
|
|
pathTags = "/tags"
|
|
|
|
pathAlias = "/alias"
|
|
|
|
pathSeparator = "/"
|
|
|
|
)
|