custom

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: Apache-2.0 Imports: 15 Imported by: 1

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, cfg docker.Config) ([]string, error)

GetDependencies returns dependencies listed for a custom artifact

Types

type Builder added in v1.1.0

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

Builder is a builder for custom artifacts

func NewArtifactBuilder

func NewArtifactBuilder(localDocker docker.LocalDaemon, cfg docker.Config, pushImages bool, additionalEnv []string) *Builder

NewArtifactBuilder returns a new custom artifact builder

func (*Builder) Build added in v1.1.0

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

Build builds an artifact using a custom script

Jump to

Keyboard shortcuts

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