redis

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Standalone ArchitectureType = "standalone"
	Sentinel   ArchitectureType = "sentinel"
	Cluster    ArchitectureType = "cluster"

	Snapshot BackupMethod = "snapshot"
	AOFOnly  BackupMethod = "aofonly"
	None     BackupMethod = "none"

	AppendOnly               RedisConfigCmdType = "appendonly"
	Save                     RedisConfigCmdType = "save"
	AutoAOFReWritePercentage RedisConfigCmdType = "auto-aof-rewrite-percentage"

	ServerInfo      RedisInfoCmdType = "server"
	PersistenceInfo RedisInfoCmdType = "persistence"
	ClusterInfo     RedisInfoCmdType = "cluster"

	DefaultTimeout = 3 * time.Minute
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ArchitectureType

type ArchitectureType string

type BackupMethod

type BackupMethod string

type Redis

type Redis struct {
	// contains filtered or unexported fields
}

func (*Redis) Connect

func (r *Redis) Connect() error

func (*Redis) Init

func (r *Redis) Init(appConfig appconfig.Config) error

func (*Redis) IsSupported

func (r *Redis) IsSupported() bool

func (*Redis) Prepare

func (r *Redis) Prepare() (*v1alpha1.PreservedConfig, error)

func (*Redis) Quiesce

func (r *Redis) Quiesce() (*v1alpha1.QuiesceResult, error)

func (*Redis) String

func (r *Redis) String() string

func (*Redis) Unquiesce

func (r *Redis) Unquiesce(prev *v1alpha1.PreservedConfig) error

type RedisConfigCmdType

type RedisConfigCmdType string

type RedisInfoCmdType

type RedisInfoCmdType string

Jump to

Keyboard shortcuts

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