controllers

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnforcingCRDReconciler

type EnforcingCRDReconciler struct {
	lockedresourcecontroller.EnforcingReconciler
	Log logr.Logger
}

EnforcingCRDReconciler reconciles a EnforcingCRD object

func (*EnforcingCRDReconciler) IsInitialized

func (r *EnforcingCRDReconciler) IsInitialized(instance *v1alpha1.EnforcingCRD) bool

IsInitialized can be used to check if instance is correctly initialized. returns false it isn't.

func (*EnforcingCRDReconciler) Reconcile

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

func (*EnforcingCRDReconciler) SetupWithManager

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

type EnforcingPatchReconciler

type EnforcingPatchReconciler struct {
	lockedresourcecontroller.EnforcingReconciler
	Log logr.Logger
}

EnforcingPatchReconciler reconciles a EnforcingPatch object

func (*EnforcingPatchReconciler) IsInitialized

func (r *EnforcingPatchReconciler) IsInitialized(instance *v1alpha1.EnforcingPatch) bool

IsInitialized can be used to check if instance is correctly initialized. returns false it isn't.

func (*EnforcingPatchReconciler) Reconcile

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

func (*EnforcingPatchReconciler) SetupWithManager

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

type MyCRDReconciler

type MyCRDReconciler struct {
	util.ReconcilerBase
	Log logr.Logger
}

MyCRDReconciler reconciles a MyCRD object

func (*MyCRDReconciler) IsInitialized

func (r *MyCRDReconciler) IsInitialized(obj metav1.Object) bool

func (*MyCRDReconciler) IsValid

func (r *MyCRDReconciler) IsValid(obj metav1.Object) (bool, error)

func (*MyCRDReconciler) Reconcile

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

func (*MyCRDReconciler) SetupWithManager

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

type TemplatedEnforcingCRDReconciler

type TemplatedEnforcingCRDReconciler struct {
	lockedresourcecontroller.EnforcingReconciler
	Log logr.Logger
}

TemplatedEnforcingCRDReconciler reconciles a TemplatedEnforcingCRD object

func (*TemplatedEnforcingCRDReconciler) IsInitialized

IsInitialized can be used to check if instance is correctly initialized. returns false it isn't.

func (*TemplatedEnforcingCRDReconciler) Reconcile

func (*TemplatedEnforcingCRDReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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