Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateControlPlaneCmd = &cobra.Command{ Use: "controlplane", Short: "Create kubernetes control plane", Long: `Create a kubernetes control plane with one command`, Run: func(cmd *cobra.Command, args []string) { if err := CreateControlPlane(ccpo); err != nil { log.Error(err, "Failed to create cluster") os.Exit(1) } }, }
View Source
var UpgradeControlPlaneCmd = &cobra.Command{ Use: "controlplane", Short: "Upgrade kubernetes control plane", Long: `Upgrade a kubernetes control plane with one command`, Run: func(cmd *cobra.Command, args []string) { if err := UpgradeControlPlane(ucpo); err != nil { log.Error(err, "Failed to upgrade control plane") os.Exit(1) } }, }
Functions ¶
func CreateControlPlane ¶
func CreateControlPlane(ccpo *CreateControlPlaneOptions) error
func UpgradeControlPlane ¶
func UpgradeControlPlane(ucpo *UpgradeControlPlaneOptions) error
Types ¶
Click to show internal directories.
Click to hide internal directories.