Documentation ¶
Index ¶
- func CreateCluster(clusterCfgFile, k8sVersion, ksVersion string, logger *log.Logger, ...) error
- func DownloadBinaries(mgr *manager.Manager) error
- func ExecTasks(mgr *manager.Manager) error
- func Execute(executor *executor.Executor) error
- func GetClusterStatus(mgr *manager.Manager) error
- func InitKubernetesCluster(mgr *manager.Manager) error
- func InitOS(mgr *manager.Manager) error
- func InstallKubeBinaries(mgr *manager.Manager) error
- func JoinNodesToCluster(mgr *manager.Manager) error
- func PrePullImages(mgr *manager.Manager) error
- func Precheck(mgr *manager.Manager) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCluster ¶
func CreateCluster(clusterCfgFile, k8sVersion, ksVersion string, logger *log.Logger, ksEnabled, verbose, skipCheck, skipPullImages, inCluster, deployLocalStorage bool, downloadCmd string) error
CreateCluster is used to create cluster based on the given parameters or configuration file.
func DownloadBinaries ¶
DownloadBinaries is used to download kubernetes' binaries.
func GetClusterStatus ¶
GetClusterStatus is used to fetch status and info from cluster.
func InitKubernetesCluster ¶
InitKubernetesCluster is used to init a new cluster.
func InitOS ¶
InitOS is uesed to initialize the operating system. shuch as: override hostname, configuring kernel parameters, etc.
func InstallKubeBinaries ¶
InstallKubeBinaries is used to install kubernetes' binaries to os' PATH.
func JoinNodesToCluster ¶
JoinNodesToCluster is used to join node to Cluster.
func PrePullImages ¶
PrePullImages is used to perform PullImages function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.