Documentation ¶
Overview ¶
Package labels implements label utility functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasWatchLabel ¶
HasWatchLabel returns true if the object has a label with the WatchLabel key matching the given value.
func IsMachinePoolOwned ¶ added in v1.6.0
IsMachinePoolOwned returns true if the object has the `cluster.x-k8s.io/pool-name` label or is owned by a MachinePool.
func IsTopologyOwned ¶ added in v0.4.3
IsTopologyOwned returns true if the object has the `topology.cluster.x-k8s.io/owned` label.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.