traefik/pkg/provider/label/internal/tags.go
Ludovic Fernandez f1b085fa36 Move code to pkg
2019-03-15 09:42:03 +01:00

13 lines
399 B
Go

package internal
const (
// TagLabel allow to apply a custom behavior.
// - "allowEmpty": allow to create an empty struct.
// - "-": ignore the field.
TagLabel = "label"
// TagLabelSliceAsStruct allow to use a slice of struct by creating one entry into the slice.
// The value is the substitution name use in the label to access the slice.
TagLabelSliceAsStruct = "label-slice-as-struct"
)