Documentation ¶
Index ¶
- type Builder
- func (b *Builder) Build(ctx context.Context, out io.Writer, artifact *latest.Artifact) build.ArtifactBuilder
- func (b *Builder) Concurrency() *int
- func (b *Builder) PostBuild(_ context.Context, _ io.Writer) error
- func (b *Builder) PreBuild(ctx context.Context, out io.Writer) error
- func (b *Builder) Prune(ctx context.Context, out io.Writer) error
- func (b *Builder) PushImages() bool
- func (b *Builder) SupportedPlatforms() platform.Matcher
- type BuilderContext
- type Config
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(bCtx BuilderContext, buildCfg *latest.ClusterDetails) (*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, artifact *latest.Artifact) build.ArtifactBuilder
Build builds a list of artifacts with Kaniko.
func (*Builder) Concurrency ¶ added in v1.18.0
func (*Builder) PushImages ¶ added in v1.28.0
func (*Builder) SupportedPlatforms ¶ added in v1.36.0
type BuilderContext ¶ added in v1.22.0
type BuilderContext interface { Config ArtifactStore() build.ArtifactStore }
Click to show internal directories.
Click to hide internal directories.