Documentation ¶
Index ¶
- func CheckTools(c *cli.Context) error
- func CreateCluster(c *cli.Context) error
- func DeleteCluster(c *cli.Context) error
- func GenerateRandomString(n int) string
- func GetKubeConfig(c *cli.Context) error
- func ListClusters(c *cli.Context) error
- func StartCluster(c *cli.Context) error
- func StopCluster(c *cli.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckTools ¶
CheckTools checks if the installed tools work correctly
func CreateCluster ¶
CreateCluster creates a new single-node cluster container and initializes the cluster directory
func DeleteCluster ¶
DeleteCluster removes the cluster container and its cluster directory
func GenerateRandomString ¶ added in v1.0.0
GenerateRandomString thanks to https://stackoverflow.com/a/31832326/6450189
func GetKubeConfig ¶
GetKubeConfig grabs the kubeconfig from the running cluster and prints the path to stdout
func ListClusters ¶
ListClusters prints a list of created clusters
func StartCluster ¶
StartCluster starts a stopped cluster container
func StopCluster ¶
StopCluster stops a running cluster container (restartable)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.