controllerlib

package module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

README

Controllerlib is an Undistro component responsible for patching Kubernetes
objects from the <sigs.k8s.io/controller-runtime/pkg/client> package. This is
more frequently done when updating CRD instances during reconciliation, in such
a way to standardize the manner by which controllers mutate their target custom
type.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PatchInstance

func PatchInstance(ctx context.Context, i InstanceOpts)

Types

type InstanceOpts

type InstanceOpts struct {
	Controller string
	Request    string
	client.Object
	Error error
	*patch.Helper
}

Jump to

Keyboard shortcuts

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