controllers

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserReconciler

type UserReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

UserReconciler reconciles a User object

func (*UserReconciler) CreateV1Secret

func (r *UserReconciler) CreateV1Secret(ctx context.Context, userResource *authv1alpha1.User, data map[string][]byte, logger logr.Logger) error

func (*UserReconciler) DeleteV1Secret

func (r *UserReconciler) DeleteV1Secret(ctx context.Context, secretResource *v1.Secret, logger logr.Logger) error

func (*UserReconciler) GetV1Secret

func (r *UserReconciler) GetV1Secret(ctx context.Context, name, namespace string, logger logr.Logger) (*v1.Secret, error)

func (*UserReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*UserReconciler) SetupWithManager

func (r *UserReconciler) 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