Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Patch ¶
func Patch(ctx context.Context, c client.Client, obj client.Object, strict bool, update func() (bool, error)) error
Patch applies the merge patch of client.Object. If strict is true, the resourceVersion will be part of the patch, make this call fail if client.Object was changed.
func PatchStatus ¶ added in v0.8.0
func PatchStatus(ctx context.Context, c client.Client, obj client.Object, update func() (bool, error)) error
PatchStatus applies the merge patch of client.Object status. The resourceVersion will be part of the patch, make this call fail if client.Object was changed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.