secretcontroller

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package secretcontroller contains the logic of the secret controller.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleSecret

func HandleSecret(ctx context.Context, cl client.Client, secret *corev1.Secret) (err error)

HandleSecret handles the given Secret for webhooks.

Types

type SecretReconciler

type SecretReconciler struct {
	client.Client
	*runtime.Scheme
	// contains filtered or unexported fields
}

SecretReconciler reconciles a Secret object.

func NewSecretReconciler

func NewSecretReconciler(cl client.Client, s *runtime.Scheme, recorder record.EventRecorder) *SecretReconciler

NewSecretReconciler returns a new SecretReconciler.

func (*SecretReconciler) Reconcile

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

Reconcile Secret resources for webhooks.

func (*SecretReconciler) SetupWithManager

func (r *SecretReconciler) SetupWithManager(mgr ctrl.Manager) 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