traefik/provider/label/internal/tags.go
Ludovic Fernandez 11a0078966 Labels parser.
2018-12-04 14:24:04 +01:00

12 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"
)