apply

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeMasterOrderAndSave

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

func CheckDockerAndSwapOff

func CheckDockerAndSwapOff()

func CheckNodeNumLocally

func CheckNodeNumLocally(client *k.Client, expectNum int)

CheckNodeNumLocally check node num of local cluster

func CheckNodeNumWithSSH

func CheckNodeNumWithSSH(client *k8s.Client, expectNum int)

CheckNodeNumWithSSH check node num of remote cluster

func CleanUpContainerInfra added in v0.9.2

func CleanUpContainerInfra(cluster *v1.Cluster)

func CreateContainerInfra added in v0.9.2

func CreateContainerInfra(cluster *v1.Cluster)

func CreateContainerInfraAndSave added in v0.9.2

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

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

func LoadConfigFromDisk

func LoadConfigFromDisk(clusterFilePath string) []v1.Config

func LoadPluginFromDisk

func LoadPluginFromDisk(clusterFilePath string) []v1.Plugin

func MarshalClusterToFile

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

func SealerApplyCmd

func SealerApplyCmd(clusterFile string) string

func SealerDeleteAll added in v0.9.2

func SealerDeleteAll() string

func SealerDeleteCmd

func SealerDeleteCmd(clusterFile string) string

func SealerDeleteNodeCmd added in v0.9.2

func SealerDeleteNodeCmd(ip string) string

func SealerJoin

func SealerJoin(masters, nodes string)

func SealerJoinCmd

func SealerJoinCmd(masters, nodes string) string

func SealerRun

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

func SealerRunCmd

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

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 WaitAllNodeRunningBySSH(client *k8s.Client)

func WriteClusterFileToDisk

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