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
- func (b *Builder) SyncMap(ctx context.Context, artifact *latest.Artifact) (map[string][]string, 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.
func NewBuilder ¶
func NewBuilder(runCtx *runcontext.RunContext) (*Builder, error)
NewBuilder creates a new Builder that builds artifacts on cluster.
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 ¶
func (b *Builder) DependenciesForArtifact(ctx context.Context, a *latest.Artifact) ([]string, error)
DependenciesForArtifact returns the Dockerfile dependencies for this artifact
Click to show internal directories.
Click to hide internal directories.