cluster

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2019 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) DependenciesForArtifact

func (b *Builder) DependenciesForArtifact(ctx context.Context, a *latest.Artifact) ([]string, error)

DependenciesForArtifact returns the Dockerfile dependencies for this artifact

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

func (*Builder) SyncMap added in v0.32.0

func (b *Builder) SyncMap(ctx context.Context, artifact *latest.Artifact) (map[string][]string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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