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 ¶
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) Complete ¶
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) Complete ¶
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) Complete ¶
func (*RolloutLatestOptions) RunRolloutLatest ¶
func (o *RolloutLatestOptions) RunRolloutLatest() error
Source Files
¶
- cancel.go
- latest.go
- retry.go
- rollout.go
Click to show internal directories.
Click to hide internal directories.