backup

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(f client.Factory) *cobra.Command

func NewCreateCommand

func NewCreateCommand(f client.Factory) *cobra.Command

func NewDeleteCommand

func NewDeleteCommand(f client.Factory) *cobra.Command

func NewDescribeCommand

func NewDescribeCommand(f client.Factory) *cobra.Command

func NewGetCommand

func NewGetCommand(f client.Factory) *cobra.Command

Types

type CreateOptions

type CreateOptions struct {
	Name              string
	TTL               time.Duration
	SnapshotVolumes   bool
	IncludeNamespaces flag.StringArray
	ExcludeNamespaces flag.StringArray
	IncludeResources  flag.StringArray
	ExcludeResources  flag.StringArray
	Labels            flag.Map
	Selector          flag.LabelSelector
}

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

func (*CreateOptions) Run

func (*CreateOptions) Validate

func (o *CreateOptions) Validate(c *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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