controller

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: MIT Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const KFCFinalizer = "kfc.io"

Variables

This section is empty.

Functions

func StartProcess

func StartProcess(rClient client.Client, ctx context.Context, gv schema.GroupVersion, obj *unstructured.Unstructured, secretKey string) error

Types

type ModuleReconciler

type ModuleReconciler struct {
	client.Client
	Log       logr.Logger
	Gvk       schema.GroupVersionKind
	SecretKey string
	Scheme    *runtime.Scheme
}

ModuleReconciler reconciles a Module object

func (*ModuleReconciler) Reconcile

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

func (*ModuleReconciler) SetupWithManager

func (r *ModuleReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, auditor *auditlib.EventPublisher, restrictToNamespace string) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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