redis

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const RedisFinlizer = "redis.rds.hakurei.cn/v1alpha1"

Variables

This section is empty.

Functions

func BuildPodMonitor added in v0.0.2

func BuildPodMonitor(cr *rdsv1alpha1.Redis) (mon *monitorv1.PodMonitor)

Types

type RedisReconciler

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

RedisReconciler redis.rds.hakurei.cn crd controller

func (*RedisReconciler) Reconcile

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

Reconcile runtime interface implement, accept CR update add delete events

func (*RedisReconciler) SetupWithManager

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