Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFinalizer ¶
AddFinalizer adds a finalizer to an object; returns true only if object is changed
func HasFinalizer ¶
HasFinalizer checks to see if a finalizer is present on an object
Types ¶
type Selector ¶
Selector is used to bridge the gap between the controller runtime client and the K8s API
func MatchingSelector ¶
func MatchingSelector(sel *metav1.LabelSelector) (*Selector, error)
MatchingSelector exposes a K8s API label selector as a controller runtime client list option, normally these are not allowed to produce errors so this is a special case.
func (*Selector) ApplyToList ¶
func (m *Selector) ApplyToList(o *client.ListOptions)
ApplyToList will overwrite the controller runtime client list options label selector
func (*Selector) ApplyToListOptions ¶
func (m *Selector) ApplyToListOptions(o *metav1.ListOptions)
ApplyToListOptions will overwrite the K8s list options label selector
Click to show internal directories.
Click to hide internal directories.