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
- type PauseOptions
- type SkipOptions
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 SkipOptions *SkipOptions Schedule string UseOwnerReferencesInBackup bool Paused bool }
func NewCreateOptions ¶
func NewCreateOptions() *CreateOptions
func (*CreateOptions) BindFlags ¶
func (o *CreateOptions) BindFlags(flags *pflag.FlagSet)
type PauseOptions ¶ added in v1.13.0
type PauseOptions struct {
SkipOptions *SkipOptions
}
func NewPauseOptions ¶ added in v1.13.0
func NewPauseOptions() *PauseOptions
func (*PauseOptions) BindFlags ¶ added in v1.13.0
func (o *PauseOptions) BindFlags(flags *pflag.FlagSet)
type SkipOptions ¶ added in v1.13.0
type SkipOptions struct {
SkipImmediately flag.OptionalBool
}
func NewSkipOptions ¶ added in v1.13.0
func NewSkipOptions() *SkipOptions
func (*SkipOptions) BindFlags ¶ added in v1.13.0
func (o *SkipOptions) BindFlags(flags *pflag.FlagSet)
Click to show internal directories.
Click to hide internal directories.