Documentation ¶
Index ¶
- type SecretDefinitionReconciler
- func (r *SecretDefinitionReconciler) AddFinalizerIfNotPresent(sDef *smv1alpha1.SecretDefinition, finalizerName string) error
- func (r *SecretDefinitionReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)
- func (r *SecretDefinitionReconciler) SetupWithManager(mgr ctrl.Manager, name string) error
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 ¶
+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
Click to show internal directories.
Click to hide internal directories.