Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RollbackOptions ¶
type RollbackOptions struct {
PrintFlags *genericclioptions.PrintFlags
Namespace string
TargetName string
DesiredVersion int64
Format string
Template string
DryRun bool
IncludeTriggers bool
IncludeStrategy bool
IncludeScalingSettings bool
ToPrinter func(string) (printers.ResourcePrinter, error)
genericclioptions.IOStreams
// contains filtered or unexported fields
}
RollbackOptions contains all the necessary state to perform a rollback.
func NewRollbackOptions ¶
func NewRollbackOptions(streams genericclioptions.IOStreams) *RollbackOptions
func (*RollbackOptions) Complete ¶
func (o *RollbackOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string, out io.Writer) error
Complete turns a partially defined RollbackActions into a solvent structure which can be validated and used for a rollback.
func (*RollbackOptions) Validate ¶
func (o *RollbackOptions) Validate() error
Validate ensures that a RollbackOptions is valid and can be used to execute a rollback.
Source Files
¶
- rollback.go
Click to show internal directories.
Click to hide internal directories.