Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BootstrapCmd = &cobra.Command{ Use: "bootstrap", Short: "Bootstrap a KubeAid managed cluster", Run: func(cmd *cobra.Command, args []string) { core.BootstrapCluster(cmd.Context(), core.BootstrapClusterArgs{ CreateDevEnvArgs: &core.CreateDevEnvArgs{ ManagementClusterName: managementClusterName, SkipMonitoringSetup: skipMonitoringSetup, SkipPRWorkflow: skipPRWorkflow, IsPartOfDisasterRecovery: false, }, SkipClusterctlMove: skipClusterctlMove, }) }, }
View Source
var ClusterCmd = &cobra.Command{ Use: "cluster", PersistentPreRun: func(cmd *cobra.Command, args []string) { parser.ParseConfigFiles(cmd.Context(), globals.ConfigsDirectory) utils.InitTempDir(cmd.Context()) utils.InitKnownHostsDir(cmd.Context()) utils.EnsureRuntimeDependenciesInstalled(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(), config.ParsedGeneralConfig.Cluster.Name, skipPRWorkflow, ) }, }
View Source
var TestCmd = &cobra.Command{ Use: "test", Short: "Test whether KubeAid Bootstrap Script properly bootstrapped your cluster or not", Run: func(cmd *cobra.Command, args []string) { core.TestCluster(cmd.Context()) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.