custom

package
v1.39.18 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 17 Imported by: 2

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 *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, 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 *latest.Artifact, tag string, platforms platform.Matcher) (string, error)

Build builds an artifact using a custom script

func (*Builder) SupportedPlatforms added in v1.36.0

func (b *Builder) SupportedPlatforms() platform.Matcher

Jump to

Keyboard shortcuts

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