Documentation ¶
Index ¶
- func NewCommand(f client.Factory) *cobra.Command
- func NewCreateCommand(f client.Factory, use string) *cobra.Command
- func NewDeleteCommand(f client.Factory, use string) *cobra.Command
- func NewDescribeCommand(f client.Factory, use string) *cobra.Command
- func NewGetCommand(f client.Factory, use string) *cobra.Command
- func NewLogsCommand(f client.Factory) *cobra.Command
- func Run(o *cli.DeleteOptions) error
- type CreateOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeleteCommand ¶
NewDeleteCommand creates and returns a new cobra command for deleting restores.
func Run ¶ added in v0.10.0
func Run(o *cli.DeleteOptions) error
Run performs the deletion of restore(s).
Types ¶
type CreateOptions ¶
type CreateOptions struct { BackupName string ScheduleName string RestoreName string RestoreVolumes flag.OptionalBool PreserveNodePorts flag.OptionalBool Labels flag.Map IncludeNamespaces flag.StringArray ExcludeNamespaces flag.StringArray ExistingResourcePolicy string IncludeResources flag.StringArray ExcludeResources flag.StringArray StatusIncludeResources flag.StringArray StatusExcludeResources flag.StringArray NamespaceMappings flag.Map Selector flag.LabelSelector OrSelector flag.OrLabelSelector IncludeClusterResources flag.OptionalBool Wait bool AllowPartiallyFailed flag.OptionalBool ItemOperationTimeout time.Duration ResourceModifierConfigMap string // contains filtered or unexported fields }
func NewCreateOptions ¶
func NewCreateOptions() *CreateOptions
func (*CreateOptions) BindFlags ¶
func (o *CreateOptions) BindFlags(flags *pflag.FlagSet)
Click to show internal directories.
Click to hide internal directories.