Documentation
Index ¶
- Variables
- type Request
- type Request_Enumeration
- func (*Request_Enumeration) Descriptor() ([]byte, []int)
- func (x *Request_Enumeration) GetAutotestInvocations() []*Request_Enumeration_AutotestInvocation
- func (*Request_Enumeration) ProtoMessage()
- func (x *Request_Enumeration) ProtoReflect() protoreflect.Message
- func (x *Request_Enumeration) Reset()
- func (x *Request_Enumeration) String() string
- type Request_Enumeration_AutotestInvocation
- func (*Request_Enumeration_AutotestInvocation) Descriptor() ([]byte, []int)
- func (x *Request_Enumeration_AutotestInvocation) GetDisplayName() string
- func (x *Request_Enumeration_AutotestInvocation) GetResultKeyvals() map[string]string
- func (x *Request_Enumeration_AutotestInvocation) GetTest() *api.AutotestTest
- func (x *Request_Enumeration_AutotestInvocation) GetTestArgs() string
- func (*Request_Enumeration_AutotestInvocation) ProtoMessage()
- func (x *Request_Enumeration_AutotestInvocation) ProtoReflect() protoreflect.Message
- func (x *Request_Enumeration_AutotestInvocation) Reset()
- func (x *Request_Enumeration_AutotestInvocation) String() string
- type Request_Params
- func (*Request_Params) Descriptor() ([]byte, []int)
- func (x *Request_Params) GetDecorations() *Request_Params_Decorations
- func (x *Request_Params) GetExecutionParam() *execution.Param
- func (x *Request_Params) GetFreeformAttributes() *Request_Params_FreeformAttributes
- func (x *Request_Params) GetHardwareAttributes() *Request_Params_HardwareAttributes
- func (x *Request_Params) GetMetadata() *Request_Params_Metadata
- func (x *Request_Params) GetMigrations() *Request_Params_Migrations
- func (x *Request_Params) GetRetry() *Request_Params_Retry
- func (x *Request_Params) GetScheduling() *Request_Params_Scheduling
- func (x *Request_Params) GetSoftwareAttributes() *Request_Params_SoftwareAttributes
- func (x *Request_Params) GetSoftwareDependencies() []*Request_Params_SoftwareDependency
- func (x *Request_Params) GetTime() *Request_Params_Time
- func (*Request_Params) ProtoMessage()
- func (x *Request_Params) ProtoReflect() protoreflect.Message
- func (x *Request_Params) Reset()
- func (x *Request_Params) String() string
- type Request_Params_Decorations
- func (*Request_Params_Decorations) Descriptor() ([]byte, []int)
- func (x *Request_Params_Decorations) GetAutotestKeyvals() map[string]string
- func (x *Request_Params_Decorations) GetTags() []string
- func (*Request_Params_Decorations) ProtoMessage()
- func (x *Request_Params_Decorations) ProtoReflect() protoreflect.Message
- func (x *Request_Params_Decorations) Reset()
- func (x *Request_Params_Decorations) String() string
- type Request_Params_FreeformAttributes
- func (*Request_Params_FreeformAttributes) Descriptor() ([]byte, []int)
- func (x *Request_Params_FreeformAttributes) GetSwarmingDimensions() []string
- func (*Request_Params_FreeformAttributes) ProtoMessage()
- func (x *Request_Params_FreeformAttributes) ProtoReflect() protoreflect.Message
- func (x *Request_Params_FreeformAttributes) Reset()
- func (x *Request_Params_FreeformAttributes) String() string
- type Request_Params_HardwareAttributes
- func (*Request_Params_HardwareAttributes) Descriptor() ([]byte, []int)
- func (x *Request_Params_HardwareAttributes) GetModel() string
- func (*Request_Params_HardwareAttributes) ProtoMessage()
- func (x *Request_Params_HardwareAttributes) ProtoReflect() protoreflect.Message
- func (x *Request_Params_HardwareAttributes) Reset()
- func (x *Request_Params_HardwareAttributes) String() string
- type Request_Params_Metadata
- func (*Request_Params_Metadata) Descriptor() ([]byte, []int)
- func (x *Request_Params_Metadata) GetDebugSymbolsArchiveUrl() string
- func (x *Request_Params_Metadata) GetTestMetadataUrl() string
- func (*Request_Params_Metadata) ProtoMessage()
- func (x *Request_Params_Metadata) ProtoReflect() protoreflect.Message
- func (x *Request_Params_Metadata) Reset()
- func (x *Request_Params_Metadata) String() string
- type Request_Params_Migrations
- type Request_Params_Retry
- func (*Request_Params_Retry) Descriptor() ([]byte, []int)
- func (x *Request_Params_Retry) GetAllow() bool
- func (x *Request_Params_Retry) GetMax() int32
- func (*Request_Params_Retry) ProtoMessage()
- func (x *Request_Params_Retry) ProtoReflect() protoreflect.Message
- func (x *Request_Params_Retry) Reset()
- func (x *Request_Params_Retry) String() string
- type Request_Params_Scheduling
- func (*Request_Params_Scheduling) Descriptor() ([]byte, []int)
- func (x *Request_Params_Scheduling) GetManagedPool() Request_Params_Scheduling_ManagedPool
- func (m *Request_Params_Scheduling) GetPool() isRequest_Params_Scheduling_Pool
- func (x *Request_Params_Scheduling) GetPriority() int64
- func (x *Request_Params_Scheduling) GetQsAccount() string
- func (x *Request_Params_Scheduling) GetUnmanagedPool() string
- func (*Request_Params_Scheduling) ProtoMessage()
- func (x *Request_Params_Scheduling) ProtoReflect() protoreflect.Message
- func (x *Request_Params_Scheduling) Reset()
- func (x *Request_Params_Scheduling) String() string
- type Request_Params_Scheduling_ManagedPool
- func (Request_Params_Scheduling_ManagedPool) Descriptor() protoreflect.EnumDescriptor
- func (x Request_Params_Scheduling_ManagedPool) Enum() *Request_Params_Scheduling_ManagedPool
- func (Request_Params_Scheduling_ManagedPool) EnumDescriptor() ([]byte, []int)
- func (x Request_Params_Scheduling_ManagedPool) Number() protoreflect.EnumNumber
- func (x Request_Params_Scheduling_ManagedPool) String() string
- func (Request_Params_Scheduling_ManagedPool) Type() protoreflect.EnumType
- type Request_Params_Scheduling_ManagedPool_
- type Request_Params_Scheduling_UnmanagedPool
- type Request_Params_SoftwareAttributes
- func (*Request_Params_SoftwareAttributes) Descriptor() ([]byte, []int)
- func (x *Request_Params_SoftwareAttributes) GetBuildTarget() *chromiumos.BuildTarget
- func (*Request_Params_SoftwareAttributes) ProtoMessage()
- func (x *Request_Params_SoftwareAttributes) ProtoReflect() protoreflect.Message
- func (x *Request_Params_SoftwareAttributes) Reset()
- func (x *Request_Params_SoftwareAttributes) String() string
- type Request_Params_SoftwareDependency
- func (*Request_Params_SoftwareDependency) Descriptor() ([]byte, []int)
- func (x *Request_Params_SoftwareDependency) GetChromeosBuild() string
- func (m *Request_Params_SoftwareDependency) GetDep() isRequest_Params_SoftwareDependency_Dep
- func (x *Request_Params_SoftwareDependency) GetLacrosGcsPath() string
- func (x *Request_Params_SoftwareDependency) GetRoFirmwareBuild() string
- func (x *Request_Params_SoftwareDependency) GetRwFirmwareBuild() string
- func (*Request_Params_SoftwareDependency) ProtoMessage()
- func (x *Request_Params_SoftwareDependency) ProtoReflect() protoreflect.Message
- func (x *Request_Params_SoftwareDependency) Reset()
- func (x *Request_Params_SoftwareDependency) String() string
- type Request_Params_SoftwareDependency_ChromeosBuild
- type Request_Params_SoftwareDependency_LacrosGcsPath
- type Request_Params_SoftwareDependency_RoFirmwareBuild
- type Request_Params_SoftwareDependency_RwFirmwareBuild
- type Request_Params_Time
- func (*Request_Params_Time) Descriptor() ([]byte, []int)
- func (x *Request_Params_Time) GetMaximumDuration() *duration.Duration
- func (*Request_Params_Time) ProtoMessage()
- func (x *Request_Params_Time) ProtoReflect() protoreflect.Message
- func (x *Request_Params_Time) Reset()
- func (x *Request_Params_Time) String() string
- type Request_Suite
- type Request_Test
- func (*Request_Test) Descriptor() ([]byte, []int)
- func (x *Request_Test) GetAutotest() *Request_Test_Autotest
- func (m *Request_Test) GetHarness() isRequest_Test_Harness
- func (*Request_Test) ProtoMessage()
- func (x *Request_Test) ProtoReflect() protoreflect.Message
- func (x *Request_Test) Reset()
- func (x *Request_Test) String() string
- type Request_TestPlan
- func (*Request_TestPlan) Descriptor() ([]byte, []int)
- func (x *Request_TestPlan) GetEnumeration() *Request_Enumeration
- func (x *Request_TestPlan) GetSuite() []*Request_Suite
- func (x *Request_TestPlan) GetTest() []*Request_Test
- func (*Request_TestPlan) ProtoMessage()
- func (x *Request_TestPlan) ProtoReflect() protoreflect.Message
- func (x *Request_TestPlan) Reset()
- func (x *Request_TestPlan) String() string
- type Request_Test_Autotest
- func (*Request_Test_Autotest) Descriptor() ([]byte, []int)
- func (x *Request_Test_Autotest) GetDisplayName() string
- func (x *Request_Test_Autotest) GetName() string
- func (x *Request_Test_Autotest) GetTestArgs() string
- func (*Request_Test_Autotest) ProtoMessage()
- func (x *Request_Test_Autotest) ProtoReflect() protoreflect.Message
- func (x *Request_Test_Autotest) Reset()
- func (x *Request_Test_Autotest) String() string
- type Request_Test_Autotest_
- type ServiceVersion
- func (*ServiceVersion) Descriptor() ([]byte, []int)
- func (x *ServiceVersion) GetCrosfleetTool() int64
- func (x *ServiceVersion) GetSkylabTool() int64
- func (*ServiceVersion) ProtoMessage()
- func (x *ServiceVersion) ProtoReflect() protoreflect.Message
- func (x *ServiceVersion) Reset()
- func (x *ServiceVersion) String() string
- type TaskState
- func (*TaskState) Descriptor() ([]byte, []int)
- func (x *TaskState) GetLifeCycle() TaskState_LifeCycle
- func (x *TaskState) GetVerdict() TaskState_Verdict
- func (*TaskState) ProtoMessage()
- func (x *TaskState) ProtoReflect() protoreflect.Message
- func (x *TaskState) Reset()
- func (x *TaskState) String() string
- type TaskState_LifeCycle
- func (TaskState_LifeCycle) Descriptor() protoreflect.EnumDescriptor
- func (x TaskState_LifeCycle) Enum() *TaskState_LifeCycle
- func (TaskState_LifeCycle) EnumDescriptor() ([]byte, []int)
- func (x TaskState_LifeCycle) Number() protoreflect.EnumNumber
- func (x TaskState_LifeCycle) String() string
- func (TaskState_LifeCycle) Type() protoreflect.EnumType
- type TaskState_LifeCycleMask
- func (TaskState_LifeCycleMask) Descriptor() protoreflect.EnumDescriptor
- func (x TaskState_LifeCycleMask) Enum() *TaskState_LifeCycleMask
- func (TaskState_LifeCycleMask) EnumDescriptor() ([]byte, []int)
- func (x TaskState_LifeCycleMask) Number() protoreflect.EnumNumber
- func (x TaskState_LifeCycleMask) String() string
- func (TaskState_LifeCycleMask) Type() protoreflect.EnumType
- type TaskState_Verdict
- func (TaskState_Verdict) Descriptor() protoreflect.EnumDescriptor
- func (x TaskState_Verdict) Enum() *TaskState_Verdict
- func (TaskState_Verdict) EnumDescriptor() ([]byte, []int)
- func (x TaskState_Verdict) Number() protoreflect.EnumNumber
- func (x TaskState_Verdict) String() string
- func (TaskState_Verdict) Type() protoreflect.EnumType
Constants ¶
Variables ¶
var ( Request_Params_Scheduling_ManagedPool_name = map[int32]string{ 0: "MANAGED_POOL_UNSPECIFIED", 1: "MANAGED_POOL_CQ", 2: "MANAGED_POOL_BVT", 3: "MANAGED_POOL_SUITES", 4: "MANAGED_POOL_CTS", 5: "MANAGED_POOL_CTS_PERBUILD", 6: "MANAGED_POOL_CONTINUOUS", 7: "MANAGED_POOL_ARC_PRESUBMIT", 8: "MANAGED_POOL_QUOTA", } Request_Params_Scheduling_ManagedPool_value = map[string]int32{ "MANAGED_POOL_UNSPECIFIED": 0, "MANAGED_POOL_CQ": 1, "MANAGED_POOL_BVT": 2, "MANAGED_POOL_SUITES": 3, "MANAGED_POOL_CTS": 4, "MANAGED_POOL_CTS_PERBUILD": 5, "MANAGED_POOL_CONTINUOUS": 6, "MANAGED_POOL_ARC_PRESUBMIT": 7, "MANAGED_POOL_QUOTA": 8, } )
Enum value maps for Request_Params_Scheduling_ManagedPool.
var ( TaskState_LifeCycleMask_name = map[int32]string{ 0: "LIFE_CYCLE_MASK_UNSPECIFIED", 16: "LIFE_CYCLE_MASK_STARTED", 32: "LIFE_CYCLE_MASK_COMPLETED", 64: "LIFE_CYCLE_MASK_FINAL", } TaskState_LifeCycleMask_value = map[string]int32{ "LIFE_CYCLE_MASK_UNSPECIFIED": 0, "LIFE_CYCLE_MASK_STARTED": 16, "LIFE_CYCLE_MASK_COMPLETED": 32, "LIFE_CYCLE_MASK_FINAL": 64, } )
Enum value maps for TaskState_LifeCycleMask.
var ( TaskState_LifeCycle_name = map[int32]string{ 0: "LIFE_CYCLE_UNSPECIFIED", 1: "LIFE_CYCLE_PENDING", 16: "LIFE_CYCLE_RUNNING", 112: "LIFE_CYCLE_COMPLETED", 65: "LIFE_CYCLE_CANCELLED", 66: "LIFE_CYCLE_REJECTED", 80: "LIFE_CYCLE_ABORTED", } TaskState_LifeCycle_value = map[string]int32{ "LIFE_CYCLE_UNSPECIFIED": 0, "LIFE_CYCLE_PENDING": 1, "LIFE_CYCLE_RUNNING": 16, "LIFE_CYCLE_COMPLETED": 112, "LIFE_CYCLE_CANCELLED": 65, "LIFE_CYCLE_REJECTED": 66, "LIFE_CYCLE_ABORTED": 80, } )
Enum value maps for TaskState_LifeCycle.
var ( TaskState_Verdict_name = map[int32]string{ 0: "VERDICT_UNSPECIFIED", 1: "VERDICT_PASSED", 2: "VERDICT_FAILED", 3: "VERDICT_NO_VERDICT", 4: "VERDICT_PASSED_ON_RETRY", } TaskState_Verdict_value = map[string]int32{ "VERDICT_UNSPECIFIED": 0, "VERDICT_PASSED": 1, "VERDICT_FAILED": 2, "VERDICT_NO_VERDICT": 3, "VERDICT_PASSED_ON_RETRY": 4, } )
Enum value maps for TaskState_Verdict.
var File_test_platform_request_proto protoreflect.FileDescriptor
var File_test_platform_service_version_proto protoreflect.FileDescriptor
var File_test_platform_taskstate_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type Request ¶
type Request struct { Params *Request_Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` TestPlan *Request_TestPlan `protobuf:"bytes,5,opt,name=test_plan,json=testPlan,proto3" json:"test_plan,omitempty"` // contains filtered or unexported fields }
Request represents a request to the ChromeOS Test Platform to run a test, set of tests, suite of tests, or test plan on a set of devices (eventually also: virtual devices) in the ChromeOS Test Lab.
func (*Request) Descriptor ¶
Deprecated: Use Request.ProtoReflect.Descriptor instead.
func (*Request) GetParams ¶
func (x *Request) GetParams() *Request_Params
func (*Request) GetTestPlan ¶
func (x *Request) GetTestPlan() *Request_TestPlan
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Request_Enumeration ¶
type Request_Enumeration struct { AutotestInvocations []*Request_Enumeration_AutotestInvocation `protobuf:"bytes,2,rep,name=autotest_invocations,json=autotestInvocations,proto3" json:"autotest_invocations,omitempty"` // contains filtered or unexported fields }
Enumeration is a previously enumerated test plan.
This is a copy of test_platform.steps.EnumerationResponse Keep in sync.
func (*Request_Enumeration) Descriptor ¶
func (*Request_Enumeration) Descriptor() ([]byte, []int)
Deprecated: Use Request_Enumeration.ProtoReflect.Descriptor instead.
func (*Request_Enumeration) GetAutotestInvocations ¶
func (x *Request_Enumeration) GetAutotestInvocations() []*Request_Enumeration_AutotestInvocation
func (*Request_Enumeration) ProtoMessage ¶
func (*Request_Enumeration) ProtoMessage()
func (*Request_Enumeration) ProtoReflect ¶
func (x *Request_Enumeration) ProtoReflect() protoreflect.Message
func (*Request_Enumeration) Reset ¶
func (x *Request_Enumeration) Reset()
func (*Request_Enumeration) String ¶
func (x *Request_Enumeration) String() string
type Request_Enumeration_AutotestInvocation ¶
type Request_Enumeration_AutotestInvocation struct { Test *api.AutotestTest `protobuf:"bytes,1,opt,name=test,proto3" json:"test,omitempty"` TestArgs string `protobuf:"bytes,2,opt,name=test_args,json=testArgs,proto3" json:"test_args,omitempty"` DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` ResultKeyvals map[string]string `` /* 188-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Request_Enumeration_AutotestInvocation) Descriptor ¶
func (*Request_Enumeration_AutotestInvocation) Descriptor() ([]byte, []int)
Deprecated: Use Request_Enumeration_AutotestInvocation.ProtoReflect.Descriptor instead.
func (*Request_Enumeration_AutotestInvocation) GetDisplayName ¶
func (x *Request_Enumeration_AutotestInvocation) GetDisplayName() string
func (*Request_Enumeration_AutotestInvocation) GetResultKeyvals ¶
func (x *Request_Enumeration_AutotestInvocation) GetResultKeyvals() map[string]string
func (*Request_Enumeration_AutotestInvocation) GetTest ¶
func (x *Request_Enumeration_AutotestInvocation) GetTest() *api.AutotestTest
func (*Request_Enumeration_AutotestInvocation) GetTestArgs ¶
func (x *Request_Enumeration_AutotestInvocation) GetTestArgs() string
func (*Request_Enumeration_AutotestInvocation) ProtoMessage ¶
func (*Request_Enumeration_AutotestInvocation) ProtoMessage()
func (*Request_Enumeration_AutotestInvocation) ProtoReflect ¶
func (x *Request_Enumeration_AutotestInvocation) ProtoReflect() protoreflect.Message
func (*Request_Enumeration_AutotestInvocation) Reset ¶
func (x *Request_Enumeration_AutotestInvocation) Reset()
func (*Request_Enumeration_AutotestInvocation) String ¶
func (x *Request_Enumeration_AutotestInvocation) String() string
type Request_Params ¶
type Request_Params struct { HardwareAttributes *Request_Params_HardwareAttributes `protobuf:"bytes,1,opt,name=hardware_attributes,json=hardwareAttributes,proto3" json:"hardware_attributes,omitempty"` SoftwareAttributes *Request_Params_SoftwareAttributes `protobuf:"bytes,2,opt,name=software_attributes,json=softwareAttributes,proto3" json:"software_attributes,omitempty"` FreeformAttributes *Request_Params_FreeformAttributes `protobuf:"bytes,9,opt,name=freeform_attributes,json=freeformAttributes,proto3" json:"freeform_attributes,omitempty"` SoftwareDependencies []*Request_Params_SoftwareDependency `protobuf:"bytes,3,rep,name=software_dependencies,json=softwareDependencies,proto3" json:"software_dependencies,omitempty"` Scheduling *Request_Params_Scheduling `protobuf:"bytes,4,opt,name=scheduling,proto3" json:"scheduling,omitempty"` Retry *Request_Params_Retry `protobuf:"bytes,5,opt,name=retry,proto3" json:"retry,omitempty"` Metadata *Request_Params_Metadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` Time *Request_Params_Time `protobuf:"bytes,7,opt,name=time,proto3" json:"time,omitempty"` Decorations *Request_Params_Decorations `protobuf:"bytes,8,opt,name=decorations,proto3" json:"decorations,omitempty"` Migrations *Request_Params_Migrations `protobuf:"bytes,12,opt,name=migrations,proto3" json:"migrations,omitempty"` // Uniformly applied parameters for all test executions in this request. ExecutionParam *execution.Param `protobuf:"bytes,13,opt,name=execution_param,json=executionParam,proto3" json:"execution_param,omitempty"` // contains filtered or unexported fields }
Params defines parameters that apply to an entire Request.
NEXT_TAG: 11
func (*Request_Params) Descriptor ¶
func (*Request_Params) Descriptor() ([]byte, []int)
Deprecated: Use Request_Params.ProtoReflect.Descriptor instead.
func (*Request_Params) GetDecorations ¶
func (x *Request_Params) GetDecorations() *Request_Params_Decorations
func (*Request_Params) GetExecutionParam ¶
func (x *Request_Params) GetExecutionParam() *execution.Param
func (*Request_Params) GetFreeformAttributes ¶
func (x *Request_Params) GetFreeformAttributes() *Request_Params_FreeformAttributes
func (*Request_Params) GetHardwareAttributes ¶
func (x *Request_Params) GetHardwareAttributes() *Request_Params_HardwareAttributes
func (*Request_Params) GetMetadata ¶
func (x *Request_Params) GetMetadata() *Request_Params_Metadata
func (*Request_Params) GetMigrations ¶
func (x *Request_Params) GetMigrations() *Request_Params_Migrations
func (*Request_Params) GetRetry ¶
func (x *Request_Params) GetRetry() *Request_Params_Retry
func (*Request_Params) GetScheduling ¶
func (x *Request_Params) GetScheduling() *Request_Params_Scheduling
func (*Request_Params) GetSoftwareAttributes ¶
func (x *Request_Params) GetSoftwareAttributes() *Request_Params_SoftwareAttributes
func (*Request_Params) GetSoftwareDependencies ¶
func (x *Request_Params) GetSoftwareDependencies() []*Request_Params_SoftwareDependency
func (*Request_Params) GetTime ¶
func (x *Request_Params) GetTime() *Request_Params_Time
func (*Request_Params) ProtoMessage ¶
func (*Request_Params) ProtoMessage()
func (*Request_Params) ProtoReflect ¶
func (x *Request_Params) ProtoReflect() protoreflect.Message
func (*Request_Params) Reset ¶
func (x *Request_Params) Reset()
func (*Request_Params) String ¶
func (x *Request_Params) String() string
type Request_Params_Decorations ¶
type Request_Params_Decorations struct { // AutotestKeyvals are (key, value) pairs that will be added to all // autotest tasks run. AutotestKeyvals map[string]string `` /* 194-byte string literal not displayed */ // Tags are swarming tags that will be applied to all swarming tasks // launched. Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
Decorations defines parameters that add additional decorations to test runs.
func (*Request_Params_Decorations) Descriptor ¶
func (*Request_Params_Decorations) Descriptor() ([]byte, []int)
Deprecated: Use Request_Params_Decorations.ProtoReflect.Descriptor instead.
func (*Request_Params_Decorations) GetAutotestKeyvals ¶
func (x *Request_Params_Decorations) GetAutotestKeyvals() map[string]string
func (*Request_Params_Decorations) GetTags ¶
func (x *Request_Params_Decorations) GetTags() []string
func (*Request_Params_Decorations) ProtoMessage ¶
func (*Request_Params_Decorations) ProtoMessage()
func (*Request_Params_Decorations) ProtoReflect ¶
func (x *Request_Params_Decorations) ProtoReflect() protoreflect.Message
func (*Request_Params_Decorations) Reset ¶
func (x *Request_Params_Decorations) Reset()
func (*Request_Params_Decorations) String ¶
func (x *Request_Params_Decorations) String() string
type Request_Params_FreeformAttributes ¶
type Request_Params_FreeformAttributes struct { // SwarmingDimensions are raw swarming bot dimensions, expressed as // "key:value" strings. SwarmingDimensions []string `protobuf:"bytes,1,rep,name=swarming_dimensions,json=swarmingDimensions,proto3" json:"swarming_dimensions,omitempty"` // contains filtered or unexported fields }
FreeformAttributes defines user-specified device attributes that are opaque to the test platform. It is preferrable not to use these, but they are provided to cover cases in which the test platform does not present a parameter corresponding to the attributes of interest.
func (*Request_Params_FreeformAttributes) Descriptor ¶
func (*Request_Params_FreeformAttributes) Descriptor() ([]byte, []int)
Deprecated: Use Request_Params_FreeformAttributes.ProtoReflect.Descriptor instead.
func (*Request_Params_FreeformAttributes) GetSwarmingDimensions ¶
func (x *Request_Params_FreeformAttributes) GetSwarmingDimensions() []string
func (*Request_Params_FreeformAttributes) ProtoMessage ¶
func (*Request_Params_FreeformAttributes) ProtoMessage()
func (*Request_Params_FreeformAttributes) ProtoReflect ¶
func (x *Request_Params_FreeformAttributes) ProtoReflect() protoreflect.Message
func (*Request_Params_FreeformAttributes) Reset ¶
func (x *Request_Params_FreeformAttributes) Reset()
func (*Request_Params_FreeformAttributes) String ¶
func (x *Request_Params_FreeformAttributes) String() string
type Request_Params_HardwareAttributes ¶
type Request_Params_HardwareAttributes struct { // Model is the model to run tests against. Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // contains filtered or unexported fields }
HardwareAttributes defines the hardware-bound characteristics of the devices to run tests on.
func (*Request_Params_HardwareAttributes) Descriptor ¶
func (*Request_Params_HardwareAttributes) Descriptor() ([]byte, []int)
Deprecated: Use Request_Params_HardwareAttributes.ProtoReflect.Descriptor instead.
func (*Request_Params_HardwareAttributes) GetModel ¶
func (x *Request_Params_HardwareAttributes) GetModel() string
func (*Request_Params_HardwareAttributes) ProtoMessage ¶
func (*Request_Params_HardwareAttributes) ProtoMessage()
func (*Request_Params_HardwareAttributes) ProtoReflect ¶
func (x *Request_Params_HardwareAttributes) ProtoReflect() protoreflect.Message
func (*Request_Params_HardwareAttributes) Reset ¶
func (x *Request_Params_HardwareAttributes) Reset()
func (*Request_Params_HardwareAttributes) String ¶
func (x *Request_Params_HardwareAttributes) String() string
type Request_Params_Metadata ¶
type Request_Params_Metadata struct { // A Google Storage path to the location of test metadata to be used. // For example: // "gs://chromeos-image-archive/arkham-release/R57-9202.10.11". TestMetadataUrl string `protobuf:"bytes,1,opt,name=test_metadata_url,json=testMetadataUrl,proto3" json:"test_metadata_url,omitempty"` // A Google Storage path to the location of image archive in which to find // debug symbols to be used in post-process symbolication of crashes. This // is generally the same as test_metadata_url. DebugSymbolsArchiveUrl string `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
Metadata defines parameters that determine where test definitions and metadata are stored and discovered from.
func (*Request_Params_Metadata) Descriptor ¶
func (*Request_Params_Metadata) Descriptor() ([]byte, []int)
Deprecated: Use Request_Params_Metadata.ProtoReflect.Descriptor instead.
func (*Request_Params_Metadata) GetDebugSymbolsArchiveUrl ¶
func (x *Request_Params_Metadata) GetDebugSymbolsArchiveUrl() string
func (*Request_Params_Metadata) GetTestMetadataUrl ¶
func (x *Request_Params_Metadata) GetTestMetadataUrl() string
func (*Request_Params_Metadata) ProtoMessage ¶
func (*Request_Params_Metadata) ProtoMessage()
func (*Request_Params_Metadata) ProtoReflect ¶
func (x *Request_Params_Metadata) ProtoReflect() protoreflect.Message
func (*Request_Params_Metadata) Reset ¶
func (x *Request_Params_Metadata) Reset()
func (*Request_Params_Metadata) String ¶
func (x *Request_Params_Metadata) String() string
type Request_Params_Migrations ¶
type Request_Params_Migrations struct {
// contains filtered or unexported fields
}
Migrations defines parameters that facilitate gradual migrations between different implementations of downstream components.
func (*Request_Params_Migrations) Descriptor ¶
func (*Request_Params_Migrations) Descriptor() ([]byte, []int)
Deprecated: Use Request_Params_Migrations.ProtoReflect.Descriptor instead.
func (*Request_Params_Migrations) ProtoMessage ¶
func (*Request_Params_Migrations) ProtoMessage()
func (*Request_Params_Migrations) ProtoReflect ¶
func (x *Request_Params_Migrations) ProtoReflect() protoreflect.Message
func (*Request_Params_Migrations) Reset ¶
func (x *Request_Params_Migrations) Reset()
func (*Request_Params_Migrations) String ¶
func (x *Request_Params_Migrations) String() string
type Request_Params_Retry ¶
type Request_Params_Retry struct { // Whether to allow test retries. Allow bool `protobuf:"varint,1,opt,name=allow,proto3" json:"allow,omitempty"` // Maximum number of retries of tests within this invocation to allow. // 0 = unlimited. Max int32 `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"` // contains filtered or unexported fields }
Retry defines parameters that affect how failed tests within a request are retried.
func (*Request_Params_Retry) Descriptor ¶
func (*Request_Params_Retry) Descriptor() ([]byte, []int)
Deprecated: Use Request_Params_Retry.ProtoReflect.Descriptor instead.
func (*Request_Params_Retry) GetAllow ¶
func (x *Request_Params_Retry) GetAllow() bool
func (*Request_Params_Retry) GetMax ¶
func (x *Request_Params_Retry) GetMax() int32
func (*Request_Params_Retry) ProtoMessage ¶
func (*Request_Params_Retry) ProtoMessage()
func (*Request_Params_Retry) ProtoReflect ¶
func (x *Request_Params_Retry) ProtoReflect() protoreflect.Message
func (*Request_Params_Retry) Reset ¶
func (x *Request_Params_Retry) Reset()
func (*Request_Params_Retry) String ¶
func (x *Request_Params_Retry) String() string
type Request_Params_Scheduling ¶
type Request_Params_Scheduling struct { // Types that are assignable to Pool: // *Request_Params_Scheduling_ManagedPool_ // *Request_Params_Scheduling_UnmanagedPool Pool isRequest_Params_Scheduling_Pool `protobuf_oneof:"pool"` // Priority corresponds to a swarming task priority; if specified, it // should be in the range [50,255]. This priority will be used for // any swaming tasks created by this run. // // Note that the scheduler behavior with a given priority depends on // other factors, such as pool. In particular, if requests are run in // a quotascheduler-controlled pool, then this priority will be ignored, // as priority will be determined by quota account balances. Priority int64 `protobuf:"varint,4,opt,name=priority,proto3" json:"priority,omitempty"` // It is an error to set both qs_account and priority at the same time. // qs_account should be used if the request is scheduled on a pool // managed by QuotaScheduler. See go/qs-enabled-pools for details. // If qs_account is set for requests on no QuotaScheduler pools, // it will be ignored and the request will default to running at // the lowest priority. QsAccount string `protobuf:"bytes,5,opt,name=qs_account,json=qsAccount,proto3" json:"qs_account,omitempty"` // contains filtered or unexported fields }
Scheduling defines parameters that affect how the tests in this request are prioritized relative to other requests, and how capacity for them is allocated.
func (*Request_Params_Scheduling) Descriptor ¶
func (*Request_Params_Scheduling) Descriptor() ([]byte, []int)
Deprecated: Use Request_Params_Scheduling.ProtoReflect.Descriptor instead.
func (*Request_Params_Scheduling) GetManagedPool ¶
func (x *Request_Params_Scheduling) GetManagedPool() Request_Params_Scheduling_ManagedPool
func (*Request_Params_Scheduling) GetPool ¶
func (m *Request_Params_Scheduling) GetPool() isRequest_Params_Scheduling_Pool
func (*Request_Params_Scheduling) GetPriority ¶
func (x *Request_Params_Scheduling) GetPriority() int64
func (*Request_Params_Scheduling) GetQsAccount ¶
func (x *Request_Params_Scheduling) GetQsAccount() string
func (*Request_Params_Scheduling) GetUnmanagedPool ¶
func (x *Request_Params_Scheduling) GetUnmanagedPool() string
func (*Request_Params_Scheduling) ProtoMessage ¶
func (*Request_Params_Scheduling) ProtoMessage()
func (*Request_Params_Scheduling) ProtoReflect ¶
func (x *Request_Params_Scheduling) ProtoReflect() protoreflect.Message
func (*Request_Params_Scheduling) Reset ¶
func (x *Request_Params_Scheduling) Reset()
func (*Request_Params_Scheduling) String ¶
func (x *Request_Params_Scheduling) String() string
type Request_Params_Scheduling_ManagedPool ¶
type Request_Params_Scheduling_ManagedPool int32
ManagedPool enumerates certain large pools of DUTs in the lab.
The distinction between managed / unmanaged pools (below) is historic and no longer relevant.
const ( Request_Params_Scheduling_MANAGED_POOL_UNSPECIFIED Request_Params_Scheduling_ManagedPool = 0 Request_Params_Scheduling_MANAGED_POOL_CQ Request_Params_Scheduling_ManagedPool = 1 Request_Params_Scheduling_MANAGED_POOL_BVT Request_Params_Scheduling_ManagedPool = 2 Request_Params_Scheduling_MANAGED_POOL_SUITES Request_Params_Scheduling_ManagedPool = 3 Request_Params_Scheduling_MANAGED_POOL_CTS Request_Params_Scheduling_ManagedPool = 4 Request_Params_Scheduling_MANAGED_POOL_CTS_PERBUILD Request_Params_Scheduling_ManagedPool = 5 Request_Params_Scheduling_MANAGED_POOL_CONTINUOUS Request_Params_Scheduling_ManagedPool = 6 Request_Params_Scheduling_MANAGED_POOL_ARC_PRESUBMIT Request_Params_Scheduling_ManagedPool = 7 Request_Params_Scheduling_MANAGED_POOL_QUOTA Request_Params_Scheduling_ManagedPool = 8 )
func (Request_Params_Scheduling_ManagedPool) Descriptor ¶
func (Request_Params_Scheduling_ManagedPool) Descriptor() protoreflect.EnumDescriptor
func (Request_Params_Scheduling_ManagedPool) EnumDescriptor ¶
func (Request_Params_Scheduling_ManagedPool) EnumDescriptor() ([]byte, []int)
Deprecated: Use Request_Params_Scheduling_ManagedPool.Descriptor instead.
func (Request_Params_Scheduling_ManagedPool) Number ¶
func (x Request_Params_Scheduling_ManagedPool) Number() protoreflect.EnumNumber
func (Request_Params_Scheduling_ManagedPool) String ¶
func (x Request_Params_Scheduling_ManagedPool) String() string
func (Request_Params_Scheduling_ManagedPool) Type ¶
func (Request_Params_Scheduling_ManagedPool) Type() protoreflect.EnumType
type Request_Params_Scheduling_ManagedPool_ ¶
type Request_Params_Scheduling_ManagedPool_ struct { // Managed pool of devices to run tests in. ManagedPool Request_Params_Scheduling_ManagedPool `` /* 128-byte string literal not displayed */ }
type Request_Params_Scheduling_UnmanagedPool ¶
type Request_Params_Scheduling_UnmanagedPool struct { // Unmanaged pool of devices to run tests in. // Must not be a managed pool. UnmanagedPool string `protobuf:"bytes,2,opt,name=unmanaged_pool,json=unmanagedPool,proto3,oneof"` }
type Request_Params_SoftwareAttributes ¶
type Request_Params_SoftwareAttributes struct { BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,2,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"` // contains filtered or unexported fields }
SoftwareAttributes defines software characteristics that are strongly associated with a device, though not immutable or hardware-bound.
func (*Request_Params_SoftwareAttributes) Descriptor ¶
func (*Request_Params_SoftwareAttributes) Descriptor() ([]byte, []int)
Deprecated: Use Request_Params_SoftwareAttributes.ProtoReflect.Descriptor instead.
func (*Request_Params_SoftwareAttributes) GetBuildTarget ¶
func (x *Request_Params_SoftwareAttributes) GetBuildTarget() *chromiumos.BuildTarget
func (*Request_Params_SoftwareAttributes) ProtoMessage ¶
func (*Request_Params_SoftwareAttributes) ProtoMessage()
func (*Request_Params_SoftwareAttributes) ProtoReflect ¶
func (x *Request_Params_SoftwareAttributes) ProtoReflect() protoreflect.Message
func (*Request_Params_SoftwareAttributes) Reset ¶
func (x *Request_Params_SoftwareAttributes) Reset()
func (*Request_Params_SoftwareAttributes) String ¶
func (x *Request_Params_SoftwareAttributes) String() string
type Request_Params_SoftwareDependency ¶
type Request_Params_SoftwareDependency struct { // Types that are assignable to Dep: // *Request_Params_SoftwareDependency_ChromeosBuild // *Request_Params_SoftwareDependency_RoFirmwareBuild // *Request_Params_SoftwareDependency_RwFirmwareBuild // *Request_Params_SoftwareDependency_LacrosGcsPath Dep isRequest_Params_SoftwareDependency_Dep `protobuf_oneof:"dep"` // contains filtered or unexported fields }
SoftwareDependency defines mutable software characteristics of the devices to run tests on (for instance, the desired version of ChromeOS).
func (*Request_Params_SoftwareDependency) Descriptor ¶
func (*Request_Params_SoftwareDependency) Descriptor() ([]byte, []int)
Deprecated: Use Request_Params_SoftwareDependency.ProtoReflect.Descriptor instead.
func (*Request_Params_SoftwareDependency) GetChromeosBuild ¶
func (x *Request_Params_SoftwareDependency) GetChromeosBuild() string
func (*Request_Params_SoftwareDependency) GetDep ¶
func (m *Request_Params_SoftwareDependency) GetDep() isRequest_Params_SoftwareDependency_Dep
func (*Request_Params_SoftwareDependency) GetLacrosGcsPath ¶
func (x *Request_Params_SoftwareDependency) GetLacrosGcsPath() string
func (*Request_Params_SoftwareDependency) GetRoFirmwareBuild ¶
func (x *Request_Params_SoftwareDependency) GetRoFirmwareBuild() string
func (*Request_Params_SoftwareDependency) GetRwFirmwareBuild ¶
func (x *Request_Params_SoftwareDependency) GetRwFirmwareBuild() string
func (*Request_Params_SoftwareDependency) ProtoMessage ¶
func (*Request_Params_SoftwareDependency) ProtoMessage()
func (*Request_Params_SoftwareDependency) ProtoReflect ¶
func (x *Request_Params_SoftwareDependency) ProtoReflect() protoreflect.Message
func (*Request_Params_SoftwareDependency) Reset ¶
func (x *Request_Params_SoftwareDependency) Reset()
func (*Request_Params_SoftwareDependency) String ¶
func (x *Request_Params_SoftwareDependency) String() string
type Request_Params_SoftwareDependency_ChromeosBuild ¶
type Request_Params_SoftwareDependency_ChromeosBuild struct { // ChromeOS build name, e.g. "reef-release/R77-12345.0.0" ChromeosBuild string `protobuf:"bytes,3,opt,name=chromeos_build,json=chromeosBuild,proto3,oneof"` }
type Request_Params_SoftwareDependency_LacrosGcsPath ¶
type Request_Params_SoftwareDependency_LacrosGcsPath struct { // Google Cloud Storage path for obtaining LaCrOS images. // // Unlike chromeos/ro_firmware/rw_firmware, this is full Google Cloud // Storage path (e.g. gs://shiny-lacros/builds/M56/for-pupr/1.2.3.4). LacrosGcsPath string `protobuf:"bytes,6,opt,name=lacros_gcs_path,json=lacrosGcsPath,proto3,oneof"` }
type Request_Params_SoftwareDependency_RoFirmwareBuild ¶
type Request_Params_SoftwareDependency_RoFirmwareBuild struct { // Readonly firmware build name, e.g. // "firmware-reef-9042.B-firmwarebranch/R72-11311.0.0" RoFirmwareBuild string `protobuf:"bytes,4,opt,name=ro_firmware_build,json=roFirmwareBuild,proto3,oneof"` }
type Request_Params_SoftwareDependency_RwFirmwareBuild ¶
type Request_Params_SoftwareDependency_RwFirmwareBuild struct { // Read-write firmware build name, e.g. // "firmware-reef-9042.B-firmwarebranch/R72-11311.0.0" RwFirmwareBuild string `protobuf:"bytes,5,opt,name=rw_firmware_build,json=rwFirmwareBuild,proto3,oneof"` }
type Request_Params_Time ¶
type Request_Params_Time struct { // Maximum duration for the entire request to be handled. MaximumDuration *duration.Duration `protobuf:"bytes,1,opt,name=maximum_duration,json=maximumDuration,proto3" json:"maximum_duration,omitempty"` // contains filtered or unexported fields }
Time defines parameters related to timeouts.
func (*Request_Params_Time) Descriptor ¶
func (*Request_Params_Time) Descriptor() ([]byte, []int)
Deprecated: Use Request_Params_Time.ProtoReflect.Descriptor instead.
func (*Request_Params_Time) GetMaximumDuration ¶
func (x *Request_Params_Time) GetMaximumDuration() *duration.Duration
func (*Request_Params_Time) ProtoMessage ¶
func (*Request_Params_Time) ProtoMessage()
func (*Request_Params_Time) ProtoReflect ¶
func (x *Request_Params_Time) ProtoReflect() protoreflect.Message
func (*Request_Params_Time) Reset ¶
func (x *Request_Params_Time) Reset()
func (*Request_Params_Time) String ¶
func (x *Request_Params_Time) String() string
type Request_Suite ¶
type Request_Suite struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
SuiteRequest defines an individual named suite.
func (*Request_Suite) Descriptor ¶
func (*Request_Suite) Descriptor() ([]byte, []int)
Deprecated: Use Request_Suite.ProtoReflect.Descriptor instead.
func (*Request_Suite) GetName ¶
func (x *Request_Suite) GetName() string
func (*Request_Suite) ProtoMessage ¶
func (*Request_Suite) ProtoMessage()
func (*Request_Suite) ProtoReflect ¶
func (x *Request_Suite) ProtoReflect() protoreflect.Message
func (*Request_Suite) Reset ¶
func (x *Request_Suite) Reset()
func (*Request_Suite) String ¶
func (x *Request_Suite) String() string
type Request_Test ¶
type Request_Test struct { // Types that are assignable to Harness: // *Request_Test_Autotest_ Harness isRequest_Test_Harness `protobuf_oneof:"harness"` // contains filtered or unexported fields }
func (*Request_Test) Descriptor ¶
func (*Request_Test) Descriptor() ([]byte, []int)
Deprecated: Use Request_Test.ProtoReflect.Descriptor instead.
func (*Request_Test) GetAutotest ¶
func (x *Request_Test) GetAutotest() *Request_Test_Autotest
func (*Request_Test) GetHarness ¶
func (m *Request_Test) GetHarness() isRequest_Test_Harness
func (*Request_Test) ProtoMessage ¶
func (*Request_Test) ProtoMessage()
func (*Request_Test) ProtoReflect ¶
func (x *Request_Test) ProtoReflect() protoreflect.Message
func (*Request_Test) Reset ¶
func (x *Request_Test) Reset()
func (*Request_Test) String ¶
func (x *Request_Test) String() string
type Request_TestPlan ¶
type Request_TestPlan struct { Suite []*Request_Suite `protobuf:"bytes,1,rep,name=suite,proto3" json:"suite,omitempty"` Test []*Request_Test `protobuf:"bytes,2,rep,name=test,proto3" json:"test,omitempty"` Enumeration *Request_Enumeration `protobuf:"bytes,3,opt,name=enumeration,proto3" json:"enumeration,omitempty"` // contains filtered or unexported fields }
func (*Request_TestPlan) Descriptor ¶
func (*Request_TestPlan) Descriptor() ([]byte, []int)
Deprecated: Use Request_TestPlan.ProtoReflect.Descriptor instead.
func (*Request_TestPlan) GetEnumeration ¶
func (x *Request_TestPlan) GetEnumeration() *Request_Enumeration
func (*Request_TestPlan) GetSuite ¶
func (x *Request_TestPlan) GetSuite() []*Request_Suite
func (*Request_TestPlan) GetTest ¶
func (x *Request_TestPlan) GetTest() []*Request_Test
func (*Request_TestPlan) ProtoMessage ¶
func (*Request_TestPlan) ProtoMessage()
func (*Request_TestPlan) ProtoReflect ¶
func (x *Request_TestPlan) ProtoReflect() protoreflect.Message
func (*Request_TestPlan) Reset ¶
func (x *Request_TestPlan) Reset()
func (*Request_TestPlan) String ¶
func (x *Request_TestPlan) String() string
type Request_Test_Autotest ¶
type Request_Test_Autotest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` TestArgs string `protobuf:"bytes,2,opt,name=test_args,json=testArgs,proto3" json:"test_args,omitempty"` // Name to be used to display this test's output artifacts, e.g. logs, // results etc. By default display_name is the same as name. // // display_name is especially useful when using test_args to distinguish // between multiple instances of the same test in a request. DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // contains filtered or unexported fields }
func (*Request_Test_Autotest) Descriptor ¶
func (*Request_Test_Autotest) Descriptor() ([]byte, []int)
Deprecated: Use Request_Test_Autotest.ProtoReflect.Descriptor instead.
func (*Request_Test_Autotest) GetDisplayName ¶
func (x *Request_Test_Autotest) GetDisplayName() string
func (*Request_Test_Autotest) GetName ¶
func (x *Request_Test_Autotest) GetName() string
func (*Request_Test_Autotest) GetTestArgs ¶
func (x *Request_Test_Autotest) GetTestArgs() string
func (*Request_Test_Autotest) ProtoMessage ¶
func (*Request_Test_Autotest) ProtoMessage()
func (*Request_Test_Autotest) ProtoReflect ¶
func (x *Request_Test_Autotest) ProtoReflect() protoreflect.Message
func (*Request_Test_Autotest) Reset ¶
func (x *Request_Test_Autotest) Reset()
func (*Request_Test_Autotest) String ¶
func (x *Request_Test_Autotest) String() string
type Request_Test_Autotest_ ¶
type Request_Test_Autotest_ struct {
Autotest *Request_Test_Autotest `protobuf:"bytes,1,opt,name=autotest,proto3,oneof"`
}
type ServiceVersion ¶
type ServiceVersion struct { SkylabTool int64 `protobuf:"varint,2,opt,name=skylab_tool,json=skylabTool,proto3" json:"skylab_tool,omitempty"` CrosfleetTool int64 `protobuf:"varint,3,opt,name=crosfleet_tool,json=crosfleetTool,proto3" json:"crosfleet_tool,omitempty"` // contains filtered or unexported fields }
ServiceVersion denotes the version of services (e.g. the skylab CLI) that can trigger Test Platform's Buildbucket builders (e.g. cros_test_platform and dut_leaser). It is used to ensure that users keep their local versions of such services up-to-date.
func (*ServiceVersion) Descriptor ¶
func (*ServiceVersion) Descriptor() ([]byte, []int)
Deprecated: Use ServiceVersion.ProtoReflect.Descriptor instead.
func (*ServiceVersion) GetCrosfleetTool ¶
func (x *ServiceVersion) GetCrosfleetTool() int64
func (*ServiceVersion) GetSkylabTool ¶
func (x *ServiceVersion) GetSkylabTool() int64
func (*ServiceVersion) ProtoMessage ¶
func (*ServiceVersion) ProtoMessage()
func (*ServiceVersion) ProtoReflect ¶
func (x *ServiceVersion) ProtoReflect() protoreflect.Message
func (*ServiceVersion) Reset ¶
func (x *ServiceVersion) Reset()
func (*ServiceVersion) String ¶
func (x *ServiceVersion) String() string
type TaskState ¶
type TaskState struct { LifeCycle TaskState_LifeCycle `` /* 128-byte string literal not displayed */ // Verdict describes whether the task passed, failed, or had some other // indefinite verdict. Verdict TaskState_Verdict `protobuf:"varint,2,opt,name=verdict,proto3,enum=test_platform.TaskState_Verdict" json:"verdict,omitempty"` // contains filtered or unexported fields }
func (*TaskState) Descriptor ¶
Deprecated: Use TaskState.ProtoReflect.Descriptor instead.
func (*TaskState) GetLifeCycle ¶
func (x *TaskState) GetLifeCycle() TaskState_LifeCycle
func (*TaskState) GetVerdict ¶
func (x *TaskState) GetVerdict() TaskState_Verdict
func (*TaskState) ProtoMessage ¶
func (*TaskState) ProtoMessage()
func (*TaskState) ProtoReflect ¶
func (x *TaskState) ProtoReflect() protoreflect.Message
type TaskState_LifeCycle ¶
type TaskState_LifeCycle int32
const ( TaskState_LIFE_CYCLE_UNSPECIFIED TaskState_LifeCycle = 0 // Waiting to start. TaskState_LIFE_CYCLE_PENDING TaskState_LifeCycle = 1 // Running. TaskState_LIFE_CYCLE_RUNNING TaskState_LifeCycle = 16 // Ran to completion without being cancelled externally, regardless // of whether it succeeded or failed. TaskState_LIFE_CYCLE_COMPLETED TaskState_LifeCycle = 112 // Never got a chance to run, cancelled externally. TaskState_LIFE_CYCLE_CANCELLED TaskState_LifeCycle = 65 // Never got a chance to run, rejected due to no capacity. TaskState_LIFE_CYCLE_REJECTED TaskState_LifeCycle = 66 // Started running but was cancelled externally while running. TaskState_LIFE_CYCLE_ABORTED TaskState_LifeCycle = 80 )
func (TaskState_LifeCycle) Descriptor ¶
func (TaskState_LifeCycle) Descriptor() protoreflect.EnumDescriptor
func (TaskState_LifeCycle) Enum ¶
func (x TaskState_LifeCycle) Enum() *TaskState_LifeCycle
func (TaskState_LifeCycle) EnumDescriptor ¶
func (TaskState_LifeCycle) EnumDescriptor() ([]byte, []int)
Deprecated: Use TaskState_LifeCycle.Descriptor instead.
func (TaskState_LifeCycle) Number ¶
func (x TaskState_LifeCycle) Number() protoreflect.EnumNumber
func (TaskState_LifeCycle) String ¶
func (x TaskState_LifeCycle) String() string
func (TaskState_LifeCycle) Type ¶
func (TaskState_LifeCycle) Type() protoreflect.EnumType
type TaskState_LifeCycleMask ¶
type TaskState_LifeCycleMask int32
const ( TaskState_LIFE_CYCLE_MASK_UNSPECIFIED TaskState_LifeCycleMask = 0 // Mask for LifeCycle values in which a task started running. TaskState_LIFE_CYCLE_MASK_STARTED TaskState_LifeCycleMask = 16 // Mask for LifeCycle values in which a task completed running. TaskState_LIFE_CYCLE_MASK_COMPLETED TaskState_LifeCycleMask = 32 // Mask for LifeCycle values in which a task is in its final state. TaskState_LIFE_CYCLE_MASK_FINAL TaskState_LifeCycleMask = 64 )
func (TaskState_LifeCycleMask) Descriptor ¶
func (TaskState_LifeCycleMask) Descriptor() protoreflect.EnumDescriptor
func (TaskState_LifeCycleMask) Enum ¶
func (x TaskState_LifeCycleMask) Enum() *TaskState_LifeCycleMask
func (TaskState_LifeCycleMask) EnumDescriptor ¶
func (TaskState_LifeCycleMask) EnumDescriptor() ([]byte, []int)
Deprecated: Use TaskState_LifeCycleMask.Descriptor instead.
func (TaskState_LifeCycleMask) Number ¶
func (x TaskState_LifeCycleMask) Number() protoreflect.EnumNumber
func (TaskState_LifeCycleMask) String ¶
func (x TaskState_LifeCycleMask) String() string
func (TaskState_LifeCycleMask) Type ¶
func (TaskState_LifeCycleMask) Type() protoreflect.EnumType
type TaskState_Verdict ¶
type TaskState_Verdict int32
const ( // The task produced no usable verdict (possibly because it never // ran, or never finished, or the results were unparseable). // // Under most circumstances, this should be treated as a failure or // an infrastructure failure. TaskState_VERDICT_UNSPECIFIED TaskState_Verdict = 0 // The task produced a definitive verdict: it passed. TaskState_VERDICT_PASSED TaskState_Verdict = 1 // The task produced a definitive verdict: it failed. TaskState_VERDICT_FAILED TaskState_Verdict = 2 // The task definitively produced no verdict (for instance, because // the test is irrelevant in the given environment). // // Under most circumstances, this should be treated as a passing // (but uninteresting). TaskState_VERDICT_NO_VERDICT TaskState_Verdict = 3 // The task failed, but passed after one or more retries. TaskState_VERDICT_PASSED_ON_RETRY TaskState_Verdict = 4 )
func (TaskState_Verdict) Descriptor ¶
func (TaskState_Verdict) Descriptor() protoreflect.EnumDescriptor
func (TaskState_Verdict) Enum ¶
func (x TaskState_Verdict) Enum() *TaskState_Verdict
func (TaskState_Verdict) EnumDescriptor ¶
func (TaskState_Verdict) EnumDescriptor() ([]byte, []int)
Deprecated: Use TaskState_Verdict.Descriptor instead.
func (TaskState_Verdict) Number ¶
func (x TaskState_Verdict) Number() protoreflect.EnumNumber
func (TaskState_Verdict) String ¶
func (x TaskState_Verdict) String() string
func (TaskState_Verdict) Type ¶
func (TaskState_Verdict) Type() protoreflect.EnumType
Directories
Path | Synopsis |
---|---|
migration
|
|