Documentation ¶
Index ¶
Constants ¶
View Source
const CancelBuildRecommendedCommandName = "cancel-build"
CancelBuildRecommendedCommandName is the recommended command name.
Variables ¶
This section is empty.
Functions ¶
func NewCmdCancelBuild ¶
func NewCmdCancelBuild(name, baseName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
NewCmdCancelBuild implements the OpenShift cli cancel-build command
Types ¶
type CancelBuildOptions ¶
type CancelBuildOptions struct { DumpLogs bool Restart bool States []string Namespace string BuildNames []string HasError bool ReportError func(error) PrinterCancel printers.ResourcePrinter PrinterCancelInProgress printers.ResourcePrinter PrinterRestart printers.ResourcePrinter Mapper meta.RESTMapper Client buildtv1client.BuildV1Interface BuildClient buildtv1client.BuildInterface BuildLister buildlisterinternal.BuildLister genericclioptions.IOStreams // contains filtered or unexported fields }
CancelBuildOptions contains all the options for running the CancelBuild cli command.
func NewCancelBuildOptions ¶
func NewCancelBuildOptions(streams genericclioptions.IOStreams) *CancelBuildOptions
func (*CancelBuildOptions) RunCancelBuild ¶
func (o *CancelBuildOptions) RunCancelBuild() error
RunCancelBuild implements all the necessary functionality for CancelBuild.
func (*CancelBuildOptions) Validate ¶
func (o *CancelBuildOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.