Documentation ¶
Index ¶
- func ExactArgs(n int) cobra.PositionalArgs
- func Filenames(fs *pflag.FlagSet, filenames *[]string, verb string)
- func Freight(fs *pflag.FlagSet, freight *string)
- func InsecureTLS(fs *pflag.FlagSet, opt *Option)
- func LocalServer(fs *pflag.FlagSet, opt *Option)
- func MinimumNArgs(n int) cobra.PositionalArgs
- func NewScheme() (*runtime.Scheme, error)
- func Project(fs *pflag.FlagSet, opt *Option, defaultProject string)
- func ReadManifests(filenames ...string) ([]byte, error)
- func Stage(fs *pflag.FlagSet, stage *string)
- func Wait(fs *pflag.FlagSet, wait *bool)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExactArgs ¶ added in v0.2.0
func ExactArgs(n int) cobra.PositionalArgs
ExactArgs is a wrapper around cobra.ExactArgs to additionally print usage string
func InsecureTLS ¶
func LocalServer ¶
func MinimumNArgs ¶ added in v0.2.0
func MinimumNArgs(n int) cobra.PositionalArgs
MinimumNArgs is a wrapper around cobra.MinimumNArgs to additionally print usage string
Types ¶
type Option ¶
type Option struct { InsecureTLS bool LocalServerAddress string UseLocalServer bool Project string IOStreams *genericclioptions.IOStreams PrintFlags *genericclioptions.PrintFlags }
Click to show internal directories.
Click to hide internal directories.