testplans

package
v0.0.0-...-f0b840c Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2024 License: BSD-3-Clause Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PointlessBuildCheckResponse_PointlessBuildReason_name = map[int32]string{
		0: "POINTLESS_BUILD_REASON_UNSPECIFIED",
		1: "IRRELEVANT_TO_DEPS_GRAPH",
		2: "IRRELEVANT_TO_KNOWN_NON_PORTAGE_DIRECTORIES",
		3: "RELEVANT_TO_KNOWN_NON_PORTAGE_DIRECTORIES",
	}
	PointlessBuildCheckResponse_PointlessBuildReason_value = map[string]int32{
		"POINTLESS_BUILD_REASON_UNSPECIFIED":          0,
		"IRRELEVANT_TO_DEPS_GRAPH":                    1,
		"IRRELEVANT_TO_KNOWN_NON_PORTAGE_DIRECTORIES": 2,
		"RELEVANT_TO_KNOWN_NON_PORTAGE_DIRECTORIES":   3,
	}
)

Enum value maps for PointlessBuildCheckResponse_PointlessBuildReason.

View Source
var (
	Branch_name = map[int32]string{
		0: "BRANCH_UNSPECIFIED",
		1: "CANARY",
		2: "DEV",
		3: "BETA",
		4: "STABLE",
		5: "LTS",
	}
	Branch_value = map[string]int32{
		"BRANCH_UNSPECIFIED": 0,
		"CANARY":             1,
		"DEV":                2,
		"BETA":               3,
		"STABLE":             4,
		"LTS":                5,
	}
)

Enum value maps for Branch.

View Source
var (
	RunFlags_name = map[int32]string{
		0: "UNSPECIFIED_RUN_FLAG",
		1: "RUN_VIA_CFT",
		2: "RUN_VIA_TRV2",
		3: "TRANSLATE_TRV2_REQUEST",
		4: "ENABLE_AUTO_TEST_SHARDING",
	}
	RunFlags_value = map[string]int32{
		"UNSPECIFIED_RUN_FLAG":      0,
		"RUN_VIA_CFT":               1,
		"RUN_VIA_TRV2":              2,
		"TRANSLATE_TRV2_REQUEST":    3,
		"ENABLE_AUTO_TEST_SHARDING": 4,
	}
)

Enum value maps for RunFlags.

View Source
var (
	ExperimentFlags_name = map[int32]string{
		0: "UNSPECIFIED_EXPERIMENT",
	}
	ExperimentFlags_value = map[string]int32{
		"UNSPECIFIED_EXPERIMENT": 0,
	}
)

Enum value maps for ExperimentFlags.

View Source
var (
	SchedulerConfig_FirmwareBranch_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "CROS",
		2: "FIRMWARE",
		3: "DEV",
		4: "BETA",
		5: "STABLE",
	}
	SchedulerConfig_FirmwareBranch_value = map[string]int32{
		"UNSPECIFIED": 0,
		"CROS":        1,
		"FIRMWARE":    2,
		"DEV":         3,
		"BETA":        4,
		"STABLE":      5,
	}
)

Enum value maps for SchedulerConfig_FirmwareBranch.

View Source
var (
	SchedulerConfig_TriggerType_name = map[int32]string{
		0: "TRIGGER_UNSPECIFIED",
		1: "PRIMARY",
		2: "ALL",
	}
	SchedulerConfig_TriggerType_value = map[string]int32{
		"TRIGGER_UNSPECIFIED": 0,
		"PRIMARY":             1,
		"ALL":                 2,
	}
)

Enum value maps for SchedulerConfig_TriggerType.

View Source
var (
	SchedulerConfig_LaunchCriteria_LaunchProfile_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "NEW_BUILD",
		2: "DAILY",
		3: "WEEKLY",
		4: "CRON_BASED",
		5: "FORTNIGHTLY",
		6: "NEW_BUILD_3D",
		7: "MULTI_DUT",
		8: "N_DAYS",
	}
	SchedulerConfig_LaunchCriteria_LaunchProfile_value = map[string]int32{
		"UNSPECIFIED":  0,
		"NEW_BUILD":    1,
		"DAILY":        2,
		"WEEKLY":       3,
		"CRON_BASED":   4,
		"FORTNIGHTLY":  5,
		"NEW_BUILD_3D": 6,
		"MULTI_DUT":    7,
		"N_DAYS":       8,
	}
)

Enum value maps for SchedulerConfig_LaunchCriteria_LaunchProfile.

View Source
var (
	HwTestCfg_HwTestSuiteType_name = map[int32]string{
		0: "HW_TEST_SUITE_TYPE_UNSPECIFIED",
		1: "AUTOTEST",
		2: "TAST",
	}
	HwTestCfg_HwTestSuiteType_value = map[string]int32{
		"HW_TEST_SUITE_TYPE_UNSPECIFIED": 0,
		"AUTOTEST":                       1,
		"TAST":                           2,
	}
)

Enum value maps for HwTestCfg_HwTestSuiteType.

View Source
var File_testplans_board_priorities_proto protoreflect.FileDescriptor
View Source
var File_testplans_build_irrelevance_config_proto protoreflect.FileDescriptor
View Source
var File_testplans_common_proto protoreflect.FileDescriptor
View Source
var File_testplans_generate_test_plan_proto protoreflect.FileDescriptor
View Source
var File_testplans_pointless_build_proto protoreflect.FileDescriptor
View Source
var File_testplans_slim_build_config_proto protoreflect.FileDescriptor
View Source
var File_testplans_source_tree_test_config_proto protoreflect.FileDescriptor
View Source
var File_testplans_suite_scheduler_proto protoreflect.FileDescriptor
View Source
var File_testplans_target_test_requirements_config_proto protoreflect.FileDescriptor
View Source
var File_testplans_test_retry_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AdditiveRule

type AdditiveRule struct {

	// Adds on all test suites in the provided groups, even if they have
	// disable_by_default=True.
	// e.g. could be used to trigger wificell testing (which is expensive) based
	// on the presence of files in wifi-related directories.
	AddAllSuitesInGroups *TestGroups `` /* 127-byte string literal not displayed */
	// Adds on one test suite from each of the provided groups, even if that suite
	// has disable_by_default=True.
	// e.g. could be used to trigger wificell testing (which is expensive) on one
	// board in each ChromeOS processor architecture.
	AddOneSuiteFromEachGroup *TestGroups `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

A descriptive of how to add extra test suites to a CQ run based on source configuration. An AdditiveRule will trigger so long as any file matches the relevant source pattern. AdditiveRules combine as a union of additional test suites to run. disable_by_default=True test suites are particularly relevant to AdditiveRules, since AdditiveRules are the only thing that will include them.

func (*AdditiveRule) Descriptor deprecated

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

Deprecated: Use AdditiveRule.ProtoReflect.Descriptor instead.

func (*AdditiveRule) GetAddAllSuitesInGroups

func (x *AdditiveRule) GetAddAllSuitesInGroups() *TestGroups

func (*AdditiveRule) GetAddOneSuiteFromEachGroup

func (x *AdditiveRule) GetAddOneSuiteFromEachGroup() *TestGroups

func (*AdditiveRule) ProtoMessage

func (*AdditiveRule) ProtoMessage()

func (*AdditiveRule) ProtoReflect

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

func (*AdditiveRule) Reset

func (x *AdditiveRule) Reset()

func (*AdditiveRule) String

func (x *AdditiveRule) String() string

type Board

type Board struct {

	// Name of the board. Eg: eve.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// List of variants assiciated with the board.
	// This should only be the suffixes. Eg: ['-kernelnext'].
	Variants []string `protobuf:"bytes,2,rep,name=variants,proto3" json:"variants,omitempty"`
	// List of models of the boards to test on.
	Models []string `protobuf:"bytes,3,rep,name=models,proto3" json:"models,omitempty"`
	// contains filtered or unexported fields
}

Defines a board, its variants and its models.

func (*Board) Descriptor deprecated

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

Deprecated: Use Board.ProtoReflect.Descriptor instead.

func (*Board) GetModels

func (x *Board) GetModels() []string

func (*Board) GetName

func (x *Board) GetName() string

func (*Board) GetVariants

func (x *Board) GetVariants() []string

func (*Board) ProtoMessage

func (*Board) ProtoMessage()

func (*Board) ProtoReflect

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

func (*Board) Reset

func (x *Board) Reset()

func (*Board) String

func (x *Board) String() string

type BoardPriority

type BoardPriority struct {

	// Key to identify a group of DUTs. Must align with keys used as
	// HwTest.skylab_board, see that field for more detailed definition of this
	// field.
	SkylabBoard string `protobuf:"bytes,1,opt,name=skylab_board,json=skylabBoard,proto3" json:"skylab_board,omitempty"`
	// Relative preference for a board. A board with a lower priority will be
	// chosen over a board with a higher priority. Priorities may be negative.
	// If a board does not have a BoardPriority, it is implicitly 0.
	Priority int32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"`
	// contains filtered or unexported fields
}

Configures how different groups of DUTs are chosen during test planning. Often different test plans can satisfy a test requirement, these priorities are used to choose a plan. Usually based off factors such as DUT availability.

func (*BoardPriority) Descriptor deprecated

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

Deprecated: Use BoardPriority.ProtoReflect.Descriptor instead.

func (*BoardPriority) GetPriority

func (x *BoardPriority) GetPriority() int32

func (*BoardPriority) GetSkylabBoard

func (x *BoardPriority) GetSkylabBoard() string

func (*BoardPriority) ProtoMessage

func (*BoardPriority) ProtoMessage()

func (*BoardPriority) ProtoReflect

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

func (*BoardPriority) Reset

func (x *BoardPriority) Reset()

func (*BoardPriority) String

func (x *BoardPriority) String() string

type BoardPriorityList

type BoardPriorityList struct {
	BoardPriorities []*BoardPriority `protobuf:"bytes,1,rep,name=board_priorities,json=boardPriorities,proto3" json:"board_priorities,omitempty"`
	// contains filtered or unexported fields
}

func (*BoardPriorityList) Descriptor deprecated

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

Deprecated: Use BoardPriorityList.ProtoReflect.Descriptor instead.

func (*BoardPriorityList) GetBoardPriorities

func (x *BoardPriorityList) GetBoardPriorities() []*BoardPriority

func (*BoardPriorityList) ProtoMessage

func (*BoardPriorityList) ProtoMessage()

func (*BoardPriorityList) ProtoReflect

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

func (*BoardPriorityList) Reset

func (x *BoardPriorityList) Reset()

func (*BoardPriorityList) String

func (x *BoardPriorityList) String() string

type BoardVariant

type BoardVariant struct {
	Board   string `protobuf:"bytes,1,opt,name=board,proto3" json:"board,omitempty"`
	Variant string `protobuf:"bytes,2,opt,name=variant,proto3" json:"variant,omitempty"`
	// contains filtered or unexported fields
}

Specify a Board and Variant pair.

func (*BoardVariant) Descriptor deprecated

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

Deprecated: Use BoardVariant.ProtoReflect.Descriptor instead.

func (*BoardVariant) GetBoard

func (x *BoardVariant) GetBoard() string

func (*BoardVariant) GetVariant

func (x *BoardVariant) GetVariant() string

func (*BoardVariant) ProtoMessage

func (*BoardVariant) ProtoMessage()

func (*BoardVariant) ProtoReflect

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

func (*BoardVariant) Reset

func (x *BoardVariant) Reset()

func (*BoardVariant) String

func (x *BoardVariant) String() string

type Branch

type Branch int32

Branches that can be targeted.

const (
	Branch_BRANCH_UNSPECIFIED Branch = 0
	// Canary Branch or ToT.
	Branch_CANARY Branch = 1
	// Dev Branch or ToT-1.
	Branch_DEV Branch = 2
	// Beta Branch or ToT-2.
	Branch_BETA Branch = 3
	// Stable Branch or ToT-3.
	Branch_STABLE Branch = 4
	// Long term support tracking branch. This channel does not follow a ToT-N
	// schema.
	Branch_LTS Branch = 5
)

func (Branch) Descriptor

func (Branch) Descriptor() protoreflect.EnumDescriptor

func (Branch) Enum

func (x Branch) Enum() *Branch

func (Branch) EnumDescriptor deprecated

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

Deprecated: Use Branch.Descriptor instead.

func (Branch) Number

func (x Branch) Number() protoreflect.EnumNumber

func (Branch) String

func (x Branch) String() string

func (Branch) Type

func (Branch) Type() protoreflect.EnumType

type BuildIrrelevanceCfg

type BuildIrrelevanceCfg struct {

	// See documentation in the FilePattern message.
	//
	// File patterns that never affect ChromeOS builds.
	IrrelevantFilePatterns []*FilePattern `` /* 129-byte string literal not displayed */
	// File patterns that always affect ChromeOS builds.
	RelevantFilePatterns []*FilePattern `protobuf:"bytes,4,rep,name=relevant_file_patterns,json=relevantFilePatterns,proto3" json:"relevant_file_patterns,omitempty"`
	// File patterns that always affect ChromeOS builds, for some builders.
	RelevantFilePatternsForBuilders []*FilePatternWithBuilderRegex `` /* 160-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configures a list of paths that are either always relevant or irrelevant. Note that forced relevance is evaluated first.

func (*BuildIrrelevanceCfg) Descriptor deprecated

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

Deprecated: Use BuildIrrelevanceCfg.ProtoReflect.Descriptor instead.

func (*BuildIrrelevanceCfg) GetIrrelevantFilePatterns

func (x *BuildIrrelevanceCfg) GetIrrelevantFilePatterns() []*FilePattern

func (*BuildIrrelevanceCfg) GetRelevantFilePatterns

func (x *BuildIrrelevanceCfg) GetRelevantFilePatterns() []*FilePattern

func (*BuildIrrelevanceCfg) GetRelevantFilePatternsForBuilders

func (x *BuildIrrelevanceCfg) GetRelevantFilePatternsForBuilders() []*FilePatternWithBuilderRegex

func (*BuildIrrelevanceCfg) ProtoMessage

func (*BuildIrrelevanceCfg) ProtoMessage()

func (*BuildIrrelevanceCfg) ProtoReflect

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

func (*BuildIrrelevanceCfg) Reset

func (x *BuildIrrelevanceCfg) Reset()

func (*BuildIrrelevanceCfg) String

func (x *BuildIrrelevanceCfg) String() string

type BuildPayload

type BuildPayload struct {

	// The GS bucket in which artifacts for the build are stored, e.g.
	// gs://chromeos-image-archive
	ArtifactsGsBucket string `protobuf:"bytes,1,opt,name=artifacts_gs_bucket,json=artifactsGsBucket,proto3" json:"artifacts_gs_bucket,omitempty"`
	// The path in the bucket in which artifacts for the build are stored, e.g.
	// eve-paladin/R73-11588.0.0-rc4
	ArtifactsGsPath string `protobuf:"bytes,2,opt,name=artifacts_gs_path,json=artifactsGsPath,proto3" json:"artifacts_gs_path,omitempty"`
	// Artifact type to files available for that type. e.g.
	// "AUTOTEST_FILES": [ "control_files.tar" ]
	FilesByArtifact *structpb.Struct `protobuf:"bytes,3,opt,name=files_by_artifact,json=filesByArtifact,proto3" json:"files_by_artifact,omitempty"`
	// contains filtered or unexported fields
}

The files that should be tested in a test plan.

func (*BuildPayload) Descriptor deprecated

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

Deprecated: Use BuildPayload.ProtoReflect.Descriptor instead.

func (*BuildPayload) GetArtifactsGsBucket

func (x *BuildPayload) GetArtifactsGsBucket() string

func (*BuildPayload) GetArtifactsGsPath

func (x *BuildPayload) GetArtifactsGsPath() string

func (*BuildPayload) GetFilesByArtifact

func (x *BuildPayload) GetFilesByArtifact() *structpb.Struct

func (*BuildPayload) ProtoMessage

func (*BuildPayload) ProtoMessage()

func (*BuildPayload) ProtoReflect

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

func (*BuildPayload) Reset

func (x *BuildPayload) Reset()

func (*BuildPayload) String

func (x *BuildPayload) String() string

type ExperimentFlags

type ExperimentFlags int32

ExperimentFlags represent different Kron experiments that can be toggled on a per config basis.

const (
	ExperimentFlags_UNSPECIFIED_EXPERIMENT ExperimentFlags = 0
)

func (ExperimentFlags) Descriptor

func (ExperimentFlags) Enum

func (x ExperimentFlags) Enum() *ExperimentFlags

func (ExperimentFlags) EnumDescriptor deprecated

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

Deprecated: Use ExperimentFlags.Descriptor instead.

func (ExperimentFlags) Number

func (ExperimentFlags) String

func (x ExperimentFlags) String() string

func (ExperimentFlags) Type

type FilePattern

type FilePattern struct {

	// Bash pattern for matching a file in the chromiumos checkout.
	// This may make use of globstar (i.e. **) notation to match against many
	// subdirectories at once. The pattern will be matched against a full
	// relative path in the chromiumos checkout.
	// e.g.
	// chromite/config/** to match anything under chromite/config/
	// **/OWNERS to match any OWNERS file
	// **/*.md to match any .md file
	// src/somefile.java to match a specific file
	Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
	// Bash patterns that exclude files in the chromiumos checkout from a match.
	//
	// A file in the chromiumos checkout is considered a match iff:
	// 1. It matches pattern.
	// 2. It doesn't match any of exclude_patterns.
	//
	// The matching rules of exclude_patterns are the same as patterns, e.g.
	// globstar is allowed.
	ExcludePatterns []string `protobuf:"bytes,2,rep,name=exclude_patterns,json=excludePatterns,proto3" json:"exclude_patterns,omitempty"`
	// contains filtered or unexported fields
}

func (*FilePattern) Descriptor deprecated

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

Deprecated: Use FilePattern.ProtoReflect.Descriptor instead.

func (*FilePattern) GetExcludePatterns

func (x *FilePattern) GetExcludePatterns() []string

func (*FilePattern) GetPattern

func (x *FilePattern) GetPattern() string

func (*FilePattern) ProtoMessage

func (*FilePattern) ProtoMessage()

func (*FilePattern) ProtoReflect

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

func (*FilePattern) Reset

func (x *FilePattern) Reset()

func (*FilePattern) String

func (x *FilePattern) String() string

type FilePatternWithBuilderRegex

type FilePatternWithBuilderRegex struct {

	// File pattern
	FilePattern *FilePattern `protobuf:"bytes,1,opt,name=file_pattern,json=filePattern,proto3" json:"file_pattern,omitempty"`
	// The regex to apply to the builder name to determine whether this
	// FilePattern is applicable.
	BuilderNameRegex string `protobuf:"bytes,2,opt,name=builder_name_regex,json=builderNameRegex,proto3" json:"builder_name_regex,omitempty"`
	// contains filtered or unexported fields
}

Specifies a file pattern that should only apply to builders whose name matches the given regex.

func (*FilePatternWithBuilderRegex) Descriptor deprecated

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

Deprecated: Use FilePatternWithBuilderRegex.ProtoReflect.Descriptor instead.

func (*FilePatternWithBuilderRegex) GetBuilderNameRegex

func (x *FilePatternWithBuilderRegex) GetBuilderNameRegex() string

func (*FilePatternWithBuilderRegex) GetFilePattern

func (x *FilePatternWithBuilderRegex) GetFilePattern() *FilePattern

func (*FilePatternWithBuilderRegex) ProtoMessage

func (*FilePatternWithBuilderRegex) ProtoMessage()

func (*FilePatternWithBuilderRegex) ProtoReflect

func (*FilePatternWithBuilderRegex) Reset

func (x *FilePatternWithBuilderRegex) Reset()

func (*FilePatternWithBuilderRegex) String

func (x *FilePatternWithBuilderRegex) String() string

type GenerateTestPlanRequest

type GenerateTestPlanRequest struct {

	// Serialized buildbucket Build protos that are part of this orchestrator run.
	// See
	// https://chromium.googlesource.com/infra/luci/luci-go/+/master/buildbucket/proto/build.proto
	BuildbucketProtos []*ProtoBytes `protobuf:"bytes,5,rep,name=buildbucket_protos,json=buildbucketProtos,proto3" json:"buildbucket_protos,omitempty"`
	// The manifest-internal snapshot commit hash that's being used for the
	// current build. Note that manifest_commit will be soon replaced with
	// gitiles_commit below.
	ManifestCommit string `protobuf:"bytes,7,opt,name=manifest_commit,json=manifestCommit,proto3" json:"manifest_commit,omitempty"`
	// Serialized buildbucket GitilesCommit, representing the manifest or
	// manifest-internal commit to which the build is synced.
	GitilesCommit *ProtoBytes `protobuf:"bytes,9,opt,name=gitiles_commit,json=gitilesCommit,proto3" json:"gitiles_commit,omitempty"`
	// Serialized buildbucket GerritChanges, or none if this is a postsubmit run
	// or similar. Explicit proto import is avoided here to prevent a dependency
	// on the luci-go repo.
	// See
	// https://chromium.googlesource.com/infra/luci/luci-go/+/master/buildbucket/proto/common.proto
	GerritChanges []*ProtoBytes `protobuf:"bytes,8,rep,name=gerrit_changes,json=gerritChanges,proto3" json:"gerrit_changes,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateTestPlanRequest) Descriptor deprecated

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

Deprecated: Use GenerateTestPlanRequest.ProtoReflect.Descriptor instead.

func (*GenerateTestPlanRequest) GetBuildbucketProtos

func (x *GenerateTestPlanRequest) GetBuildbucketProtos() []*ProtoBytes

func (*GenerateTestPlanRequest) GetGerritChanges

func (x *GenerateTestPlanRequest) GetGerritChanges() []*ProtoBytes

func (*GenerateTestPlanRequest) GetGitilesCommit

func (x *GenerateTestPlanRequest) GetGitilesCommit() *ProtoBytes

func (*GenerateTestPlanRequest) GetManifestCommit

func (x *GenerateTestPlanRequest) GetManifestCommit() string

func (*GenerateTestPlanRequest) ProtoMessage

func (*GenerateTestPlanRequest) ProtoMessage()

func (*GenerateTestPlanRequest) ProtoReflect

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

func (*GenerateTestPlanRequest) Reset

func (x *GenerateTestPlanRequest) Reset()

func (*GenerateTestPlanRequest) String

func (x *GenerateTestPlanRequest) String() string

type GenerateTestPlanResponse

type GenerateTestPlanResponse struct {
	HwTestUnits           []*HwTestUnit      `protobuf:"bytes,3,rep,name=hw_test_units,json=hwTestUnits,proto3" json:"hw_test_units,omitempty"`
	VmTestUnits           []*VmTestUnit      `protobuf:"bytes,6,rep,name=vm_test_units,json=vmTestUnits,proto3" json:"vm_test_units,omitempty"`
	DirectTastVmTestUnits []*TastVmTestUnit  `` /* 130-byte string literal not displayed */
	TastGceTestUnits      []*TastGceTestUnit `protobuf:"bytes,8,rep,name=tast_gce_test_units,json=tastGceTestUnits,proto3" json:"tast_gce_test_units,omitempty"`
	// contains filtered or unexported fields
}

The final test plan.

func (*GenerateTestPlanResponse) Descriptor deprecated

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

Deprecated: Use GenerateTestPlanResponse.ProtoReflect.Descriptor instead.

func (*GenerateTestPlanResponse) GetDirectTastVmTestUnits

func (x *GenerateTestPlanResponse) GetDirectTastVmTestUnits() []*TastVmTestUnit

func (*GenerateTestPlanResponse) GetHwTestUnits

func (x *GenerateTestPlanResponse) GetHwTestUnits() []*HwTestUnit

func (*GenerateTestPlanResponse) GetTastGceTestUnits

func (x *GenerateTestPlanResponse) GetTastGceTestUnits() []*TastGceTestUnit

func (*GenerateTestPlanResponse) GetVmTestUnits

func (x *GenerateTestPlanResponse) GetVmTestUnits() []*VmTestUnit

func (*GenerateTestPlanResponse) ProtoMessage

func (*GenerateTestPlanResponse) ProtoMessage()

func (*GenerateTestPlanResponse) ProtoReflect

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

func (*GenerateTestPlanResponse) Reset

func (x *GenerateTestPlanResponse) Reset()

func (*GenerateTestPlanResponse) String

func (x *GenerateTestPlanResponse) String() string

type HwTestCfg

type HwTestCfg struct {
	HwTest []*HwTestCfg_HwTest `protobuf:"bytes,1,rep,name=hw_test,json=hwTest,proto3" json:"hw_test,omitempty"`
	// contains filtered or unexported fields
}

func (*HwTestCfg) Descriptor deprecated

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

Deprecated: Use HwTestCfg.ProtoReflect.Descriptor instead.

func (*HwTestCfg) GetHwTest

func (x *HwTestCfg) GetHwTest() []*HwTestCfg_HwTest

func (*HwTestCfg) ProtoMessage

func (*HwTestCfg) ProtoMessage()

func (*HwTestCfg) ProtoReflect

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

func (*HwTestCfg) Reset

func (x *HwTestCfg) Reset()

func (*HwTestCfg) String

func (x *HwTestCfg) String() string

type HwTestCfg_HwTest

type HwTestCfg_HwTest struct {
	Common *TestSuiteCommon `protobuf:"bytes,12,opt,name=common,proto3" json:"common,omitempty"`
	// Name of the test suite to run.
	Suite string `protobuf:"bytes,1,opt,name=suite,proto3" json:"suite,omitempty"`
	// The key that identifies a distinct type of device in Skylab.
	// Skylab uses the term "board", hence use of this otherwise controversial
	// word.
	// e.g. could use device_target 'caroline' to test the build_target
	// 'caroline-arcnext'.
	SkylabBoard string `protobuf:"bytes,11,opt,name=skylab_board,json=skylabBoard,proto3" json:"skylab_board,omitempty"`
	// Key that further specifies the device to test on in Skylab.
	// e.g. for skylab_board 'octopus', may require skylab_model 'ampton'
	SkylabModel     string                    `protobuf:"bytes,15,opt,name=skylab_model,json=skylabModel,proto3" json:"skylab_model,omitempty"`
	HwTestSuiteType HwTestCfg_HwTestSuiteType `` /* 153-byte string literal not displayed */
	// The swarming pool in which to run the test suite, e.g. DUT_POOL_QUOTA.
	Pool string `protobuf:"bytes,14,opt,name=pool,proto3" json:"pool,omitempty"`
	// The licenses required for the DUT the test will run on.
	Licenses []lab.LicenseType `protobuf:"varint,16,rep,packed,name=licenses,proto3,enum=lab.LicenseType" json:"licenses,omitempty"`
	// If true, then run test via containerized autoserv binary rather than
	// autoserv on the drone.  This allows opt-in to the containerized execution
	// path.
	// TODO(b/227666105): Deprecate after removing all references.
	RunViaContainer bool `protobuf:"varint,17,opt,name=run_via_container,json=runViaContainer,proto3" json:"run_via_container,omitempty"`
	// If true, then run test via CFT workflow.
	// This allows opt-in to the CFT execution path.
	RunViaCft bool `protobuf:"varint,18,opt,name=run_via_cft,json=runViaCft,proto3" json:"run_via_cft,omitempty"`
	// Tags criteria that will be used to enumerate tests for CFT test execution
	// workflow.
	TagCriteria *api.TestSuite_TestCaseTagCriteria `protobuf:"bytes,19,opt,name=tag_criteria,json=tagCriteria,proto3" json:"tag_criteria,omitempty"`
	// The total number of shards to be used in a test run. Only used when
	// tag_criteria is also set.
	TotalShards int64 `protobuf:"varint,22,opt,name=total_shards,json=totalShards,proto3" json:"total_shards,omitempty"`
	// If true, then run test via cros_test_runner(trv2) workflow.
	// This flag can only be true if run_via_cft is true.
	RunViaTrv2 bool `protobuf:"varint,20,opt,name=run_via_trv2,json=runViaTrv2,proto3" json:"run_via_trv2,omitempty"`
	// Steps config for cft test execution. If not provided, all desired steps
	// will be executed by default. Will only be passed on to trv2 if
	// run_via_cft & run_via_trv2 is true.
	Trv2StepsConfig *common.CftStepsConfig `protobuf:"bytes,21,opt,name=trv2_steps_config,json=trv2StepsConfig,proto3" json:"trv2_steps_config,omitempty"`
	// Optional companion DUTs for multi-dut tests.
	Companions []*TestCompanion `protobuf:"bytes,23,rep,name=companions,proto3" json:"companions,omitempty"`
	// If true, then autotest tests will be sharded
	EnableAutotestSharding bool `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for a hardware test suite. NEXT ID: 25

func (*HwTestCfg_HwTest) Descriptor deprecated

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

Deprecated: Use HwTestCfg_HwTest.ProtoReflect.Descriptor instead.

func (*HwTestCfg_HwTest) GetCommon

func (x *HwTestCfg_HwTest) GetCommon() *TestSuiteCommon

func (*HwTestCfg_HwTest) GetCompanions

func (x *HwTestCfg_HwTest) GetCompanions() []*TestCompanion

func (*HwTestCfg_HwTest) GetEnableAutotestSharding

func (x *HwTestCfg_HwTest) GetEnableAutotestSharding() bool

func (*HwTestCfg_HwTest) GetHwTestSuiteType

func (x *HwTestCfg_HwTest) GetHwTestSuiteType() HwTestCfg_HwTestSuiteType

func (*HwTestCfg_HwTest) GetLicenses

func (x *HwTestCfg_HwTest) GetLicenses() []lab.LicenseType

func (*HwTestCfg_HwTest) GetPool

func (x *HwTestCfg_HwTest) GetPool() string

func (*HwTestCfg_HwTest) GetRunViaCft

func (x *HwTestCfg_HwTest) GetRunViaCft() bool

func (*HwTestCfg_HwTest) GetRunViaContainer

func (x *HwTestCfg_HwTest) GetRunViaContainer() bool

func (*HwTestCfg_HwTest) GetRunViaTrv2

func (x *HwTestCfg_HwTest) GetRunViaTrv2() bool

func (*HwTestCfg_HwTest) GetSkylabBoard

func (x *HwTestCfg_HwTest) GetSkylabBoard() string

func (*HwTestCfg_HwTest) GetSkylabModel

func (x *HwTestCfg_HwTest) GetSkylabModel() string

func (*HwTestCfg_HwTest) GetSuite

func (x *HwTestCfg_HwTest) GetSuite() string

func (*HwTestCfg_HwTest) GetTagCriteria

func (x *HwTestCfg_HwTest) GetTagCriteria() *api.TestSuite_TestCaseTagCriteria

func (*HwTestCfg_HwTest) GetTotalShards

func (x *HwTestCfg_HwTest) GetTotalShards() int64

func (*HwTestCfg_HwTest) GetTrv2StepsConfig

func (x *HwTestCfg_HwTest) GetTrv2StepsConfig() *common.CftStepsConfig

func (*HwTestCfg_HwTest) ProtoMessage

func (*HwTestCfg_HwTest) ProtoMessage()

func (*HwTestCfg_HwTest) ProtoReflect

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

func (*HwTestCfg_HwTest) Reset

func (x *HwTestCfg_HwTest) Reset()

func (*HwTestCfg_HwTest) String

func (x *HwTestCfg_HwTest) String() string

type HwTestCfg_HwTestSuiteType

type HwTestCfg_HwTestSuiteType int32
const (
	HwTestCfg_HW_TEST_SUITE_TYPE_UNSPECIFIED HwTestCfg_HwTestSuiteType = 0
	HwTestCfg_AUTOTEST                       HwTestCfg_HwTestSuiteType = 1
	HwTestCfg_TAST                           HwTestCfg_HwTestSuiteType = 2
)

func (HwTestCfg_HwTestSuiteType) Descriptor

func (HwTestCfg_HwTestSuiteType) Enum

func (HwTestCfg_HwTestSuiteType) EnumDescriptor deprecated

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

Deprecated: Use HwTestCfg_HwTestSuiteType.Descriptor instead.

func (HwTestCfg_HwTestSuiteType) Number

func (HwTestCfg_HwTestSuiteType) String

func (x HwTestCfg_HwTestSuiteType) String() string

func (HwTestCfg_HwTestSuiteType) Type

type HwTestUnit

type HwTestUnit struct {
	Common    *TestUnitCommon `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	HwTestCfg *HwTestCfg      `protobuf:"bytes,2,opt,name=hw_test_cfg,json=hwTestCfg,proto3" json:"hw_test_cfg,omitempty"`
	// contains filtered or unexported fields
}

func (*HwTestUnit) Descriptor deprecated

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

Deprecated: Use HwTestUnit.ProtoReflect.Descriptor instead.

func (*HwTestUnit) GetCommon

func (x *HwTestUnit) GetCommon() *TestUnitCommon

func (*HwTestUnit) GetHwTestCfg

func (x *HwTestUnit) GetHwTestCfg() *HwTestCfg

func (*HwTestUnit) ProtoMessage

func (*HwTestUnit) ProtoMessage()

func (*HwTestUnit) ProtoReflect

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

func (*HwTestUnit) Reset

func (x *HwTestUnit) Reset()

func (*HwTestUnit) String

func (x *HwTestUnit) String() string

type LabConfig

type LabConfig struct {

	// List of board definitions for ChromeOS.
	Boards []*Board `protobuf:"bytes,1,rep,name=boards,proto3" json:"boards,omitempty"`
	// List of board definitions for Android.
	AndroidBoards []*Board `protobuf:"bytes,2,rep,name=android_boards,json=androidBoards,proto3" json:"android_boards,omitempty"`
	// contains filtered or unexported fields
}

Aims to reflect data in lab_config.ini.

func (*LabConfig) Descriptor deprecated

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

Deprecated: Use LabConfig.ProtoReflect.Descriptor instead.

func (*LabConfig) GetAndroidBoards

func (x *LabConfig) GetAndroidBoards() []*Board

func (*LabConfig) GetBoards

func (x *LabConfig) GetBoards() []*Board

func (*LabConfig) ProtoMessage

func (*LabConfig) ProtoMessage()

func (*LabConfig) ProtoReflect

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

func (*LabConfig) Reset

func (x *LabConfig) Reset()

func (*LabConfig) String

func (x *LabConfig) String() string

type PerTargetTestRequirements

type PerTargetTestRequirements struct {

	// Specifies the crieria for builds to target for testing.
	TargetCriteria *TargetCriteria `protobuf:"bytes,1,opt,name=target_criteria,json=targetCriteria,proto3" json:"target_criteria,omitempty"`
	// These configure what testing is needed for these BuildCriteria.
	HwTestCfg           *HwTestCfg      `protobuf:"bytes,3,opt,name=hw_test_cfg,json=hwTestCfg,proto3" json:"hw_test_cfg,omitempty"`
	VmTestCfg           *VmTestCfg      `protobuf:"bytes,5,opt,name=vm_test_cfg,json=vmTestCfg,proto3" json:"vm_test_cfg,omitempty"`
	DirectTastVmTestCfg *TastVmTestCfg  `protobuf:"bytes,7,opt,name=direct_tast_vm_test_cfg,json=directTastVmTestCfg,proto3" json:"direct_tast_vm_test_cfg,omitempty"`
	TastGceTestCfg      *TastGceTestCfg `protobuf:"bytes,8,opt,name=tast_gce_test_cfg,json=tastGceTestCfg,proto3" json:"tast_gce_test_cfg,omitempty"`
	// contains filtered or unexported fields
}

Details which testing is needed for a single CrOS build target.

func (*PerTargetTestRequirements) Descriptor deprecated

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

Deprecated: Use PerTargetTestRequirements.ProtoReflect.Descriptor instead.

func (*PerTargetTestRequirements) GetDirectTastVmTestCfg

func (x *PerTargetTestRequirements) GetDirectTastVmTestCfg() *TastVmTestCfg

func (*PerTargetTestRequirements) GetHwTestCfg

func (x *PerTargetTestRequirements) GetHwTestCfg() *HwTestCfg

func (*PerTargetTestRequirements) GetTargetCriteria

func (x *PerTargetTestRequirements) GetTargetCriteria() *TargetCriteria

func (*PerTargetTestRequirements) GetTastGceTestCfg

func (x *PerTargetTestRequirements) GetTastGceTestCfg() *TastGceTestCfg

func (*PerTargetTestRequirements) GetVmTestCfg

func (x *PerTargetTestRequirements) GetVmTestCfg() *VmTestCfg

func (*PerTargetTestRequirements) ProtoMessage

func (*PerTargetTestRequirements) ProtoMessage()

func (*PerTargetTestRequirements) ProtoReflect

func (*PerTargetTestRequirements) Reset

func (x *PerTargetTestRequirements) Reset()

func (*PerTargetTestRequirements) String

func (x *PerTargetTestRequirements) String() string

type PointlessBuildCheckRequest

type PointlessBuildCheckRequest struct {

	// A list of paths to be considered as relevant to the current build. Can
	// be used instead of passing a full DepGraph.
	RelevantPaths []*PointlessBuildCheckRequest_Path `protobuf:"bytes,9,rep,name=relevant_paths,json=relevantPaths,proto3" json:"relevant_paths,omitempty"`
	// A list of source paths affected by the changes in the CQ run.
	//
	// If provided, the gerrit_changes and gitiles_commit fields are ignored.
	AffectedPaths []*PointlessBuildCheckRequest_Path `protobuf:"bytes,11,rep,name=affected_paths,json=affectedPaths,proto3" json:"affected_paths,omitempty"`
	// Serialized buildbucket GerritChanges, or none if this is a postsubmit run
	// or similar. Explicit proto import is avoided here to prevent a dependency
	// on the luci-go repo.
	// See
	// https://chromium.googlesource.com/infra/luci/luci-go/+/master/buildbucket/proto/common.proto
	//
	// Must be used in conjunction with gitiles_commit.
	// If affected_paths is passed in, this field is ignored.
	GerritChanges []*ProtoBytes `protobuf:"bytes,7,rep,name=gerrit_changes,json=gerritChanges,proto3" json:"gerrit_changes,omitempty"`
	// Serialized buildbucket GitilesCommit, representing the manifest or
	// manifest-internal commit to which the build is synced.
	//
	// Must be used in conjunction with gerrit_changes.
	// If affected_paths is passed in, this field is ignored.
	GitilesCommit *ProtoBytes `protobuf:"bytes,8,opt,name=gitiles_commit,json=gitilesCommit,proto3" json:"gitiles_commit,omitempty"`
	// DEPRECATED use gitiles_commit instead.
	//
	// The manifest-internal snapshot commit hash that's being used for the
	// current build. Note that manifest_commit will be soon replaced with
	// gitiles_commit below.
	//
	// Deprecated: Do not use.
	ManifestCommit string `protobuf:"bytes,6,opt,name=manifest_commit,json=manifestCommit,proto3" json:"manifest_commit,omitempty"`
	// In some cases (e.g. when pointless build checker is called for toolchain
	// update detection) we don't want known non-portage paths to trigger
	// relevency. A specific case here is that manifest changes force relevancy
	// but shouldn't force a toolchain update.
	//
	// TODO(b/186002205): Improve this such that manifest changes are treated
	// treated via introspection. We know the paths being changed in the manifest,
	// and we should be able to surface that.
	IgnoreKnownNonPortageDirectories bool `` /* 165-byte string literal not displayed */
	// The name of the builder for which we're evaluating build relevance, to
	// allow for relevance to be applied differently for different builders. Note
	// that we pass the builder name not the build target because the initial use
	// case is for Bazel builds vs. Portage builds, which have the same build
	// target but different builder names.
	BuilderName string `protobuf:"bytes,12,opt,name=builder_name,json=builderName,proto3" json:"builder_name,omitempty"`
	// contains filtered or unexported fields
}

The input proto for invocations of the Pointless Build Checker program. Next: 13

func (*PointlessBuildCheckRequest) Descriptor deprecated

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

Deprecated: Use PointlessBuildCheckRequest.ProtoReflect.Descriptor instead.

func (*PointlessBuildCheckRequest) GetAffectedPaths

func (*PointlessBuildCheckRequest) GetBuilderName

func (x *PointlessBuildCheckRequest) GetBuilderName() string

func (*PointlessBuildCheckRequest) GetGerritChanges

func (x *PointlessBuildCheckRequest) GetGerritChanges() []*ProtoBytes

func (*PointlessBuildCheckRequest) GetGitilesCommit

func (x *PointlessBuildCheckRequest) GetGitilesCommit() *ProtoBytes

func (*PointlessBuildCheckRequest) GetIgnoreKnownNonPortageDirectories

func (x *PointlessBuildCheckRequest) GetIgnoreKnownNonPortageDirectories() bool

func (*PointlessBuildCheckRequest) GetManifestCommit deprecated

func (x *PointlessBuildCheckRequest) GetManifestCommit() string

Deprecated: Do not use.

func (*PointlessBuildCheckRequest) GetRelevantPaths

func (*PointlessBuildCheckRequest) ProtoMessage

func (*PointlessBuildCheckRequest) ProtoMessage()

func (*PointlessBuildCheckRequest) ProtoReflect

func (*PointlessBuildCheckRequest) Reset

func (x *PointlessBuildCheckRequest) Reset()

func (*PointlessBuildCheckRequest) String

func (x *PointlessBuildCheckRequest) String() string

type PointlessBuildCheckRequest_Path

type PointlessBuildCheckRequest_Path struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*PointlessBuildCheckRequest_Path) Descriptor deprecated

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

Deprecated: Use PointlessBuildCheckRequest_Path.ProtoReflect.Descriptor instead.

func (*PointlessBuildCheckRequest_Path) GetPath

func (*PointlessBuildCheckRequest_Path) ProtoMessage

func (*PointlessBuildCheckRequest_Path) ProtoMessage()

func (*PointlessBuildCheckRequest_Path) ProtoReflect

func (*PointlessBuildCheckRequest_Path) Reset

func (*PointlessBuildCheckRequest_Path) String

type PointlessBuildCheckResponse

type PointlessBuildCheckResponse struct {

	// Whether the build is pointless and can be terminated without proceeding to
	// building packages and testing.
	BuildIsPointless *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=build_is_pointless,json=buildIsPointless,proto3" json:"build_is_pointless,omitempty"`
	// If build_is_pointless, this is the reason that the Pointless Build Checker
	// came to that conclusion. Otherwise, this is unspecified.
	PointlessBuildReason PointlessBuildCheckResponse_PointlessBuildReason `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

The output proto for invocations of the Pointless Build Checker program.

func (*PointlessBuildCheckResponse) Descriptor deprecated

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

Deprecated: Use PointlessBuildCheckResponse.ProtoReflect.Descriptor instead.

func (*PointlessBuildCheckResponse) GetBuildIsPointless

func (x *PointlessBuildCheckResponse) GetBuildIsPointless() *wrapperspb.BoolValue

func (*PointlessBuildCheckResponse) GetPointlessBuildReason

func (*PointlessBuildCheckResponse) ProtoMessage

func (*PointlessBuildCheckResponse) ProtoMessage()

func (*PointlessBuildCheckResponse) ProtoReflect

func (*PointlessBuildCheckResponse) Reset

func (x *PointlessBuildCheckResponse) Reset()

func (*PointlessBuildCheckResponse) String

func (x *PointlessBuildCheckResponse) String() string

type PointlessBuildCheckResponse_PointlessBuildReason

type PointlessBuildCheckResponse_PointlessBuildReason int32
const (
	PointlessBuildCheckResponse_POINTLESS_BUILD_REASON_UNSPECIFIED          PointlessBuildCheckResponse_PointlessBuildReason = 0
	PointlessBuildCheckResponse_IRRELEVANT_TO_DEPS_GRAPH                    PointlessBuildCheckResponse_PointlessBuildReason = 1
	PointlessBuildCheckResponse_IRRELEVANT_TO_KNOWN_NON_PORTAGE_DIRECTORIES PointlessBuildCheckResponse_PointlessBuildReason = 2
	PointlessBuildCheckResponse_RELEVANT_TO_KNOWN_NON_PORTAGE_DIRECTORIES   PointlessBuildCheckResponse_PointlessBuildReason = 3
)

func (PointlessBuildCheckResponse_PointlessBuildReason) Descriptor

func (PointlessBuildCheckResponse_PointlessBuildReason) Enum

func (PointlessBuildCheckResponse_PointlessBuildReason) EnumDescriptor deprecated

Deprecated: Use PointlessBuildCheckResponse_PointlessBuildReason.Descriptor instead.

func (PointlessBuildCheckResponse_PointlessBuildReason) Number

func (PointlessBuildCheckResponse_PointlessBuildReason) String

func (PointlessBuildCheckResponse_PointlessBuildReason) Type

type ProtoBytes

type ProtoBytes struct {
	SerializedProto []byte `protobuf:"bytes,1,opt,name=serialized_proto,json=serializedProto,proto3" json:"serialized_proto,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtoBytes) Descriptor deprecated

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

Deprecated: Use ProtoBytes.ProtoReflect.Descriptor instead.

func (*ProtoBytes) GetSerializedProto

func (x *ProtoBytes) GetSerializedProto() []byte

func (*ProtoBytes) ProtoMessage

func (*ProtoBytes) ProtoMessage()

func (*ProtoBytes) ProtoReflect

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

func (*ProtoBytes) Reset

func (x *ProtoBytes) Reset()

func (*ProtoBytes) String

func (x *ProtoBytes) String() string

type RunFlags

type RunFlags int32

RunFlags represent different CTP run attributes that will be applied to the CTP request in Kron.

const (
	RunFlags_UNSPECIFIED_RUN_FLAG      RunFlags = 0
	RunFlags_RUN_VIA_CFT               RunFlags = 1
	RunFlags_RUN_VIA_TRV2              RunFlags = 2
	RunFlags_TRANSLATE_TRV2_REQUEST    RunFlags = 3
	RunFlags_ENABLE_AUTO_TEST_SHARDING RunFlags = 4
)

func (RunFlags) Descriptor

func (RunFlags) Descriptor() protoreflect.EnumDescriptor

func (RunFlags) Enum

func (x RunFlags) Enum() *RunFlags

func (RunFlags) EnumDescriptor deprecated

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

Deprecated: Use RunFlags.Descriptor instead.

func (RunFlags) Number

func (x RunFlags) Number() protoreflect.EnumNumber

func (RunFlags) String

func (x RunFlags) String() string

func (RunFlags) Type

type SchedulerCfg

type SchedulerCfg struct {
	Configs []*SchedulerConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
	// contains filtered or unexported fields
}

A proto to contain all the configs.

func (*SchedulerCfg) Descriptor deprecated

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

Deprecated: Use SchedulerCfg.ProtoReflect.Descriptor instead.

func (*SchedulerCfg) GetConfigs

func (x *SchedulerCfg) GetConfigs() []*SchedulerConfig

func (*SchedulerCfg) ProtoMessage

func (*SchedulerCfg) ProtoMessage()

func (*SchedulerCfg) ProtoReflect

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

func (*SchedulerCfg) Reset

func (x *SchedulerCfg) Reset()

func (*SchedulerCfg) String

func (x *SchedulerCfg) String() string

type SchedulerConfig

type SchedulerConfig struct {

	// Name of the config. Needs to be unique.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Name of the suite to run.
	Suite          string                          `protobuf:"bytes,2,opt,name=suite,proto3" json:"suite,omitempty"`
	Contacts       []*SchedulerConfig_Contact      `protobuf:"bytes,3,rep,name=contacts,proto3" json:"contacts,omitempty"`
	LaunchCriteria *SchedulerConfig_LaunchCriteria `protobuf:"bytes,4,opt,name=launch_criteria,json=launchCriteria,proto3" json:"launch_criteria,omitempty"`
	// Branches to target.
	Branches      []Branch                       `protobuf:"varint,5,rep,packed,name=branches,proto3,enum=testplans.Branch" json:"branches,omitempty"`
	TargetOptions *SchedulerConfig_TargetOptions `protobuf:"bytes,6,opt,name=target_options,json=targetOptions,proto3" json:"target_options,omitempty"`
	PoolOptions   *SchedulerConfig_PoolOptions   `protobuf:"bytes,7,opt,name=pool_options,json=poolOptions,proto3" json:"pool_options,omitempty"`
	// Assume as AP build.
	//
	// Types that are assignable to FirmwareRo:
	//	*SchedulerConfig_FirmwareRoBuildSpec
	//	*SchedulerConfig_FirmwareRoVersion
	FirmwareRo isSchedulerConfig_FirmwareRo `protobuf_oneof:"firmware_ro"`
	// Assume as AP build.
	//
	// Types that are assignable to FirmwareRw:
	//	*SchedulerConfig_FirmwareRwBuildSpec
	//	*SchedulerConfig_FirmwareRwVersion
	FirmwareRw isSchedulerConfig_FirmwareRw `protobuf_oneof:"firmware_rw"`
	// Types that are assignable to FirmwareEcRo:
	//	*SchedulerConfig_FirmwareEcRoBuildSpec
	//	*SchedulerConfig_FirmwareEcRoVersion
	FirmwareEcRo isSchedulerConfig_FirmwareEcRo `protobuf_oneof:"firmware_ec_ro"`
	// Types that are assignable to FirmwareEcRw:
	//	*SchedulerConfig_FirmwareEcRwBuildSpec
	//	*SchedulerConfig_FirmwareEcRwVersion
	FirmwareEcRw isSchedulerConfig_FirmwareEcRw `protobuf_oneof:"firmware_ec_rw"`
	// The name of the firmware branch to use for firmware_ro_build_spec
	// and firmware_rw_build_spec is normally the derived from the board.
	// Set firmware_board_name to override this.
	FirmwareBoardName string                      `protobuf:"bytes,14,opt,name=firmware_board_name,json=firmwareBoardName,proto3" json:"firmware_board_name,omitempty"`
	RunOptions        *SchedulerConfig_RunOptions `protobuf:"bytes,9,opt,name=run_options,json=runOptions,proto3" json:"run_options,omitempty"`
	// Name of the config, used for analytics. Does not have to be unique.
	AnalyticsName string `protobuf:"bytes,10,opt,name=analytics_name,json=analyticsName,proto3" json:"analytics_name,omitempty"`
	// The android image version for android provisioning
	AndroidImageVersion string `protobuf:"bytes,15,opt,name=android_image_version,json=androidImageVersion,proto3" json:"android_image_version,omitempty"`
	// GMSCORE cipd package ref for android provisioning
	GmsCorePackage string `protobuf:"bytes,16,opt,name=gms_core_package,json=gmsCorePackage,proto3" json:"gms_core_package,omitempty"`
	// List of Karbon Filters for the ctpv2 request object.
	// To be converted to json str for config generation.
	KarbonFilters []*api.CTPFilter `protobuf:"bytes,17,rep,name=karbon_filters,json=karbonFilters,proto3" json:"karbon_filters,omitempty"`
	// List of Koffee Filters for the ctpv2 request object.
	// To be converted to json str for config generation.
	KoffeeFilters []*api.CTPFilter `protobuf:"bytes,18,rep,name=koffee_filters,json=koffeeFilters,proto3" json:"koffee_filters,omitempty"`
	// Args will be provided to the respective test harness.
	TestArgs string `protobuf:"bytes,23,opt,name=test_args,json=testArgs,proto3" json:"test_args,omitempty"`
	// if enable_autotest_sharding is True, then autotest tests will be sharded.
	EnableAutotestSharding bool `` /* 131-byte string literal not displayed */
	// If set the suite will be run using CTPv2, using the 3D solver to determine
	// hardware Note all tests within this suite/group *must* have a 3d expression
	// set in the respective harness
	//
	// DEPRECATED: 3D suites will be implemented via a 3D launch criteria type.
	//
	// Deprecated: Do not use.
	DddSuite        bool              `protobuf:"varint,25,opt,name=ddd_suite,json=dddSuite,proto3" json:"ddd_suite,omitempty"`
	RunFlags        []RunFlags        `protobuf:"varint,26,rep,packed,name=run_flags,json=runFlags,proto3,enum=testplans.RunFlags" json:"run_flags,omitempty"`
	ExperimentFlags []ExperimentFlags `` /* 146-byte string literal not displayed */
	// contains filtered or unexported fields
}

Most fields are the same as suite_scheduler.ini just better organized. The entries will be used to generate a suite_scheduler.ini in starlark scripts. next: 23

func (*SchedulerConfig) Descriptor deprecated

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

Deprecated: Use SchedulerConfig.ProtoReflect.Descriptor instead.

func (*SchedulerConfig) GetAnalyticsName

func (x *SchedulerConfig) GetAnalyticsName() string

func (*SchedulerConfig) GetAndroidImageVersion

func (x *SchedulerConfig) GetAndroidImageVersion() string

func (*SchedulerConfig) GetBranches

func (x *SchedulerConfig) GetBranches() []Branch

func (*SchedulerConfig) GetContacts

func (x *SchedulerConfig) GetContacts() []*SchedulerConfig_Contact

func (*SchedulerConfig) GetDddSuite deprecated

func (x *SchedulerConfig) GetDddSuite() bool

Deprecated: Do not use.

func (*SchedulerConfig) GetEnableAutotestSharding

func (x *SchedulerConfig) GetEnableAutotestSharding() bool

func (*SchedulerConfig) GetExperimentFlags

func (x *SchedulerConfig) GetExperimentFlags() []ExperimentFlags

func (*SchedulerConfig) GetFirmwareBoardName

func (x *SchedulerConfig) GetFirmwareBoardName() string

func (*SchedulerConfig) GetFirmwareEcRo

func (m *SchedulerConfig) GetFirmwareEcRo() isSchedulerConfig_FirmwareEcRo

func (*SchedulerConfig) GetFirmwareEcRoBuildSpec

func (x *SchedulerConfig) GetFirmwareEcRoBuildSpec() SchedulerConfig_FirmwareBranch

func (*SchedulerConfig) GetFirmwareEcRoVersion

func (x *SchedulerConfig) GetFirmwareEcRoVersion() string

func (*SchedulerConfig) GetFirmwareEcRw

func (m *SchedulerConfig) GetFirmwareEcRw() isSchedulerConfig_FirmwareEcRw

func (*SchedulerConfig) GetFirmwareEcRwBuildSpec

func (x *SchedulerConfig) GetFirmwareEcRwBuildSpec() SchedulerConfig_FirmwareBranch

func (*SchedulerConfig) GetFirmwareEcRwVersion

func (x *SchedulerConfig) GetFirmwareEcRwVersion() string

func (*SchedulerConfig) GetFirmwareRo

func (m *SchedulerConfig) GetFirmwareRo() isSchedulerConfig_FirmwareRo

func (*SchedulerConfig) GetFirmwareRoBuildSpec

func (x *SchedulerConfig) GetFirmwareRoBuildSpec() SchedulerConfig_FirmwareBranch

func (*SchedulerConfig) GetFirmwareRoVersion

func (x *SchedulerConfig) GetFirmwareRoVersion() string

func (*SchedulerConfig) GetFirmwareRw

func (m *SchedulerConfig) GetFirmwareRw() isSchedulerConfig_FirmwareRw

func (*SchedulerConfig) GetFirmwareRwBuildSpec

func (x *SchedulerConfig) GetFirmwareRwBuildSpec() SchedulerConfig_FirmwareBranch

func (*SchedulerConfig) GetFirmwareRwVersion

func (x *SchedulerConfig) GetFirmwareRwVersion() string

func (*SchedulerConfig) GetGmsCorePackage

func (x *SchedulerConfig) GetGmsCorePackage() string

func (*SchedulerConfig) GetKarbonFilters

func (x *SchedulerConfig) GetKarbonFilters() []*api.CTPFilter

func (*SchedulerConfig) GetKoffeeFilters

func (x *SchedulerConfig) GetKoffeeFilters() []*api.CTPFilter

func (*SchedulerConfig) GetLaunchCriteria

func (x *SchedulerConfig) GetLaunchCriteria() *SchedulerConfig_LaunchCriteria

func (*SchedulerConfig) GetName

func (x *SchedulerConfig) GetName() string

func (*SchedulerConfig) GetPoolOptions

func (x *SchedulerConfig) GetPoolOptions() *SchedulerConfig_PoolOptions

func (*SchedulerConfig) GetRunFlags

func (x *SchedulerConfig) GetRunFlags() []RunFlags

func (*SchedulerConfig) GetRunOptions

func (x *SchedulerConfig) GetRunOptions() *SchedulerConfig_RunOptions

func (*SchedulerConfig) GetSuite

func (x *SchedulerConfig) GetSuite() string

func (*SchedulerConfig) GetTargetOptions

func (x *SchedulerConfig) GetTargetOptions() *SchedulerConfig_TargetOptions

func (*SchedulerConfig) GetTestArgs

func (x *SchedulerConfig) GetTestArgs() string

func (*SchedulerConfig) ProtoMessage

func (*SchedulerConfig) ProtoMessage()

func (*SchedulerConfig) ProtoReflect

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

func (*SchedulerConfig) Reset

func (x *SchedulerConfig) Reset()

func (*SchedulerConfig) String

func (x *SchedulerConfig) String() string

type SchedulerConfig_Contact

type SchedulerConfig_Contact struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

Contact emails will one day be paged in case of problems with the config.

func (*SchedulerConfig_Contact) Descriptor deprecated

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

Deprecated: Use SchedulerConfig_Contact.ProtoReflect.Descriptor instead.

func (*SchedulerConfig_Contact) GetEmail

func (x *SchedulerConfig_Contact) GetEmail() string

func (*SchedulerConfig_Contact) ProtoMessage

func (*SchedulerConfig_Contact) ProtoMessage()

func (*SchedulerConfig_Contact) ProtoReflect

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

func (*SchedulerConfig_Contact) Reset

func (x *SchedulerConfig_Contact) Reset()

func (*SchedulerConfig_Contact) String

func (x *SchedulerConfig_Contact) String() string

type SchedulerConfig_FirmwareBranch

type SchedulerConfig_FirmwareBranch int32

Whether to use firmware from ToT or firmware branch.

const (
	SchedulerConfig_UNSPECIFIED SchedulerConfig_FirmwareBranch = 0
	// Canary Branch or ToT.
	SchedulerConfig_CROS SchedulerConfig_FirmwareBranch = 1
	// Firmware branch.
	SchedulerConfig_FIRMWARE SchedulerConfig_FirmwareBranch = 2
	// Dev Branch or ToT-1.
	SchedulerConfig_DEV SchedulerConfig_FirmwareBranch = 3
	// Beta Branch or ToT-2.
	SchedulerConfig_BETA SchedulerConfig_FirmwareBranch = 4
	// Stable Branch or ToT-3.
	SchedulerConfig_STABLE SchedulerConfig_FirmwareBranch = 5
)

func (SchedulerConfig_FirmwareBranch) Descriptor

func (SchedulerConfig_FirmwareBranch) Enum

func (SchedulerConfig_FirmwareBranch) EnumDescriptor deprecated

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

Deprecated: Use SchedulerConfig_FirmwareBranch.Descriptor instead.

func (SchedulerConfig_FirmwareBranch) Number

func (SchedulerConfig_FirmwareBranch) String

func (SchedulerConfig_FirmwareBranch) Type

type SchedulerConfig_FirmwareEcRoBuildSpec

type SchedulerConfig_FirmwareEcRoBuildSpec struct {
	FirmwareEcRoBuildSpec SchedulerConfig_FirmwareBranch `` /* 141-byte string literal not displayed */
}

type SchedulerConfig_FirmwareEcRoVersion

type SchedulerConfig_FirmwareEcRoVersion struct {
	// Pinned RO firmware path (e.g. coral-firmware/R64-10068.106.0)
	// Uses firmware_from_source.tar.bz2 from this archive path
	// instead of pulling from latest firmware-branch or cros-tot build.
	FirmwareEcRoVersion string `protobuf:"bytes,20,opt,name=firmware_ec_ro_version,json=firmwareEcRoVersion,proto3,oneof"`
}

type SchedulerConfig_FirmwareEcRwBuildSpec

type SchedulerConfig_FirmwareEcRwBuildSpec struct {
	FirmwareEcRwBuildSpec SchedulerConfig_FirmwareBranch `` /* 141-byte string literal not displayed */
}

type SchedulerConfig_FirmwareEcRwVersion

type SchedulerConfig_FirmwareEcRwVersion struct {
	// Pinned RW firmware path (e.g. coral-firmware/R64-10068.106.0)
	// Uses firmware_from_source.tar.bz2 from this archive path
	// instead of pulling from latest firmware-branch or cros-tot build.
	FirmwareEcRwVersion string `protobuf:"bytes,22,opt,name=firmware_ec_rw_version,json=firmwareEcRwVersion,proto3,oneof"`
}

type SchedulerConfig_FirmwareRoBuildSpec

type SchedulerConfig_FirmwareRoBuildSpec struct {
	FirmwareRoBuildSpec SchedulerConfig_FirmwareBranch `` /* 135-byte string literal not displayed */
}

type SchedulerConfig_FirmwareRoVersion

type SchedulerConfig_FirmwareRoVersion struct {
	// Pinned RO firmware path (e.g. coral-firmware/R64-10068.106.0)
	// Uses firmware_from_source.tar.bz2 from this archive path
	// instead of pulling from latest firmware-branch or cros-tot build.
	FirmwareRoVersion string `protobuf:"bytes,11,opt,name=firmware_ro_version,json=firmwareRoVersion,proto3,oneof"`
}

type SchedulerConfig_FirmwareRwBuildSpec

type SchedulerConfig_FirmwareRwBuildSpec struct {
	FirmwareRwBuildSpec SchedulerConfig_FirmwareBranch `` /* 136-byte string literal not displayed */
}

type SchedulerConfig_FirmwareRwVersion

type SchedulerConfig_FirmwareRwVersion struct {
	// Pinned RW firmware path (e.g. coral-firmware/R64-10068.106.0)
	// Uses firmware_from_source.tar.bz2 from this archive path
	// instead of pulling from latest firmware-branch or cros-tot build.
	FirmwareRwVersion string `protobuf:"bytes,13,opt,name=firmware_rw_version,json=firmwareRwVersion,proto3,oneof"`
}

type SchedulerConfig_LaunchCriteria

type SchedulerConfig_LaunchCriteria struct {
	LaunchProfile SchedulerConfig_LaunchCriteria_LaunchProfile `` /* 161-byte string literal not displayed */
	// Hour at which to run. Needs to be specified for nightly and weekly
	// profiles. Has to be [0, 23].
	Hour int32 `protobuf:"varint,2,opt,name=hour,proto3" json:"hour,omitempty"`
	// Day on which to run. Needs to be specified for weekly AND fortnightly
	// profile. Has to be [0, 6].
	Day int32 `protobuf:"varint,3,opt,name=day,proto3" json:"day,omitempty"`
	// NOT SUPPORTED. Cron compatible schedule eg: "* * 1,3,5 * *".
	CronSchedule string `protobuf:"bytes,4,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"`
	// contains filtered or unexported fields
}

LaunchCriteria specifies when the suite should be launched.

func (*SchedulerConfig_LaunchCriteria) Descriptor deprecated

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

Deprecated: Use SchedulerConfig_LaunchCriteria.ProtoReflect.Descriptor instead.

func (*SchedulerConfig_LaunchCriteria) GetCronSchedule

func (x *SchedulerConfig_LaunchCriteria) GetCronSchedule() string

func (*SchedulerConfig_LaunchCriteria) GetDay

func (*SchedulerConfig_LaunchCriteria) GetHour

func (*SchedulerConfig_LaunchCriteria) GetLaunchProfile

func (*SchedulerConfig_LaunchCriteria) ProtoMessage

func (*SchedulerConfig_LaunchCriteria) ProtoMessage()

func (*SchedulerConfig_LaunchCriteria) ProtoReflect

func (*SchedulerConfig_LaunchCriteria) Reset

func (x *SchedulerConfig_LaunchCriteria) Reset()

func (*SchedulerConfig_LaunchCriteria) String

type SchedulerConfig_LaunchCriteria_LaunchProfile

type SchedulerConfig_LaunchCriteria_LaunchProfile int32

LaunchProfile defines how often the suite is launched.

const (
	SchedulerConfig_LaunchCriteria_UNSPECIFIED SchedulerConfig_LaunchCriteria_LaunchProfile = 0
	// Run on every new release build of the boards/variants targeted.
	SchedulerConfig_LaunchCriteria_NEW_BUILD SchedulerConfig_LaunchCriteria_LaunchProfile = 1
	// Run once a day at the specified hour. Used to be "NIGHTLY".
	SchedulerConfig_LaunchCriteria_DAILY SchedulerConfig_LaunchCriteria_LaunchProfile = 2
	// Run once a week at the specified time.
	SchedulerConfig_LaunchCriteria_WEEKLY SchedulerConfig_LaunchCriteria_LaunchProfile = 3
	// NOT SUPPORTED. Will be supported in the redesign.
	SchedulerConfig_LaunchCriteria_CRON_BASED SchedulerConfig_LaunchCriteria_LaunchProfile = 4
	// Run once every other week at the specified time
	SchedulerConfig_LaunchCriteria_FORTNIGHTLY SchedulerConfig_LaunchCriteria_LaunchProfile = 5
	// Run on when all release build of the boards/variants targeted in lab
	// config have finished.
	SchedulerConfig_LaunchCriteria_NEW_BUILD_3D SchedulerConfig_LaunchCriteria_LaunchProfile = 6
	// MULTI_DUT is a variant of NEW_BUILD but has some extra considerations
	// since it requires a secondary device to be paired. This is split since
	// features have diverged enough that it is difficult to package them
	// together.
	SchedulerConfig_LaunchCriteria_MULTI_DUT SchedulerConfig_LaunchCriteria_LaunchProfile = 7
	// Run every N days. This will accomplish this by getting the current year
	// day (e.g. 102/365) and using a modulo to check for the Nth day.
	// Example. 102 % 2 = 0 where N = 2 would trigger the config on the
	// targeted hardware. The day field will be used here to define N. N
	// cannot be 0 or >365.
	SchedulerConfig_LaunchCriteria_N_DAYS SchedulerConfig_LaunchCriteria_LaunchProfile = 8
)

func (SchedulerConfig_LaunchCriteria_LaunchProfile) Descriptor

func (SchedulerConfig_LaunchCriteria_LaunchProfile) Enum

func (SchedulerConfig_LaunchCriteria_LaunchProfile) EnumDescriptor deprecated

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

Deprecated: Use SchedulerConfig_LaunchCriteria_LaunchProfile.Descriptor instead.

func (SchedulerConfig_LaunchCriteria_LaunchProfile) Number

func (SchedulerConfig_LaunchCriteria_LaunchProfile) String

func (SchedulerConfig_LaunchCriteria_LaunchProfile) Type

type SchedulerConfig_PoolOptions

type SchedulerConfig_PoolOptions struct {

	// Quota Scheduler account to use.
	QsAccount string `protobuf:"bytes,1,opt,name=qs_account,json=qsAccount,proto3" json:"qs_account,omitempty"`
	// Pool to schedule on.
	Pool string `protobuf:"bytes,2,opt,name=pool,proto3" json:"pool,omitempty"`
	// Integer priority to assign. Only used by CTS. Quota scheduler takes care
	// of priorities for the rest. Has to be [20, 255].
	Priority int32 `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"`
	// contains filtered or unexported fields
}

Aggregate of options related to DUT pool.

func (*SchedulerConfig_PoolOptions) Descriptor deprecated

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

Deprecated: Use SchedulerConfig_PoolOptions.ProtoReflect.Descriptor instead.

func (*SchedulerConfig_PoolOptions) GetPool

func (x *SchedulerConfig_PoolOptions) GetPool() string

func (*SchedulerConfig_PoolOptions) GetPriority

func (x *SchedulerConfig_PoolOptions) GetPriority() int32

func (*SchedulerConfig_PoolOptions) GetQsAccount

func (x *SchedulerConfig_PoolOptions) GetQsAccount() string

func (*SchedulerConfig_PoolOptions) ProtoMessage

func (*SchedulerConfig_PoolOptions) ProtoMessage()

func (*SchedulerConfig_PoolOptions) ProtoReflect

func (*SchedulerConfig_PoolOptions) Reset

func (x *SchedulerConfig_PoolOptions) Reset()

func (*SchedulerConfig_PoolOptions) String

func (x *SchedulerConfig_PoolOptions) String() string

type SchedulerConfig_RunOptions

type SchedulerConfig_RunOptions struct {

	// Whether to retry if the task fails.
	Retry      bool                                            `protobuf:"varint,1,opt,name=retry,proto3" json:"retry,omitempty"`
	Dimensions []*SchedulerConfig_RunOptions_SwarmingDimension `protobuf:"bytes,2,rep,name=dimensions,proto3" json:"dimensions,omitempty"`
	// Timeout of the task.
	TimeoutMins int32 `protobuf:"varint,3,opt,name=timeout_mins,json=timeoutMins,proto3" json:"timeout_mins,omitempty"`
	// Use only_successful_build_required instead.
	//
	// Deprecated: Do not use.
	OnlySanityTestRequired bool `` /* 132-byte string literal not displayed */
	// [DO NOT USE]: MULTI_DUT support is now under it's own launch criteria and
	// only works on Primary.
	//
	// Deprecated: Do not use.
	TriggerType SchedulerConfig_TriggerType `` /* 138-byte string literal not displayed */
	// If build passed and was uploaded, launch this test.
	OnlySuccessfulBuildRequired bool `` /* 147-byte string literal not displayed */
	// If set, suite will be executed through CFT execution path.
	RunViaCft bool `protobuf:"varint,7,opt,name=run_via_cft,json=runViaCft,proto3" json:"run_via_cft,omitempty"`
	// Tags criteria that will be used to enumerate tests for CFT test execution
	// workflow. Will only be used if run_via_cft is true.
	TagCriteria *api.TestSuite_TestCaseTagCriteria `protobuf:"bytes,8,opt,name=tag_criteria,json=tagCriteria,proto3" json:"tag_criteria,omitempty"`
	// Bucket to schedule tasks in. If not provided, suite scheduler should
	// assign the task to an appropriate "mainlab" builder.
	BuilderId *SchedulerConfig_RunOptions_BuilderID `protobuf:"bytes,9,opt,name=builder_id,json=builderId,proto3" json:"builder_id,omitempty"`
	// If set, suite will be executed through ctpv2.
	RunViaCtpv2 bool `protobuf:"varint,10,opt,name=run_via_ctpv2,json=runViaCtpv2,proto3" json:"run_via_ctpv2,omitempty"`
	// GCS Bucket to fetch CrOS images from. If not provided, will be
	// "chromeos-image-archive"
	CrosImageBucket string `protobuf:"bytes,11,opt,name=cros_image_bucket,json=crosImageBucket,proto3" json:"cros_image_bucket,omitempty"`
	// If true and run_via_cft is true, this suite will run via trv2.
	RunViaTrv2 bool `protobuf:"varint,12,opt,name=run_via_trv2,json=runViaTrv2,proto3" json:"run_via_trv2,omitempty"`
	// If set, trv2 request will be translated to the dynamic trv2 request.
	// Requires run_via_trv2 is true.
	DynamicTrv2 bool `protobuf:"varint,13,opt,name=dynamic_trv2,json=dynamicTrv2,proto3" json:"dynamic_trv2,omitempty"`
	// The total number of shards to be used in a test run.
	// Can be overridden if the bucketing process creates more buckets
	// than total_shards.
	TotalShards int64 `protobuf:"varint,14,opt,name=total_shards,json=totalShards,proto3" json:"total_shards,omitempty"`
	// The total number of tests allowed to be used in a shard.
	// Total_shards takes priority over max_in_shard.
	MaxInShard int64 `protobuf:"varint,15,opt,name=max_in_shard,json=maxInShard,proto3" json:"max_in_shard,omitempty"`
	// contains filtered or unexported fields
}

Execution related options.

func (*SchedulerConfig_RunOptions) Descriptor deprecated

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

Deprecated: Use SchedulerConfig_RunOptions.ProtoReflect.Descriptor instead.

func (*SchedulerConfig_RunOptions) GetBuilderId

func (*SchedulerConfig_RunOptions) GetCrosImageBucket

func (x *SchedulerConfig_RunOptions) GetCrosImageBucket() string

func (*SchedulerConfig_RunOptions) GetDimensions

func (*SchedulerConfig_RunOptions) GetDynamicTrv2

func (x *SchedulerConfig_RunOptions) GetDynamicTrv2() bool

func (*SchedulerConfig_RunOptions) GetMaxInShard

func (x *SchedulerConfig_RunOptions) GetMaxInShard() int64

func (*SchedulerConfig_RunOptions) GetOnlySanityTestRequired deprecated

func (x *SchedulerConfig_RunOptions) GetOnlySanityTestRequired() bool

Deprecated: Do not use.

func (*SchedulerConfig_RunOptions) GetOnlySuccessfulBuildRequired

func (x *SchedulerConfig_RunOptions) GetOnlySuccessfulBuildRequired() bool

func (*SchedulerConfig_RunOptions) GetRetry

func (x *SchedulerConfig_RunOptions) GetRetry() bool

func (*SchedulerConfig_RunOptions) GetRunViaCft

func (x *SchedulerConfig_RunOptions) GetRunViaCft() bool

func (*SchedulerConfig_RunOptions) GetRunViaCtpv2

func (x *SchedulerConfig_RunOptions) GetRunViaCtpv2() bool

func (*SchedulerConfig_RunOptions) GetRunViaTrv2

func (x *SchedulerConfig_RunOptions) GetRunViaTrv2() bool

func (*SchedulerConfig_RunOptions) GetTagCriteria

func (*SchedulerConfig_RunOptions) GetTimeoutMins

func (x *SchedulerConfig_RunOptions) GetTimeoutMins() int32

func (*SchedulerConfig_RunOptions) GetTotalShards

func (x *SchedulerConfig_RunOptions) GetTotalShards() int64

func (*SchedulerConfig_RunOptions) GetTriggerType deprecated

Deprecated: Do not use.

func (*SchedulerConfig_RunOptions) ProtoMessage

func (*SchedulerConfig_RunOptions) ProtoMessage()

func (*SchedulerConfig_RunOptions) ProtoReflect

func (*SchedulerConfig_RunOptions) Reset

func (x *SchedulerConfig_RunOptions) Reset()

func (*SchedulerConfig_RunOptions) String

func (x *SchedulerConfig_RunOptions) String() string

type SchedulerConfig_RunOptions_BuilderID

type SchedulerConfig_RunOptions_BuilderID struct {

	// Project that the builder exists in.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// Bucket that the builder exists in.
	Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Name of the builder.
	Builder string `protobuf:"bytes,3,opt,name=builder,proto3" json:"builder,omitempty"`
	// contains filtered or unexported fields
}

Identifies a unique buildbucket builder.

func (*SchedulerConfig_RunOptions_BuilderID) Descriptor deprecated

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

Deprecated: Use SchedulerConfig_RunOptions_BuilderID.ProtoReflect.Descriptor instead.

func (*SchedulerConfig_RunOptions_BuilderID) GetBucket

func (*SchedulerConfig_RunOptions_BuilderID) GetBuilder

func (*SchedulerConfig_RunOptions_BuilderID) GetProject

func (*SchedulerConfig_RunOptions_BuilderID) ProtoMessage

func (*SchedulerConfig_RunOptions_BuilderID) ProtoMessage()

func (*SchedulerConfig_RunOptions_BuilderID) ProtoReflect

func (*SchedulerConfig_RunOptions_BuilderID) Reset

func (*SchedulerConfig_RunOptions_BuilderID) String

type SchedulerConfig_RunOptions_SwarmingDimension

type SchedulerConfig_RunOptions_SwarmingDimension struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

A list of extra labels/dimensions to attach. Extra Swarming Dimensions that can be specified.

func (*SchedulerConfig_RunOptions_SwarmingDimension) Descriptor deprecated

Deprecated: Use SchedulerConfig_RunOptions_SwarmingDimension.ProtoReflect.Descriptor instead.

func (*SchedulerConfig_RunOptions_SwarmingDimension) GetKey

func (*SchedulerConfig_RunOptions_SwarmingDimension) GetValue

func (*SchedulerConfig_RunOptions_SwarmingDimension) ProtoMessage

func (*SchedulerConfig_RunOptions_SwarmingDimension) ProtoReflect

func (*SchedulerConfig_RunOptions_SwarmingDimension) Reset

func (*SchedulerConfig_RunOptions_SwarmingDimension) String

type SchedulerConfig_TargetOptions

type SchedulerConfig_TargetOptions struct {

	// Use at the most one among the two fields below. If boards_list is empty,
	// all boards are targeted. exclude_boards will exclude those boards from
	// the all boards list.
	BoardsList    []string `protobuf:"bytes,1,rep,name=boards_list,json=boardsList,proto3" json:"boards_list,omitempty"`
	ExcludeBoards []string `protobuf:"bytes,2,rep,name=exclude_boards,json=excludeBoards,proto3" json:"exclude_boards,omitempty"`
	// To specify variants, either all variants can be skipped.
	SkipVariants bool `protobuf:"varint,8,opt,name=skip_variants,json=skipVariants,proto3" json:"skip_variants,omitempty"`
	// OR use at the most one among the two fields below. If variants_list is
	// empty, all variants are targeted. exclude_variants will exclude those
	// variants from the all variants list.
	VariantsList    []*BoardVariant `protobuf:"bytes,3,rep,name=variants_list,json=variantsList,proto3" json:"variants_list,omitempty"`
	ExcludeVariants []*BoardVariant `protobuf:"bytes,4,rep,name=exclude_variants,json=excludeVariants,proto3" json:"exclude_variants,omitempty"`
	// There's two ways of specifying models. If all of these fields are empty,
	// all possible models are targeted.
	// Models to be targeted can be listed explicitly in models_list.
	ModelsList []string `protobuf:"bytes,5,rep,name=models_list,json=modelsList,proto3" json:"models_list,omitempty"`
	// OR start with the complete list and exclude some specific models.
	// any_model only tests the suite on a single model.
	AnyModel      bool     `protobuf:"varint,6,opt,name=any_model,json=anyModel,proto3" json:"any_model,omitempty"`
	ExcludeModels []string `protobuf:"bytes,7,rep,name=exclude_models,json=excludeModels,proto3" json:"exclude_models,omitempty"`
	// Option to speicify Mult-DUTs testing board/model, use only one of
	// below options. When below multi-DUTs options are invoked, boards_list
	// models_list, variants, and exclude control above will be ignored.
	MultiDutsBoardsList []*SchedulerConfig_TargetOptions_MultiDutsByBoard `protobuf:"bytes,9,rep,name=multi_duts_boards_list,json=multiDutsBoardsList,proto3" json:"multi_duts_boards_list,omitempty"`
	MultiDutsModelsList []*SchedulerConfig_TargetOptions_MultiDutsByModel `protobuf:"bytes,11,rep,name=multi_duts_models_list,json=multiDutsModelsList,proto3" json:"multi_duts_models_list,omitempty"`
	// contains filtered or unexported fields
}

Set of boards, variants and models to target. next tag: 12

func (*SchedulerConfig_TargetOptions) Descriptor deprecated

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

Deprecated: Use SchedulerConfig_TargetOptions.ProtoReflect.Descriptor instead.

func (*SchedulerConfig_TargetOptions) GetAnyModel

func (x *SchedulerConfig_TargetOptions) GetAnyModel() bool

func (*SchedulerConfig_TargetOptions) GetBoardsList

func (x *SchedulerConfig_TargetOptions) GetBoardsList() []string

func (*SchedulerConfig_TargetOptions) GetExcludeBoards

func (x *SchedulerConfig_TargetOptions) GetExcludeBoards() []string

func (*SchedulerConfig_TargetOptions) GetExcludeModels

func (x *SchedulerConfig_TargetOptions) GetExcludeModels() []string

func (*SchedulerConfig_TargetOptions) GetExcludeVariants

func (x *SchedulerConfig_TargetOptions) GetExcludeVariants() []*BoardVariant

func (*SchedulerConfig_TargetOptions) GetModelsList

func (x *SchedulerConfig_TargetOptions) GetModelsList() []string

func (*SchedulerConfig_TargetOptions) GetMultiDutsBoardsList

func (*SchedulerConfig_TargetOptions) GetMultiDutsModelsList

func (*SchedulerConfig_TargetOptions) GetSkipVariants

func (x *SchedulerConfig_TargetOptions) GetSkipVariants() bool

func (*SchedulerConfig_TargetOptions) GetVariantsList

func (x *SchedulerConfig_TargetOptions) GetVariantsList() []*BoardVariant

func (*SchedulerConfig_TargetOptions) ProtoMessage

func (*SchedulerConfig_TargetOptions) ProtoMessage()

func (*SchedulerConfig_TargetOptions) ProtoReflect

func (*SchedulerConfig_TargetOptions) Reset

func (x *SchedulerConfig_TargetOptions) Reset()

func (*SchedulerConfig_TargetOptions) String

type SchedulerConfig_TargetOptions_MultiDutsByBoard

type SchedulerConfig_TargetOptions_MultiDutsByBoard struct {
	PrimaryBoard    string   `protobuf:"bytes,1,opt,name=primary_board,json=primaryBoard,proto3" json:"primary_board,omitempty"`
	SecondaryBoards []string `protobuf:"bytes,2,rep,name=secondary_boards,json=secondaryBoards,proto3" json:"secondary_boards,omitempty"`
	// contains filtered or unexported fields
}

next tag: 3

func (*SchedulerConfig_TargetOptions_MultiDutsByBoard) Descriptor deprecated

Deprecated: Use SchedulerConfig_TargetOptions_MultiDutsByBoard.ProtoReflect.Descriptor instead.

func (*SchedulerConfig_TargetOptions_MultiDutsByBoard) GetPrimaryBoard

func (*SchedulerConfig_TargetOptions_MultiDutsByBoard) GetSecondaryBoards

func (x *SchedulerConfig_TargetOptions_MultiDutsByBoard) GetSecondaryBoards() []string

func (*SchedulerConfig_TargetOptions_MultiDutsByBoard) ProtoMessage

func (*SchedulerConfig_TargetOptions_MultiDutsByBoard) ProtoReflect

func (*SchedulerConfig_TargetOptions_MultiDutsByBoard) Reset

func (*SchedulerConfig_TargetOptions_MultiDutsByBoard) String

type SchedulerConfig_TargetOptions_MultiDutsByModel

type SchedulerConfig_TargetOptions_MultiDutsByModel struct {
	PrimaryModel    string   `protobuf:"bytes,1,opt,name=primary_model,json=primaryModel,proto3" json:"primary_model,omitempty"`
	SecondaryModels []string `protobuf:"bytes,2,rep,name=secondary_models,json=secondaryModels,proto3" json:"secondary_models,omitempty"`
	// contains filtered or unexported fields
}

next tag: 3

func (*SchedulerConfig_TargetOptions_MultiDutsByModel) Descriptor deprecated

Deprecated: Use SchedulerConfig_TargetOptions_MultiDutsByModel.ProtoReflect.Descriptor instead.

func (*SchedulerConfig_TargetOptions_MultiDutsByModel) GetPrimaryModel

func (*SchedulerConfig_TargetOptions_MultiDutsByModel) GetSecondaryModels

func (x *SchedulerConfig_TargetOptions_MultiDutsByModel) GetSecondaryModels() []string

func (*SchedulerConfig_TargetOptions_MultiDutsByModel) ProtoMessage

func (*SchedulerConfig_TargetOptions_MultiDutsByModel) ProtoReflect

func (*SchedulerConfig_TargetOptions_MultiDutsByModel) Reset

func (*SchedulerConfig_TargetOptions_MultiDutsByModel) String

type SchedulerConfig_TriggerType

type SchedulerConfig_TriggerType int32

[DO NOT USE]: MULTI_DUT support is now under it's own launch criteria and only works on Primary.

const (
	SchedulerConfig_TRIGGER_UNSPECIFIED SchedulerConfig_TriggerType = 0
	// Trigger test whenever there is a new build for the primary board.
	SchedulerConfig_PRIMARY SchedulerConfig_TriggerType = 1
	// [DO NOT USE] Trigger test when every board in the group has a new build.
	//
	// Deprecated: Do not use.
	SchedulerConfig_ALL SchedulerConfig_TriggerType = 2
)

func (SchedulerConfig_TriggerType) Descriptor

func (SchedulerConfig_TriggerType) Enum

func (SchedulerConfig_TriggerType) EnumDescriptor deprecated

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

Deprecated: Use SchedulerConfig_TriggerType.Descriptor instead.

func (SchedulerConfig_TriggerType) Number

func (SchedulerConfig_TriggerType) String

func (SchedulerConfig_TriggerType) Type

type SlimBuildCfg

type SlimBuildCfg struct {

	// File patterns that are eligible for slim builds.
	// See documentation in the FilePattern message.
	SlimEligibleFilePatterns []*FilePattern `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configures the scheduling of slim CQ builds when the triggering CLs only affect paths which are eligible for slim builds.

func (*SlimBuildCfg) Descriptor deprecated

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

Deprecated: Use SlimBuildCfg.ProtoReflect.Descriptor instead.

func (*SlimBuildCfg) GetSlimEligibleFilePatterns

func (x *SlimBuildCfg) GetSlimEligibleFilePatterns() []*FilePattern

func (*SlimBuildCfg) ProtoMessage

func (*SlimBuildCfg) ProtoMessage()

func (*SlimBuildCfg) ProtoReflect

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

func (*SlimBuildCfg) Reset

func (x *SlimBuildCfg) Reset()

func (*SlimBuildCfg) String

func (x *SlimBuildCfg) String() string

type SourceTestRules

type SourceTestRules struct {

	// A file pattern, representing a segment of ChromeOS code.
	FilePattern *FilePattern `protobuf:"bytes,1,opt,name=file_pattern,json=filePattern,proto3" json:"file_pattern,omitempty"`
	// A subtractive rule to apply to this file pattern. See the relevant message
	// documentation.
	SubtractiveRule *SubtractiveRule `protobuf:"bytes,2,opt,name=subtractive_rule,json=subtractiveRule,proto3" json:"subtractive_rule,omitempty"`
	// An additive rule to apply to this file pattern. See the relevant message
	// documentation.
	AdditiveRule *AdditiveRule `protobuf:"bytes,3,opt,name=additive_rule,json=additiveRule,proto3" json:"additive_rule,omitempty"`
	// contains filtered or unexported fields
}

A set of test subtractions and additions to perform for a source tree. See http://go/cq-source-config for documentation.

func (*SourceTestRules) Descriptor deprecated

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

Deprecated: Use SourceTestRules.ProtoReflect.Descriptor instead.

func (*SourceTestRules) GetAdditiveRule

func (x *SourceTestRules) GetAdditiveRule() *AdditiveRule

func (*SourceTestRules) GetFilePattern

func (x *SourceTestRules) GetFilePattern() *FilePattern

func (*SourceTestRules) GetSubtractiveRule

func (x *SourceTestRules) GetSubtractiveRule() *SubtractiveRule

func (*SourceTestRules) ProtoMessage

func (*SourceTestRules) ProtoMessage()

func (*SourceTestRules) ProtoReflect

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

func (*SourceTestRules) Reset

func (x *SourceTestRules) Reset()

func (*SourceTestRules) String

func (x *SourceTestRules) String() string

type SourceTreeTestCfg

type SourceTreeTestCfg struct {

	// Rules for how to test changes to specified source trees in the codebase.
	SourceTestRules []*SourceTestRules `protobuf:"bytes,2,rep,name=source_test_rules,json=sourceTestRules,proto3" json:"source_test_rules,omitempty"`
	// contains filtered or unexported fields
}

Configures test restrictions for all relevant source trees. This is the root message.

func (*SourceTreeTestCfg) Descriptor deprecated

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

Deprecated: Use SourceTreeTestCfg.ProtoReflect.Descriptor instead.

func (*SourceTreeTestCfg) GetSourceTestRules

func (x *SourceTreeTestCfg) GetSourceTestRules() []*SourceTestRules

func (*SourceTreeTestCfg) ProtoMessage

func (*SourceTreeTestCfg) ProtoMessage()

func (*SourceTreeTestCfg) ProtoReflect

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

func (*SourceTreeTestCfg) Reset

func (x *SourceTreeTestCfg) Reset()

func (*SourceTreeTestCfg) String

func (x *SourceTreeTestCfg) String() string

type SubtractiveRule

type SubtractiveRule struct {

	// Whether to disable hardware test suites.
	DisableHwTests bool `protobuf:"varint,1,opt,name=disable_hw_tests,json=disableHwTests,proto3" json:"disable_hw_tests,omitempty"`
	// Whether to disable virtual machine test suites.
	DisableVmTests bool `protobuf:"varint,2,opt,name=disable_vm_tests,json=disableVmTests,proto3" json:"disable_vm_tests,omitempty"`
	// Prunes away all default suites except those in the provided test groups.
	// e.g. setting this to "bluetooth" will have CQ run only those test suites
	// in the "bluetooth" test group.
	OnlyKeepAllSuitesInGroups *TestGroups `` /* 144-byte string literal not displayed */
	// Prunes away all default suites except one in each provided test group.
	// e.g. can be used to ensure a test suite is launched on each of the
	// supported ChromeOS processor architectures.
	OnlyKeepOneSuiteFromEachGroup *TestGroups `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

A description of how to remove test suites from the default set of test suites in ChromeOS CQ, as a result of source configuration. See http://go/cq-source-config

func (*SubtractiveRule) Descriptor deprecated

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

Deprecated: Use SubtractiveRule.ProtoReflect.Descriptor instead.

func (*SubtractiveRule) GetDisableHwTests

func (x *SubtractiveRule) GetDisableHwTests() bool

func (*SubtractiveRule) GetDisableVmTests

func (x *SubtractiveRule) GetDisableVmTests() bool

func (*SubtractiveRule) GetOnlyKeepAllSuitesInGroups

func (x *SubtractiveRule) GetOnlyKeepAllSuitesInGroups() *TestGroups

func (*SubtractiveRule) GetOnlyKeepOneSuiteFromEachGroup

func (x *SubtractiveRule) GetOnlyKeepOneSuiteFromEachGroup() *TestGroups

func (*SubtractiveRule) ProtoMessage

func (*SubtractiveRule) ProtoMessage()

func (*SubtractiveRule) ProtoReflect

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

func (*SubtractiveRule) Reset

func (x *SubtractiveRule) Reset()

func (*SubtractiveRule) String

func (x *SubtractiveRule) String() string

type SuiteRetryCfg

type SuiteRetryCfg struct {

	// Tag defines which suite this config set should apply.
	TestSuite string `protobuf:"bytes,1,opt,name=test_suite,json=testSuite,proto3" json:"test_suite,omitempty"`
	// Scenarios to retry for each build_target.
	SuiteScenarios   []*SuiteRetryCfg_Scenario        `protobuf:"bytes,3,rep,name=suite_scenarios,json=suiteScenarios,proto3" json:"suite_scenarios,omitempty"`
	BuilderScenarios []*SuiteRetryCfg_BuilderScenario `protobuf:"bytes,4,rep,name=builder_scenarios,json=builderScenarios,proto3" json:"builder_scenarios,omitempty"`
	// ReasonScenarios to retry for the suite.
	ReasonScenarios []*SuiteRetryCfg_ReasonScenario `protobuf:"bytes,5,rep,name=reason_scenarios,json=reasonScenarios,proto3" json:"reason_scenarios,omitempty"`
	// contains filtered or unexported fields
}

Defines a config for tests to be retried automatically.

func (*SuiteRetryCfg) Descriptor deprecated

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

Deprecated: Use SuiteRetryCfg.ProtoReflect.Descriptor instead.

func (*SuiteRetryCfg) GetBuilderScenarios

func (x *SuiteRetryCfg) GetBuilderScenarios() []*SuiteRetryCfg_BuilderScenario

func (*SuiteRetryCfg) GetReasonScenarios

func (x *SuiteRetryCfg) GetReasonScenarios() []*SuiteRetryCfg_ReasonScenario

func (*SuiteRetryCfg) GetSuiteScenarios

func (x *SuiteRetryCfg) GetSuiteScenarios() []*SuiteRetryCfg_Scenario

func (*SuiteRetryCfg) GetTestSuite

func (x *SuiteRetryCfg) GetTestSuite() string

func (*SuiteRetryCfg) ProtoMessage

func (*SuiteRetryCfg) ProtoMessage()

func (*SuiteRetryCfg) ProtoReflect

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

func (*SuiteRetryCfg) Reset

func (x *SuiteRetryCfg) Reset()

func (*SuiteRetryCfg) String

func (x *SuiteRetryCfg) String() string

type SuiteRetryCfg_BuilderScenario

type SuiteRetryCfg_BuilderScenario struct {

	// Tag defines which builders this config set should apply.
	Builders  []string                  `protobuf:"bytes,1,rep,name=builders,proto3" json:"builders,omitempty"`
	Scenarios []*SuiteRetryCfg_Scenario `protobuf:"bytes,2,rep,name=scenarios,proto3" json:"scenarios,omitempty"`
	// contains filtered or unexported fields
}

func (*SuiteRetryCfg_BuilderScenario) Descriptor deprecated

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

Deprecated: Use SuiteRetryCfg_BuilderScenario.ProtoReflect.Descriptor instead.

func (*SuiteRetryCfg_BuilderScenario) GetBuilders

func (x *SuiteRetryCfg_BuilderScenario) GetBuilders() []string

func (*SuiteRetryCfg_BuilderScenario) GetScenarios

func (*SuiteRetryCfg_BuilderScenario) ProtoMessage

func (*SuiteRetryCfg_BuilderScenario) ProtoMessage()

func (*SuiteRetryCfg_BuilderScenario) ProtoReflect

func (*SuiteRetryCfg_BuilderScenario) Reset

func (x *SuiteRetryCfg_BuilderScenario) Reset()

func (*SuiteRetryCfg_BuilderScenario) String

type SuiteRetryCfg_ReasonScenario

type SuiteRetryCfg_ReasonScenario struct {

	// Failures reason.
	Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
	// Verdict of the test run.
	Verdict test_platform.TaskState_Verdict `protobuf:"varint,2,opt,name=verdict,proto3,enum=test_platform.TaskState_Verdict" json:"verdict,omitempty"`
	// Should the DUT/VM restart before retry?
	RequiresRestart bool `protobuf:"varint,3,opt,name=requires_restart,json=requiresRestart,proto3" json:"requires_restart,omitempty"`
	// contains filtered or unexported fields
}

Reason scenario defines test failure conditions irrespective of which test.

func (*SuiteRetryCfg_ReasonScenario) Descriptor deprecated

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

Deprecated: Use SuiteRetryCfg_ReasonScenario.ProtoReflect.Descriptor instead.

func (*SuiteRetryCfg_ReasonScenario) GetReason

func (x *SuiteRetryCfg_ReasonScenario) GetReason() string

func (*SuiteRetryCfg_ReasonScenario) GetRequiresRestart

func (x *SuiteRetryCfg_ReasonScenario) GetRequiresRestart() bool

func (*SuiteRetryCfg_ReasonScenario) GetVerdict

func (*SuiteRetryCfg_ReasonScenario) ProtoMessage

func (*SuiteRetryCfg_ReasonScenario) ProtoMessage()

func (*SuiteRetryCfg_ReasonScenario) ProtoReflect

func (*SuiteRetryCfg_ReasonScenario) Reset

func (x *SuiteRetryCfg_ReasonScenario) Reset()

func (*SuiteRetryCfg_ReasonScenario) String

type SuiteRetryCfg_Scenario

type SuiteRetryCfg_Scenario struct {

	// Name of the test.
	TestName string `protobuf:"bytes,1,opt,name=test_name,json=testName,proto3" json:"test_name,omitempty"`
	// Failure reason/summary. This field is a substring of the actual error
	// message. Ex: 'SSH connection failed' or 'DUT rebooted'.
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// Verdict of the test run.
	Verdict test_platform.TaskState_Verdict `protobuf:"varint,3,opt,name=verdict,proto3,enum=test_platform.TaskState_Verdict" json:"verdict,omitempty"`
	// Should the DUT/VM restart before retry?
	RequiresRestart bool `protobuf:"varint,4,opt,name=requires_restart,json=requiresRestart,proto3" json:"requires_restart,omitempty"`
	// contains filtered or unexported fields
}

Scenario defines the test failure conditions that trigger retry.

func (*SuiteRetryCfg_Scenario) Descriptor deprecated

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

Deprecated: Use SuiteRetryCfg_Scenario.ProtoReflect.Descriptor instead.

func (*SuiteRetryCfg_Scenario) GetReason

func (x *SuiteRetryCfg_Scenario) GetReason() string

func (*SuiteRetryCfg_Scenario) GetRequiresRestart

func (x *SuiteRetryCfg_Scenario) GetRequiresRestart() bool

func (*SuiteRetryCfg_Scenario) GetTestName

func (x *SuiteRetryCfg_Scenario) GetTestName() string

func (*SuiteRetryCfg_Scenario) GetVerdict

func (*SuiteRetryCfg_Scenario) ProtoMessage

func (*SuiteRetryCfg_Scenario) ProtoMessage()

func (*SuiteRetryCfg_Scenario) ProtoReflect

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

func (*SuiteRetryCfg_Scenario) Reset

func (x *SuiteRetryCfg_Scenario) Reset()

func (*SuiteRetryCfg_Scenario) String

func (x *SuiteRetryCfg_Scenario) String() string

type TargetCriteria

type TargetCriteria struct {

	// DEPRECATED: we need to target builder_name instead. build_target
	// has to go away. See https://crbug.com/1016536
	//
	// Types that are assignable to TargetType:
	//	*TargetCriteria_BuildTarget
	TargetType isTargetCriteria_TargetType `protobuf_oneof:"target_type"`
	// A CrOS builder to target for testing, e.g. eve-postsubmit or
	// amd64-generic-kernel-v5_4-cq.
	BuilderName string `protobuf:"bytes,3,opt,name=builder_name,json=builderName,proto3" json:"builder_name,omitempty"`
	// contains filtered or unexported fields
}

Specifies a CrOS builder to target.

func (*TargetCriteria) Descriptor deprecated

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

Deprecated: Use TargetCriteria.ProtoReflect.Descriptor instead.

func (*TargetCriteria) GetBuildTarget

func (x *TargetCriteria) GetBuildTarget() string

func (*TargetCriteria) GetBuilderName

func (x *TargetCriteria) GetBuilderName() string

func (*TargetCriteria) GetTargetType

func (m *TargetCriteria) GetTargetType() isTargetCriteria_TargetType

func (*TargetCriteria) ProtoMessage

func (*TargetCriteria) ProtoMessage()

func (*TargetCriteria) ProtoReflect

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

func (*TargetCriteria) Reset

func (x *TargetCriteria) Reset()

func (*TargetCriteria) String

func (x *TargetCriteria) String() string

type TargetCriteria_BuildTarget

type TargetCriteria_BuildTarget struct {
	// Any CrOS build target, such as "kevin". This should correspond to a
	// Portage overlay.
	BuildTarget string `protobuf:"bytes,2,opt,name=build_target,json=buildTarget,proto3,oneof"`
}

type TargetTestRequirementsCfg

type TargetTestRequirementsCfg struct {

	// The testing that should be performed for a single set of target criteria.
	PerTargetTestRequirements []*PerTargetTestRequirements `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

A listing of all testing that should be done for all CrOS builds.

func (*TargetTestRequirementsCfg) Descriptor deprecated

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

Deprecated: Use TargetTestRequirementsCfg.ProtoReflect.Descriptor instead.

func (*TargetTestRequirementsCfg) GetPerTargetTestRequirements

func (x *TargetTestRequirementsCfg) GetPerTargetTestRequirements() []*PerTargetTestRequirements

func (*TargetTestRequirementsCfg) ProtoMessage

func (*TargetTestRequirementsCfg) ProtoMessage()

func (*TargetTestRequirementsCfg) ProtoReflect

func (*TargetTestRequirementsCfg) Reset

func (x *TargetTestRequirementsCfg) Reset()

func (*TargetTestRequirementsCfg) String

func (x *TargetTestRequirementsCfg) String() string

type TastGceTestCfg

type TastGceTestCfg struct {
	TastGceTest []*TastGceTestCfg_TastGceTest `protobuf:"bytes,1,rep,name=tast_gce_test,json=tastGceTest,proto3" json:"tast_gce_test,omitempty"`
	// contains filtered or unexported fields
}

func (*TastGceTestCfg) Descriptor deprecated

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

Deprecated: Use TastGceTestCfg.ProtoReflect.Descriptor instead.

func (*TastGceTestCfg) GetTastGceTest

func (x *TastGceTestCfg) GetTastGceTest() []*TastGceTestCfg_TastGceTest

func (*TastGceTestCfg) ProtoMessage

func (*TastGceTestCfg) ProtoMessage()

func (*TastGceTestCfg) ProtoReflect

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

func (*TastGceTestCfg) Reset

func (x *TastGceTestCfg) Reset()

func (*TastGceTestCfg) String

func (x *TastGceTestCfg) String() string

type TastGceTestCfg_TastGceTest

type TastGceTestCfg_TastGceTest struct {
	Common *TestSuiteCommon `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	// String containing short human-readable name describing test suite.
	SuiteName string `protobuf:"bytes,2,opt,name=suite_name,json=suiteName,proto3" json:"suite_name,omitempty"`
	// List of string expressions describing which tests to run; this
	// is passed directly to the 'tast run' command. See
	// https://goo.gl/UPNEgT for info about test expressions.
	TastTestExpr []*TastGceTestCfg_TastTestExpr `protobuf:"bytes,3,rep,name=tast_test_expr,json=tastTestExpr,proto3" json:"tast_test_expr,omitempty"`
	// GCE instace metadata to run the tests on.
	GceMetadata   *TastGceTestCfg_TastGceTest_GceMetadata `protobuf:"bytes,4,opt,name=gce_metadata,json=gceMetadata,proto3" json:"gce_metadata,omitempty"`
	TastTestShard *TastTestShard                          `protobuf:"bytes,5,opt,name=tast_test_shard,json=tastTestShard,proto3" json:"tast_test_shard,omitempty"`
	// contains filtered or unexported fields
}

func (*TastGceTestCfg_TastGceTest) Descriptor deprecated

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

Deprecated: Use TastGceTestCfg_TastGceTest.ProtoReflect.Descriptor instead.

func (*TastGceTestCfg_TastGceTest) GetCommon

func (*TastGceTestCfg_TastGceTest) GetGceMetadata

func (*TastGceTestCfg_TastGceTest) GetSuiteName

func (x *TastGceTestCfg_TastGceTest) GetSuiteName() string

func (*TastGceTestCfg_TastGceTest) GetTastTestExpr

func (*TastGceTestCfg_TastGceTest) GetTastTestShard

func (x *TastGceTestCfg_TastGceTest) GetTastTestShard() *TastTestShard

func (*TastGceTestCfg_TastGceTest) ProtoMessage

func (*TastGceTestCfg_TastGceTest) ProtoMessage()

func (*TastGceTestCfg_TastGceTest) ProtoReflect

func (*TastGceTestCfg_TastGceTest) Reset

func (x *TastGceTestCfg_TastGceTest) Reset()

func (*TastGceTestCfg_TastGceTest) String

func (x *TastGceTestCfg_TastGceTest) String() string

type TastGceTestCfg_TastGceTest_GceMetadata

type TastGceTestCfg_TastGceTest_GceMetadata struct {

	// The GCE project in which we create GCE images/instances for test.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// The GCE zone in which we create GCE instances for test.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The machine type of the GCE instance (e.g. n2-standard-8).
	MachineType string `protobuf:"bytes,3,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
	// The network the GCE instance should be part of.
	Network string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	// The subnet the GCE instance should be part of.
	Subnet string `protobuf:"bytes,5,opt,name=subnet,proto3" json:"subnet,omitempty"`
	// contains filtered or unexported fields
}

This message should be used to fill recipes.chromeos.gce_test.GceTestProperties.GceMetadata.

func (*TastGceTestCfg_TastGceTest_GceMetadata) Descriptor deprecated

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

Deprecated: Use TastGceTestCfg_TastGceTest_GceMetadata.ProtoReflect.Descriptor instead.

func (*TastGceTestCfg_TastGceTest_GceMetadata) GetMachineType

func (x *TastGceTestCfg_TastGceTest_GceMetadata) GetMachineType() string

func (*TastGceTestCfg_TastGceTest_GceMetadata) GetNetwork

func (*TastGceTestCfg_TastGceTest_GceMetadata) GetProject

func (*TastGceTestCfg_TastGceTest_GceMetadata) GetSubnet

func (*TastGceTestCfg_TastGceTest_GceMetadata) GetZone

func (*TastGceTestCfg_TastGceTest_GceMetadata) ProtoMessage

func (*TastGceTestCfg_TastGceTest_GceMetadata) ProtoReflect

func (*TastGceTestCfg_TastGceTest_GceMetadata) Reset

func (*TastGceTestCfg_TastGceTest_GceMetadata) String

type TastGceTestCfg_TastTestExpr

type TastGceTestCfg_TastTestExpr struct {

	// A single tast test expression. See https://goo.gl/UPNEgT
	TestExpr string `protobuf:"bytes,1,opt,name=test_expr,json=testExpr,proto3" json:"test_expr,omitempty"`
	// contains filtered or unexported fields
}

func (*TastGceTestCfg_TastTestExpr) Descriptor deprecated

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

Deprecated: Use TastGceTestCfg_TastTestExpr.ProtoReflect.Descriptor instead.

func (*TastGceTestCfg_TastTestExpr) GetTestExpr

func (x *TastGceTestCfg_TastTestExpr) GetTestExpr() string

func (*TastGceTestCfg_TastTestExpr) ProtoMessage

func (*TastGceTestCfg_TastTestExpr) ProtoMessage()

func (*TastGceTestCfg_TastTestExpr) ProtoReflect

func (*TastGceTestCfg_TastTestExpr) Reset

func (x *TastGceTestCfg_TastTestExpr) Reset()

func (*TastGceTestCfg_TastTestExpr) String

func (x *TastGceTestCfg_TastTestExpr) String() string

type TastGceTestUnit

type TastGceTestUnit struct {
	Common         *TestUnitCommon `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	TastGceTestCfg *TastGceTestCfg `protobuf:"bytes,2,opt,name=tast_gce_test_cfg,json=tastGceTestCfg,proto3" json:"tast_gce_test_cfg,omitempty"`
	// contains filtered or unexported fields
}

func (*TastGceTestUnit) Descriptor deprecated

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

Deprecated: Use TastGceTestUnit.ProtoReflect.Descriptor instead.

func (*TastGceTestUnit) GetCommon

func (x *TastGceTestUnit) GetCommon() *TestUnitCommon

func (*TastGceTestUnit) GetTastGceTestCfg

func (x *TastGceTestUnit) GetTastGceTestCfg() *TastGceTestCfg

func (*TastGceTestUnit) ProtoMessage

func (*TastGceTestUnit) ProtoMessage()

func (*TastGceTestUnit) ProtoReflect

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

func (*TastGceTestUnit) Reset

func (x *TastGceTestUnit) Reset()

func (*TastGceTestUnit) String

func (x *TastGceTestUnit) String() string

type TastTestShard

type TastTestShard struct {

	// The total number of shards to be used in a test run.
	TotalShards int64 `protobuf:"varint,1,opt,name=total_shards,json=totalShards,proto3" json:"total_shards,omitempty"`
	// The index of the shard to use.
	// Note: This value is 0-indexed.
	ShardIndex int64 `protobuf:"varint,2,opt,name=shard_index,json=shardIndex,proto3" json:"shard_index,omitempty"`
	// contains filtered or unexported fields
}

func (*TastTestShard) Descriptor deprecated

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

Deprecated: Use TastTestShard.ProtoReflect.Descriptor instead.

func (*TastTestShard) GetShardIndex

func (x *TastTestShard) GetShardIndex() int64

func (*TastTestShard) GetTotalShards

func (x *TastTestShard) GetTotalShards() int64

func (*TastTestShard) ProtoMessage

func (*TastTestShard) ProtoMessage()

func (*TastTestShard) ProtoReflect

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

func (*TastTestShard) Reset

func (x *TastTestShard) Reset()

func (*TastTestShard) String

func (x *TastTestShard) String() string

type TastVmTestCfg

type TastVmTestCfg struct {
	TastVmTest []*TastVmTestCfg_TastVmTest `protobuf:"bytes,1,rep,name=tast_vm_test,json=tastVmTest,proto3" json:"tast_vm_test,omitempty"`
	// contains filtered or unexported fields
}

func (*TastVmTestCfg) Descriptor deprecated

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

Deprecated: Use TastVmTestCfg.ProtoReflect.Descriptor instead.

func (*TastVmTestCfg) GetTastVmTest

func (x *TastVmTestCfg) GetTastVmTest() []*TastVmTestCfg_TastVmTest

func (*TastVmTestCfg) ProtoMessage

func (*TastVmTestCfg) ProtoMessage()

func (*TastVmTestCfg) ProtoReflect

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

func (*TastVmTestCfg) Reset

func (x *TastVmTestCfg) Reset()

func (*TastVmTestCfg) String

func (x *TastVmTestCfg) String() string

type TastVmTestCfg_TastTestExpr

type TastVmTestCfg_TastTestExpr struct {

	// A single tast test expression. See https://goo.gl/UPNEgT
	TestExpr string `protobuf:"bytes,1,opt,name=test_expr,json=testExpr,proto3" json:"test_expr,omitempty"`
	// contains filtered or unexported fields
}

func (*TastVmTestCfg_TastTestExpr) Descriptor deprecated

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

Deprecated: Use TastVmTestCfg_TastTestExpr.ProtoReflect.Descriptor instead.

func (*TastVmTestCfg_TastTestExpr) GetTestExpr

func (x *TastVmTestCfg_TastTestExpr) GetTestExpr() string

func (*TastVmTestCfg_TastTestExpr) ProtoMessage

func (*TastVmTestCfg_TastTestExpr) ProtoMessage()

func (*TastVmTestCfg_TastTestExpr) ProtoReflect

func (*TastVmTestCfg_TastTestExpr) Reset

func (x *TastVmTestCfg_TastTestExpr) Reset()

func (*TastVmTestCfg_TastTestExpr) String

func (x *TastVmTestCfg_TastTestExpr) String() string

type TastVmTestCfg_TastVmTest

type TastVmTestCfg_TastVmTest struct {
	Common *TestSuiteCommon `protobuf:"bytes,4,opt,name=common,proto3" json:"common,omitempty"`
	// String containing short human-readable name describing test suite.
	SuiteName string `protobuf:"bytes,1,opt,name=suite_name,json=suiteName,proto3" json:"suite_name,omitempty"`
	// List of string expressions describing which tests to run; this
	// is passed directly to the 'tast run' command. See
	// https://goo.gl/UPNEgT for info about test expressions.
	TastTestExpr  []*TastVmTestCfg_TastTestExpr `protobuf:"bytes,2,rep,name=tast_test_expr,json=tastTestExpr,proto3" json:"tast_test_expr,omitempty"`
	TastTestShard *TastTestShard                `protobuf:"bytes,5,opt,name=tast_test_shard,json=tastTestShard,proto3" json:"tast_test_shard,omitempty"`
	// contains filtered or unexported fields
}

func (*TastVmTestCfg_TastVmTest) Descriptor deprecated

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

Deprecated: Use TastVmTestCfg_TastVmTest.ProtoReflect.Descriptor instead.

func (*TastVmTestCfg_TastVmTest) GetCommon

func (x *TastVmTestCfg_TastVmTest) GetCommon() *TestSuiteCommon

func (*TastVmTestCfg_TastVmTest) GetSuiteName

func (x *TastVmTestCfg_TastVmTest) GetSuiteName() string

func (*TastVmTestCfg_TastVmTest) GetTastTestExpr

func (x *TastVmTestCfg_TastVmTest) GetTastTestExpr() []*TastVmTestCfg_TastTestExpr

func (*TastVmTestCfg_TastVmTest) GetTastTestShard

func (x *TastVmTestCfg_TastVmTest) GetTastTestShard() *TastTestShard

func (*TastVmTestCfg_TastVmTest) ProtoMessage

func (*TastVmTestCfg_TastVmTest) ProtoMessage()

func (*TastVmTestCfg_TastVmTest) ProtoReflect

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

func (*TastVmTestCfg_TastVmTest) Reset

func (x *TastVmTestCfg_TastVmTest) Reset()

func (*TastVmTestCfg_TastVmTest) String

func (x *TastVmTestCfg_TastVmTest) String() string

type TastVmTestUnit

type TastVmTestUnit struct {
	Common        *TestUnitCommon `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	TastVmTestCfg *TastVmTestCfg  `protobuf:"bytes,2,opt,name=tast_vm_test_cfg,json=tastVmTestCfg,proto3" json:"tast_vm_test_cfg,omitempty"`
	// contains filtered or unexported fields
}

func (*TastVmTestUnit) Descriptor deprecated

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

Deprecated: Use TastVmTestUnit.ProtoReflect.Descriptor instead.

func (*TastVmTestUnit) GetCommon

func (x *TastVmTestUnit) GetCommon() *TestUnitCommon

func (*TastVmTestUnit) GetTastVmTestCfg

func (x *TastVmTestUnit) GetTastVmTestCfg() *TastVmTestCfg

func (*TastVmTestUnit) ProtoMessage

func (*TastVmTestUnit) ProtoMessage()

func (*TastVmTestUnit) ProtoReflect

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

func (*TastVmTestUnit) Reset

func (x *TastVmTestUnit) Reset()

func (*TastVmTestUnit) String

func (x *TastVmTestUnit) String() string

type TestCompanion

type TestCompanion struct {

	// Board means Cros board or an Android phone family (e.g. pixel7, which
	// includes pixel7a, pixel7 and pixel7pro models) following the same naming
	// convention as in suite scheduler: http://shortn/_Xphologdnc
	// The initial implementation of multi-dut in CQ only support board-level.
	// Future improvements may add model and other specs.
	Board string `protobuf:"bytes,1,opt,name=board,proto3" json:"board,omitempty"`
	// Provision config for the companion.
	Config *api.CompanionConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

Specs for a companion DUT in multi-dut tests.

func (*TestCompanion) Descriptor deprecated

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

Deprecated: Use TestCompanion.ProtoReflect.Descriptor instead.

func (*TestCompanion) GetBoard

func (x *TestCompanion) GetBoard() string

func (*TestCompanion) GetConfig

func (x *TestCompanion) GetConfig() *api.CompanionConfig

func (*TestCompanion) ProtoMessage

func (*TestCompanion) ProtoMessage()

func (*TestCompanion) ProtoReflect

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

func (*TestCompanion) Reset

func (x *TestCompanion) Reset()

func (*TestCompanion) String

func (x *TestCompanion) String() string

type TestGroups

type TestGroups struct {
	Name []string `protobuf:"bytes,1,rep,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A list of test groups.

func (*TestGroups) Descriptor deprecated

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

Deprecated: Use TestGroups.ProtoReflect.Descriptor instead.

func (*TestGroups) GetName

func (x *TestGroups) GetName() []string

func (*TestGroups) ProtoMessage

func (*TestGroups) ProtoMessage()

func (*TestGroups) ProtoReflect

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

func (*TestGroups) Reset

func (x *TestGroups) Reset()

func (*TestGroups) String

func (x *TestGroups) String() string

type TestSuiteCommon

type TestSuiteCommon struct {

	// Human-readable consistent name for a build target, test type pair.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Whether or not the test suite is considered critical.
	Critical *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=critical,proto3" json:"critical,omitempty"`
	// A list of groups to which this test suite belongs.
	// This is a key into other testingconfig modules.
	TestSuiteGroups []*TestSuiteCommon_TestSuiteGroup `protobuf:"bytes,3,rep,name=test_suite_groups,json=testSuiteGroups,proto3" json:"test_suite_groups,omitempty"`
	// Whether this suite should be disabled by default. It will only be enabled
	// if some other rule forces it to be put into the test plan.
	DisableByDefault bool `protobuf:"varint,4,opt,name=disable_by_default,json=disableByDefault,proto3" json:"disable_by_default,omitempty"`
	// contains filtered or unexported fields
}

func (*TestSuiteCommon) Descriptor deprecated

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

Deprecated: Use TestSuiteCommon.ProtoReflect.Descriptor instead.

func (*TestSuiteCommon) GetCritical

func (x *TestSuiteCommon) GetCritical() *wrapperspb.BoolValue

func (*TestSuiteCommon) GetDisableByDefault

func (x *TestSuiteCommon) GetDisableByDefault() bool

func (*TestSuiteCommon) GetDisplayName

func (x *TestSuiteCommon) GetDisplayName() string

func (*TestSuiteCommon) GetTestSuiteGroups

func (x *TestSuiteCommon) GetTestSuiteGroups() []*TestSuiteCommon_TestSuiteGroup

func (*TestSuiteCommon) ProtoMessage

func (*TestSuiteCommon) ProtoMessage()

func (*TestSuiteCommon) ProtoReflect

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

func (*TestSuiteCommon) Reset

func (x *TestSuiteCommon) Reset()

func (*TestSuiteCommon) String

func (x *TestSuiteCommon) String() string

type TestSuiteCommon_TestSuiteGroup

type TestSuiteCommon_TestSuiteGroup struct {
	TestSuiteGroup string `protobuf:"bytes,1,opt,name=test_suite_group,json=testSuiteGroup,proto3" json:"test_suite_group,omitempty"`
	// contains filtered or unexported fields
}

func (*TestSuiteCommon_TestSuiteGroup) Descriptor deprecated

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

Deprecated: Use TestSuiteCommon_TestSuiteGroup.ProtoReflect.Descriptor instead.

func (*TestSuiteCommon_TestSuiteGroup) GetTestSuiteGroup

func (x *TestSuiteCommon_TestSuiteGroup) GetTestSuiteGroup() string

func (*TestSuiteCommon_TestSuiteGroup) ProtoMessage

func (*TestSuiteCommon_TestSuiteGroup) ProtoMessage()

func (*TestSuiteCommon_TestSuiteGroup) ProtoReflect

func (*TestSuiteCommon_TestSuiteGroup) Reset

func (x *TestSuiteCommon_TestSuiteGroup) Reset()

func (*TestSuiteCommon_TestSuiteGroup) String

type TestUnitCommon

type TestUnitCommon struct {

	// The build target for this test unit.
	BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,2,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"`
	// A builder name for this test unit, e.g. eve-arcvm-cq.
	BuilderName string `protobuf:"bytes,4,opt,name=builder_name,json=builderName,proto3" json:"builder_name,omitempty"`
	// The build files provided to run this test unit.
	BuildPayload *BuildPayload `protobuf:"bytes,3,opt,name=build_payload,json=buildPayload,proto3" json:"build_payload,omitempty"`
	// contains filtered or unexported fields
}

The parts of a TestUnit that are common among all test types.

func (*TestUnitCommon) Descriptor deprecated

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

Deprecated: Use TestUnitCommon.ProtoReflect.Descriptor instead.

func (*TestUnitCommon) GetBuildPayload

func (x *TestUnitCommon) GetBuildPayload() *BuildPayload

func (*TestUnitCommon) GetBuildTarget

func (x *TestUnitCommon) GetBuildTarget() *chromiumos.BuildTarget

func (*TestUnitCommon) GetBuilderName

func (x *TestUnitCommon) GetBuilderName() string

func (*TestUnitCommon) ProtoMessage

func (*TestUnitCommon) ProtoMessage()

func (*TestUnitCommon) ProtoReflect

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

func (*TestUnitCommon) Reset

func (x *TestUnitCommon) Reset()

func (*TestUnitCommon) String

func (x *TestUnitCommon) String() string

type VmTestCfg

type VmTestCfg struct {
	VmTest []*VmTestCfg_VmTest `protobuf:"bytes,1,rep,name=vm_test,json=vmTest,proto3" json:"vm_test,omitempty"`
	// contains filtered or unexported fields
}

func (*VmTestCfg) Descriptor deprecated

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

Deprecated: Use VmTestCfg.ProtoReflect.Descriptor instead.

func (*VmTestCfg) GetVmTest

func (x *VmTestCfg) GetVmTest() []*VmTestCfg_VmTest

func (*VmTestCfg) ProtoMessage

func (*VmTestCfg) ProtoMessage()

func (*VmTestCfg) ProtoReflect

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

func (*VmTestCfg) Reset

func (x *VmTestCfg) Reset()

func (*VmTestCfg) String

func (x *VmTestCfg) String() string

type VmTestCfg_VmTest

type VmTestCfg_VmTest struct {
	Common *TestSuiteCommon `protobuf:"bytes,8,opt,name=common,proto3" json:"common,omitempty"`
	// Test suite to be run in VMTest.
	TestSuite string `protobuf:"bytes,2,opt,name=test_suite,json=testSuite,proto3" json:"test_suite,omitempty"`
	// contains filtered or unexported fields
}

func (*VmTestCfg_VmTest) Descriptor deprecated

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

Deprecated: Use VmTestCfg_VmTest.ProtoReflect.Descriptor instead.

func (*VmTestCfg_VmTest) GetCommon

func (x *VmTestCfg_VmTest) GetCommon() *TestSuiteCommon

func (*VmTestCfg_VmTest) GetTestSuite

func (x *VmTestCfg_VmTest) GetTestSuite() string

func (*VmTestCfg_VmTest) ProtoMessage

func (*VmTestCfg_VmTest) ProtoMessage()

func (*VmTestCfg_VmTest) ProtoReflect

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

func (*VmTestCfg_VmTest) Reset

func (x *VmTestCfg_VmTest) Reset()

func (*VmTestCfg_VmTest) String

func (x *VmTestCfg_VmTest) String() string

type VmTestUnit

type VmTestUnit struct {
	Common    *TestUnitCommon `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	VmTestCfg *VmTestCfg      `protobuf:"bytes,2,opt,name=vm_test_cfg,json=vmTestCfg,proto3" json:"vm_test_cfg,omitempty"`
	// contains filtered or unexported fields
}

func (*VmTestUnit) Descriptor deprecated

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

Deprecated: Use VmTestUnit.ProtoReflect.Descriptor instead.

func (*VmTestUnit) GetCommon

func (x *VmTestUnit) GetCommon() *TestUnitCommon

func (*VmTestUnit) GetVmTestCfg

func (x *VmTestUnit) GetVmTestCfg() *VmTestCfg

func (*VmTestUnit) ProtoMessage

func (*VmTestUnit) ProtoMessage()

func (*VmTestUnit) ProtoReflect

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

func (*VmTestUnit) Reset

func (x *VmTestUnit) Reset()

func (*VmTestUnit) String

func (x *VmTestUnit) String() string

Jump to

Keyboard shortcuts

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