Documentation ¶
Index ¶
- Variables
- type BranchFilter
- func (*BranchFilter) Descriptor() ([]byte, []int)deprecated
- func (x *BranchFilter) GetChannel() BranchFilter_Channel
- func (x *BranchFilter) GetLag() int32
- func (x *BranchFilter) GetOperator() BranchFilter_Operator
- func (*BranchFilter) ProtoMessage()
- func (x *BranchFilter) ProtoReflect() protoreflect.Message
- func (x *BranchFilter) Reset()
- func (x *BranchFilter) String() string
- type BranchFilter_Channel
- func (BranchFilter_Channel) Descriptor() protoreflect.EnumDescriptor
- func (x BranchFilter_Channel) Enum() *BranchFilter_Channel
- func (BranchFilter_Channel) EnumDescriptor() ([]byte, []int)deprecated
- func (x BranchFilter_Channel) Number() protoreflect.EnumNumber
- func (x BranchFilter_Channel) String() string
- func (BranchFilter_Channel) Type() protoreflect.EnumType
- type BranchFilter_Operator
- func (BranchFilter_Operator) Descriptor() protoreflect.EnumDescriptor
- func (x BranchFilter_Operator) Enum() *BranchFilter_Operator
- func (BranchFilter_Operator) EnumDescriptor() ([]byte, []int)deprecated
- func (x BranchFilter_Operator) Number() protoreflect.EnumNumber
- func (x BranchFilter_Operator) String() string
- func (BranchFilter_Operator) Type() protoreflect.EnumType
- type BuildFilters
- func (*BuildFilters) Descriptor() ([]byte, []int)deprecated
- func (x *BuildFilters) GetBranchFilters() []*BranchFilter
- func (x *BuildFilters) GetFirmwareRoBuildSpec() chromiumos.Branch_BranchType
- func (x *BuildFilters) GetFirmwareRwBuildSpec() chromiumos.Branch_BranchType
- func (x *BuildFilters) GetOnlyHwtestSanityRequired() bool
- func (*BuildFilters) ProtoMessage()
- func (x *BuildFilters) ProtoReflect() protoreflect.Message
- func (x *BuildFilters) Reset()
- func (x *BuildFilters) String() string
- type BuildInfo
- func (*BuildInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfo) GetBuildTarget() *chromiumos.BuildTarget
- func (x *BuildInfo) GetChromeOsVersion() string
- func (x *BuildInfo) GetMilestone() uint32
- func (x *BuildInfo) GetType() chromiumos.Branch_BranchType
- func (*BuildInfo) ProtoMessage()
- func (x *BuildInfo) ProtoReflect() protoreflect.Message
- func (x *BuildInfo) Reset()
- func (x *BuildInfo) String() string
- type ExecutionError
- type ExecutionResponse
- func (*ExecutionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecutionResponse) GetCtpBuildId() string
- func (*ExecutionResponse) ProtoMessage()
- func (x *ExecutionResponse) ProtoReflect() protoreflect.Message
- func (x *ExecutionResponse) Reset()
- func (x *ExecutionResponse) String() string
- type ExecutionTask
- func (*ExecutionTask) Descriptor() ([]byte, []int)deprecated
- func (x *ExecutionTask) GetError() *ExecutionError
- func (x *ExecutionTask) GetQueuedTaskId() string
- func (x *ExecutionTask) GetRequestSent() *timestamppb.Timestamp
- func (x *ExecutionTask) GetRequestTag() string
- func (x *ExecutionTask) GetResponse() *ExecutionResponse
- func (m *ExecutionTask) GetResult() isExecutionTask_Result
- func (*ExecutionTask) ProtoMessage()
- func (x *ExecutionTask) ProtoReflect() protoreflect.Message
- func (x *ExecutionTask) Reset()
- func (x *ExecutionTask) String() string
- type ExecutionTask_Error
- type ExecutionTask_Response
- type FirmwareBuildInfo
- func (*FirmwareBuildInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FirmwareBuildInfo) GetArtifact() *api.Artifact
- func (x *FirmwareBuildInfo) GetBuildTarget() *chromiumos.BuildTarget
- func (x *FirmwareBuildInfo) GetType() chromiumos.Branch_BranchType
- func (*FirmwareBuildInfo) ProtoMessage()
- func (x *FirmwareBuildInfo) ProtoReflect() protoreflect.Message
- func (x *FirmwareBuildInfo) Reset()
- func (x *FirmwareBuildInfo) String() string
- type ScheduleJob
- func (*ScheduleJob) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduleJob) GetBuildTarget() *chromiumos.BuildTarget
- func (x *ScheduleJob) GetGeneratedTime() *timestamppb.Timestamp
- func (x *ScheduleJob) GetJustification() string
- func (x *ScheduleJob) GetModel() *device.ModelId
- func (x *ScheduleJob) GetQueuedTaskId() string
- func (m *ScheduleJob) GetResult() isScheduleJob_Result
- func (*ScheduleJob) ProtoMessage()
- func (x *ScheduleJob) ProtoReflect() protoreflect.Message
- func (x *ScheduleJob) Reset()
- func (x *ScheduleJob) String() string
- type ScheduleJobSection
- func (*ScheduleJobSection) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduleJobSection) GetBuildTargets() []*chromiumos.BuildTarget
- func (x *ScheduleJobSection) GetJobName() string
- func (x *ScheduleJobSection) GetMatchedBuilds() []*ScheduleJobSection_MatchedBuild
- func (x *ScheduleJobSection) GetModels() []*device.ModelId
- func (x *ScheduleJobSection) GetPool() string
- func (x *ScheduleJobSection) GetScheduleJobTrigger() *ScheduleJobTrigger
- func (x *ScheduleJobSection) GetScheduleJobs() []*ScheduleJob
- func (x *ScheduleJobSection) GetSuite() string
- func (*ScheduleJobSection) ProtoMessage()
- func (x *ScheduleJobSection) ProtoReflect() protoreflect.Message
- func (x *ScheduleJobSection) Reset()
- func (x *ScheduleJobSection) String() string
- type ScheduleJobSection_MatchedBuild
- func (*ScheduleJobSection_MatchedBuild) Descriptor() ([]byte, []int)deprecated
- func (m *ScheduleJobSection_MatchedBuild) GetCrosBuild() isScheduleJobSection_MatchedBuild_CrosBuild
- func (x *ScheduleJobSection_MatchedBuild) GetFirmwareRoBuild() *FirmwareBuildInfo
- func (x *ScheduleJobSection_MatchedBuild) GetFirmwareRwBuild() *FirmwareBuildInfo
- func (x *ScheduleJobSection_MatchedBuild) GetRelaxBuild() *BuildInfo
- func (x *ScheduleJobSection_MatchedBuild) GetReleaseBuild() *BuildInfo
- func (*ScheduleJobSection_MatchedBuild) ProtoMessage()
- func (x *ScheduleJobSection_MatchedBuild) ProtoReflect() protoreflect.Message
- func (x *ScheduleJobSection_MatchedBuild) Reset()
- func (x *ScheduleJobSection_MatchedBuild) String() string
- type ScheduleJobSection_MatchedBuild_FirmwareRoBuild
- type ScheduleJobSection_MatchedBuild_FirmwareRwBuild
- type ScheduleJobSection_MatchedBuild_RelaxBuild
- type ScheduleJobSection_MatchedBuild_ReleaseBuild
- type ScheduleJobTrigger
- func (*ScheduleJobTrigger) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduleJobTrigger) GetBuildFilters() *BuildFilters
- func (x *ScheduleJobTrigger) GetInterval() *ScheduleJobTrigger_IntervalTrigger
- func (x *ScheduleJobTrigger) GetNightly() *ScheduleJobTrigger_NightlyTrigger
- func (m *ScheduleJobTrigger) GetTrigger() isScheduleJobTrigger_Trigger
- func (x *ScheduleJobTrigger) GetWeekly() *ScheduleJobTrigger_WeeklyTrigger
- func (*ScheduleJobTrigger) ProtoMessage()
- func (x *ScheduleJobTrigger) ProtoReflect() protoreflect.Message
- func (x *ScheduleJobTrigger) Reset()
- func (x *ScheduleJobTrigger) String() string
- type ScheduleJobTrigger_Interval
- type ScheduleJobTrigger_IntervalTrigger
- func (*ScheduleJobTrigger_IntervalTrigger) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduleJobTrigger_IntervalTrigger) GetPause() uint32
- func (*ScheduleJobTrigger_IntervalTrigger) ProtoMessage()
- func (x *ScheduleJobTrigger_IntervalTrigger) ProtoReflect() protoreflect.Message
- func (x *ScheduleJobTrigger_IntervalTrigger) Reset()
- func (x *ScheduleJobTrigger_IntervalTrigger) String() string
- type ScheduleJobTrigger_Nightly
- type ScheduleJobTrigger_NightlyTrigger
- func (*ScheduleJobTrigger_NightlyTrigger) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduleJobTrigger_NightlyTrigger) GetHour() uint32
- func (*ScheduleJobTrigger_NightlyTrigger) ProtoMessage()
- func (x *ScheduleJobTrigger_NightlyTrigger) ProtoReflect() protoreflect.Message
- func (x *ScheduleJobTrigger_NightlyTrigger) Reset()
- func (x *ScheduleJobTrigger_NightlyTrigger) String() string
- type ScheduleJobTrigger_Weekly
- type ScheduleJobTrigger_WeeklyTrigger
- func (*ScheduleJobTrigger_WeeklyTrigger) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduleJobTrigger_WeeklyTrigger) GetDay() uint32
- func (*ScheduleJobTrigger_WeeklyTrigger) ProtoMessage()
- func (x *ScheduleJobTrigger_WeeklyTrigger) ProtoReflect() protoreflect.Message
- func (x *ScheduleJobTrigger_WeeklyTrigger) Reset()
- func (x *ScheduleJobTrigger_WeeklyTrigger) String() string
- type ScheduleJob_Justification
- type ScheduleJob_QueuedTaskId
Constants ¶
This section is empty.
Variables ¶
var ( BranchFilter_Channel_name = map[int32]string{ 0: "BRANCH_REF_NOT_SET", 1: "MASTER", 2: "DEV", 3: "BETA", 4: "STABLE", } BranchFilter_Channel_value = map[string]int32{ "BRANCH_REF_NOT_SET": 0, "MASTER": 1, "DEV": 2, "BETA": 3, "STABLE": 4, } )
Enum value maps for BranchFilter_Channel.
var ( BranchFilter_Operator_name = map[int32]string{ 0: "UNDEFINED", 1: "EQ", 2: "GE", 3: "LE", } BranchFilter_Operator_value = map[string]int32{ "UNDEFINED": 0, "EQ": 1, "GE": 2, "LE": 3, } )
Enum value maps for BranchFilter_Operator.
var File_test_platform_suite_scheduler_analytics_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BranchFilter ¶
type BranchFilter struct { Channel BranchFilter_Channel `protobuf:"varint,1,opt,name=channel,proto3,enum=test_platform.suite_scheduler.BranchFilter_Channel" json:"channel,omitempty"` Operator BranchFilter_Operator `` /* 127-byte string literal not displayed */ // Number of minor versions behind tip-of-tree on channel. Lag int32 `protobuf:"varint,3,opt,name=lag,proto3" json:"lag,omitempty"` // contains filtered or unexported fields }
BranchFilter is a combination of channel, operator and lag, e.g. a filter of the form ">=tot-2" is stated as { channel = MASTER; operator = GE; lag = 2; }; a filter of "==tot" is translated to { channel = MASTER; operator = EQ; lag = 0; }.
func (*BranchFilter) Descriptor
deprecated
func (*BranchFilter) Descriptor() ([]byte, []int)
Deprecated: Use BranchFilter.ProtoReflect.Descriptor instead.
func (*BranchFilter) GetChannel ¶
func (x *BranchFilter) GetChannel() BranchFilter_Channel
func (*BranchFilter) GetLag ¶
func (x *BranchFilter) GetLag() int32
func (*BranchFilter) GetOperator ¶
func (x *BranchFilter) GetOperator() BranchFilter_Operator
func (*BranchFilter) ProtoMessage ¶
func (*BranchFilter) ProtoMessage()
func (*BranchFilter) ProtoReflect ¶
func (x *BranchFilter) ProtoReflect() protoreflect.Message
func (*BranchFilter) Reset ¶
func (x *BranchFilter) Reset()
func (*BranchFilter) String ¶
func (x *BranchFilter) String() string
type BranchFilter_Channel ¶
type BranchFilter_Channel int32
const ( BranchFilter_BRANCH_REF_NOT_SET BranchFilter_Channel = 0 BranchFilter_MASTER BranchFilter_Channel = 1 BranchFilter_DEV BranchFilter_Channel = 2 BranchFilter_BETA BranchFilter_Channel = 3 BranchFilter_STABLE BranchFilter_Channel = 4 )
func (BranchFilter_Channel) Descriptor ¶
func (BranchFilter_Channel) Descriptor() protoreflect.EnumDescriptor
func (BranchFilter_Channel) Enum ¶
func (x BranchFilter_Channel) Enum() *BranchFilter_Channel
func (BranchFilter_Channel) EnumDescriptor
deprecated
func (BranchFilter_Channel) EnumDescriptor() ([]byte, []int)
Deprecated: Use BranchFilter_Channel.Descriptor instead.
func (BranchFilter_Channel) Number ¶
func (x BranchFilter_Channel) Number() protoreflect.EnumNumber
func (BranchFilter_Channel) String ¶
func (x BranchFilter_Channel) String() string
func (BranchFilter_Channel) Type ¶
func (BranchFilter_Channel) Type() protoreflect.EnumType
type BranchFilter_Operator ¶
type BranchFilter_Operator int32
const ( BranchFilter_UNDEFINED BranchFilter_Operator = 0 BranchFilter_EQ BranchFilter_Operator = 1 // "==" BranchFilter_GE BranchFilter_Operator = 2 // ">=" BranchFilter_LE BranchFilter_Operator = 3 // "<=" )
func (BranchFilter_Operator) Descriptor ¶
func (BranchFilter_Operator) Descriptor() protoreflect.EnumDescriptor
func (BranchFilter_Operator) Enum ¶
func (x BranchFilter_Operator) Enum() *BranchFilter_Operator
func (BranchFilter_Operator) EnumDescriptor
deprecated
func (BranchFilter_Operator) EnumDescriptor() ([]byte, []int)
Deprecated: Use BranchFilter_Operator.Descriptor instead.
func (BranchFilter_Operator) Number ¶
func (x BranchFilter_Operator) Number() protoreflect.EnumNumber
func (BranchFilter_Operator) String ¶
func (x BranchFilter_Operator) String() string
func (BranchFilter_Operator) Type ¶
func (BranchFilter_Operator) Type() protoreflect.EnumType
type BuildFilters ¶
type BuildFilters struct { // If true, use the relax_builds. OnlyHwtestSanityRequired bool `` /* 138-byte string literal not displayed */ // BranchFilter defines the target branch of the new build. // Note, the final result is "AND" of each single filter. BranchFilters []*BranchFilter `protobuf:"bytes,2,rep,name=branch_filters,json=branchFilters,proto3" json:"branch_filters,omitempty"` // The firmware build type, e.g., "RELEASE" or "FIRMWARE". Note, // in suite scheduler, "cros" = "RELEASE". FirmwareRoBuildSpec chromiumos.Branch_BranchType `` /* 157-byte string literal not displayed */ FirmwareRwBuildSpec chromiumos.Branch_BranchType `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
BuildFilters defines on which build to run a suite test.
func (*BuildFilters) Descriptor
deprecated
func (*BuildFilters) Descriptor() ([]byte, []int)
Deprecated: Use BuildFilters.ProtoReflect.Descriptor instead.
func (*BuildFilters) GetBranchFilters ¶
func (x *BuildFilters) GetBranchFilters() []*BranchFilter
func (*BuildFilters) GetFirmwareRoBuildSpec ¶
func (x *BuildFilters) GetFirmwareRoBuildSpec() chromiumos.Branch_BranchType
func (*BuildFilters) GetFirmwareRwBuildSpec ¶
func (x *BuildFilters) GetFirmwareRwBuildSpec() chromiumos.Branch_BranchType
func (*BuildFilters) GetOnlyHwtestSanityRequired ¶
func (x *BuildFilters) GetOnlyHwtestSanityRequired() bool
func (*BuildFilters) ProtoMessage ¶
func (*BuildFilters) ProtoMessage()
func (*BuildFilters) ProtoReflect ¶
func (x *BuildFilters) ProtoReflect() protoreflect.Message
func (*BuildFilters) Reset ¶
func (x *BuildFilters) Reset()
func (*BuildFilters) String ¶
func (x *BuildFilters) String() string
type BuildInfo ¶
type BuildInfo struct { // The name of the build target (a.k.a. board name), e.g., "gale", "eve". BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,1,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"` // The milestone number (e.g. 73). Milestone uint32 `protobuf:"varint,2,opt,name=milestone,proto3" json:"milestone,omitempty"` // The chrome os version (e.g. "12240.0.0" or ""). ChromeOsVersion string `protobuf:"bytes,3,opt,name=chrome_os_version,json=chromeOsVersion,proto3" json:"chrome_os_version,omitempty"` // Build type with the board name as the prefix, e.g. // "RELEASE" or "FIRMWARE". Type chromiumos.Branch_BranchType `protobuf:"varint,4,opt,name=type,proto3,enum=chromiumos.Branch_BranchType" json:"type,omitempty"` // contains filtered or unexported fields }
The build information queried from BuildBucket DB.
func (*BuildInfo) Descriptor
deprecated
func (*BuildInfo) GetBuildTarget ¶
func (x *BuildInfo) GetBuildTarget() *chromiumos.BuildTarget
func (*BuildInfo) GetChromeOsVersion ¶
func (*BuildInfo) GetMilestone ¶
func (*BuildInfo) GetType ¶
func (x *BuildInfo) GetType() chromiumos.Branch_BranchType
func (*BuildInfo) ProtoMessage ¶
func (*BuildInfo) ProtoMessage()
func (*BuildInfo) ProtoReflect ¶
func (x *BuildInfo) ProtoReflect() protoreflect.Message
type ExecutionError ¶
type ExecutionError struct { ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
The error message received from cros_test_platform.
func (*ExecutionError) Descriptor
deprecated
func (*ExecutionError) Descriptor() ([]byte, []int)
Deprecated: Use ExecutionError.ProtoReflect.Descriptor instead.
func (*ExecutionError) GetErrorMessage ¶
func (x *ExecutionError) GetErrorMessage() string
func (*ExecutionError) ProtoMessage ¶
func (*ExecutionError) ProtoMessage()
func (*ExecutionError) ProtoReflect ¶
func (x *ExecutionError) ProtoReflect() protoreflect.Message
func (*ExecutionError) Reset ¶
func (x *ExecutionError) Reset()
func (*ExecutionError) String ¶
func (x *ExecutionError) String() string
type ExecutionResponse ¶
type ExecutionResponse struct { // build id used in cros_test_platform. CtpBuildId string `protobuf:"bytes,1,opt,name=ctp_build_id,json=ctpBuildId,proto3" json:"ctp_build_id,omitempty"` // contains filtered or unexported fields }
The response received from cros_test_platform.
func (*ExecutionResponse) Descriptor
deprecated
func (*ExecutionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecutionResponse.ProtoReflect.Descriptor instead.
func (*ExecutionResponse) GetCtpBuildId ¶
func (x *ExecutionResponse) GetCtpBuildId() string
func (*ExecutionResponse) ProtoMessage ¶
func (*ExecutionResponse) ProtoMessage()
func (*ExecutionResponse) ProtoReflect ¶
func (x *ExecutionResponse) ProtoReflect() protoreflect.Message
func (*ExecutionResponse) Reset ¶
func (x *ExecutionResponse) Reset()
func (*ExecutionResponse) String ¶
func (x *ExecutionResponse) String() string
type ExecutionTask ¶
type ExecutionTask struct { // The ID used in JobResult, to track suite's execution. QueuedTaskId string `protobuf:"bytes,1,opt,name=queued_task_id,json=queuedTaskId,proto3" json:"queued_task_id,omitempty"` // The scheduling result from cros_test_platform, either a build id // error message. // // Types that are assignable to Result: // *ExecutionTask_Response // *ExecutionTask_Error Result isExecutionTask_Result `protobuf_oneof:"result"` // Request sent time in UTC. RequestSent *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=request_sent,json=requestSent,proto3" json:"request_sent,omitempty"` // The CTP request tag for grouping several ScheduleJobs into // a multiple CTP request. RequestTag string `protobuf:"bytes,5,opt,name=request_tag,json=requestTag,proto3" json:"request_tag,omitempty"` // contains filtered or unexported fields }
ExecutionTask bridges suite scheduler and cros_test_platform. With it, we could track the execution reuslt for a scheduled test.
func (*ExecutionTask) Descriptor
deprecated
func (*ExecutionTask) Descriptor() ([]byte, []int)
Deprecated: Use ExecutionTask.ProtoReflect.Descriptor instead.
func (*ExecutionTask) GetError ¶
func (x *ExecutionTask) GetError() *ExecutionError
func (*ExecutionTask) GetQueuedTaskId ¶
func (x *ExecutionTask) GetQueuedTaskId() string
func (*ExecutionTask) GetRequestSent ¶
func (x *ExecutionTask) GetRequestSent() *timestamppb.Timestamp
func (*ExecutionTask) GetRequestTag ¶
func (x *ExecutionTask) GetRequestTag() string
func (*ExecutionTask) GetResponse ¶
func (x *ExecutionTask) GetResponse() *ExecutionResponse
func (*ExecutionTask) GetResult ¶
func (m *ExecutionTask) GetResult() isExecutionTask_Result
func (*ExecutionTask) ProtoMessage ¶
func (*ExecutionTask) ProtoMessage()
func (*ExecutionTask) ProtoReflect ¶
func (x *ExecutionTask) ProtoReflect() protoreflect.Message
func (*ExecutionTask) Reset ¶
func (x *ExecutionTask) Reset()
func (*ExecutionTask) String ¶
func (x *ExecutionTask) String() string
type ExecutionTask_Error ¶
type ExecutionTask_Error struct {
Error *ExecutionError `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}
type ExecutionTask_Response ¶
type ExecutionTask_Response struct {
Response *ExecutionResponse `protobuf:"bytes,2,opt,name=response,proto3,oneof"`
}
type FirmwareBuildInfo ¶
type FirmwareBuildInfo struct { // Board name. BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,1,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"` // Build type, "RELEASE" or "FIRMWARE". Each has different form of // artifacts. Type chromiumos.Branch_BranchType `protobuf:"varint,2,opt,name=type,proto3,enum=chromiumos.Branch_BranchType" json:"type,omitempty"` // Relative path to the artifact file, e.g. // "firmware-board-12345.67.B-firmwarebranch/RFoo-1.0.0-b1e234567/board" // for firmware type or "board-release/R81-12766.0.0" for release type. Artifact *api.Artifact `protobuf:"bytes,3,opt,name=artifact,proto3" json:"artifact,omitempty"` // contains filtered or unexported fields }
The firmware build information queried from BuildBucket DB.
func (*FirmwareBuildInfo) Descriptor
deprecated
func (*FirmwareBuildInfo) Descriptor() ([]byte, []int)
Deprecated: Use FirmwareBuildInfo.ProtoReflect.Descriptor instead.
func (*FirmwareBuildInfo) GetArtifact ¶
func (x *FirmwareBuildInfo) GetArtifact() *api.Artifact
func (*FirmwareBuildInfo) GetBuildTarget ¶
func (x *FirmwareBuildInfo) GetBuildTarget() *chromiumos.BuildTarget
func (*FirmwareBuildInfo) GetType ¶
func (x *FirmwareBuildInfo) GetType() chromiumos.Branch_BranchType
func (*FirmwareBuildInfo) ProtoMessage ¶
func (*FirmwareBuildInfo) ProtoMessage()
func (*FirmwareBuildInfo) ProtoReflect ¶
func (x *FirmwareBuildInfo) ProtoReflect() protoreflect.Message
func (*FirmwareBuildInfo) Reset ¶
func (x *FirmwareBuildInfo) Reset()
func (*FirmwareBuildInfo) String ¶
func (x *FirmwareBuildInfo) String() string
type ScheduleJob ¶
type ScheduleJob struct { // Model. Model *device.ModelId `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // Board. BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,2,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"` // Types that are assignable to Result: // *ScheduleJob_QueuedTaskId // *ScheduleJob_Justification Result isScheduleJob_Result `protobuf_oneof:"result"` // Result generated time in UTC. GeneratedTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=generated_time,json=generatedTime,proto3" json:"generated_time,omitempty"` // contains filtered or unexported fields }
ScheduleJob represents the schedule result for a specific board and model.
func (*ScheduleJob) Descriptor
deprecated
func (*ScheduleJob) Descriptor() ([]byte, []int)
Deprecated: Use ScheduleJob.ProtoReflect.Descriptor instead.
func (*ScheduleJob) GetBuildTarget ¶
func (x *ScheduleJob) GetBuildTarget() *chromiumos.BuildTarget
func (*ScheduleJob) GetGeneratedTime ¶
func (x *ScheduleJob) GetGeneratedTime() *timestamppb.Timestamp
func (*ScheduleJob) GetJustification ¶
func (x *ScheduleJob) GetJustification() string
func (*ScheduleJob) GetModel ¶
func (x *ScheduleJob) GetModel() *device.ModelId
func (*ScheduleJob) GetQueuedTaskId ¶
func (x *ScheduleJob) GetQueuedTaskId() string
func (*ScheduleJob) GetResult ¶
func (m *ScheduleJob) GetResult() isScheduleJob_Result
func (*ScheduleJob) ProtoMessage ¶
func (*ScheduleJob) ProtoMessage()
func (*ScheduleJob) ProtoReflect ¶
func (x *ScheduleJob) ProtoReflect() protoreflect.Message
func (*ScheduleJob) Reset ¶
func (x *ScheduleJob) Reset()
func (*ScheduleJob) String ¶
func (x *ScheduleJob) String() string
type ScheduleJobSection ¶
type ScheduleJobSection struct { // job_name is the name of a schedule request defined in config, // e.g. “CrosAVAnalysis”. JobName string `protobuf:"bytes,1,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"` // Trigger to run jobs under this section. ScheduleJobTrigger *ScheduleJobTrigger `protobuf:"bytes,2,opt,name=schedule_job_trigger,json=scheduleJobTrigger,proto3" json:"schedule_job_trigger,omitempty"` // Specific models to run this suite. Models []*device.ModelId `protobuf:"bytes,3,rep,name=models,proto3" json:"models,omitempty"` // Specific boards to run this suite. BuildTargets []*chromiumos.BuildTarget `protobuf:"bytes,4,rep,name=build_targets,json=buildTargets,proto3" json:"build_targets,omitempty"` MatchedBuilds []*ScheduleJobSection_MatchedBuild `protobuf:"bytes,5,rep,name=matched_builds,json=matchedBuilds,proto3" json:"matched_builds,omitempty"` // Jobs in this section. ScheduleJobs []*ScheduleJob `protobuf:"bytes,6,rep,name=schedule_jobs,json=scheduleJobs,proto3" json:"schedule_jobs,omitempty"` // The pool to run jobs in this section. Pool string `protobuf:"bytes,7,opt,name=pool,proto3" json:"pool,omitempty"` // The suite name this section to execute. Suite string `protobuf:"bytes,8,opt,name=suite,proto3" json:"suite,omitempty"` // contains filtered or unexported fields }
ScheduleJobSection represents a schedule request configured in suite_scheduler.ini. Varying boards and models, a job section can have multiple suite tests scheduled.
func (*ScheduleJobSection) Descriptor
deprecated
func (*ScheduleJobSection) Descriptor() ([]byte, []int)
Deprecated: Use ScheduleJobSection.ProtoReflect.Descriptor instead.
func (*ScheduleJobSection) GetBuildTargets ¶
func (x *ScheduleJobSection) GetBuildTargets() []*chromiumos.BuildTarget
func (*ScheduleJobSection) GetJobName ¶
func (x *ScheduleJobSection) GetJobName() string
func (*ScheduleJobSection) GetMatchedBuilds ¶
func (x *ScheduleJobSection) GetMatchedBuilds() []*ScheduleJobSection_MatchedBuild
func (*ScheduleJobSection) GetModels ¶
func (x *ScheduleJobSection) GetModels() []*device.ModelId
func (*ScheduleJobSection) GetPool ¶
func (x *ScheduleJobSection) GetPool() string
func (*ScheduleJobSection) GetScheduleJobTrigger ¶
func (x *ScheduleJobSection) GetScheduleJobTrigger() *ScheduleJobTrigger
func (*ScheduleJobSection) GetScheduleJobs ¶
func (x *ScheduleJobSection) GetScheduleJobs() []*ScheduleJob
func (*ScheduleJobSection) GetSuite ¶
func (x *ScheduleJobSection) GetSuite() string
func (*ScheduleJobSection) ProtoMessage ¶
func (*ScheduleJobSection) ProtoMessage()
func (*ScheduleJobSection) ProtoReflect ¶
func (x *ScheduleJobSection) ProtoReflect() protoreflect.Message
func (*ScheduleJobSection) Reset ¶
func (x *ScheduleJobSection) Reset()
func (*ScheduleJobSection) String ¶
func (x *ScheduleJobSection) String() string
type ScheduleJobSection_MatchedBuild ¶
type ScheduleJobSection_MatchedBuild struct { // Types that are assignable to CrosBuild: // *ScheduleJobSection_MatchedBuild_ReleaseBuild // *ScheduleJobSection_MatchedBuild_RelaxBuild // *ScheduleJobSection_MatchedBuild_FirmwareRoBuild // *ScheduleJobSection_MatchedBuild_FirmwareRwBuild CrosBuild isScheduleJobSection_MatchedBuild_CrosBuild `protobuf_oneof:"cros_build"` // contains filtered or unexported fields }
The build matched with this job section on BuildTarget and BuildFilters.
func (*ScheduleJobSection_MatchedBuild) Descriptor
deprecated
func (*ScheduleJobSection_MatchedBuild) Descriptor() ([]byte, []int)
Deprecated: Use ScheduleJobSection_MatchedBuild.ProtoReflect.Descriptor instead.
func (*ScheduleJobSection_MatchedBuild) GetCrosBuild ¶
func (m *ScheduleJobSection_MatchedBuild) GetCrosBuild() isScheduleJobSection_MatchedBuild_CrosBuild
func (*ScheduleJobSection_MatchedBuild) GetFirmwareRoBuild ¶
func (x *ScheduleJobSection_MatchedBuild) GetFirmwareRoBuild() *FirmwareBuildInfo
func (*ScheduleJobSection_MatchedBuild) GetFirmwareRwBuild ¶
func (x *ScheduleJobSection_MatchedBuild) GetFirmwareRwBuild() *FirmwareBuildInfo
func (*ScheduleJobSection_MatchedBuild) GetRelaxBuild ¶
func (x *ScheduleJobSection_MatchedBuild) GetRelaxBuild() *BuildInfo
func (*ScheduleJobSection_MatchedBuild) GetReleaseBuild ¶
func (x *ScheduleJobSection_MatchedBuild) GetReleaseBuild() *BuildInfo
func (*ScheduleJobSection_MatchedBuild) ProtoMessage ¶
func (*ScheduleJobSection_MatchedBuild) ProtoMessage()
func (*ScheduleJobSection_MatchedBuild) ProtoReflect ¶
func (x *ScheduleJobSection_MatchedBuild) ProtoReflect() protoreflect.Message
func (*ScheduleJobSection_MatchedBuild) Reset ¶
func (x *ScheduleJobSection_MatchedBuild) Reset()
func (*ScheduleJobSection_MatchedBuild) String ¶
func (x *ScheduleJobSection_MatchedBuild) String() string
type ScheduleJobSection_MatchedBuild_FirmwareRoBuild ¶
type ScheduleJobSection_MatchedBuild_FirmwareRoBuild struct { // The firmware build information. FirmwareRoBuild *FirmwareBuildInfo `protobuf:"bytes,3,opt,name=firmware_ro_build,json=firmwareRoBuild,proto3,oneof"` }
type ScheduleJobSection_MatchedBuild_FirmwareRwBuild ¶
type ScheduleJobSection_MatchedBuild_FirmwareRwBuild struct {
FirmwareRwBuild *FirmwareBuildInfo `protobuf:"bytes,4,opt,name=firmware_rw_build,json=firmwareRwBuild,proto3,oneof"`
}
type ScheduleJobSection_MatchedBuild_RelaxBuild ¶
type ScheduleJobSection_MatchedBuild_RelaxBuild struct { // relax_builds are the builds failed but met the relaxed success // requirement. Relax builds are for the suite job configured // "only_hwtest_sanity_required: True". RelaxBuild *BuildInfo `protobuf:"bytes,2,opt,name=relax_build,json=relaxBuild,proto3,oneof"` }
type ScheduleJobSection_MatchedBuild_ReleaseBuild ¶
type ScheduleJobSection_MatchedBuild_ReleaseBuild struct { // The release build information. ReleaseBuild *BuildInfo `protobuf:"bytes,1,opt,name=release_build,json=releaseBuild,proto3,oneof"` }
type ScheduleJobTrigger ¶
type ScheduleJobTrigger struct { // Types that are assignable to Trigger: // *ScheduleJobTrigger_Weekly // *ScheduleJobTrigger_Nightly // *ScheduleJobTrigger_Interval Trigger isScheduleJobTrigger_Trigger `protobuf_oneof:"trigger"` BuildFilters *BuildFilters `protobuf:"bytes,4,opt,name=build_filters,json=buildFilters,proto3" json:"build_filters,omitempty"` // contains filtered or unexported fields }
ScheduleJobTrigger defines the trigger to kick off a suite test.
func (*ScheduleJobTrigger) Descriptor
deprecated
func (*ScheduleJobTrigger) Descriptor() ([]byte, []int)
Deprecated: Use ScheduleJobTrigger.ProtoReflect.Descriptor instead.
func (*ScheduleJobTrigger) GetBuildFilters ¶
func (x *ScheduleJobTrigger) GetBuildFilters() *BuildFilters
func (*ScheduleJobTrigger) GetInterval ¶
func (x *ScheduleJobTrigger) GetInterval() *ScheduleJobTrigger_IntervalTrigger
func (*ScheduleJobTrigger) GetNightly ¶
func (x *ScheduleJobTrigger) GetNightly() *ScheduleJobTrigger_NightlyTrigger
func (*ScheduleJobTrigger) GetTrigger ¶
func (m *ScheduleJobTrigger) GetTrigger() isScheduleJobTrigger_Trigger
func (*ScheduleJobTrigger) GetWeekly ¶
func (x *ScheduleJobTrigger) GetWeekly() *ScheduleJobTrigger_WeeklyTrigger
func (*ScheduleJobTrigger) ProtoMessage ¶
func (*ScheduleJobTrigger) ProtoMessage()
func (*ScheduleJobTrigger) ProtoReflect ¶
func (x *ScheduleJobTrigger) ProtoReflect() protoreflect.Message
func (*ScheduleJobTrigger) Reset ¶
func (x *ScheduleJobTrigger) Reset()
func (*ScheduleJobTrigger) String ¶
func (x *ScheduleJobTrigger) String() string
type ScheduleJobTrigger_Interval ¶
type ScheduleJobTrigger_Interval struct { // TODO: This feature is not implemented to suite scheduler yet. So // if IntervalTrigger is configured, pause should be zero all the time. Interval *ScheduleJobTrigger_IntervalTrigger `protobuf:"bytes,3,opt,name=interval,proto3,oneof"` }
type ScheduleJobTrigger_IntervalTrigger ¶
type ScheduleJobTrigger_IntervalTrigger struct { // pause represents the number of times scheduler skips this job // once the job completed. If pause is zero, we pick this job // whenever scheduler is kicked off. Pause uint32 `protobuf:"varint,1,opt,name=pause,proto3" json:"pause,omitempty"` // contains filtered or unexported fields }
IntervalTrigger is for the suite test running every N times the scheduler operates.
func (*ScheduleJobTrigger_IntervalTrigger) Descriptor
deprecated
func (*ScheduleJobTrigger_IntervalTrigger) Descriptor() ([]byte, []int)
Deprecated: Use ScheduleJobTrigger_IntervalTrigger.ProtoReflect.Descriptor instead.
func (*ScheduleJobTrigger_IntervalTrigger) GetPause ¶
func (x *ScheduleJobTrigger_IntervalTrigger) GetPause() uint32
func (*ScheduleJobTrigger_IntervalTrigger) ProtoMessage ¶
func (*ScheduleJobTrigger_IntervalTrigger) ProtoMessage()
func (*ScheduleJobTrigger_IntervalTrigger) ProtoReflect ¶
func (x *ScheduleJobTrigger_IntervalTrigger) ProtoReflect() protoreflect.Message
func (*ScheduleJobTrigger_IntervalTrigger) Reset ¶
func (x *ScheduleJobTrigger_IntervalTrigger) Reset()
func (*ScheduleJobTrigger_IntervalTrigger) String ¶
func (x *ScheduleJobTrigger_IntervalTrigger) String() string
type ScheduleJobTrigger_Nightly ¶
type ScheduleJobTrigger_Nightly struct {
Nightly *ScheduleJobTrigger_NightlyTrigger `protobuf:"bytes,2,opt,name=nightly,proto3,oneof"`
}
type ScheduleJobTrigger_NightlyTrigger ¶
type ScheduleJobTrigger_NightlyTrigger struct { Hour uint32 `protobuf:"varint,1,opt,name=hour,proto3" json:"hour,omitempty"` // contains filtered or unexported fields }
NightlyTrigger is for the suite test running every day. "hour" is from 0 to 23.
func (*ScheduleJobTrigger_NightlyTrigger) Descriptor
deprecated
func (*ScheduleJobTrigger_NightlyTrigger) Descriptor() ([]byte, []int)
Deprecated: Use ScheduleJobTrigger_NightlyTrigger.ProtoReflect.Descriptor instead.
func (*ScheduleJobTrigger_NightlyTrigger) GetHour ¶
func (x *ScheduleJobTrigger_NightlyTrigger) GetHour() uint32
func (*ScheduleJobTrigger_NightlyTrigger) ProtoMessage ¶
func (*ScheduleJobTrigger_NightlyTrigger) ProtoMessage()
func (*ScheduleJobTrigger_NightlyTrigger) ProtoReflect ¶
func (x *ScheduleJobTrigger_NightlyTrigger) ProtoReflect() protoreflect.Message
func (*ScheduleJobTrigger_NightlyTrigger) Reset ¶
func (x *ScheduleJobTrigger_NightlyTrigger) Reset()
func (*ScheduleJobTrigger_NightlyTrigger) String ¶
func (x *ScheduleJobTrigger_NightlyTrigger) String() string
type ScheduleJobTrigger_Weekly ¶
type ScheduleJobTrigger_Weekly struct {
Weekly *ScheduleJobTrigger_WeeklyTrigger `protobuf:"bytes,1,opt,name=weekly,proto3,oneof"`
}
type ScheduleJobTrigger_WeeklyTrigger ¶
type ScheduleJobTrigger_WeeklyTrigger struct { Day uint32 `protobuf:"varint,1,opt,name=day,proto3" json:"day,omitempty"` // contains filtered or unexported fields }
WeeklyTrigger is for the suite test running every week. "day" is from 0 to 6.
func (*ScheduleJobTrigger_WeeklyTrigger) Descriptor
deprecated
func (*ScheduleJobTrigger_WeeklyTrigger) Descriptor() ([]byte, []int)
Deprecated: Use ScheduleJobTrigger_WeeklyTrigger.ProtoReflect.Descriptor instead.
func (*ScheduleJobTrigger_WeeklyTrigger) GetDay ¶
func (x *ScheduleJobTrigger_WeeklyTrigger) GetDay() uint32
func (*ScheduleJobTrigger_WeeklyTrigger) ProtoMessage ¶
func (*ScheduleJobTrigger_WeeklyTrigger) ProtoMessage()
func (*ScheduleJobTrigger_WeeklyTrigger) ProtoReflect ¶
func (x *ScheduleJobTrigger_WeeklyTrigger) ProtoReflect() protoreflect.Message
func (*ScheduleJobTrigger_WeeklyTrigger) Reset ¶
func (x *ScheduleJobTrigger_WeeklyTrigger) Reset()
func (*ScheduleJobTrigger_WeeklyTrigger) String ¶
func (x *ScheduleJobTrigger_WeeklyTrigger) String() string
type ScheduleJob_Justification ¶
type ScheduleJob_Justification struct { // If the job failed to schedule a suite test, clarify the reason. Justification string `protobuf:"bytes,4,opt,name=justification,proto3,oneof"` }
type ScheduleJob_QueuedTaskId ¶
type ScheduleJob_QueuedTaskId struct { // If this job qualifies to kick off a suite test, suite scheduler // creates a task to the task-queue and assigns an ID for tracking // the execution. QueuedTaskId string `protobuf:"bytes,3,opt,name=queued_task_id,json=queuedTaskId,proto3,oneof"` }