Documentation ¶
Index ¶
- func NewCmdRollout(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdRolloutCancel(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdRolloutHistory(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdRolloutLatest(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdRolloutPause(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdRolloutResume(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdRolloutRetry(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdRolloutStatus(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdRolloutUndo(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- type CancelOptions
- type RetryOptions
- type RolloutLatestOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdRollout ¶
func NewCmdRollout(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
NewCmdRollout facilitates kubectl rollout subcommands
func NewCmdRolloutCancel ¶
func NewCmdRolloutHistory ¶
func NewCmdRolloutHistory(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
NewCmdRolloutHistory is a wrapper for the Kubernetes cli rollout history command
func NewCmdRolloutLatest ¶
func NewCmdRolloutLatest(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
NewCmdRolloutLatest implements the oc rollout latest subcommand.
func NewCmdRolloutPause ¶
func NewCmdRolloutPause(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
NewCmdRolloutPause is a wrapper for the Kubernetes cli rollout pause command
func NewCmdRolloutResume ¶
func NewCmdRolloutResume(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
NewCmdRolloutResume is a wrapper for the Kubernetes cli rollout resume command
func NewCmdRolloutRetry ¶
func NewCmdRolloutStatus ¶
func NewCmdRolloutStatus(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
NewCmdRolloutStatus is a wrapper for the Kubernetes cli rollout status command
func NewCmdRolloutUndo ¶
func NewCmdRolloutUndo(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
NewCmdRolloutUndo is a wrapper for the Kubernetes cli rollout undo command
Types ¶
type CancelOptions ¶
type CancelOptions struct { PrintFlags *genericclioptions.PrintFlags Builder func() *resource.Builder Namespace string NamespaceExplicit bool Mapper meta.RESTMapper Resources []string KubeClient kubernetes.Interface Printer func(string) (printers.ResourcePrinter, error) resource.FilenameOptions genericclioptions.IOStreams }
func NewRolloutCancelOptions ¶
func NewRolloutCancelOptions(streams genericclioptions.IOStreams) *CancelOptions
func (CancelOptions) Run ¶
func (o CancelOptions) Run() error
type RetryOptions ¶
type RetryOptions struct { PrintFlags *genericclioptions.PrintFlags Resources []string Builder func() *resource.Builder Mapper meta.RESTMapper Clientset kexternalclientset.Interface Namespace string ExplicitNamespace bool ToPrinter func(string) (printers.ResourcePrinter, error) resource.FilenameOptions genericclioptions.IOStreams }
func NewRolloutRetryOptions ¶
func NewRolloutRetryOptions(streams genericclioptions.IOStreams) *RetryOptions
func (RetryOptions) Run ¶
func (o RetryOptions) Run() error
type RolloutLatestOptions ¶
type RolloutLatestOptions struct { PrintFlags *genericclioptions.PrintFlags Builder *resource.Builder Namespace string Resource string DryRun bool Printer printers.ResourcePrinter genericclioptions.IOStreams // contains filtered or unexported fields }
RolloutLatestOptions holds all the options for the `rollout latest` command.
func NewRolloutLatestOptions ¶
func NewRolloutLatestOptions(streams genericclioptions.IOStreams) *RolloutLatestOptions
func (*RolloutLatestOptions) RunRolloutLatest ¶
func (o *RolloutLatestOptions) RunRolloutLatest() error
Click to show internal directories.
Click to hide internal directories.