# Functions
FilterLabels returns Labels from the given labels that have the same source and the same prefix as one of lpc valid prefixes, as well as labels that do not match the aforementioned filtering criteria.
GenerateK8sLabelString generates the string representation of a label with the provided source, key, and value in the format "LabelSourceK8s:key=value".
GetCiliumKeyFrom returns the label's source and key from the an extended key in the format SOURCE:KEY.
GetExtendedKeyFrom returns the extended key of a label string.
Map2Labels transforms in the form: map[key(string)]value(string) into Labels.
NewLabel returns a new label from the given key, value and source.
NewLabelsFromModel creates labels from string array.
NewLabelsFromSortedList returns labels based on the output of SortedList().
NewOplabelsFromModel creates new label from the model.
NewSelectLabelArrayFromModel parses a slice of strings and converts them into an array of selecting labels.
ParseLabel returns the label representation of the given string.
ParseLabelArray parses a list of labels and returns a LabelArray.
ParseLabelArrayFromArray converts an array of strings as labels and returns a LabelArray.
ParseLabelPrefixCfg parses valid label prefixes from a file and from a slice of valid prefixes.
ParseSelectLabel returns a selecting label representation of the given string.
ParseSelectLabelArray parses a list of select labels and returns a LabelArray.
ParseSelectLabelArrayFromArray converts an array of strings as select labels and returns a LabelArray.
ParseStringLabels returns label representations from strings.
# Constants
IDNameAll is a special label which matches all labels.
IDNameCluster is the label used to identify an unspecified endpoint inside the cluster.
IDNameHealth is the label used for the local cilium-health endpoint.
IDNameHost is the label used for the hostname ID.
IDNameWorld is the label used for the world ID.
LabelSourceAny is a label that matches any source.
LabelSourceContainer is a label imported from the container runtime.
LabelSourceK8s is a label imported from Kubernetes.
LabelSourceK8sKeyPrefix is prefix of a Kubernetes label.
LabelSourceMesos is a label imported from Mesos.
LabelSourceReserved is the label source for reserved types.
LabelSourceReservedKeyPrefix is the prefix of a reserved label.
LabelSourceUnspec is a label with unspecified source.
LPCfgFileVersion represents the version of a Label Prefix Configuration File.
# Structs
Label is the cilium's representation of a container label.
LabelPrefix is the cilium's representation of a container label.
OpLabels represents the the possible types.
# Type aliases
LabelArray is an array of labels forming a set.
LabelArrayList is an array of LabelArrays.
Labels is a map of labels where the map's key is the same as the label's key.