Documentation ¶
Index ¶
- func ChangeMasterOrderAndSave(cluster *v1.Cluster, clusterFile string) *v1.Cluster
- func CheckDockerAndSwapOff()
- func CheckNodeNumLocally(expectNum int)
- func CheckNodeNumWithSSH(sshClient *testhelper.SSHClient, expectNum int)
- func CleanUpAliCloudInfra(cluster *v1.Cluster)
- func CreateAliCloudInfra(cluster *v1.Cluster)
- func CreateAliCloudInfraAndSave(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 SealerDeleteCmd(clusterFile 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(s ssh.Interface, masterIP string)
- func WriteClusterFileToDisk(cluster *v1.Cluster, clusterFilePath string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeMasterOrderAndSave ¶ added in v0.5.0
func CheckDockerAndSwapOff ¶ added in v0.3.1
func CheckDockerAndSwapOff()
func CheckNodeNumLocally ¶ added in v0.2.0
func CheckNodeNumLocally(expectNum int)
CheckNodeNumLocally check node mum of remote cluster;for cloud apply
func CheckNodeNumWithSSH ¶ added in v0.2.0
func CheckNodeNumWithSSH(sshClient *testhelper.SSHClient, expectNum int)
CheckNodeNumWithSSH check node mum of remote cluster;for bare metal apply
func CleanUpAliCloudInfra ¶ added in v0.2.0
func CreateAliCloudInfra ¶ added in v0.5.0
func CreateAliCloudInfraAndSave ¶ added in v0.2.0
func DeleteClusterByFile ¶ added in v0.2.0
func DeleteClusterByFile(clusterFile string)
func GenerateClusterfile ¶ added in v0.5.1
func GenerateClusterfile(clusterfile string)
func GetRawClusterFilePath ¶ added in v0.1.5
func GetRawClusterFilePath() string
func GetRawConfigPluginFilePath ¶ added in v0.5.1
func GetRawConfigPluginFilePath() string
func LoadClusterFileFromDisk ¶ added in v0.1.5
func LoadConfigFromDisk ¶ added in v0.5.1
func LoadPluginFromDisk ¶ added in v0.5.1
func MarshalClusterToFile ¶ added in v0.3.1
func SealerApplyCmd ¶ added in v0.1.5
func SealerDeleteCmd ¶ added in v0.2.0
func SealerJoin ¶ added in v0.3.0
func SealerJoin(masters, nodes string)
func SealerJoinCmd ¶ added in v0.3.0
func SealerRunCmd ¶ added in v0.3.0
func SendAndApplyCluster ¶ added in v0.2.0
func SendAndApplyCluster(sshClient *testhelper.SSHClient, clusterFile string)
func SendAndJoinCluster ¶ added in v0.3.0
func SendAndJoinCluster(sshClient *testhelper.SSHClient, clusterFile string, joinMasters, joinNodes string)
func SendAndRemoteExecCluster ¶ added in v0.3.0
func SendAndRemoteExecCluster(sshClient *testhelper.SSHClient, clusterFile string, remoteCmd string)
func SendAndRunCluster ¶ added in v0.3.0
func SendAndRunCluster(sshClient *testhelper.SSHClient, clusterFile string, joinMasters, joinNodes, passwd string)
func WaitAllNodeRunning ¶ added in v0.5.2
func WaitAllNodeRunning()
func WaitAllNodeRunningBySSH ¶ added in v0.5.2
func WriteClusterFileToDisk ¶ added in v0.1.5
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.