custom

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDependencies

func GetDependencies(ctx context.Context, workspace string, a *latest.CustomArtifact, insecureRegistries map[string]bool) ([]string, error)

GetDependencies returns dependencies listed for a custom artifact

Types

type ArtifactBuilder

type ArtifactBuilder struct {
	// contains filtered or unexported fields
}

ArtifactBuilder is a builder for custom artifacts

func NewArtifactBuilder

func NewArtifactBuilder(pushImages bool, additionalEnv []string) *ArtifactBuilder

NewArtifactBuilder returns a new custom artifact builder

func (*ArtifactBuilder) Build

func (b *ArtifactBuilder) Build(ctx context.Context, out io.Writer, a *latest.Artifact, tag string) error

Build builds a custom artifact It returns true if the image is expected to exist remotely, or false if it is expected to exist locally

Jump to

Keyboard shortcuts

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