bootstrap

package
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AWSCmd = &cobra.Command{
	Use: "aws",

	Short: "Bootstrap an AWS based cluster",

	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 AzureCmd = &cobra.Command{
	Use: "azure",

	Short: "Bootstrap an Azure based cluster",

	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 BootstrapCmd = &cobra.Command{
	Use: "bootstrap",

	RunE: func(cmd *cobra.Command, args []string) error {
		return cmd.Help()
	},
}
View Source
var HetznerCmd = &cobra.Command{
	Use: "hetzner",

	Short: "Bootstrap a Hetzner based cluster",

	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 LocalCmd = &cobra.Command{
	Use: "local",

	Short: "Bootstrap a local K3D cluster (for internal testing purposes)",

	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,
		})
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL