cmd

package
v0.10.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CleanCmd = &cobra.Command{
		Use:   "clean",
		Short: "clean Shipper objects",
	}
)
View Source
var (
	ClustersCmd = &cobra.Command{
		Use:   "clusters",
		Short: "manage Shipper clusters",
	}
)
View Source
var (
	ListCmd = &cobra.Command{
		Use:   "list",
		Short: "lists Shipper releases that are scheduled *only* on given clusters",
		PersistentPreRun: func(cmd *cobra.Command, args []string) {
			switch printOption {
			case "", "json", "yaml":
				return
			default:
				cmd.Printf("error: output format %q not supported, allowed formats are: json, yaml\n", printOption)
				os.Exit(1)
			}
		},
	}
)

Functions

This section is empty.

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