Documentation ¶
Index ¶
- func ChangeMasterOrderAndSave(cluster *v1.Cluster, clusterFile string) *v1.Cluster
- func CheckDockerAndSwapOff()
- func CheckNodeNumLocally(client *k.Client, expectNum int)
- func CheckNodeNumWithSSH(client *k8s.Client, expectNum int)
- func CleanUpContainerInfra(cluster *v1.Cluster)
- func CreateContainerInfra(cluster *v1.Cluster)
- func CreateContainerInfraAndSave(cluster *v1.Cluster, clusterFile string) *v1.Cluster
- func DeleteClusterByFile(clusterFile string)
- func GenerateClusterfile(clusterfile string)
- func GetRawClusterFilePath() string
- func GetRawConfigPluginFilePath() string
- func LoadClusterFileFromDisk(clusterFilePath string) *v1.Cluster
- func LoadConfigFromDisk(clusterFilePath string) []v1.Config
- func LoadPluginFromDisk(clusterFilePath string) []v1.Plugin
- func MarshalClusterToFile(ClusterFile string, cluster *v1.Cluster)
- func SealerApplyCmd(clusterFile string) string
- func SealerDeleteAll() string
- func SealerDeleteCmd(clusterFile string) string
- func SealerDeleteNodeCmd(ip string) string
- func SealerJoin(masters, nodes string)
- func SealerJoinCmd(masters, nodes string) string
- func SealerRun(masters, nodes, passwd, provider string)
- func SealerRunCmd(masters, nodes, passwd string, provider string) string
- func SendAndApplyCluster(sshClient *testhelper.SSHClient, clusterFile string)
- func SendAndJoinCluster(sshClient *testhelper.SSHClient, clusterFile string, ...)
- func SendAndRemoteExecCluster(sshClient *testhelper.SSHClient, clusterFile string, remoteCmd string)
- func SendAndRunCluster(sshClient *testhelper.SSHClient, clusterFile string, ...)
- func WaitAllNodeRunning()
- func WaitAllNodeRunningBySSH(client *k8s.Client)
- func WriteClusterFileToDisk(cluster *v1.Cluster, clusterFilePath string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDockerAndSwapOff ¶
func CheckDockerAndSwapOff()
func CheckNodeNumLocally ¶
CheckNodeNumLocally check node num of local cluster
func CheckNodeNumWithSSH ¶
CheckNodeNumWithSSH check node num of remote cluster
func CleanUpContainerInfra ¶ added in v0.9.2
func CreateContainerInfra ¶ added in v0.9.2
func CreateContainerInfraAndSave ¶ added in v0.9.2
func DeleteClusterByFile ¶
func DeleteClusterByFile(clusterFile string)
func GenerateClusterfile ¶
func GenerateClusterfile(clusterfile string)
func GetRawClusterFilePath ¶
func GetRawClusterFilePath() string
func GetRawConfigPluginFilePath ¶
func GetRawConfigPluginFilePath() string
func LoadClusterFileFromDisk ¶
func LoadConfigFromDisk ¶
func LoadPluginFromDisk ¶
func MarshalClusterToFile ¶
func SealerApplyCmd ¶
func SealerDeleteAll ¶ added in v0.9.2
func SealerDeleteAll() string
func SealerDeleteCmd ¶
func SealerDeleteNodeCmd ¶ added in v0.9.2
func SealerJoin ¶
func SealerJoin(masters, nodes string)
func SealerJoinCmd ¶
func SealerRunCmd ¶
func SendAndApplyCluster ¶
func SendAndApplyCluster(sshClient *testhelper.SSHClient, clusterFile string)
func SendAndJoinCluster ¶
func SendAndJoinCluster(sshClient *testhelper.SSHClient, clusterFile string, joinMasters, joinNodes string)
func SendAndRemoteExecCluster ¶
func SendAndRemoteExecCluster(sshClient *testhelper.SSHClient, clusterFile string, remoteCmd string)
func SendAndRunCluster ¶
func SendAndRunCluster(sshClient *testhelper.SSHClient, clusterFile string, joinMasters, joinNodes, passwd string)
func WaitAllNodeRunning ¶
func WaitAllNodeRunning()
func WaitAllNodeRunningBySSH ¶
func WriteClusterFileToDisk ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.