reconcile

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReconcileResource

func ReconcileResource(
	ctx context.Context,
	rclient client.Client,
	desired client.Object,
	current client.Object,
) error

Generic function to reconcile a Kubernetes resource `current` should be an empty resource (e.g. &appsv1.Deployment{}). It is populated by the actual current state of the resource in the initial GET request.

func SetObjectMeta

func SetObjectMeta(name string, namespace string, labels map[string]string) metav1.ObjectMeta

Types

This section is empty.

Jump to

Keyboard shortcuts

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