Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBuildScriptNeedsCommit = errors.New("buildscript is dirty, need to run state commit")
View Source
var ErrBuildscriptNotExist = buildscript_runbit.ErrBuildscriptNotExist
Functions ¶
func RationalizeSolveError ¶
Types ¶
type Opts ¶
type Opts struct { PrintHeaders bool TargetDir string // Note CommitID and Commit are mutually exclusive. If Commit is provided then CommitID is disregarded. // Also, Archive and Commit are mutually exclusive, as both contain a BuildPlan. CommitID strfmt.UUID Commit *bpModel.Commit Archive *checkout.Archive ValidateBuildscript bool IgnoreAsync bool }
type RuntimeInUseError ¶
type RuntimeInUseError struct {
Processes []*graph.ProcessInfo
}
func (RuntimeInUseError) Error ¶
func (err RuntimeInUseError) Error() string
type SetOpt ¶
type SetOpt func(*Opts)
func WithArchive ¶
func WithCommit ¶
func WithCommitID ¶
func WithIgnoreAsync ¶
func WithIgnoreAsync() SetOpt
func WithTargetDir ¶
func WithoutBuildscriptValidation ¶
func WithoutBuildscriptValidation() SetOpt
WithoutBuildscriptValidation skips validating whether the local buildscript has changed. This is useful when trying to source a runtime that doesn't yet reflect the state of the project files (ie. as.yaml and buildscript).
func WithoutHeaders ¶
func WithoutHeaders() SetOpt
Click to show internal directories.
Click to hide internal directories.