cluster

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2020 License: Apache-2.0 Imports: 27 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(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) Labels

func (b *Builder) Labels() map[string]string

Labels are labels specific to cluster builder.

func (*Builder) Prune

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

Jump to

Keyboard shortcuts

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