bazel

package
v1.39.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDependencies added in v0.28.0

func GetDependencies(ctx context.Context, dir string, a *latest.BazelArtifact) ([]string, error)

GetDependencies finds the sources dependencies for the given bazel artifact. All paths are relative to the workspace.

Types

type Builder

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

Builder is an artifact builder that uses Bazel

func NewArtifactBuilder added in v1.1.0

func NewArtifactBuilder(localDocker docker.LocalDaemon, cfg docker.Config, pushImages bool) *Builder

NewArtifactBuilder returns a new bazel artifact builder

func (*Builder) Build

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

Build builds an artifact with Bazel.

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