Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RetryableStatusPatch ¶
func RetryableStatusPatch(ctx context.Context, cl client.Client, obj client.Object, updateFunc UpdateFunc) error
RetryableStatusPatch applies a status patch to an object with retry-on-conflict logic. It fetches the latest version of the object before applying the update.
Types ¶
type UpdateFunc ¶
UpdateFunc is a function that mutates an object.
Click to show internal directories.
Click to hide internal directories.