Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{
Use: "cluster",
Short: "Manage clusters",
Long: `start and stop clusters.`,
}
View Source
var DownCmd = &cobra.Command{ Use: "down", Short: "Stops the k3s server", Long: `Stops the k3s server`, Run: func(cmd *cobra.Command, _ []string) { if err := StopK3sServer(cmd); err != nil { functions.PrintError(err) return } }, }
View Source
var UpCmd = &cobra.Command{ Use: "up", Short: "Starts the k3s server", Long: `Starts the k3s server`, Run: func(_ *cobra.Command, _ []string) { if err := startK3sServer(); err != nil { functions.PrintError(err) return } }, }
Functions ¶
func StopK3sServer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.