Documentation
¶
Overview ¶
Package build implements the "krci project build <name>" command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdBuild ¶
NewCmdBuild returns the "project build <name>" cobra.Command. runF is the business-logic function; pass nil to use the default run.
Types ¶
type BuildOptions ¶
type BuildOptions struct {
IO *iostreams.IOStreams
RestClient func() (*restapi.ClientWithResponses, error)
Config func() (*config.Config, error)
Project string
Branch string
Params []string
OutputFormat string
DryRun bool
// contains filtered or unexported fields
}
BuildOptions holds all inputs for `krci project build <name>`.