bazel

package
v2.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDependencies

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

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

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

Jump to

Keyboard shortcuts

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