cluster

package
v1.35.3 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: Apache-2.0 Imports: 29 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 {
	*latestV1.ClusterDetails
	// contains filtered or unexported fields
}

Builder builds docker artifacts on Kubernetes.

func NewBuilder

func NewBuilder(bCtx BuilderContext, buildCfg *latestV1.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 *latestV1.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

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