2017-12-23 16:45:25 +00:00
|
|
|
package kv
|
|
|
|
|
|
|
|
const (
|
|
|
|
pathBackends = "/backends/"
|
|
|
|
pathBackendCircuitBreakerExpression = "/circuitbreaker/expression"
|
2018-05-14 10:08:03 +00:00
|
|
|
pathBackendHealthCheckScheme = "/healthcheck/scheme"
|
2017-12-23 16:45:25 +00:00
|
|
|
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"
|
2018-04-16 09:40:03 +00:00
|
|
|
pathBackendHealthCheckHostname = "/healthcheck/hostname"
|
|
|
|
pathBackendHealthCheckHeaders = "/healthcheck/headers/"
|
2017-12-23 16:45:25 +00:00
|
|
|
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-23 16:40:04 +00:00
|
|
|
pathFrontends = "/frontends/"
|
|
|
|
pathFrontendBackend = "/backend"
|
|
|
|
pathFrontendPriority = "/priority"
|
|
|
|
pathFrontendPassHostHeaderDeprecated = "/passHostHeader" // Deprecated
|
|
|
|
pathFrontendPassHostHeader = "/passhostheader"
|
|
|
|
pathFrontendPassTLSCert = "/passtlscert"
|
|
|
|
pathFrontendWhiteListSourceRange = "/whitelist/sourcerange"
|
|
|
|
pathFrontendWhiteListUseXForwardedFor = "/whitelist/usexforwardedfor"
|
|
|
|
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"
|
2018-05-14 09:44:03 +00:00
|
|
|
pathFrontendSSLForceHost = "/headers/sslforcehost"
|
2018-01-03 14:57:36 +00:00
|
|
|
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 = "/"
|
|
|
|
)
|