redis

package
v0.0.0-...-cb4c79d Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReportingPhaseMessage = "Updating phase"
	PhaseKey              = "Phase"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	RedisCRClient redisclient.RedisesGetter
	RedisClient   *redis.Client
}

type Redis

type Redis struct {
	Redis                     *v1.Redis
	Config                    Config
	SeedMasterProcessComplete bool
	SeedMasterDeleted         bool
	// contains filtered or unexported fields
}

func New

func New(config Config, redis *v1.Redis) *Redis

func (*Redis) MarkAddSeedMasterCondition

func (r *Redis) MarkAddSeedMasterCondition() error

func (*Redis) MarkReadyCondition

func (r *Redis) MarkReadyCondition() error

func (*Redis) MarkRemoveSeedMasterCondition

func (r *Redis) MarkRemoveSeedMasterCondition() error

func (*Redis) ReportCreating

func (r *Redis) ReportCreating() error

func (*Redis) ReportFailed

func (r *Redis) ReportFailed() error

func (*Redis) ReportRunning

func (r *Redis) ReportRunning() error

func (*Redis) ReportStopping

func (r *Redis) ReportStopping() error

func (*Redis) UpdateRedisStatus

func (r *Redis) UpdateRedisStatus() error

Jump to

Keyboard shortcuts

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