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 NewPauseCommand(f client.Factory, use string) *cobra.Command
- func NewUnpauseCommand(f client.Factory, use string) *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 schedules.
func NewPauseCommand ¶ added in v1.10.0
NewPauseCommand creates the command for pause
func NewUnpauseCommand ¶ added in v1.10.0
NewUnpauseCommand creates the command for unpause
func Run ¶ added in v0.10.0
func Run(o *cli.DeleteOptions) error
Run performs the deletion of schedules.
Types ¶
type CreateOptions ¶
type CreateOptions struct { BackupOptions *backup.CreateOptions Schedule string UseOwnerReferencesInBackup bool Paused bool // 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.