Documentation
¶
Index ¶
- func NewCmdRollout(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdRolloutHistory(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdRolloutPause(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdRolloutResume(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdRolloutStatus(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdRolloutUndo(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- type PauseOptions
- type ResumeOptions
- type RolloutHistoryOptions
- type RolloutStatusOptions
- type UndoOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdRollout ¶
func NewCmdRollout(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
NewCmdRollout returns a Command instance for 'rollout' sub command
func NewCmdRolloutHistory ¶
func NewCmdRolloutHistory(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
NewCmdRolloutHistory returns a Command instance for RolloutHistory sub command
func NewCmdRolloutPause ¶
func NewCmdRolloutPause(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
NewCmdRolloutPause returns a Command instance for 'rollout pause' sub command
func NewCmdRolloutResume ¶
func NewCmdRolloutResume(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
NewCmdRolloutResume returns a Command instance for 'rollout resume' sub command
func NewCmdRolloutStatus ¶ added in v1.3.0
func NewCmdRolloutStatus(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
NewCmdRolloutStatus returns a Command instance for the 'rollout status' sub command
func NewCmdRolloutUndo ¶
func NewCmdRolloutUndo(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
NewCmdRolloutUndo returns a Command instance for the 'rollout undo' sub command
Types ¶
type PauseOptions ¶ added in v1.12.1
type PauseOptions struct {
PrintFlags *genericclioptions.PrintFlags
ToPrinter func(string) (printers.ResourcePrinter, error)
Pauser polymorphichelpers.ObjectPauserFunc
Builder func() *resource.Builder
Namespace string
EnforceNamespace bool
Resources []string
resource.FilenameOptions
genericclioptions.IOStreams
}
PauseOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
func (*PauseOptions) Complete ¶ added in v1.12.1
func (o *PauseOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error
Complete completes all the required options
type ResumeOptions ¶ added in v1.12.0
type ResumeOptions struct {
PrintFlags *genericclioptions.PrintFlags
ToPrinter func(string) (printers.ResourcePrinter, error)
Resources []string
Builder func() *resource.Builder
Resumer polymorphichelpers.ObjectResumerFunc
Namespace string
EnforceNamespace bool
resource.FilenameOptions
genericclioptions.IOStreams
}
ResumeOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
func NewRolloutResumeOptions ¶ added in v1.12.0
func NewRolloutResumeOptions(streams genericclioptions.IOStreams) *ResumeOptions
NewRolloutResumeOptions returns an initialized ResumeOptions instance
func (*ResumeOptions) Complete ¶ added in v1.12.0
func (o *ResumeOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error
Complete completes all the required options
type RolloutHistoryOptions ¶ added in v1.12.0
type RolloutHistoryOptions struct {
PrintFlags *genericclioptions.PrintFlags
ToPrinter func(string) (printers.ResourcePrinter, error)
Revision int64
Builder func() *resource.Builder
Resources []string
Namespace string
EnforceNamespace bool
HistoryViewer polymorphichelpers.HistoryViewerFunc
RESTClientGetter genericclioptions.RESTClientGetter
resource.FilenameOptions
genericclioptions.IOStreams
}
RolloutHistoryOptions holds the options for 'rollout history' sub command
func NewRolloutHistoryOptions ¶ added in v1.12.0
func NewRolloutHistoryOptions(streams genericclioptions.IOStreams) *RolloutHistoryOptions
NewRolloutHistoryOptions returns an initialized RolloutHistoryOptions instance
func (*RolloutHistoryOptions) Complete ¶ added in v1.12.0
func (o *RolloutHistoryOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error
Complete completes al the required options
type RolloutStatusOptions ¶ added in v1.11.0
type RolloutStatusOptions struct {
PrintFlags *genericclioptions.PrintFlags
Namespace string
EnforceNamespace bool
BuilderArgs []string
Watch bool
Revision int64
Timeout time.Duration
StatusViewerFn func(*meta.RESTMapping) (kubectl.StatusViewer, error)
Builder func() *resource.Builder
DynamicClient dynamic.Interface
FilenameOptions *resource.FilenameOptions
genericclioptions.IOStreams
}
RolloutStatusOptions holds the command-line options for 'rollout status' sub command
func NewRolloutStatusOptions ¶ added in v1.11.0
func NewRolloutStatusOptions(streams genericclioptions.IOStreams) *RolloutStatusOptions
NewRolloutStatusOptions returns an initialized RolloutStatusOptions instance
func (*RolloutStatusOptions) Complete ¶ added in v1.11.0
func (o *RolloutStatusOptions) Complete(f cmdutil.Factory, args []string) error
Complete completes all the required options
type UndoOptions ¶
type UndoOptions struct {
PrintFlags *genericclioptions.PrintFlags
ToPrinter func(string) (printers.ResourcePrinter, error)
Builder func() *resource.Builder
ToRevision int64
DryRun bool
Resources []string
Namespace string
EnforceNamespace bool
RESTClientGetter genericclioptions.RESTClientGetter
resource.FilenameOptions
genericclioptions.IOStreams
}
UndoOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
func NewRolloutUndoOptions ¶ added in v1.12.0
func NewRolloutUndoOptions(streams genericclioptions.IOStreams) *UndoOptions
NewRolloutUndoOptions returns an initialized UndoOptions instance
func (*UndoOptions) Complete ¶ added in v1.12.0
func (o *UndoOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error
Complete completes al the required options