Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Labels ¶
type Labels interface {
Get(key string) (value string, exists bool)
SortedKeys() []string
Copy() PlainMap
}
Labels describe labels map, where each label have a key and value.
This is an interface so that callers are not forced to always convert to the map.
type PlainMap ¶
type PlainMap map[string]string
PlainMap implements Labels for a plain map.
Nil map is ok.
func (PlainMap) SortedKeys ¶
func (m PlainMap) SortedKeys() []string
SortedKeys implements FlowLabels.
Click to show internal directories.
Click to hide internal directories.