Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Merge ¶
func Merge(dst, src FlowLabels)
Merge combines two flow labels maps into one. Overwrites overlapping keys with values from src.
Types ¶
type FlowLabelValue ¶
FlowLabelValue is a value of a flow label with additional metadata.
type FlowLabels ¶
type FlowLabels map[string]FlowLabelValue
FlowLabels is a map from flow labels to their values.
func NewFromPlainMap ¶
func NewFromPlainMap(input map[string]string) FlowLabels
NewFromPlainMap returns flow labels from normal map[string]string. Telemetry flag is set to true for all flow labels.
func (FlowLabels) ToPlainMap ¶
func (fl FlowLabels) ToPlainMap() map[string]string
ToPlainMap returns flow labels as normal map[string]string.
Click to show internal directories.
Click to hide internal directories.