Labels parser.

This commit is contained in:
Ludovic Fernandez 2018-12-04 14:24:04 +01:00 committed by Traefiker Bot
parent 92f8e5cd3f
commit 11a0078966
16 changed files with 4462 additions and 4 deletions

View file

@ -0,0 +1,13 @@
package internal
import "reflect"
// Node a label node.
type Node struct {
Name string `json:"name"`
FieldName string `json:"fieldName"`
Value string `json:"value,omitempty"`
Disabled bool `json:"disabled,omitempty"`
Kind reflect.Kind `json:"kind,omitempty"`
Children []*Node `json:"children,omitempty"`
}