controllers

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 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 SecretDefinitionReconciler

type SecretDefinitionReconciler struct {
	client.Client
	Backend              backend.Client
	Log                  logr.Logger
	Ctx                  context.Context
	APIReader            client.Reader
	ReconciliationPeriod time.Duration
	ExcludeNamespaces    map[string]bool
}

SecretDefinitionReconciler reconciles a SecretDefinition object

func (*SecretDefinitionReconciler) AddFinalizerIfNotPresent

func (r *SecretDefinitionReconciler) AddFinalizerIfNotPresent(sDef *smv1alpha1.SecretDefinition, finalizerName string) error

AddFinalizerIfNotPresent will check if finalizerName is the finalizers slice

func (*SecretDefinitionReconciler) Reconcile

func (r *SecretDefinitionReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

+kubebuilder:rbac:groups=secrets-manager.tuenti.io,resources=secretdefinitions,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=secrets-manager.tuenti.io,resources=secretdefinitions/status,verbs=get;update;patch +kubebuilder:rbac:groups="",resources=secrets,verbs=get;list;watch;create;update;patch;delete

func (*SecretDefinitionReconciler) SetupWithManager

func (r *SecretDefinitionReconciler) SetupWithManager(mgr ctrl.Manager, name string) error

SetupWithManager will register the controller

Jump to

Keyboard shortcuts

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