deployer

package
v0.0.0-...-fad0b5e Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	*ocm.BaseReconciler

	DownloadCache cache.DigestObjectCache[string, []client.Object]

	OCMContextCache *ocm.ContextCache
	// contains filtered or unexported fields
}

Reconciler reconciles a Deployer object.

func (*Reconciler) DownloadResourceWithOCM

func (r *Reconciler) DownloadResourceWithOCM(
	ctx context.Context,
	deployer *deliveryv1alpha1.Deployer,
	resource *deliveryv1alpha1.Resource,
) (objs []client.Object, err error)

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, err error)

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

func (*Reconciler) Untrack

func (r *Reconciler) Untrack(ctx context.Context, deployer *deliveryv1alpha1.Deployer) error

Untrack removes the deployer from the tracked objects and stops the resource watch if it is still running. It also removes the finalizer from the deployer if there are no more tracked objects.

Directories

Path Synopsis
Package dynamic provides a dynamic informer manager that can register and unregister informers at runtime for arbitrary Kubernetes resources.
Package dynamic provides a dynamic informer manager that can register and unregister informers at runtime for arbitrary Kubernetes resources.

Jump to

Keyboard shortcuts

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