feat(constraints): Implementation of constraint filtering (cmd + toml + matching functions), implementation proposal with consul
This commit is contained in:
parent
39fa8f7be4
commit
ac087921d8
17 changed files with 209 additions and 25 deletions
|
@ -73,7 +73,7 @@ func (provider *Kv) watchKv(configurationChan chan<- types.ConfigMessage, prefix
|
|||
return nil
|
||||
}
|
||||
|
||||
func (provider *Kv) provide(configurationChan chan<- types.ConfigMessage, pool *safe.Pool) error {
|
||||
func (provider *Kv) provide(configurationChan chan<- types.ConfigMessage, pool *safe.Pool, constraints []*types.Constraint) error {
|
||||
storeConfig := &store.Config{
|
||||
ConnectionTimeout: 30 * time.Second,
|
||||
Bucket: "traefik",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue