Documentation ¶
Overview ¶
Package buildrun contains the cobra.Command, flags, and the actual interactions to be made on the API server for BuildRun resources. It implements SubCommand interface.
Index ¶
Constants ¶
View Source
const BuildRunKind = "BuildRun"
BuildRunKind BuildRun API resource kind.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildRun ¶
type BuildRun struct {
// contains filtered or unexported fields
}
BuildRun implements SubCommand interface, focusing on creating BuildRun resources.
func NewCreateBuildRun ¶
func NewCreateBuildRun() *BuildRun
NewCreateBuildRun represents the "create build-run" sub-command.
func NewDeleteBuildRun ¶
func NewDeleteBuildRun() *BuildRun
NewDeleteBuildRun represents the "delete build-run" sub-command.
func (*BuildRun) Complete ¶
Complete the current BuildRun instance by validating and organizing args into attributes. When a "build-run" only the name is employed, while on a "build" the name is used for build-ref name.
Click to show internal directories.
Click to hide internal directories.