patch

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

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

type UpdateFunc func(obj client.Object)

UpdateFunc is a function that mutates an object.

Jump to

Keyboard shortcuts

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