cmd

package
v0.0.0-...-280ab92 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "0.2"
)

Variables

View Source
var (
	BuildTime   string
	BuildCommit string
)

Build time and commit information.

⚠️ WARNING: should only be set by "-ldflags".

View Source
var RootCmd = &cobra.Command{
	Use:   "kubecfctl",
	Short: "KubeCF CLI helper",
	Long: `
kubecfctl is a tool that manage the KubeCF deployment cycle.

It installs, configures, upgrades, backup and restore KubeCF deployments from the CLI along with its requirements.

Kubecfctl requires the KUBECONFIG variable set, otherwise it will defaults to in cluster configuration.

To list the available deployments, run:

	$ kubecfctl list

To install a deployment:

	$ kubecfctl install kubecf

To delete a deployment

	$ kubecfctl delete kubecf

Each action has its own help, so to show all the available 'install' options, just run:

	$ kubecfctl install --help
`,
	Version:       fmt.Sprintf("%s-g%s %s", Version, BuildCommit, BuildTime),
	SilenceErrors: true,
}

RootCmd represents the base command when called without any subcommands

View Source
var Verbose bool

Functions

func Execute

func Execute()

Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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