devenv

package
v0.15.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CreateCmd = &cobra.Command{
	Use: "create",

	Short: "Create and setup the local K3D management cluster, for deploying the KubeAid managed main cluster",

	Run: func(cmd *cobra.Command, args []string) {
		core.CreateDevEnv(cmd.Context(), &core.CreateDevEnvArgs{
			ManagementClusterName:    managementClusterName,
			SkipMonitoringSetup:      skipMonitoringSetup,
			SkipPRWorkflow:           skipPRWorkflow,
			IsPartOfDisasterRecovery: false,
		})
	},
}
View Source
var DevenvCmd = &cobra.Command{
	Use: "devenv",

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

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