Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Relinquish ¶
func Relinquish( ctx context.Context, client dynamic.ResourceInterface, input *unstructured.Unstructured, fieldManager string, ) error
Relinquish is used to "undo" a patch operation by relinquishing management of all fields in a resource for the specified field manager. Any fields that no longer have a manager will return to a default value, so this isn't guaranteed to return the resource back to the same state that it was in before the patch.
This operation will fail unless another manager is responsible for a valid resource spec. In other words, if the specified field manager is the sole manager of a resource, then this will fail with a validation error for most resources.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.