cluster

package
v1.39.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 30 Imported by: 1

Documentation

Index

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 (b *Builder) Concurrency() *int

func (*Builder) PostBuild added in v1.18.0

func (b *Builder) PostBuild(_ context.Context, _ io.Writer) error

func (*Builder) PreBuild added in v1.18.0

func (b *Builder) PreBuild(ctx context.Context, out io.Writer) error

func (*Builder) Prune

func (b *Builder) Prune(ctx context.Context, out io.Writer) error

func (*Builder) PushImages added in v1.28.0

func (b *Builder) PushImages() bool

func (*Builder) SupportedPlatforms added in v1.36.0

func (b *Builder) SupportedPlatforms() platform.Matcher

type BuilderContext added in v1.22.0

type BuilderContext interface {
	Config
	ArtifactStore() build.ArtifactStore
}

type Config added in v1.7.1

type Config interface {
	kubectl.Config
	docker.Config

	GetKubeContext() string
	Muted() config.Muted
	Mode() config.RunMode
	SkipTests() bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL