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, artifact *latest.Artifact) ([]string, error)
- func (b *Builder) Init(opts *config.SkaffoldOptions, env *latest.ExecutionEnvironment)
- func (b *Builder) Labels() map[string]string
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 builds artifacts with Docker.
func NewBuilder ¶
func NewBuilder() *Builder
NewBuilder creates a new Builder that builds artifacts with Docker.
func (*Builder) Build ¶
func (b *Builder) Build(ctx context.Context, out io.Writer, tags tag.ImageTags, artifacts []*latest.Artifact) ([]build.Artifact, error)
Build is responsible for building artifacts in their respective execution environments The builder plugin is also responsible for setting any necessary defaults
func (*Builder) DependenciesForArtifact ¶ added in v0.24.0
func (b *Builder) DependenciesForArtifact(ctx context.Context, artifact *latest.Artifact) ([]string, error)
DependenciesForArtifact returns the dependencies for this docker artifact
func (*Builder) Init ¶
func (b *Builder) Init(opts *config.SkaffoldOptions, env *latest.ExecutionEnvironment)
Init stores skaffold options and the execution environment
Click to show internal directories.
Click to hide internal directories.