Documentation
¶
Index ¶
- type K8S
- func (k *K8S) CreateMysql(version uint8, in bool) (string, error)
- func (k *K8S) CreateRC(fileName string) (string, error)
- func (k *K8S) CreateService(fileName string) (string, error)
- func (k *K8S) InstallKafka() (string, error)
- func (k *K8S) InstallKafkaManager() (string, error)
- func (k *K8S) InstallStorageClass() (string, error)
- func (k *K8S) InstallZookeeper() (string, error)
- func (k *K8S) IsDebug() bool
- func (k *K8S) IsHealth() bool
- func (k *K8S) SetDebug(debug bool)
- func (k *K8S) UploadFlannelConfig()
- func (k *K8S) UploadInstallDockerOnCentos()
- type K8SConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8S ¶
type K8S struct {
// contains filtered or unexported fields
}
k8s核心结构体
func (*K8S) CreateMysql ¶
CreateMysql 创建MySQL @param version 版本号,可选8或者5 @param in 是否只在k8s集群内部访问
func (*K8S) CreateService ¶
CreateRC 创建Service @param fileName 配置文件的名称
func (*K8S) InstallKafkaManager ¶
安装kafka manager
func (*K8S) InstallStorageClass ¶
安装StorageClass
func (*K8S) UploadInstallDockerOnCentos ¶
func (k *K8S) UploadInstallDockerOnCentos()
在centos8上安装docker @param host: 主机地址 @param username: 用户名 @param password: 密码 @param port: 端口号,默认是200
Click to show internal directories.
Click to hide internal directories.