package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
AddLabel returns a map with the given key and value added to the given map.
AddLabelToSelector returns a selector with the given key and value added to the given selector's MatchLabels.
Clones the given map and returns a new map with the given key and value added.
CloneAndRemoveLabel clones the given map and returns a new map with the given key removed.
Clones the given selector and returns a new selector with the given key and value added.
SelectorHasLabel checks if the given selector contains the given label key in its MatchLabels.