Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager encapsulates controller logic for dealing with finalizers.
func (*Manager) ShouldFinalize ¶
ShouldFinalize returns true if the controller should take action to manage children even though the parent is pending deletion (i.e. finalize).
func (*Manager) SyncObject ¶
func (m *Manager) SyncObject(client *dynamicclientset.ResourceClient, obj *unstructured.Unstructured) (*unstructured.Unstructured, error)
SyncObject adds or removes the finalizer on the given object as necessary.
Click to show internal directories.
Click to hide internal directories.