install

package
v0.7.9-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2021 License: MIT Imports: 11 Imported by: 0

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安装配置反序列化对象

type RedisClusterType

type RedisClusterType int8

RedisClusterType redis cluster部署模式

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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