Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BootstrapCmd = &cobra.Command{ Use: "bootstrap", Short: "Bootstrap a Kubernetes cluster and setup KubeAid", Run: func(cmd *cobra.Command, args []string) { core.BootstrapCluster(cmd.Context(), core.BootstrapClusterArgs{ CreateDevEnvArgs: &core.CreateDevEnvArgs{ ManagementClusterName: managementClusterName, SkipMonitoringSetup: skipMonitoringSetup, SkipKubePrometheusBuild: skipKubePrometheusBuild, SkipPRFlow: skipPRFlow, IsPartOfDisasterRecovery: false, }, SkipClusterctlMove: skipClusterctlMove, }) }, }
View Source
var ClusterCmd = &cobra.Command{ Use: "cluster", PersistentPreRun: func(cmd *cobra.Command, args []string) { config.ParseConfigFiles(cmd.Context(), config.ConfigsDirectory) utils.InitTempDir() }, RunE: func(cmd *cobra.Command, args []string) error { return cmd.Help() }, }
View Source
var DeleteCmd = &cobra.Command{ Use: "delete", Short: "Delete a KubeAid + ClusterAPI managed cluster", Run: func(cmd *cobra.Command, args []string) { core.DeleteCluster(cmd.Context()) }, }
View Source
var RecoverCmd = &cobra.Command{ Use: "recover", Short: "Recover a KubeAid managed Kubernetes cluster", Run: func(cmd *cobra.Command, args []string) { core.RecoverCluster( cmd.Context(), constants.FlagNameManagementClusterNameDefaultValue, skipPRFlow, ) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.