k8s

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(r GenericReconciler, object client.Object) error

func Merge

func Merge(r GenericReconciler, object client.Object) error

func MergeOrApply

func MergeOrApply(r GenericReconciler, object client.Object) (err error)

func StrategicPatch

func StrategicPatch(original interface{}, patch string, output client.Object) error

Types

type GenericReconciler

type GenericReconciler interface {
	GetLog() logr.Logger
	GetRecorder() record.EventRecorder
	GetClient() client.Client
	GetReconciledObject() client.Object
	GetContext() context.Context
	GetReconcilerName() string
}

Jump to

Keyboard shortcuts

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