apply

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeMasterOrderAndSave added in v0.5.0

func ChangeMasterOrderAndSave(cluster *v1.Cluster, clusterFile string) *v1.Cluster

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 CleanUpAliCloudInfra(cluster *v1.Cluster)

func CreateAliCloudInfra added in v0.5.0

func CreateAliCloudInfra(cluster *v1.Cluster)

func CreateAliCloudInfraAndSave added in v0.2.0

func CreateAliCloudInfraAndSave(cluster *v1.Cluster, clusterFile string) *v1.Cluster

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 LoadClusterFileFromDisk(clusterFilePath string) *v1.Cluster

func LoadConfigFromDisk added in v0.5.1

func LoadConfigFromDisk(clusterFilePath string) []v1.Config

func LoadPluginFromDisk added in v0.5.1

func LoadPluginFromDisk(clusterFilePath string) []v1.Plugin

func MarshalClusterToFile added in v0.3.1

func MarshalClusterToFile(ClusterFile string, cluster *v1.Cluster)

func SealerApplyCmd added in v0.1.5

func SealerApplyCmd(clusterFile string) string

func SealerDeleteCmd added in v0.2.0

func SealerDeleteCmd(clusterFile string) string

func SealerJoin added in v0.3.0

func SealerJoin(masters, nodes string)

func SealerJoinCmd added in v0.3.0

func SealerJoinCmd(masters, nodes string) string

func SealerRun added in v0.3.0

func SealerRun(masters, nodes, passwd, provider string)

func SealerRunCmd added in v0.3.0

func SealerRunCmd(masters, nodes, passwd string, provider string) string

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 WaitAllNodeRunningBySSH(s ssh.Interface, masterIP string)

func WriteClusterFileToDisk added in v0.1.5

func WriteClusterFileToDisk(cluster *v1.Cluster, clusterFilePath string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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