Documentation
¶
Index ¶
- func ExecutorsPath(baseDir string) string
- func IsRuntimeDir(dir string) bool
- type ArtifactBuildError
- type ArtifactCachedBuildFailed
- type BuildError
- type Environment
- type ErrVolumeMismatch
- type Opts
- type ProgressReportError
- type Runtime
- type SetOpt
- func WithAnnotations(owner, project string, commitUUID strfmt.UUID) SetOpt
- func WithArchive(dir string, platformID strfmt.UUID, ext string) SetOpt
- func WithBuildProgressUrl(url string) SetOpt
- func WithBuildlogFilePath(path string) SetOpt
- func WithEventHandlers(handlers ...events.HandlerFunc) SetOpt
- func WithPortable() SetOpt
- func WithPreferredLibcVersion(version string) SetOpt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecutorsPath ¶
func IsRuntimeDir ¶
Types ¶
type ArtifactBuildError ¶
type ArtifactBuildError = buildlog.ArtifactBuildError
buildlog aliases, because buildlog is internal
type ArtifactCachedBuildFailed ¶
type ArtifactCachedBuildFailed struct { *errs.WrapperError Artifact *buildplan.Artifact }
ArtifactCachedBuildFailed designates an error due to a build for an artifact that failed and has been cached
type BuildError ¶
type BuildError = buildlog.BuildError
type Environment ¶
type ErrVolumeMismatch ¶
func (ErrVolumeMismatch) Error ¶
func (e ErrVolumeMismatch) Error() string
type Opts ¶
type Opts struct { PreferredLibcVersion string EventHandlers []events.HandlerFunc BuildlogFilePath string BuildProgressUrl string Portable bool FromArchive *fromArchive // Annotations are used strictly to pass information for the purposes of analytics // These should never be used for business logic. If the need to use them for business logic arises either we are // going down a wrong rabbit hole or we need to revisit the architecture. Annotations struct { Owner string Project string CommitUUID strfmt.UUID } }
type ProgressReportError ¶
type ProgressReportError struct {
*errs.WrapperError
}
ProgressReportError designates an error in the event handler for reporting progress.
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
func (*Runtime) Env ¶
func (r *Runtime) Env(inherit bool) Environment
type SetOpt ¶
type SetOpt func(*Opts)
func WithBuildProgressUrl ¶
func WithBuildlogFilePath ¶
func WithEventHandlers ¶
func WithEventHandlers(handlers ...events.HandlerFunc) SetOpt
func WithPortable ¶
func WithPortable() SetOpt
Source Files
¶
Click to show internal directories.
Click to hide internal directories.