middleware

package
v0.0.0-...-3430a5a Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DisableRdsManagementAnnotationKey = "cpaas.io/disable-rds-management"
)

Variables

This section is empty.

Functions

func CustomGenerationChangedPredicate

func CustomGenerationChangedPredicate(logger logr.Logger) predicate.Predicate

Types

type RedisReconciler

type RedisReconciler struct {
	client.Client
	Scheme       *runtime.Scheme
	Logger       logr.Logger
	ActorManager *actor.ActorManager
}

RedisReconciler reconciles a Redis object

func (*RedisReconciler) Reconcile

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

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

SetupWithManager sets up the controller with the Manager.

type RedisUserReconciler

type RedisUserReconciler struct {
	client.Client
	K8sClient kubernetes.ClientSet
	Scheme    *runtime.Scheme
	Record    record.EventRecorder
	Handler   redisuser.RedisUserHandler
	Logger    logr.Logger
}

RedisUserReconciler reconciles a RedisUser object

func (*RedisUserReconciler) Reconcile

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

func (*RedisUserReconciler) SetupEventRecord

func (r *RedisUserReconciler) SetupEventRecord(mgr ctrl.Manager)

func (*RedisUserReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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