Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RedisCluster ¶
func RedisCluster(item command.OperationItem) (err error)
RedisCluster 部署redis集群
Types ¶
type Interface ¶
type Interface interface {
Parse() error
SetValue() error
Detect() error
Prune() error
HandPackage() error
Compile() error
SetUpRuntime() error
Config() error
SetService() error // 开机自启动
Boot() error
CloseFirewall() error
Init() error
Print() error // 输出安装信息
}
Interface install操作类型接口
type RedisClusterConfig ¶
type RedisClusterConfig struct {
RedisCluster struct {
Password string `yaml:"password"`
ClusterType RedisClusterType `yaml:"cluster-type"`
Package string `yaml:"package"`
} `yaml:"redis-cluster"`
}
RedisClusterConfig redis安装配置反序列化对象
Click to show internal directories.
Click to hide internal directories.