Documentation ¶
Index ¶
- type Builder
- func (b *Builder) Build(ctx context.Context, out io.Writer, tags tag.ImageTags, ...) ([]build.Artifact, error)
- func (b *Builder) DependenciesForArtifact(ctx context.Context, a *latest.Artifact) ([]string, error)
- func (b *Builder) Labels() map[string]string
- func (b *Builder) Prune(ctx context.Context, out io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder uses the host docker daemon to build and tag the image.
func NewBuilder ¶
func NewBuilder(runCtx *runcontext.RunContext) (*Builder, error)
NewBuilder returns an new instance of a local Builder.
func (*Builder) Build ¶
func (b *Builder) Build(ctx context.Context, out io.Writer, tags tag.ImageTags, artifacts []*latest.Artifact) ([]build.Artifact, error)
Build runs a docker build on the host and tags the resulting image with its checksum. It streams build progress to the writer argument.
func (*Builder) DependenciesForArtifact ¶ added in v0.24.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.