ssa

package
v3.0.0-...-3d101a0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL