Documentation
¶
Index ¶
Constants ¶
View Source
const CancelBuildRecommendedCommandName = "cancel-build"
CancelBuildRecommendedCommandName is the recommended command name.
Variables ¶
This section is empty.
Functions ¶
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 buildlisterv1.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) Complete ¶
Complete completes all the required options.
func (*CancelBuildOptions) RunCancelBuild ¶
func (o *CancelBuildOptions) RunCancelBuild() error
RunCancelBuild implements all the necessary functionality for CancelBuild.
func (*CancelBuildOptions) Validate ¶
func (o *CancelBuildOptions) Validate() error
Source Files
¶
- cancelbuild.go
Click to show internal directories.
Click to hide internal directories.