Documentation ¶
Index ¶
- func Decode(labels map[string]string, element interface{}, filters ...string) error
- func DecodeConfiguration(labels map[string]string) (*config.Configuration, error)
- func Encode(element interface{}) (map[string]string, error)
- func EncodeConfiguration(conf *config.Configuration) (map[string]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
Decode Converts the labels to an element. labels -> [ node -> node + metadata (type) ] -> element (node)
func DecodeConfiguration ¶
func DecodeConfiguration(labels map[string]string) (*config.Configuration, error)
DecodeConfiguration Converts the labels to a configuration.
func EncodeConfiguration ¶
func EncodeConfiguration(conf *config.Configuration) (map[string]string, error)
EncodeConfiguration Converts a configuration to labels.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.