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 { *latest.ClusterDetails // contains filtered or unexported fields }
Builder builds docker artifacts on Kubernetes, using Kaniko.
func NewBuilder ¶
func NewBuilder(runCtx *runcontext.RunContext) (*Builder, error)
NewBuilder creates a new Builder that builds artifacts with Kaniko.
func (*Builder) Build ¶
func (b *Builder) Build(ctx context.Context, out io.Writer, tags tag.ImageTags, artifacts []*latest.Artifact) ([]build.Artifact, error)
Build builds a list of artifacts with Kaniko.
func (*Builder) DependenciesForArtifact ¶ added in v0.24.0
func (b *Builder) DependenciesForArtifact(ctx context.Context, a *latest.Artifact) ([]string, error)
DependenciesForArtifact returns the Dockerfile dependencies for this kaniko artifact
Click to show internal directories.
Click to hide internal directories.