golangbuildpb

package
v0.0.0-...-a31c79d Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package golangbuildpb contains protos with inputs and outputs of golangbuild.

Index

Constants

This section is empty.

Variables

View Source
var (
	Mode_name = map[int32]string{
		0: "MODE_ALL",
		1: "MODE_COORDINATOR",
		2: "MODE_BUILD",
		3: "MODE_TEST",
		4: "MODE_PERF",
	}
	Mode_value = map[string]int32{
		"MODE_ALL":         0,
		"MODE_COORDINATOR": 1,
		"MODE_BUILD":       2,
		"MODE_TEST":        3,
		"MODE_PERF":        4,
	}
)

Enum value maps for Mode.

View Source
var File_go_chromium_org_infra_experimental_golangbuild_golangbuildpb_params_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AllMode

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

AllMode contains properties specific to MODE_ALL.

func (*AllMode) Descriptor deprecated

func (*AllMode) Descriptor() ([]byte, []int)

Deprecated: Use AllMode.ProtoReflect.Descriptor instead.

func (*AllMode) ProtoMessage

func (*AllMode) ProtoMessage()

func (*AllMode) ProtoReflect

func (x *AllMode) ProtoReflect() protoreflect.Message

func (*AllMode) Reset

func (x *AllMode) Reset()

func (*AllMode) String

func (x *AllMode) String() string

type BuildMode

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

BuildMode contains properties specific to MODE_BUILD.

func (*BuildMode) Descriptor deprecated

func (*BuildMode) Descriptor() ([]byte, []int)

Deprecated: Use BuildMode.ProtoReflect.Descriptor instead.

func (*BuildMode) ProtoMessage

func (*BuildMode) ProtoMessage()

func (*BuildMode) ProtoReflect

func (x *BuildMode) ProtoReflect() protoreflect.Message

func (*BuildMode) Reset

func (x *BuildMode) Reset()

func (*BuildMode) String

func (x *BuildMode) String() string

type CoordinatorMode

type CoordinatorMode struct {

	// Name of the builder to create a build for for building Go.
	BuildBuilder string `protobuf:"bytes,1,opt,name=build_builder,json=buildBuilder,proto3" json:"build_builder,omitempty"`
	// Name of the builder to create a build for to run tests.
	TestBuilder string `protobuf:"bytes,2,opt,name=test_builder,json=testBuilder,proto3" json:"test_builder,omitempty"`
	// Number of separate builds to spawn to run tests in shards.
	NumTestShards uint32 `protobuf:"varint,3,opt,name=num_test_shards,json=numTestShards,proto3" json:"num_test_shards,omitempty"`
	// Names of other builders to trigger for testing when the
	// build_builder completes successfully.
	//
	// This must be empty if project != "go".
	BuildersToTriggerAfterToolchainBuild []string `` /* 177-byte string literal not displayed */
	// contains filtered or unexported fields
}

CoordinatorMode contains properties specific to MODE_COORDINATOR.

func (*CoordinatorMode) Descriptor deprecated

func (*CoordinatorMode) Descriptor() ([]byte, []int)

Deprecated: Use CoordinatorMode.ProtoReflect.Descriptor instead.

func (*CoordinatorMode) GetBuildBuilder

func (x *CoordinatorMode) GetBuildBuilder() string

func (*CoordinatorMode) GetBuildersToTriggerAfterToolchainBuild

func (x *CoordinatorMode) GetBuildersToTriggerAfterToolchainBuild() []string

func (*CoordinatorMode) GetNumTestShards

func (x *CoordinatorMode) GetNumTestShards() uint32

func (*CoordinatorMode) GetTestBuilder

func (x *CoordinatorMode) GetTestBuilder() string

func (*CoordinatorMode) ProtoMessage

func (*CoordinatorMode) ProtoMessage()

func (*CoordinatorMode) ProtoReflect

func (x *CoordinatorMode) ProtoReflect() protoreflect.Message

func (*CoordinatorMode) Reset

func (x *CoordinatorMode) Reset()

func (*CoordinatorMode) String

func (x *CoordinatorMode) String() string

type FailureSummary

type FailureSummary struct {

	// Human-friendly one-line plain text description of the failure.
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// Links (typically to logs) that would be helpful in diagnosing the failure.
	Links []*Link `protobuf:"bytes,2,rep,name=links,proto3" json:"links,omitempty"`
	// Whether or not any tests failed. Used as a signal to link to test results in the UI.
	TestsFailed bool `protobuf:"varint,3,opt,name=tests_failed,json=testsFailed,proto3" json:"tests_failed,omitempty"`
	// contains filtered or unexported fields
}

FailureSummary summarizes a failure without all the build step structure.

It's intended to be easily rendered as something meant for humans.

func (*FailureSummary) Descriptor deprecated

func (*FailureSummary) Descriptor() ([]byte, []int)

Deprecated: Use FailureSummary.ProtoReflect.Descriptor instead.

func (*FailureSummary) GetDescription

func (x *FailureSummary) GetDescription() string
func (x *FailureSummary) GetLinks() []*Link

func (*FailureSummary) GetTestsFailed

func (x *FailureSummary) GetTestsFailed() bool

func (*FailureSummary) ProtoMessage

func (*FailureSummary) ProtoMessage()

func (*FailureSummary) ProtoReflect

func (x *FailureSummary) ProtoReflect() protoreflect.Message

func (*FailureSummary) Reset

func (x *FailureSummary) Reset()

func (*FailureSummary) String

func (x *FailureSummary) String() string

type Inputs

type Inputs struct {

	// Name of the Gerrit project to be tested.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// GoBranch specifies what Go toolchain branch to use.
	// Its value is a branch name like "master" or "release-branch.go1.20"
	// (the "refs/heads/" prefix is omitted).
	GoBranch string `protobuf:"bytes,2,opt,name=go_branch,json=goBranch,proto3" json:"go_branch,omitempty"`
	// Host is the port we're building on. In most cases this is the default
	// GOOS/GOARCH of the machine, but not in cases like linux-386.
	Host *Port `protobuf:"bytes,24,opt,name=host,proto3" json:"host,omitempty"`
	// Target is the port we're testing. It can be wildly different than the
	// host port, e.g. when we're running a mobile emulator or a Wasm VM.
	Target *Port `protobuf:"bytes,25,opt,name=target,proto3" json:"target,omitempty"`
	// GoCommit optionally specifies a commit on GoBranch branch to use.
	// If it isn't provided, it means to use the tip of the GoBranch branch (a moving target).
	// It can be set only when invoked in a project other than "go".
	// Its value is a commit ID like "4368e1cdfd37cbcdbc7a4fbcc78ad61139f7ba90".
	//
	// Note: this property is mutable in the builder configuration.
	GoCommit string `protobuf:"bytes,19,opt,name=go_commit,json=goCommit,proto3" json:"go_commit,omitempty"`
	// VersionFile specifies the contents of the VERSION file to write when
	// building Go. If unset, a devel version will be generated.
	VersionFile string `protobuf:"bytes,23,opt,name=version_file,json=versionFile,proto3" json:"version_file,omitempty"`
	// BootstrapVersion specifies the version of Go to use as the bootstrap
	// toolchain when needed.
	BootstrapVersion string `protobuf:"bytes,16,opt,name=bootstrap_version,json=bootstrapVersion,proto3" json:"bootstrap_version,omitempty"`
	// UpgradeGoModLang controls whether to upgrade the language version in go.mod
	// to the language version in development.
	//
	// Setting this to true only has any effect if project != "go". Setting this
	// when go_branch is not the main branch is unsupported and will cause golangbuild
	// to fail.
	UpgradeGoModLang bool `protobuf:"varint,34,opt,name=upgrade_go_mod_lang,json=upgradeGoModLang,proto3" json:"upgrade_go_mod_lang,omitempty"`
	// LongTest controls whether the build runs in long test mode.
	LongTest bool `protobuf:"varint,3,opt,name=long_test,json=longTest,proto3" json:"long_test,omitempty"`
	// RaceMode controls whether the build runs with the race detector enabled.
	RaceMode bool `protobuf:"varint,4,opt,name=race_mode,json=raceMode,proto3" json:"race_mode,omitempty"`
	// MsanMode controls whether the build runs with MemorySanitizer enabled.
	MsanMode bool `protobuf:"varint,32,opt,name=msan_mode,json=msanMode,proto3" json:"msan_mode,omitempty"`
	// AsanMode controls whether the build runs with AddressSanitizer enabled.
	AsanMode bool `protobuf:"varint,33,opt,name=asan_mode,json=asanMode,proto3" json:"asan_mode,omitempty"`
	// TestTimeoutScale optionally indicates what to scale test timeouts by.
	//
	// This sets the GO_TEST_TIMEOUT_SCALE environment variable for `go tool dist`.
	// It also sets the -timeout flag to `go test` as 10 minutes, multiplied by the
	// timeout scale. 10 minutes here comes from the default value of the -timeout
	// flag that `go test` picks. This value is unlikely to change, but if it does,
	// golangbuild and this documentation must be updated to match.
	//
	// If this value is zero, the default timeouts from go tool dist and go test
	// will be used. This value always overrides GO_TEST_TIMEOUT_SCALE if it's set
	// in Env.
	TestTimeoutScale int64 `protobuf:"varint,31,opt,name=test_timeout_scale,json=testTimeoutScale,proto3" json:"test_timeout_scale,omitempty"`
	// NoNetwork controls whether the build disables network access during test execution.
	//
	// It's meant to catch tests that accidentally need internet without realizing it,
	// or otherwise forget to skip themselves when testing.Short() is true.
	//
	// This mode is only supported on Linux systems with unshare and ip available.
	// The build fails if the check is on but its system requirements are unmet.
	NoNetwork bool `protobuf:"varint,17,opt,name=no_network,json=noNetwork,proto3" json:"no_network,omitempty"`
	// CompileOnly controls whether the build does as much as possible to check
	// for problems but stops short of process execution for the target OS/arch.
	// It will compile packages and tests (but not execute tests), run static
	// analysis (such as vet), and so on.
	//
	// This mode makes it possible for any highly available machine type to run
	// a quick smoke test for any port.
	CompileOnly bool `protobuf:"varint,5,opt,name=compile_only,json=compileOnly,proto3" json:"compile_only,omitempty"`
	// MiscPorts controls whether the build is run across miscellaneous ports
	// instead of the default single current port.
	//
	// It exists because misc-compile builders are inherently faster at testing
	// a single port in CompileOnly-mode, so they compensate for that by testing
	// multiple ports at once.
	//
	// MiscPorts is only supported when CompileOnly is also set.
	MiscPorts bool `protobuf:"varint,18,opt,name=misc_ports,json=miscPorts,proto3" json:"misc_ports,omitempty"`
	// CompilerLinkerRaceMode controls whether the compiler and linker are built
	// in race mode to detect data races in their implementations.
	CompilerLinkerRaceMode bool `` /* 133-byte string literal not displayed */
	// Extra environment variables to set for building and testing.
	Env map[string]string `` /* 133-byte string literal not displayed */
	// Named cache configured on the builder to use as a cipd tool root cache.
	//
	// Required.
	ToolsCache string `protobuf:"bytes,7,opt,name=tools_cache,json=toolsCache,proto3" json:"tools_cache,omitempty"`
	// Optional extra build-only and test-only dependencies to install,
	// expressed as a CIPD ensure file fragment to be appended to the
	// end of the generated CIPD ensure file. For example:
	//
	//	`@Subdir bin
	//	golang/a-custom-dependency-for-a-specific-repo/${platform} latest`
	//
	// These properties try to provide flexible self-service to repository
	// owners that wish to have additional control over their dependencies.
	ToolsExtraBuild string `protobuf:"bytes,26,opt,name=tools_extra_build,json=toolsExtraBuild,proto3" json:"tools_extra_build,omitempty"`
	ToolsExtraTest  string `protobuf:"bytes,27,opt,name=tools_extra_test,json=toolsExtraTest,proto3" json:"tools_extra_test,omitempty"`
	// Named cache configured on the builder to use as a git clone cache.
	//
	// Required.
	GitCache string `protobuf:"bytes,8,opt,name=git_cache,json=gitCache,proto3" json:"git_cache,omitempty"`
	// On Macs, the version of Xcode to use. Because installing it is expensive,
	// it should be the same for all builders that run on a given host.
	XcodeVersion string `protobuf:"bytes,9,opt,name=xcode_version,json=xcodeVersion,proto3" json:"xcode_version,omitempty"`
	// A Node.js version to add to PATH, if any. Supported on Linux hosts only.
	NodeVersion string `protobuf:"bytes,20,opt,name=node_version,json=nodeVersion,proto3" json:"node_version,omitempty"`
	// A WasmTime version to add to PATH, if any. Supported on Linux hosts only.
	WasmtimeVersion string `protobuf:"bytes,21,opt,name=wasmtime_version,json=wasmtimeVersion,proto3" json:"wasmtime_version,omitempty"`
	// A wazero version to add to PATH, if any. Supported on Linux hosts only.
	WazeroVersion string `protobuf:"bytes,22,opt,name=wazero_version,json=wazeroVersion,proto3" json:"wazero_version,omitempty"`
	// The version of clang to install. If set, builds will use clang instead of
	// the system toolchain.
	ClangVersion string `protobuf:"bytes,30,opt,name=clang_version,json=clangVersion,proto3" json:"clang_version,omitempty"`
	// Which mode to run golangbuild in. See the Mode enum for details.
	Mode Mode `protobuf:"varint,10,opt,name=mode,proto3,enum=golangbuildpb.Mode" json:"mode,omitempty"`
	// Properties specific to MODE_ALL.
	AllMode *AllMode `protobuf:"bytes,11,opt,name=all_mode,json=allMode,proto3" json:"all_mode,omitempty"`
	// Properties specific to MODE_COORDINATOR.
	CoordMode *CoordinatorMode `protobuf:"bytes,12,opt,name=coord_mode,json=coordMode,proto3" json:"coord_mode,omitempty"`
	// Properties specific to MODE_BUILD.
	BuildMode *BuildMode `protobuf:"bytes,13,opt,name=build_mode,json=buildMode,proto3" json:"build_mode,omitempty"`
	// Properties specific to MODE_TEST.
	TestMode *TestMode `protobuf:"bytes,14,opt,name=test_mode,json=testMode,proto3" json:"test_mode,omitempty"`
	// Test shard identity. This property is specific to MODE_TEST.
	//
	// Note: this property is mutable in the builder configuration.
	//
	// N.B. This cannot be part of "TestMode" without making "test_mode"
	// mutable too, because property mutability is only controllable at the top level.
	// See allowed_property_overrides in https://chromium.googlesource.com/infra/luci/luci-go/+/HEAD/lucicfg/doc/README.md#luci.builder-args.
	TestShard *TestShard `protobuf:"bytes,15,opt,name=test_shard,json=testShard,proto3" json:"test_shard,omitempty"`
	// Properties specific to MODE_PERF.
	PerfMode *PerfMode `protobuf:"bytes,29,opt,name=perf_mode,json=perfMode,proto3" json:"perf_mode,omitempty"`
	// contains filtered or unexported fields
}

Input properties.

func (*Inputs) Descriptor deprecated

func (*Inputs) Descriptor() ([]byte, []int)

Deprecated: Use Inputs.ProtoReflect.Descriptor instead.

func (*Inputs) GetAllMode

func (x *Inputs) GetAllMode() *AllMode

func (*Inputs) GetAsanMode

func (x *Inputs) GetAsanMode() bool

func (*Inputs) GetBootstrapVersion

func (x *Inputs) GetBootstrapVersion() string

func (*Inputs) GetBuildMode

func (x *Inputs) GetBuildMode() *BuildMode

func (*Inputs) GetClangVersion

func (x *Inputs) GetClangVersion() string

func (*Inputs) GetCompileOnly

func (x *Inputs) GetCompileOnly() bool

func (*Inputs) GetCompilerLinkerRaceMode

func (x *Inputs) GetCompilerLinkerRaceMode() bool

func (*Inputs) GetCoordMode

func (x *Inputs) GetCoordMode() *CoordinatorMode

func (*Inputs) GetEnv

func (x *Inputs) GetEnv() map[string]string

func (*Inputs) GetGitCache

func (x *Inputs) GetGitCache() string

func (*Inputs) GetGoBranch

func (x *Inputs) GetGoBranch() string

func (*Inputs) GetGoCommit

func (x *Inputs) GetGoCommit() string

func (*Inputs) GetHost

func (x *Inputs) GetHost() *Port

func (*Inputs) GetLongTest

func (x *Inputs) GetLongTest() bool

func (*Inputs) GetMiscPorts

func (x *Inputs) GetMiscPorts() bool

func (*Inputs) GetMode

func (x *Inputs) GetMode() Mode

func (*Inputs) GetMsanMode

func (x *Inputs) GetMsanMode() bool

func (*Inputs) GetNoNetwork

func (x *Inputs) GetNoNetwork() bool

func (*Inputs) GetNodeVersion

func (x *Inputs) GetNodeVersion() string

func (*Inputs) GetPerfMode

func (x *Inputs) GetPerfMode() *PerfMode

func (*Inputs) GetProject

func (x *Inputs) GetProject() string

func (*Inputs) GetRaceMode

func (x *Inputs) GetRaceMode() bool

func (*Inputs) GetTarget

func (x *Inputs) GetTarget() *Port

func (*Inputs) GetTestMode

func (x *Inputs) GetTestMode() *TestMode

func (*Inputs) GetTestShard

func (x *Inputs) GetTestShard() *TestShard

func (*Inputs) GetTestTimeoutScale

func (x *Inputs) GetTestTimeoutScale() int64

func (*Inputs) GetToolsCache

func (x *Inputs) GetToolsCache() string

func (*Inputs) GetToolsExtraBuild

func (x *Inputs) GetToolsExtraBuild() string

func (*Inputs) GetToolsExtraTest

func (x *Inputs) GetToolsExtraTest() string

func (*Inputs) GetUpgradeGoModLang

func (x *Inputs) GetUpgradeGoModLang() bool

func (*Inputs) GetVersionFile

func (x *Inputs) GetVersionFile() string

func (*Inputs) GetWasmtimeVersion

func (x *Inputs) GetWasmtimeVersion() string

func (*Inputs) GetWazeroVersion

func (x *Inputs) GetWazeroVersion() string

func (*Inputs) GetXcodeVersion

func (x *Inputs) GetXcodeVersion() string

func (*Inputs) ProtoMessage

func (*Inputs) ProtoMessage()

func (*Inputs) ProtoReflect

func (x *Inputs) ProtoReflect() protoreflect.Message

func (*Inputs) Reset

func (x *Inputs) Reset()

func (*Inputs) String

func (x *Inputs) String() string
type Link struct {

	// Name of the link.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The link's URL.
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

Link is a URL with a human-friendly name.

func (*Link) Descriptor deprecated

func (*Link) Descriptor() ([]byte, []int)

Deprecated: Use Link.ProtoReflect.Descriptor instead.

func (*Link) GetName

func (x *Link) GetName() string

func (*Link) GetUrl

func (x *Link) GetUrl() string

func (*Link) ProtoMessage

func (*Link) ProtoMessage()

func (*Link) ProtoReflect

func (x *Link) ProtoReflect() protoreflect.Message

func (*Link) Reset

func (x *Link) Reset()

func (*Link) String

func (x *Link) String() string

type Mode

type Mode int32

golangbuild runs in one of these modes.

const (
	// MODE_ALL builds and tests the project all within the same build.
	Mode_MODE_ALL Mode = 0
	// MODE_COORDINATOR launches and coordinates tasks that build Go and
	// test the provided project.
	Mode_MODE_COORDINATOR Mode = 1
	// MODE_BUILD indicates golangbuild should just run make.bash.
	Mode_MODE_BUILD Mode = 2
	// MODE_TEST indicates golangbuild should only run tests.
	//
	// A prebuilt toolchain must be available for the provided source.
	Mode_MODE_TEST Mode = 3
	// MODE_PERF indicates that golangbuild should run benchmarks.
	// The benchmarks are always run against some baseline in the
	// same build.
	Mode_MODE_PERF Mode = 4
)

func (Mode) Descriptor

func (Mode) Descriptor() protoreflect.EnumDescriptor

func (Mode) Enum

func (x Mode) Enum() *Mode

func (Mode) EnumDescriptor deprecated

func (Mode) EnumDescriptor() ([]byte, []int)

Deprecated: Use Mode.Descriptor instead.

func (Mode) Number

func (x Mode) Number() protoreflect.EnumNumber

func (Mode) String

func (x Mode) String() string

func (Mode) Type

func (Mode) Type() protoreflect.EnumType

type Outputs

type Outputs struct {

	// Human-friendly failure description.
	Failure *FailureSummary `protobuf:"bytes,1,opt,name=failure,proto3" json:"failure,omitempty"`
	// The source code inputs that were used for this build.
	Sources []*Source `protobuf:"bytes,2,rep,name=sources,proto3" json:"sources,omitempty"`
	// contains filtered or unexported fields
}

Output properties.

func (*Outputs) Descriptor deprecated

func (*Outputs) Descriptor() ([]byte, []int)

Deprecated: Use Outputs.ProtoReflect.Descriptor instead.

func (*Outputs) GetFailure

func (x *Outputs) GetFailure() *FailureSummary

func (*Outputs) GetSources

func (x *Outputs) GetSources() []*Source

func (*Outputs) ProtoMessage

func (*Outputs) ProtoMessage()

func (*Outputs) ProtoReflect

func (x *Outputs) ProtoReflect() protoreflect.Message

func (*Outputs) Reset

func (x *Outputs) Reset()

func (*Outputs) String

func (x *Outputs) String() string

type PerfMode

type PerfMode struct {

	// Baseline indicates the baseline source code that should be
	// used for the performance comparison.
	//
	// Baseline must be one of:
	//   - A valid git branch for the project, with "refs/heads/" prefix.
	//   - A valid git tag for the project, with "refs/tags/" prefix.
	//   - The string "parent" which indicates that the baseline is the
	//     parent commit of whatever source code is being tested.
	//   - The string "latest_go_release" which indicates the last stable
	//     release on the branch being tested, or the latest release if the
	//     branch is the tip branch. Only supported for the go project. For
	//     example, if the tested branch is release-branch.go1.21
	//     and the latest release of Go 1.21 is 1.21.7, it will fetch 1.21.7.
	//     If the latest overall Go release is Go 1.22.1, then for tip, it
	//     will fetch Go 1.22.1.
	//
	// Baseline is always defined relative to Inputs.Project and the
	// Gitiles host https://go.googlesource.com.
	//
	// Note: this property is mutable in the builder configuration.
	Baseline string `protobuf:"bytes,1,opt,name=baseline,proto3" json:"baseline,omitempty"`
	// Pgo indicates whether we should run with PGO as well. Note that
	// this multiplies the number of runs we do by 3: half the runs to
	// collect profiles, then run baseline and experiment with PGO enabled,
	// on top of the regular non-PGO collection. We do all at once because
	// it's often useful to compare PGO vs. non-PGO, especially to look for
	// regressions.
	Pgo bool `protobuf:"varint,2,opt,name=pgo,proto3" json:"pgo,omitempty"`
	// contains filtered or unexported fields
}

PerfMode contains properties specific to MODE_PERF.

func (*PerfMode) Descriptor deprecated

func (*PerfMode) Descriptor() ([]byte, []int)

Deprecated: Use PerfMode.ProtoReflect.Descriptor instead.

func (*PerfMode) GetBaseline

func (x *PerfMode) GetBaseline() string

func (*PerfMode) GetPgo

func (x *PerfMode) GetPgo() bool

func (*PerfMode) ProtoMessage

func (*PerfMode) ProtoMessage()

func (*PerfMode) ProtoReflect

func (x *PerfMode) ProtoReflect() protoreflect.Message

func (*PerfMode) Reset

func (x *PerfMode) Reset()

func (*PerfMode) String

func (x *PerfMode) String() string

type Port

type Port struct {
	Goos   string `protobuf:"bytes,1,opt,name=goos,proto3" json:"goos,omitempty"`
	Goarch string `protobuf:"bytes,2,opt,name=goarch,proto3" json:"goarch,omitempty"`
	// contains filtered or unexported fields
}

func (*Port) Descriptor deprecated

func (*Port) Descriptor() ([]byte, []int)

Deprecated: Use Port.ProtoReflect.Descriptor instead.

func (*Port) GetGoarch

func (x *Port) GetGoarch() string

func (*Port) GetGoos

func (x *Port) GetGoos() string

func (*Port) ProtoMessage

func (*Port) ProtoMessage()

func (*Port) ProtoReflect

func (x *Port) ProtoReflect() protoreflect.Message

func (*Port) Reset

func (x *Port) Reset()

func (*Port) String

func (x *Port) String() string

type Source

type Source struct {

	// A git commit from a googlesource.com host.
	GitilesCommit *proto.GitilesCommit `protobuf:"bytes,1,opt,name=gitiles_commit,json=gitilesCommit,proto3" json:"gitiles_commit,omitempty"`
	// A change from a Gerrit host.
	GerritChange *proto.GerritChange `protobuf:"bytes,2,opt,name=gerrit_change,json=gerritChange,proto3" json:"gerrit_change,omitempty"`
	// contains filtered or unexported fields
}

Source is a remote source location. Only one of the following fields will be present at any given time.

func (*Source) Descriptor deprecated

func (*Source) Descriptor() ([]byte, []int)

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetGerritChange

func (x *Source) GetGerritChange() *proto.GerritChange

func (*Source) GetGitilesCommit

func (x *Source) GetGitilesCommit() *proto.GitilesCommit

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) ProtoReflect

func (x *Source) ProtoReflect() protoreflect.Message

func (*Source) Reset

func (x *Source) Reset()

func (*Source) String

func (x *Source) String() string

type TestMode

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

TestMode contains properties specific to MODE_TEST.

func (*TestMode) Descriptor deprecated

func (*TestMode) Descriptor() ([]byte, []int)

Deprecated: Use TestMode.ProtoReflect.Descriptor instead.

func (*TestMode) ProtoMessage

func (*TestMode) ProtoMessage()

func (*TestMode) ProtoReflect

func (x *TestMode) ProtoReflect() protoreflect.Message

func (*TestMode) Reset

func (x *TestMode) Reset()

func (*TestMode) String

func (x *TestMode) String() string

type TestShard

type TestShard struct {

	// ID of the test shard. This is always less than num_shards.
	ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
	// Number of test shards.
	NumShards uint32 `protobuf:"varint,2,opt,name=num_shards,json=numShards,proto3" json:"num_shards,omitempty"`
	// contains filtered or unexported fields
}

TestShard is specific to MODE_TEST and represents the build's test shard identity.

Note: this is mutable by ScheduleBuild, so add fields with care.

func (*TestShard) Descriptor deprecated

func (*TestShard) Descriptor() ([]byte, []int)

Deprecated: Use TestShard.ProtoReflect.Descriptor instead.

func (*TestShard) GetNumShards

func (x *TestShard) GetNumShards() uint32

func (*TestShard) GetShardId

func (x *TestShard) GetShardId() uint32

func (*TestShard) ProtoMessage

func (*TestShard) ProtoMessage()

func (*TestShard) ProtoReflect

func (x *TestShard) ProtoReflect() protoreflect.Message

func (*TestShard) Reset

func (x *TestShard) Reset()

func (*TestShard) String

func (x *TestShard) String() string

Jump to

Keyboard shortcuts

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