bazel

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2020 License: Apache-2.0 Imports: 14 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, insecureRegistries map[string]bool, 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) (string, error)

Build builds an artifact with Bazel.

Jump to

Keyboard shortcuts

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