Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ResourceTypeCiliumNetworkPolicy is the resource type used for the // PolicyLabelDerivedFrom label ResourceTypeCiliumNetworkPolicy = "CiliumNetworkPolicy" )
Variables ¶
This section is empty.
Functions ¶
func GetPolicyLabels ¶
GetPolicyLabels returns a LabelArray for the given namespace and name.
func ParseToCiliumLabels ¶
func ParseToCiliumLabels(namespace, name string, uid types.UID, ruleLbs labels.LabelArray) labels.LabelArray
ParseToCiliumLabels returns all ruleLbls appended with a specific label that represents the given namespace and name along with a label that specifies these labels were derived from a CiliumNetworkPolicy.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.