doc: structural review
- user-guide review. - add DataDog and StatD configuration. - sync sample.toml and doc. - split entry points doc. - Deprecated.
This commit is contained in:
parent
24862402e5
commit
7c2ba62b56
32 changed files with 848 additions and 695 deletions
|
@ -359,7 +359,7 @@ func (p *CatalogProvider) getConstraintTags(tags []string) []string {
|
|||
var list []string
|
||||
|
||||
for _, tag := range tags {
|
||||
// If 'AllTagsConstraintFiltering' is disabled, we look for a Consul tag named 'traefik.tags' (unless different 'prefix' is configured)
|
||||
// We look for a Consul tag named 'traefik.tags' (unless different 'prefix' is configured)
|
||||
if strings.Index(strings.ToLower(tag), p.getPrefixedName("tags=")) == 0 {
|
||||
// If 'traefik.tags=' tag is found, take the tag value and split by ',' adding the result to the list to be returned
|
||||
splitedTags := strings.Split(tag[len(p.getPrefixedName("tags=")):], ",")
|
||||
|
|
|
@ -22,7 +22,7 @@ import (
|
|||
const resyncPeriod = time.Minute * 5
|
||||
|
||||
// Client is a client for the Provider master.
|
||||
// WatchAll starts the watch of the Provider ressources and updates the stores.
|
||||
// WatchAll starts the watch of the Provider resources and updates the stores.
|
||||
// The stores can then be accessed via the Get* functions.
|
||||
type Client interface {
|
||||
GetIngresses(namespaces Namespaces) []*v1beta1.Ingress
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue