cancelbuild

package
v4.0.0-alpha.0+incompa... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2018 License: Apache-2.0 Imports: 23 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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             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

func (o *CancelBuildOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL