Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdRollback ¶
func NewCmdRollback(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
NewCmdRollback creates a CLI rollback command.
Types ¶
type RollbackOptions ¶
type RollbackOptions struct { Namespace string TargetName string DesiredVersion int64 Format string Template string DryRun bool IncludeTriggers bool IncludeStrategy bool IncludeScalingSettings bool // contains filtered or unexported fields }
RollbackOptions contains all the necessary state to perform a rollback.
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.
Click to show internal directories.
Click to hide internal directories.