1
0
Fork 0

refactor(kv): split provide and configuration.

This commit is contained in:
Fernandez Ludovic 2017-12-23 17:45:25 +01:00 committed by Traefiker
parent e3d1201b46
commit be0dd71bb4
9 changed files with 944 additions and 546 deletions

24
provider/kv/keynames.go Normal file
View file

@ -0,0 +1,24 @@
package kv
const (
pathBackends = "/backends/"
pathBackendCircuitBreakerExpression = "/circuitbreaker/expression"
pathBackendHealthCheckPath = "/healthcheck/path"
pathBackendHealthCheckInterval = "/healthcheck/interval"
pathBackendLoadBalancerMethod = "/loadbalancer/method"
pathBackendLoadBalancerSticky = "/loadbalancer/sticky"
pathBackendLoadBalancerStickiness = "/loadbalancer/stickiness"
pathBackendLoadBalancerStickinessCookieName = "/loadbalancer/stickiness/cookiename"
pathBackendServers = "/servers/"
pathBackendServerURL = "/url"
pathFrontends = "/frontends/"
pathFrontendBackend = "/backend"
pathFrontendPriority = "/priority"
pathFrontendPassHostHeader = "/passHostHeader"
pathFrontendEntryPoints = "/entrypoints"
pathTags = "/tags"
pathAlias = "/alias"
pathSeparator = "/"
)