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"
|
|
|
|
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-08-29 09:36:03 +00:00
|
|
|
pathFrontends = "/frontends/"
|
|
|
|
pathFrontendBackend = "/backend"
|
|
|
|
pathFrontendPriority = "/priority"
|
|
|
|
pathFrontendPassHostHeader = "/passhostheader"
|
|
|
|
pathFrontendPassTLSClientCert = "/passTLSClientCert"
|
|
|
|
pathFrontendPassTLSClientCertPem = pathFrontendPassTLSClientCert + "/pem"
|
|
|
|
pathFrontendPassTLSClientCertInfos = pathFrontendPassTLSClientCert + "/infos"
|
|
|
|
pathFrontendPassTLSClientCertInfosNotAfter = pathFrontendPassTLSClientCertInfos + "/notAfter"
|
|
|
|
pathFrontendPassTLSClientCertInfosNotBefore = pathFrontendPassTLSClientCertInfos + "/notBefore"
|
|
|
|
pathFrontendPassTLSClientCertInfosSans = pathFrontendPassTLSClientCertInfos + "/sans"
|
|
|
|
pathFrontendPassTLSClientCertInfosSubject = pathFrontendPassTLSClientCertInfos + "/subject"
|
|
|
|
pathFrontendPassTLSClientCertInfosSubjectCommonName = pathFrontendPassTLSClientCertInfosSubject + "/commonName"
|
|
|
|
pathFrontendPassTLSClientCertInfosSubjectCountry = pathFrontendPassTLSClientCertInfosSubject + "/country"
|
|
|
|
pathFrontendPassTLSClientCertInfosSubjectLocality = pathFrontendPassTLSClientCertInfosSubject + "/locality"
|
|
|
|
pathFrontendPassTLSClientCertInfosSubjectOrganization = pathFrontendPassTLSClientCertInfosSubject + "/organization"
|
|
|
|
pathFrontendPassTLSClientCertInfosSubjectProvince = pathFrontendPassTLSClientCertInfosSubject + "/province"
|
|
|
|
pathFrontendPassTLSClientCertInfosSubjectSerialNumber = pathFrontendPassTLSClientCertInfosSubject + "/serialNumber"
|
|
|
|
pathFrontendPassTLSCert = "/passtlscert"
|
|
|
|
pathFrontendWhiteListSourceRange = "/whitelist/sourcerange"
|
2018-09-07 16:19:32 +00:00
|
|
|
pathFrontendWhiteListIPStrategy = "/whitelist/ipstrategy"
|
|
|
|
pathFrontendWhiteListIPStrategyDepth = pathFrontendWhiteListIPStrategy + "/depth"
|
|
|
|
pathFrontendWhiteListIPStrategyExcludedIPs = pathFrontendWhiteListIPStrategy + "/excludedips"
|
2018-07-06 14:52:04 +00:00
|
|
|
|
|
|
|
pathFrontendAuth = "/auth/"
|
|
|
|
pathFrontendAuthBasic = pathFrontendAuth + "basic/"
|
2018-07-16 11:52:03 +00:00
|
|
|
pathFrontendAuthBasicRemoveHeader = pathFrontendAuthBasic + "removeheader"
|
2018-07-06 14:52:04 +00:00
|
|
|
pathFrontendAuthBasicUsers = pathFrontendAuthBasic + "users"
|
|
|
|
pathFrontendAuthBasicUsersFile = pathFrontendAuthBasic + "usersfile"
|
|
|
|
pathFrontendAuthDigest = pathFrontendAuth + "digest/"
|
2018-07-16 11:52:03 +00:00
|
|
|
pathFrontendAuthDigestRemoveHeader = pathFrontendAuthDigest + "removeheader"
|
2018-07-06 14:52:04 +00:00
|
|
|
pathFrontendAuthDigestUsers = pathFrontendAuthDigest + "users"
|
|
|
|
pathFrontendAuthDigestUsersFile = pathFrontendAuthDigest + "usersfile"
|
|
|
|
pathFrontendAuthForward = pathFrontendAuth + "forward/"
|
|
|
|
pathFrontendAuthForwardAddress = pathFrontendAuthForward + "address"
|
|
|
|
pathFrontendAuthForwardTLS = pathFrontendAuthForward + "tls/"
|
|
|
|
pathFrontendAuthForwardTLSCa = pathFrontendAuthForwardTLS + "ca"
|
|
|
|
pathFrontendAuthForwardTLSCaOptional = pathFrontendAuthForwardTLS + "caoptional"
|
|
|
|
pathFrontendAuthForwardTLSCert = pathFrontendAuthForwardTLS + "cert"
|
|
|
|
pathFrontendAuthForwardTLSInsecureSkipVerify = pathFrontendAuthForwardTLS + "insecureskipverify"
|
|
|
|
pathFrontendAuthForwardTLSKey = pathFrontendAuthForwardTLS + "key"
|
|
|
|
pathFrontendAuthForwardTrustForwardHeader = pathFrontendAuthForward + "trustforwardheader"
|
|
|
|
pathFrontendAuthHeaderField = pathFrontendAuth + "headerfield"
|
|
|
|
|
|
|
|
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 = "/"
|
|
|
|
)
|