controllers

package
v0.0.0-...-2cb76a2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupWithManager

func SetupWithManager(mgr ctrl.Manager) error

Types

type ModuleGetter

type ModuleGetter interface {
	GetModule(ctx context.Context, key client.ObjectKey) (*charlescdv1alpha1.Module, error)
}

type ModuleReconciler

type ModuleReconciler struct {
	reconciler.Result
	// contains filtered or unexported fields
}

ModuleReconciler reconciles a Module object

func (*ModuleReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*ModuleReconciler) SetupWithManager

func (r *ModuleReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type Reconciler

type Reconciler interface {
	Reconcile(context.Context, reconcile.Request) (reconcile.Result, error)
	SetupWithManager(ctrl.Manager) error
}

Jump to

Keyboard shortcuts

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