Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct { BuildID v1.ContainerBuildID SystemID v1.SystemID WorkingDir string DockerOptions *DockerOptions DockerClient *dockerclient.Client GitOptions *git.Options StatusUpdater StatusUpdater }
func NewBuilder ¶
func NewBuilder( buildID v1.ContainerBuildID, systemID v1.SystemID, workDirectory string, dockerOptions *DockerOptions, gitResolverOptions *git.Options, updater StatusUpdater, ) (*Builder, error)
func (*Builder) Build ¶
func (b *Builder) Build(containerBuild *definitionv1.ContainerBuild) error
type DockerOptions ¶
type ErrorInternal ¶
type ErrorInternal struct {
// contains filtered or unexported fields
}
func (*ErrorInternal) Error ¶
func (e *ErrorInternal) Error() string
type Failure ¶
type Failure struct { Error error Phase v1.ContainerBuildPhase }
type StatusUpdater ¶
type StatusUpdater interface { UpdateProgress(v1.ContainerBuildID, v1.SystemID, v1.ContainerBuildPhase) error UpdateError(buildID v1.ContainerBuildID, systemID v1.SystemID, internal bool, err error) error }
Click to show internal directories.
Click to hide internal directories.