Documentation
¶
Overview ¶
Helper functions for manipulating finalizers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFinalizers ¶
func AddFinalizers(obj runtime.Object, newFinalizers sets.String) (bool, error)
AddFinalizers adds the given finalizers to the given objects ObjectMeta. Returns true if the object was updated.
func HasFinalizer ¶
func HasFinalizer(obj runtime.Object, finalizer string) (bool, error)
HasFinalizer returns true if the given object has the given finalizer in its ObjectMeta.
func RemoveFinalizers ¶
func RemoveFinalizers(obj runtime.Object, finalizers sets.String) (bool, error)
RemoveFinalizers removes the given finalizers from the given objects ObjectMeta. Returns true if the object was updated.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.