cmd

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CreateCmd = &cobra.Command{
	Use:   "create",
	Short: "Create a new K3D Cluster and inject flux controllers & deployments",
	Run:   k3AutoCreate,
}
View Source
var DeleteCmd = &cobra.Command{
	Use:   "delete",
	Short: "Delete an existing cluster",
	Run:   k3AutoDelete,
}
View Source
var ForwardCmd = &cobra.Command{
	Use:   "forward",
	Short: "Forwards Ports To the Environment",
	Run: func(cmd *cobra.Command, args []string) {
		fmt.Printf("Implementation TBD")
	},
}
View Source
var K3AutoCmd = &cobra.Command{
	Use:   "k3auto",
	Short: "k3auto is a local kubernetes cluster orchestrator powered by k3d and flux",
}
View Source
var UpdateCmd = &cobra.Command{
	Use:   "update",
	Short: "Reinject deployments",
	Run:   k3AutoUpdate,
}
View Source
var VersionCmd = &cobra.Command{
	Use:   "version",
	Short: "Prints the version, commit, & build date",
	Run: func(cmd *cobra.Command, args []string) {
		fmt.Printf("Version: %v\nCommit: %v\nDate: %v\n", version, commit, date)
	},
}

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