proto: go.chromium.org/chromiumos/infra/proto/go/test_platform/suite_scheduler Index | Files

package suite_scheduler

import "go.chromium.org/chromiumos/infra/proto/go/test_platform/suite_scheduler"

Index

Package Files

analytics.pb.go

Variables

var BranchFilter_Channel_name = map[int32]string{
    0:  "BRANCH_REF_NOT_SET",
    1:  "MASTER",
    2:  "DEV",
    3:  "BETA",
    4:  "STABLE",
}
var BranchFilter_Channel_value = map[string]int32{
    "BRANCH_REF_NOT_SET": 0,
    "MASTER":             1,
    "DEV":                2,
    "BETA":               3,
    "STABLE":             4,
}
var BranchFilter_Operator_name = map[int32]string{
    0:  "UNDEFINED",
    1:  "EQ",
    2:  "GE",
    3:  "LE",
}
var BranchFilter_Operator_value = map[string]int32{
    "UNDEFINED": 0,
    "EQ":        1,
    "GE":        2,
    "LE":        3,
}

type BranchFilter Uses

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 `protobuf:"varint,2,opt,name=operator,proto3,enum=test_platform.suite_scheduler.BranchFilter_Operator" json:"operator,omitempty"`
    // Number of minor versions behind tip-of-tree on channel.
    Lag                  int32    `protobuf:"varint,3,opt,name=lag,proto3" json:"lag,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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 Uses

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

func (*BranchFilter) GetChannel Uses

func (m *BranchFilter) GetChannel() BranchFilter_Channel

func (*BranchFilter) GetLag Uses

func (m *BranchFilter) GetLag() int32

func (*BranchFilter) GetOperator Uses

func (m *BranchFilter) GetOperator() BranchFilter_Operator

func (*BranchFilter) ProtoMessage Uses

func (*BranchFilter) ProtoMessage()

func (*BranchFilter) Reset Uses

func (m *BranchFilter) Reset()

func (*BranchFilter) String Uses

func (m *BranchFilter) String() string

func (*BranchFilter) XXX_DiscardUnknown Uses

func (m *BranchFilter) XXX_DiscardUnknown()

func (*BranchFilter) XXX_Marshal Uses

func (m *BranchFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BranchFilter) XXX_Merge Uses

func (m *BranchFilter) XXX_Merge(src proto.Message)

func (*BranchFilter) XXX_Size Uses

func (m *BranchFilter) XXX_Size() int

func (*BranchFilter) XXX_Unmarshal Uses

func (m *BranchFilter) XXX_Unmarshal(b []byte) error

type BranchFilter_Channel Uses

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) EnumDescriptor Uses

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

func (BranchFilter_Channel) String Uses

func (x BranchFilter_Channel) String() string

type BranchFilter_Operator Uses

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) EnumDescriptor Uses

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

func (BranchFilter_Operator) String Uses

func (x BranchFilter_Operator) String() string

type BuildFilters Uses

type BuildFilters struct {
    // If true, use the relax_builds.
    OnlyHwtestSanityRequired bool `protobuf:"varint,1,opt,name=only_hwtest_sanity_required,json=onlyHwtestSanityRequired,proto3" json:"only_hwtest_sanity_required,omitempty"`
    // 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 `protobuf:"varint,3,opt,name=firmware_ro_build_spec,json=firmwareRoBuildSpec,proto3,enum=chromiumos.Branch_BranchType" json:"firmware_ro_build_spec,omitempty"`
    FirmwareRwBuildSpec  chromiumos.Branch_BranchType `protobuf:"varint,4,opt,name=firmware_rw_build_spec,json=firmwareRwBuildSpec,proto3,enum=chromiumos.Branch_BranchType" json:"firmware_rw_build_spec,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
    XXX_unrecognized     []byte                       `json:"-"`
    XXX_sizecache        int32                        `json:"-"`
}

BuildFilters defines on which build to run a suite test.

func (*BuildFilters) Descriptor Uses

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

func (*BuildFilters) GetBranchFilters Uses

func (m *BuildFilters) GetBranchFilters() []*BranchFilter

func (*BuildFilters) GetFirmwareRoBuildSpec Uses

func (m *BuildFilters) GetFirmwareRoBuildSpec() chromiumos.Branch_BranchType

func (*BuildFilters) GetFirmwareRwBuildSpec Uses

func (m *BuildFilters) GetFirmwareRwBuildSpec() chromiumos.Branch_BranchType

func (*BuildFilters) GetOnlyHwtestSanityRequired Uses

func (m *BuildFilters) GetOnlyHwtestSanityRequired() bool

func (*BuildFilters) ProtoMessage Uses

func (*BuildFilters) ProtoMessage()

func (*BuildFilters) Reset Uses

func (m *BuildFilters) Reset()

func (*BuildFilters) String Uses

func (m *BuildFilters) String() string

func (*BuildFilters) XXX_DiscardUnknown Uses

func (m *BuildFilters) XXX_DiscardUnknown()

func (*BuildFilters) XXX_Marshal Uses

func (m *BuildFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildFilters) XXX_Merge Uses

func (m *BuildFilters) XXX_Merge(src proto.Message)

func (*BuildFilters) XXX_Size Uses

func (m *BuildFilters) XXX_Size() int

func (*BuildFilters) XXX_Unmarshal Uses

func (m *BuildFilters) XXX_Unmarshal(b []byte) error

type BuildInfo Uses

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"`
    XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
    XXX_unrecognized     []byte                       `json:"-"`
    XXX_sizecache        int32                        `json:"-"`
}

The build information queried from BuildBucket DB.

func (*BuildInfo) Descriptor Uses

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

func (*BuildInfo) GetBuildTarget Uses

func (m *BuildInfo) GetBuildTarget() *chromiumos.BuildTarget

func (*BuildInfo) GetChromeOsVersion Uses

func (m *BuildInfo) GetChromeOsVersion() string

func (*BuildInfo) GetMilestone Uses

func (m *BuildInfo) GetMilestone() uint32

func (*BuildInfo) GetType Uses

func (m *BuildInfo) GetType() chromiumos.Branch_BranchType

func (*BuildInfo) ProtoMessage Uses

func (*BuildInfo) ProtoMessage()

func (*BuildInfo) Reset Uses

func (m *BuildInfo) Reset()

func (*BuildInfo) String Uses

func (m *BuildInfo) String() string

func (*BuildInfo) XXX_DiscardUnknown Uses

func (m *BuildInfo) XXX_DiscardUnknown()

func (*BuildInfo) XXX_Marshal Uses

func (m *BuildInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildInfo) XXX_Merge Uses

func (m *BuildInfo) XXX_Merge(src proto.Message)

func (*BuildInfo) XXX_Size Uses

func (m *BuildInfo) XXX_Size() int

func (*BuildInfo) XXX_Unmarshal Uses

func (m *BuildInfo) XXX_Unmarshal(b []byte) error

type ExecutionError Uses

type ExecutionError struct {
    ErrorMessage         string   `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The error message received from cros_test_platform.

func (*ExecutionError) Descriptor Uses

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

func (*ExecutionError) GetErrorMessage Uses

func (m *ExecutionError) GetErrorMessage() string

func (*ExecutionError) ProtoMessage Uses

func (*ExecutionError) ProtoMessage()

func (*ExecutionError) Reset Uses

func (m *ExecutionError) Reset()

func (*ExecutionError) String Uses

func (m *ExecutionError) String() string

func (*ExecutionError) XXX_DiscardUnknown Uses

func (m *ExecutionError) XXX_DiscardUnknown()

func (*ExecutionError) XXX_Marshal Uses

func (m *ExecutionError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecutionError) XXX_Merge Uses

func (m *ExecutionError) XXX_Merge(src proto.Message)

func (*ExecutionError) XXX_Size Uses

func (m *ExecutionError) XXX_Size() int

func (*ExecutionError) XXX_Unmarshal Uses

func (m *ExecutionError) XXX_Unmarshal(b []byte) error

type ExecutionResponse Uses

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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The response received from cros_test_platform.

func (*ExecutionResponse) Descriptor Uses

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

func (*ExecutionResponse) GetCtpBuildId Uses

func (m *ExecutionResponse) GetCtpBuildId() string

func (*ExecutionResponse) ProtoMessage Uses

func (*ExecutionResponse) ProtoMessage()

func (*ExecutionResponse) Reset Uses

func (m *ExecutionResponse) Reset()

func (*ExecutionResponse) String Uses

func (m *ExecutionResponse) String() string

func (*ExecutionResponse) XXX_DiscardUnknown Uses

func (m *ExecutionResponse) XXX_DiscardUnknown()

func (*ExecutionResponse) XXX_Marshal Uses

func (m *ExecutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecutionResponse) XXX_Merge Uses

func (m *ExecutionResponse) XXX_Merge(src proto.Message)

func (*ExecutionResponse) XXX_Size Uses

func (m *ExecutionResponse) XXX_Size() int

func (*ExecutionResponse) XXX_Unmarshal Uses

func (m *ExecutionResponse) XXX_Unmarshal(b []byte) error

type ExecutionTask Uses

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 valid to be assigned to Result:
    //	*ExecutionTask_Response
    //	*ExecutionTask_Error
    Result isExecutionTask_Result `protobuf_oneof:"result"`
    // Request sent time in UTC.
    RequestSent          *timestamp.Timestamp `protobuf:"bytes,4,opt,name=request_sent,json=requestSent,proto3" json:"request_sent,omitempty"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

ExecutionTask bridges suite scheduler and cros_test_platform. With it, we could track the execution reuslt for a scheduled test.

func (*ExecutionTask) Descriptor Uses

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

func (*ExecutionTask) GetError Uses

func (m *ExecutionTask) GetError() *ExecutionError

func (*ExecutionTask) GetQueuedTaskId Uses

func (m *ExecutionTask) GetQueuedTaskId() string

func (*ExecutionTask) GetRequestSent Uses

func (m *ExecutionTask) GetRequestSent() *timestamp.Timestamp

func (*ExecutionTask) GetResponse Uses

func (m *ExecutionTask) GetResponse() *ExecutionResponse

func (*ExecutionTask) GetResult Uses

func (m *ExecutionTask) GetResult() isExecutionTask_Result

func (*ExecutionTask) ProtoMessage Uses

func (*ExecutionTask) ProtoMessage()

func (*ExecutionTask) Reset Uses

func (m *ExecutionTask) Reset()

func (*ExecutionTask) String Uses

func (m *ExecutionTask) String() string

func (*ExecutionTask) XXX_DiscardUnknown Uses

func (m *ExecutionTask) XXX_DiscardUnknown()

func (*ExecutionTask) XXX_Marshal Uses

func (m *ExecutionTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecutionTask) XXX_Merge Uses

func (m *ExecutionTask) XXX_Merge(src proto.Message)

func (*ExecutionTask) XXX_OneofWrappers Uses

func (*ExecutionTask) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ExecutionTask) XXX_Size Uses

func (m *ExecutionTask) XXX_Size() int

func (*ExecutionTask) XXX_Unmarshal Uses

func (m *ExecutionTask) XXX_Unmarshal(b []byte) error

type ExecutionTask_Error Uses

type ExecutionTask_Error struct {
    Error *ExecutionError `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

type ExecutionTask_Response Uses

type ExecutionTask_Response struct {
    Response *ExecutionResponse `protobuf:"bytes,2,opt,name=response,proto3,oneof"`
}

type FirmwareBuildInfo Uses

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"`
    XXX_NoUnkeyedLiteral struct{}      `json:"-"`
    XXX_unrecognized     []byte        `json:"-"`
    XXX_sizecache        int32         `json:"-"`
}

The firmware build information queried from BuildBucket DB.

func (*FirmwareBuildInfo) Descriptor Uses

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

func (*FirmwareBuildInfo) GetArtifact Uses

func (m *FirmwareBuildInfo) GetArtifact() *api.Artifact

func (*FirmwareBuildInfo) GetBuildTarget Uses

func (m *FirmwareBuildInfo) GetBuildTarget() *chromiumos.BuildTarget

func (*FirmwareBuildInfo) GetType Uses

func (m *FirmwareBuildInfo) GetType() chromiumos.Branch_BranchType

func (*FirmwareBuildInfo) ProtoMessage Uses

func (*FirmwareBuildInfo) ProtoMessage()

func (*FirmwareBuildInfo) Reset Uses

func (m *FirmwareBuildInfo) Reset()

func (*FirmwareBuildInfo) String Uses

func (m *FirmwareBuildInfo) String() string

func (*FirmwareBuildInfo) XXX_DiscardUnknown Uses

func (m *FirmwareBuildInfo) XXX_DiscardUnknown()

func (*FirmwareBuildInfo) XXX_Marshal Uses

func (m *FirmwareBuildInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FirmwareBuildInfo) XXX_Merge Uses

func (m *FirmwareBuildInfo) XXX_Merge(src proto.Message)

func (*FirmwareBuildInfo) XXX_Size Uses

func (m *FirmwareBuildInfo) XXX_Size() int

func (*FirmwareBuildInfo) XXX_Unmarshal Uses

func (m *FirmwareBuildInfo) XXX_Unmarshal(b []byte) error

type ScheduleJob Uses

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 valid to be assigned to Result:
    //	*ScheduleJob_QueuedTaskId
    //	*ScheduleJob_Justification
    Result isScheduleJob_Result `protobuf_oneof:"result"`
    // Result generated time in UTC.
    GeneratedTime        *timestamp.Timestamp `protobuf:"bytes,5,opt,name=generated_time,json=generatedTime,proto3" json:"generated_time,omitempty"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

ScheduleJob represents the schedule result for a specific board and model.

func (*ScheduleJob) Descriptor Uses

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

func (*ScheduleJob) GetBuildTarget Uses

func (m *ScheduleJob) GetBuildTarget() *chromiumos.BuildTarget

func (*ScheduleJob) GetGeneratedTime Uses

func (m *ScheduleJob) GetGeneratedTime() *timestamp.Timestamp

func (*ScheduleJob) GetJustification Uses

func (m *ScheduleJob) GetJustification() string

func (*ScheduleJob) GetModel Uses

func (m *ScheduleJob) GetModel() *device.ModelId

func (*ScheduleJob) GetQueuedTaskId Uses

func (m *ScheduleJob) GetQueuedTaskId() string

func (*ScheduleJob) GetResult Uses

func (m *ScheduleJob) GetResult() isScheduleJob_Result

func (*ScheduleJob) ProtoMessage Uses

func (*ScheduleJob) ProtoMessage()

func (*ScheduleJob) Reset Uses

func (m *ScheduleJob) Reset()

func (*ScheduleJob) String Uses

func (m *ScheduleJob) String() string

func (*ScheduleJob) XXX_DiscardUnknown Uses

func (m *ScheduleJob) XXX_DiscardUnknown()

func (*ScheduleJob) XXX_Marshal Uses

func (m *ScheduleJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScheduleJob) XXX_Merge Uses

func (m *ScheduleJob) XXX_Merge(src proto.Message)

func (*ScheduleJob) XXX_OneofWrappers Uses

func (*ScheduleJob) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ScheduleJob) XXX_Size Uses

func (m *ScheduleJob) XXX_Size() int

func (*ScheduleJob) XXX_Unmarshal Uses

func (m *ScheduleJob) XXX_Unmarshal(b []byte) error

type ScheduleJobSection Uses

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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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 Uses

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

func (*ScheduleJobSection) GetBuildTargets Uses

func (m *ScheduleJobSection) GetBuildTargets() []*chromiumos.BuildTarget

func (*ScheduleJobSection) GetJobName Uses

func (m *ScheduleJobSection) GetJobName() string

func (*ScheduleJobSection) GetMatchedBuilds Uses

func (m *ScheduleJobSection) GetMatchedBuilds() []*ScheduleJobSection_MatchedBuild

func (*ScheduleJobSection) GetModels Uses

func (m *ScheduleJobSection) GetModels() []*device.ModelId

func (*ScheduleJobSection) GetPool Uses

func (m *ScheduleJobSection) GetPool() string

func (*ScheduleJobSection) GetScheduleJobTrigger Uses

func (m *ScheduleJobSection) GetScheduleJobTrigger() *ScheduleJobTrigger

func (*ScheduleJobSection) GetScheduleJobs Uses

func (m *ScheduleJobSection) GetScheduleJobs() []*ScheduleJob

func (*ScheduleJobSection) GetSuite Uses

func (m *ScheduleJobSection) GetSuite() string

func (*ScheduleJobSection) ProtoMessage Uses

func (*ScheduleJobSection) ProtoMessage()

func (*ScheduleJobSection) Reset Uses

func (m *ScheduleJobSection) Reset()

func (*ScheduleJobSection) String Uses

func (m *ScheduleJobSection) String() string

func (*ScheduleJobSection) XXX_DiscardUnknown Uses

func (m *ScheduleJobSection) XXX_DiscardUnknown()

func (*ScheduleJobSection) XXX_Marshal Uses

func (m *ScheduleJobSection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScheduleJobSection) XXX_Merge Uses

func (m *ScheduleJobSection) XXX_Merge(src proto.Message)

func (*ScheduleJobSection) XXX_Size Uses

func (m *ScheduleJobSection) XXX_Size() int

func (*ScheduleJobSection) XXX_Unmarshal Uses

func (m *ScheduleJobSection) XXX_Unmarshal(b []byte) error

type ScheduleJobSection_MatchedBuild Uses

type ScheduleJobSection_MatchedBuild struct {
    // Types that are valid to be assigned to CrosBuild:
    //	*ScheduleJobSection_MatchedBuild_ReleaseBuild
    //	*ScheduleJobSection_MatchedBuild_RelaxBuild
    //	*ScheduleJobSection_MatchedBuild_FirmwareRoBuild
    //	*ScheduleJobSection_MatchedBuild_FirmwareRwBuild
    CrosBuild            isScheduleJobSection_MatchedBuild_CrosBuild `protobuf_oneof:"cros_build"`
    XXX_NoUnkeyedLiteral struct{}                                    `json:"-"`
    XXX_unrecognized     []byte                                      `json:"-"`
    XXX_sizecache        int32                                       `json:"-"`
}

The build matched with this job section on BuildTarget and BuildFilters.

func (*ScheduleJobSection_MatchedBuild) Descriptor Uses

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

func (*ScheduleJobSection_MatchedBuild) GetCrosBuild Uses

func (m *ScheduleJobSection_MatchedBuild) GetCrosBuild() isScheduleJobSection_MatchedBuild_CrosBuild

func (*ScheduleJobSection_MatchedBuild) GetFirmwareRoBuild Uses

func (m *ScheduleJobSection_MatchedBuild) GetFirmwareRoBuild() *FirmwareBuildInfo

func (*ScheduleJobSection_MatchedBuild) GetFirmwareRwBuild Uses

func (m *ScheduleJobSection_MatchedBuild) GetFirmwareRwBuild() *FirmwareBuildInfo

func (*ScheduleJobSection_MatchedBuild) GetRelaxBuild Uses

func (m *ScheduleJobSection_MatchedBuild) GetRelaxBuild() *BuildInfo

func (*ScheduleJobSection_MatchedBuild) GetReleaseBuild Uses

func (m *ScheduleJobSection_MatchedBuild) GetReleaseBuild() *BuildInfo

func (*ScheduleJobSection_MatchedBuild) ProtoMessage Uses

func (*ScheduleJobSection_MatchedBuild) ProtoMessage()

func (*ScheduleJobSection_MatchedBuild) Reset Uses

func (m *ScheduleJobSection_MatchedBuild) Reset()

func (*ScheduleJobSection_MatchedBuild) String Uses

func (m *ScheduleJobSection_MatchedBuild) String() string

func (*ScheduleJobSection_MatchedBuild) XXX_DiscardUnknown Uses

func (m *ScheduleJobSection_MatchedBuild) XXX_DiscardUnknown()

func (*ScheduleJobSection_MatchedBuild) XXX_Marshal Uses

func (m *ScheduleJobSection_MatchedBuild) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScheduleJobSection_MatchedBuild) XXX_Merge Uses

func (m *ScheduleJobSection_MatchedBuild) XXX_Merge(src proto.Message)

func (*ScheduleJobSection_MatchedBuild) XXX_OneofWrappers Uses

func (*ScheduleJobSection_MatchedBuild) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ScheduleJobSection_MatchedBuild) XXX_Size Uses

func (m *ScheduleJobSection_MatchedBuild) XXX_Size() int

func (*ScheduleJobSection_MatchedBuild) XXX_Unmarshal Uses

func (m *ScheduleJobSection_MatchedBuild) XXX_Unmarshal(b []byte) error

type ScheduleJobSection_MatchedBuild_FirmwareRoBuild Uses

type ScheduleJobSection_MatchedBuild_FirmwareRoBuild struct {
    FirmwareRoBuild *FirmwareBuildInfo `protobuf:"bytes,3,opt,name=firmware_ro_build,json=firmwareRoBuild,proto3,oneof"`
}

type ScheduleJobSection_MatchedBuild_FirmwareRwBuild Uses

type ScheduleJobSection_MatchedBuild_FirmwareRwBuild struct {
    FirmwareRwBuild *FirmwareBuildInfo `protobuf:"bytes,4,opt,name=firmware_rw_build,json=firmwareRwBuild,proto3,oneof"`
}

type ScheduleJobSection_MatchedBuild_RelaxBuild Uses

type ScheduleJobSection_MatchedBuild_RelaxBuild struct {
    RelaxBuild *BuildInfo `protobuf:"bytes,2,opt,name=relax_build,json=relaxBuild,proto3,oneof"`
}

type ScheduleJobSection_MatchedBuild_ReleaseBuild Uses

type ScheduleJobSection_MatchedBuild_ReleaseBuild struct {
    ReleaseBuild *BuildInfo `protobuf:"bytes,1,opt,name=release_build,json=releaseBuild,proto3,oneof"`
}

type ScheduleJobTrigger Uses

type ScheduleJobTrigger struct {
    // Types that are valid to be assigned 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"`
    XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
    XXX_unrecognized     []byte                       `json:"-"`
    XXX_sizecache        int32                        `json:"-"`
}

ScheduleJobTrigger defines the trigger to kick off a suite test.

func (*ScheduleJobTrigger) Descriptor Uses

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

func (*ScheduleJobTrigger) GetBuildFilters Uses

func (m *ScheduleJobTrigger) GetBuildFilters() *BuildFilters

func (*ScheduleJobTrigger) GetInterval Uses

func (m *ScheduleJobTrigger) GetInterval() *ScheduleJobTrigger_IntervalTrigger

func (*ScheduleJobTrigger) GetNightly Uses

func (m *ScheduleJobTrigger) GetNightly() *ScheduleJobTrigger_NightlyTrigger

func (*ScheduleJobTrigger) GetTrigger Uses

func (m *ScheduleJobTrigger) GetTrigger() isScheduleJobTrigger_Trigger

func (*ScheduleJobTrigger) GetWeekly Uses

func (m *ScheduleJobTrigger) GetWeekly() *ScheduleJobTrigger_WeeklyTrigger

func (*ScheduleJobTrigger) ProtoMessage Uses

func (*ScheduleJobTrigger) ProtoMessage()

func (*ScheduleJobTrigger) Reset Uses

func (m *ScheduleJobTrigger) Reset()

func (*ScheduleJobTrigger) String Uses

func (m *ScheduleJobTrigger) String() string

func (*ScheduleJobTrigger) XXX_DiscardUnknown Uses

func (m *ScheduleJobTrigger) XXX_DiscardUnknown()

func (*ScheduleJobTrigger) XXX_Marshal Uses

func (m *ScheduleJobTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScheduleJobTrigger) XXX_Merge Uses

func (m *ScheduleJobTrigger) XXX_Merge(src proto.Message)

func (*ScheduleJobTrigger) XXX_OneofWrappers Uses

func (*ScheduleJobTrigger) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ScheduleJobTrigger) XXX_Size Uses

func (m *ScheduleJobTrigger) XXX_Size() int

func (*ScheduleJobTrigger) XXX_Unmarshal Uses

func (m *ScheduleJobTrigger) XXX_Unmarshal(b []byte) error

type ScheduleJobTrigger_Interval Uses

type ScheduleJobTrigger_Interval struct {
    Interval *ScheduleJobTrigger_IntervalTrigger `protobuf:"bytes,3,opt,name=interval,proto3,oneof"`
}

type ScheduleJobTrigger_IntervalTrigger Uses

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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

IntervalTrigger is for the suite test running every N times the scheduler operates.

func (*ScheduleJobTrigger_IntervalTrigger) Descriptor Uses

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

func (*ScheduleJobTrigger_IntervalTrigger) GetPause Uses

func (m *ScheduleJobTrigger_IntervalTrigger) GetPause() uint32

func (*ScheduleJobTrigger_IntervalTrigger) ProtoMessage Uses

func (*ScheduleJobTrigger_IntervalTrigger) ProtoMessage()

func (*ScheduleJobTrigger_IntervalTrigger) Reset Uses

func (m *ScheduleJobTrigger_IntervalTrigger) Reset()

func (*ScheduleJobTrigger_IntervalTrigger) String Uses

func (m *ScheduleJobTrigger_IntervalTrigger) String() string

func (*ScheduleJobTrigger_IntervalTrigger) XXX_DiscardUnknown Uses

func (m *ScheduleJobTrigger_IntervalTrigger) XXX_DiscardUnknown()

func (*ScheduleJobTrigger_IntervalTrigger) XXX_Marshal Uses

func (m *ScheduleJobTrigger_IntervalTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScheduleJobTrigger_IntervalTrigger) XXX_Merge Uses

func (m *ScheduleJobTrigger_IntervalTrigger) XXX_Merge(src proto.Message)

func (*ScheduleJobTrigger_IntervalTrigger) XXX_Size Uses

func (m *ScheduleJobTrigger_IntervalTrigger) XXX_Size() int

func (*ScheduleJobTrigger_IntervalTrigger) XXX_Unmarshal Uses

func (m *ScheduleJobTrigger_IntervalTrigger) XXX_Unmarshal(b []byte) error

type ScheduleJobTrigger_Nightly Uses

type ScheduleJobTrigger_Nightly struct {
    Nightly *ScheduleJobTrigger_NightlyTrigger `protobuf:"bytes,2,opt,name=nightly,proto3,oneof"`
}

type ScheduleJobTrigger_NightlyTrigger Uses

type ScheduleJobTrigger_NightlyTrigger struct {
    Hour                 uint32   `protobuf:"varint,1,opt,name=hour,proto3" json:"hour,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

NightlyTrigger is for the suite test running every day. "hour" is from 0 to 23.

func (*ScheduleJobTrigger_NightlyTrigger) Descriptor Uses

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

func (*ScheduleJobTrigger_NightlyTrigger) GetHour Uses

func (m *ScheduleJobTrigger_NightlyTrigger) GetHour() uint32

func (*ScheduleJobTrigger_NightlyTrigger) ProtoMessage Uses

func (*ScheduleJobTrigger_NightlyTrigger) ProtoMessage()

func (*ScheduleJobTrigger_NightlyTrigger) Reset Uses

func (m *ScheduleJobTrigger_NightlyTrigger) Reset()

func (*ScheduleJobTrigger_NightlyTrigger) String Uses

func (m *ScheduleJobTrigger_NightlyTrigger) String() string

func (*ScheduleJobTrigger_NightlyTrigger) XXX_DiscardUnknown Uses

func (m *ScheduleJobTrigger_NightlyTrigger) XXX_DiscardUnknown()

func (*ScheduleJobTrigger_NightlyTrigger) XXX_Marshal Uses

func (m *ScheduleJobTrigger_NightlyTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScheduleJobTrigger_NightlyTrigger) XXX_Merge Uses

func (m *ScheduleJobTrigger_NightlyTrigger) XXX_Merge(src proto.Message)

func (*ScheduleJobTrigger_NightlyTrigger) XXX_Size Uses

func (m *ScheduleJobTrigger_NightlyTrigger) XXX_Size() int

func (*ScheduleJobTrigger_NightlyTrigger) XXX_Unmarshal Uses

func (m *ScheduleJobTrigger_NightlyTrigger) XXX_Unmarshal(b []byte) error

type ScheduleJobTrigger_Weekly Uses

type ScheduleJobTrigger_Weekly struct {
    Weekly *ScheduleJobTrigger_WeeklyTrigger `protobuf:"bytes,1,opt,name=weekly,proto3,oneof"`
}

type ScheduleJobTrigger_WeeklyTrigger Uses

type ScheduleJobTrigger_WeeklyTrigger struct {
    Day                  uint32   `protobuf:"varint,1,opt,name=day,proto3" json:"day,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

WeeklyTrigger is for the suite test running every week. "day" is from 0 to 6.

func (*ScheduleJobTrigger_WeeklyTrigger) Descriptor Uses

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

func (*ScheduleJobTrigger_WeeklyTrigger) GetDay Uses

func (m *ScheduleJobTrigger_WeeklyTrigger) GetDay() uint32

func (*ScheduleJobTrigger_WeeklyTrigger) ProtoMessage Uses

func (*ScheduleJobTrigger_WeeklyTrigger) ProtoMessage()

func (*ScheduleJobTrigger_WeeklyTrigger) Reset Uses

func (m *ScheduleJobTrigger_WeeklyTrigger) Reset()

func (*ScheduleJobTrigger_WeeklyTrigger) String Uses

func (m *ScheduleJobTrigger_WeeklyTrigger) String() string

func (*ScheduleJobTrigger_WeeklyTrigger) XXX_DiscardUnknown Uses

func (m *ScheduleJobTrigger_WeeklyTrigger) XXX_DiscardUnknown()

func (*ScheduleJobTrigger_WeeklyTrigger) XXX_Marshal Uses

func (m *ScheduleJobTrigger_WeeklyTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScheduleJobTrigger_WeeklyTrigger) XXX_Merge Uses

func (m *ScheduleJobTrigger_WeeklyTrigger) XXX_Merge(src proto.Message)

func (*ScheduleJobTrigger_WeeklyTrigger) XXX_Size Uses

func (m *ScheduleJobTrigger_WeeklyTrigger) XXX_Size() int

func (*ScheduleJobTrigger_WeeklyTrigger) XXX_Unmarshal Uses

func (m *ScheduleJobTrigger_WeeklyTrigger) XXX_Unmarshal(b []byte) error

type ScheduleJob_Justification Uses

type ScheduleJob_Justification struct {
    Justification string `protobuf:"bytes,4,opt,name=justification,proto3,oneof"`
}

type ScheduleJob_QueuedTaskId Uses

type ScheduleJob_QueuedTaskId struct {
    QueuedTaskId string `protobuf:"bytes,3,opt,name=queued_task_id,json=queuedTaskId,proto3,oneof"`
}

Package suite_scheduler imports 7 packages (graph). Updated 2020-07-08. Refresh now. Tools for package owners.