# 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.
NewLabelArrayFromSortedList returns labels based on the output of SortedList() Trailing ';' will result in an empty key that must be filtered out.
NewLabelsFromModel creates labels from string array.
NewLabelsFromSortedList returns labels based on the output of SortedList().
NewOpLabels creates new initialized OpLabels.
NewSelectLabelArrayFromModel parses a slice of strings and converts them into an array of selecting labels, sorted by the key.
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.
# Constants
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.
IDNameInit is the label used to identify any endpoint that has not received any labels yet.
IDNameNone is the label used to identify no endpoint or other L3 entity.
IDNameUnknown is the label used to to identify an endpoint with an unknown identity.
IDNameUnmanaged is the label used to identify unmanaged endpoints.
IDNameWorld is the label used for the world ID.
LabelKeyFixedIdentity is the label that can be used to define a fixed identity.
LabelSourceAny is a label that matches any source.
LabelSourceAnyKeyPrefix is prefix of a "any" label.
LabelSourceCIDR is the label source for generated CIDRs.
LabelSourceCiliumGenerated is for labels auto-generated by cilium without user input.
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.
PathDelimiter is the delimiter used in the labels paths.
# Variables
LabelHealth is the label used for health.
# 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.