Documentation ¶
Overview ¶
Package patchset provides the patchSet utility type.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PatchSet ¶
type PatchSet interface { // Add an object (which is a pointer to a struct) to the PatchSet. The object's snapshot is taken. // Now, any changes made to the object will result in a patch being produced and applied at during Apply call. Add(client.Object) // Objects returns all objects that have been added to the PatchSet. Objects() map[types.UID]client.Object // Apply calculates patches to all added objects and applies them all at once. Apply(context.Context) error }
PatchSet is used to snapshot multiple objects and then patch them all at once.
Click to show internal directories.
Click to hide internal directories.