Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateClusterCmd = &cobra.Command{ Use: "cluster", Short: "Create kubernetes cluster", Long: `Create a kubernetes cluster with one command`, Run: func(cmd *cobra.Command, args []string) { if err := RunCreate(co); err != nil { log.Error(err, "Failed to create cluster") os.Exit(1) } }, }
View Source
var DeleteClusterCmd = &cobra.Command{ Use: "cluster", Short: "Delete kubernetes cluster", Long: `Delete a kubernetes cluster with one command`, Run: func(cmd *cobra.Command, args []string) { if err := RunDelete(do); err != nil { log.Error(err, "Failed to delete cluster") os.Exit(1) } }, }
Functions ¶
func RunCreate ¶
func RunCreate(co *CreateOptions) error
func RunDelete ¶
func RunDelete(do *DeleteOptions) error
Types ¶
type CreateOptions ¶
type DeleteOptions ¶
Click to show internal directories.
Click to hide internal directories.