build

package
v0.0.0-...-20d847b Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoBuild

func DoBuild(args *arguments.BuildCommand, workspacePath path.Parser)

Types

type LocalPathExtractingModuleDotBazelHandler

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

LocalPathExtractingModuleDotBazelHandler is capable of capturing the paths contained in local_path_override() directives of a MODULE.bazel file. These paths are needed by the client to determine which directories to upload to the server to perform the build.

func NewLocalPathExtractingModuleDotBazelHandler

func NewLocalPathExtractingModuleDotBazelHandler(modulePaths map[label.Module]path.Parser, rootModulePath path.Parser) *LocalPathExtractingModuleDotBazelHandler

func (LocalPathExtractingModuleDotBazelHandler) ArchiveOverride

func (LocalPathExtractingModuleDotBazelHandler) ArchiveOverride(moduleName label.Module, urls []*url.URL, integrity string, stripPrefix path.Parser, patchOptions *pg_starlark.PatchOptions) error

func (LocalPathExtractingModuleDotBazelHandler) BazelDep

func (LocalPathExtractingModuleDotBazelHandler) BazelDep(name label.Module, version *label.ModuleVersion, maxCompatibilityLevel int, repoName label.ApparentRepo, devDependency bool) error

func (*LocalPathExtractingModuleDotBazelHandler) GetRootModuleName

func (h *LocalPathExtractingModuleDotBazelHandler) GetRootModuleName() (label.Module, error)

func (LocalPathExtractingModuleDotBazelHandler) GitOverride

func (LocalPathExtractingModuleDotBazelHandler) GitOverride(moduleName label.Module, remote *url.URL, commit string, patchOptions *pg_starlark.PatchOptions, initSubmodules bool, stripPrefix path.Parser) error

func (*LocalPathExtractingModuleDotBazelHandler) LocalPathOverride

func (h *LocalPathExtractingModuleDotBazelHandler) LocalPathOverride(moduleName label.Module, path path.Parser) error

func (*LocalPathExtractingModuleDotBazelHandler) Module

func (h *LocalPathExtractingModuleDotBazelHandler) Module(name label.Module, version *label.ModuleVersion, compatibilityLevel int, repoName label.ApparentRepo, bazelCompatibility []string) error

func (LocalPathExtractingModuleDotBazelHandler) MultipleVersionOverride

func (LocalPathExtractingModuleDotBazelHandler) MultipleVersionOverride(moduleName label.Module, versions []label.ModuleVersion, registry *url.URL) error

func (LocalPathExtractingModuleDotBazelHandler) RegisterExecutionPlatforms

func (LocalPathExtractingModuleDotBazelHandler) RegisterExecutionPlatforms(platformLabels []label.ApparentLabel, devDependency bool) error

func (LocalPathExtractingModuleDotBazelHandler) RegisterToolchains

func (LocalPathExtractingModuleDotBazelHandler) RegisterToolchains(toolchainLabels []label.ApparentLabel, devDependency bool) error

func (LocalPathExtractingModuleDotBazelHandler) SingleVersionOverride

func (LocalPathExtractingModuleDotBazelHandler) SingleVersionOverride(moduleName label.Module, version *label.ModuleVersion, registry *url.URL, patchOptions *pg_starlark.PatchOptions) error

func (LocalPathExtractingModuleDotBazelHandler) UseExtension

func (LocalPathExtractingModuleDotBazelHandler) UseExtension(extensionBzlFile label.ApparentLabel, extensionName label.StarlarkIdentifier, devDependency, isolate bool) (pg_starlark.ModuleExtensionProxy, error)

func (LocalPathExtractingModuleDotBazelHandler) UseRepoRule

Jump to

Keyboard shortcuts

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