Documentation ¶
Index ¶
- func NewCommand(f client.Factory) *cobra.Command
- func NewCreateCommand(f client.Factory, use string) *cobra.Command
- func NewDeleteCommand(f client.Factory) *cobra.Command
- func NewDescribeCommand(f client.Factory, use string) *cobra.Command
- func NewDownloadCommand(f client.Factory) *cobra.Command
- func NewGetCommand(f client.Factory, use string) *cobra.Command
- func NewLogsCommand(f client.Factory) *cobra.Command
- type CreateOptions
- type DownloadOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateOptions ¶
type CreateOptions struct { Name string TTL time.Duration SnapshotVolumes flag.OptionalBool IncludeNamespaces flag.StringArray ExcludeNamespaces flag.StringArray IncludeResources flag.StringArray ExcludeResources flag.StringArray Labels flag.Map Selector flag.LabelSelector IncludeClusterResources flag.OptionalBool }
func NewCreateOptions ¶
func NewCreateOptions() *CreateOptions
func (*CreateOptions) BindFlags ¶
func (o *CreateOptions) BindFlags(flags *pflag.FlagSet)
func (*CreateOptions) Complete ¶
func (o *CreateOptions) Complete(args []string) error
type DownloadOptions ¶ added in v0.4.0
type DownloadOptions struct { Name string Output string Force bool Timeout time.Duration // contains filtered or unexported fields }
func NewDownloadOptions ¶ added in v0.4.0
func NewDownloadOptions() *DownloadOptions
func (*DownloadOptions) BindFlags ¶ added in v0.4.0
func (o *DownloadOptions) BindFlags(flags *pflag.FlagSet)
func (*DownloadOptions) Complete ¶ added in v0.4.0
func (o *DownloadOptions) Complete(args []string) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.