Documentation ¶
Index ¶
- Constants
- type ArchitectureType
- type BackupMethod
- type Redis
- func (r *Redis) Connect() error
- func (r *Redis) Init(appConfig appconfig.Config) error
- func (r *Redis) IsSupported() bool
- func (r *Redis) Prepare() (*v1alpha1.PreservedConfig, error)
- func (r *Redis) Quiesce() (*v1alpha1.QuiesceResult, error)
- func (r *Redis) String() string
- func (r *Redis) Unquiesce(prev *v1alpha1.PreservedConfig) error
- type RedisConfigCmdType
- type RedisInfoCmdType
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) IsSupported ¶
type RedisConfigCmdType ¶
type RedisConfigCmdType string
type RedisInfoCmdType ¶
type RedisInfoCmdType string
Click to show internal directories.
Click to hide internal directories.