common

package
v0.6.42 Latest Latest
Warning

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

Go to latest
Published: May 23, 2026 License: AGPL-3.0, Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaybeCreate

func MaybeCreate[O client.Object](c client.Client, object O, patch Patcher[O]) error

func MaybePatch

func MaybePatch[O client.Object](c client.Client, object O, patch Patcher[O]) error

func MaybePatchObject

func MaybePatchObject[O client.Object](c client.Client, object O, patch Patcher[O]) error

Types

type Patcher

type Patcher[PatchObject client.Object] func(object PatchObject)

Jump to

Keyboard shortcuts

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