custom

package
v1.35.0-aplha Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 16 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, artifactName string, a *latestV1.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, skipTest 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 *latestV1.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