redisfailover

package
v0.0.0-...-11a0874 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisFailoverHandler

type RedisFailoverHandler struct {
	Logger       logr.Logger
	Record       record.EventRecorder
	K8sService   k8s.Services
	RfServices   service.RedisFailoverClient
	RfChecker    service.RedisFailoverCheck
	RfHealer     service.RedisFailoverHeal
	StatusWriter StatusWriter
}

func (*RedisFailoverHandler) CheckAndHeal

func (*RedisFailoverHandler) Do

func (*RedisFailoverHandler) Ensure

type StatusWrite

type StatusWrite interface {
	Update(rf *middlev1alpha1.RedisFailover, opts ...client.UpdateOption) error
	Patch(rf *middlev1alpha1.RedisFailover, patch client.Patch, opts ...client.PatchOption) error
}

type StatusWriter

type StatusWriter struct {
	client.Client
	Ctx context.Context
}

func (*StatusWriter) Patch

func (*StatusWriter) Update

Jump to

Keyboard shortcuts

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