Back to godoc.org
go.chromium.org/chromiumos/infra/proto/go/test_platform

package test_platform

v0.0.0 (0adef28)
Latest Go to latest
Published: Jun 25, 2020 | License: BSD-3-Clause | Module: go.chromium.org/chromiumos/infra/proto/go

Index

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",
}
var 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,
}
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",
}
var 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,
}
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",
}
var 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,
}
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",
}
var TaskState_Verdict_value = map[string]int32{
	"VERDICT_UNSPECIFIED":     0,
	"VERDICT_PASSED":          1,
	"VERDICT_FAILED":          2,
	"VERDICT_NO_VERDICT":      3,
	"VERDICT_PASSED_ON_RETRY": 4,
}

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

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

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

func (*Request) GetParams

func (m *Request) GetParams() *Request_Params

func (*Request) GetTestPlan

func (m *Request) GetTestPlan() *Request_TestPlan

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

func (*Request) XXX_DiscardUnknown

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal

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

func (*Request) XXX_Merge

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

func (*Request) XXX_Size

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal

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

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

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)

func (*Request_Enumeration) GetAutotestInvocations

func (m *Request_Enumeration) GetAutotestInvocations() []*Request_Enumeration_AutotestInvocation

func (*Request_Enumeration) ProtoMessage

func (*Request_Enumeration) ProtoMessage()

func (*Request_Enumeration) Reset

func (m *Request_Enumeration) Reset()

func (*Request_Enumeration) String

func (m *Request_Enumeration) String() string

func (*Request_Enumeration) XXX_DiscardUnknown

func (m *Request_Enumeration) XXX_DiscardUnknown()

func (*Request_Enumeration) XXX_Marshal

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

func (*Request_Enumeration) XXX_Merge

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

func (*Request_Enumeration) XXX_Size

func (m *Request_Enumeration) XXX_Size() int

func (*Request_Enumeration) XXX_Unmarshal

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

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

func (*Request_Enumeration_AutotestInvocation) Descriptor

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

func (*Request_Enumeration_AutotestInvocation) GetDisplayName

func (m *Request_Enumeration_AutotestInvocation) GetDisplayName() string

func (*Request_Enumeration_AutotestInvocation) GetResultKeyvals

func (m *Request_Enumeration_AutotestInvocation) GetResultKeyvals() map[string]string

func (*Request_Enumeration_AutotestInvocation) GetTest

func (m *Request_Enumeration_AutotestInvocation) GetTest() *api.AutotestTest

func (*Request_Enumeration_AutotestInvocation) GetTestArgs

func (m *Request_Enumeration_AutotestInvocation) GetTestArgs() string

func (*Request_Enumeration_AutotestInvocation) ProtoMessage

func (*Request_Enumeration_AutotestInvocation) ProtoMessage()

func (*Request_Enumeration_AutotestInvocation) Reset

func (m *Request_Enumeration_AutotestInvocation) Reset()

func (*Request_Enumeration_AutotestInvocation) String

func (m *Request_Enumeration_AutotestInvocation) String() string

func (*Request_Enumeration_AutotestInvocation) XXX_DiscardUnknown

func (m *Request_Enumeration_AutotestInvocation) XXX_DiscardUnknown()

func (*Request_Enumeration_AutotestInvocation) XXX_Marshal

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

func (*Request_Enumeration_AutotestInvocation) XXX_Merge

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

func (*Request_Enumeration_AutotestInvocation) XXX_Size

func (m *Request_Enumeration_AutotestInvocation) XXX_Size() int

func (*Request_Enumeration_AutotestInvocation) XXX_Unmarshal

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

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"`
	Legacy               *Request_Params_Legacy               `protobuf:"bytes,10,opt,name=legacy,proto3" json:"legacy,omitempty"`
	Notification         *Request_Params_Notification         `protobuf:"bytes,11,opt,name=notification,proto3" json:"notification,omitempty"`
	Migrations           *Request_Params_Migrations           `protobuf:"bytes,12,opt,name=migrations,proto3" json:"migrations,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                             `json:"-"`
	XXX_unrecognized     []byte                               `json:"-"`
	XXX_sizecache        int32                                `json:"-"`
}

Params defines parameters that apply to an entire Request.

NEXT_TAG: 11

func (*Request_Params) Descriptor

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

func (*Request_Params) GetDecorations

func (m *Request_Params) GetDecorations() *Request_Params_Decorations

func (*Request_Params) GetFreeformAttributes

func (m *Request_Params) GetFreeformAttributes() *Request_Params_FreeformAttributes

func (*Request_Params) GetHardwareAttributes

func (m *Request_Params) GetHardwareAttributes() *Request_Params_HardwareAttributes

func (*Request_Params) GetLegacy

func (m *Request_Params) GetLegacy() *Request_Params_Legacy

func (*Request_Params) GetMetadata

func (m *Request_Params) GetMetadata() *Request_Params_Metadata

func (*Request_Params) GetMigrations

func (m *Request_Params) GetMigrations() *Request_Params_Migrations

func (*Request_Params) GetNotification

func (m *Request_Params) GetNotification() *Request_Params_Notification

func (*Request_Params) GetRetry

func (m *Request_Params) GetRetry() *Request_Params_Retry

func (*Request_Params) GetScheduling

func (m *Request_Params) GetScheduling() *Request_Params_Scheduling

func (*Request_Params) GetSoftwareAttributes

func (m *Request_Params) GetSoftwareAttributes() *Request_Params_SoftwareAttributes

func (*Request_Params) GetSoftwareDependencies

func (m *Request_Params) GetSoftwareDependencies() []*Request_Params_SoftwareDependency

func (*Request_Params) GetTime

func (m *Request_Params) GetTime() *Request_Params_Time

func (*Request_Params) ProtoMessage

func (*Request_Params) ProtoMessage()

func (*Request_Params) Reset

func (m *Request_Params) Reset()

func (*Request_Params) String

func (m *Request_Params) String() string

func (*Request_Params) XXX_DiscardUnknown

func (m *Request_Params) XXX_DiscardUnknown()

func (*Request_Params) XXX_Marshal

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

func (*Request_Params) XXX_Merge

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

func (*Request_Params) XXX_Size

func (m *Request_Params) XXX_Size() int

func (*Request_Params) XXX_Unmarshal

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

type Request_Params_Decorations

type Request_Params_Decorations struct {
	AutotestKeyvals map[string]string "" /* 194 byte string literal not displayed */

	Tags                 []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Decorations defines parameters that add additional decorations to test runs.

func (*Request_Params_Decorations) Descriptor

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

func (*Request_Params_Decorations) GetAutotestKeyvals

func (m *Request_Params_Decorations) GetAutotestKeyvals() map[string]string

func (*Request_Params_Decorations) GetTags

func (m *Request_Params_Decorations) GetTags() []string

func (*Request_Params_Decorations) ProtoMessage

func (*Request_Params_Decorations) ProtoMessage()

func (*Request_Params_Decorations) Reset

func (m *Request_Params_Decorations) Reset()

func (*Request_Params_Decorations) String

func (m *Request_Params_Decorations) String() string

func (*Request_Params_Decorations) XXX_DiscardUnknown

func (m *Request_Params_Decorations) XXX_DiscardUnknown()

func (*Request_Params_Decorations) XXX_Marshal

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

func (*Request_Params_Decorations) XXX_Merge

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

func (*Request_Params_Decorations) XXX_Size

func (m *Request_Params_Decorations) XXX_Size() int

func (*Request_Params_Decorations) XXX_Unmarshal

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

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

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)

func (*Request_Params_FreeformAttributes) GetSwarmingDimensions

func (m *Request_Params_FreeformAttributes) GetSwarmingDimensions() []string

func (*Request_Params_FreeformAttributes) ProtoMessage

func (*Request_Params_FreeformAttributes) ProtoMessage()

func (*Request_Params_FreeformAttributes) Reset

func (m *Request_Params_FreeformAttributes) Reset()

func (*Request_Params_FreeformAttributes) String

func (m *Request_Params_FreeformAttributes) String() string

func (*Request_Params_FreeformAttributes) XXX_DiscardUnknown

func (m *Request_Params_FreeformAttributes) XXX_DiscardUnknown()

func (*Request_Params_FreeformAttributes) XXX_Marshal

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

func (*Request_Params_FreeformAttributes) XXX_Merge

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

func (*Request_Params_FreeformAttributes) XXX_Size

func (m *Request_Params_FreeformAttributes) XXX_Size() int

func (*Request_Params_FreeformAttributes) XXX_Unmarshal

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

type Request_Params_HardwareAttributes

type Request_Params_HardwareAttributes struct {
	// Model is the model to run tests against.
	//
	// TODO(akeshet): Re-use device protos instead of defining this
	// independently.
	Model                string   `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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)

func (*Request_Params_HardwareAttributes) GetModel

func (m *Request_Params_HardwareAttributes) GetModel() string

func (*Request_Params_HardwareAttributes) ProtoMessage

func (*Request_Params_HardwareAttributes) ProtoMessage()

func (*Request_Params_HardwareAttributes) Reset

func (m *Request_Params_HardwareAttributes) Reset()

func (*Request_Params_HardwareAttributes) String

func (m *Request_Params_HardwareAttributes) String() string

func (*Request_Params_HardwareAttributes) XXX_DiscardUnknown

func (m *Request_Params_HardwareAttributes) XXX_DiscardUnknown()

func (*Request_Params_HardwareAttributes) XXX_Marshal

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

func (*Request_Params_HardwareAttributes) XXX_Merge

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

func (*Request_Params_HardwareAttributes) XXX_Size

func (m *Request_Params_HardwareAttributes) XXX_Size() int

func (*Request_Params_HardwareAttributes) XXX_Unmarshal

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

type Request_Params_Legacy

type Request_Params_Legacy struct {
	// If autotest_suite is defined, then if the autotest backend is selected
	// for running this request, the entire enumeration will be ignored, and
	// replaced by a single invocation of this named autotest suite.
	AutotestSuite        string   `protobuf:"bytes,1,opt,name=autotest_suite,json=autotestSuite,proto3" json:"autotest_suite,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Legacy encodes arguments that relate to migration from legacy backend (autotest); support for these arguments will be phased out.

func (*Request_Params_Legacy) Descriptor

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

func (*Request_Params_Legacy) GetAutotestSuite

func (m *Request_Params_Legacy) GetAutotestSuite() string

func (*Request_Params_Legacy) ProtoMessage

func (*Request_Params_Legacy) ProtoMessage()

func (*Request_Params_Legacy) Reset

func (m *Request_Params_Legacy) Reset()

func (*Request_Params_Legacy) String

func (m *Request_Params_Legacy) String() string

func (*Request_Params_Legacy) XXX_DiscardUnknown

func (m *Request_Params_Legacy) XXX_DiscardUnknown()

func (*Request_Params_Legacy) XXX_Marshal

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

func (*Request_Params_Legacy) XXX_Merge

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

func (*Request_Params_Legacy) XXX_Size

func (m *Request_Params_Legacy) XXX_Size() int

func (*Request_Params_Legacy) XXX_Unmarshal

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

type Request_Params_Metadata

type Request_Params_Metadata struct {
	TestMetadataUrl string `protobuf:"bytes,1,opt,name=test_metadata_url,json=testMetadataUrl,proto3" json:"test_metadata_url,omitempty"`

	DebugSymbolsArchiveUrl string   "" /* 131 byte string literal not displayed */
	XXX_NoUnkeyedLiteral   struct{} `json:"-"`
	XXX_unrecognized       []byte   `json:"-"`
	XXX_sizecache          int32    `json:"-"`
}

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)

func (*Request_Params_Metadata) GetDebugSymbolsArchiveUrl

func (m *Request_Params_Metadata) GetDebugSymbolsArchiveUrl() string

func (*Request_Params_Metadata) GetTestMetadataUrl

func (m *Request_Params_Metadata) GetTestMetadataUrl() string

func (*Request_Params_Metadata) ProtoMessage

func (*Request_Params_Metadata) ProtoMessage()

func (*Request_Params_Metadata) Reset

func (m *Request_Params_Metadata) Reset()

func (*Request_Params_Metadata) String

func (m *Request_Params_Metadata) String() string

func (*Request_Params_Metadata) XXX_DiscardUnknown

func (m *Request_Params_Metadata) XXX_DiscardUnknown()

func (*Request_Params_Metadata) XXX_Marshal

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

func (*Request_Params_Metadata) XXX_Merge

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

func (*Request_Params_Metadata) XXX_Size

func (m *Request_Params_Metadata) XXX_Size() int

func (*Request_Params_Metadata) XXX_Unmarshal

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

type Request_Params_Migrations

type Request_Params_Migrations struct {
	UseTestRunner bool `protobuf:"varint,1,opt,name=use_test_runner,json=useTestRunner,proto3" json:"use_test_runner,omitempty"`

	EnableSynchronousOffload bool     "" /* 136 byte string literal not displayed */
	XXX_NoUnkeyedLiteral     struct{} `json:"-"`
	XXX_unrecognized         []byte   `json:"-"`
	XXX_sizecache            int32    `json:"-"`
}

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)

func (*Request_Params_Migrations) GetEnableSynchronousOffload

func (m *Request_Params_Migrations) GetEnableSynchronousOffload() bool

func (*Request_Params_Migrations) GetUseTestRunner

func (m *Request_Params_Migrations) GetUseTestRunner() bool

func (*Request_Params_Migrations) ProtoMessage

func (*Request_Params_Migrations) ProtoMessage()

func (*Request_Params_Migrations) Reset

func (m *Request_Params_Migrations) Reset()

func (*Request_Params_Migrations) String

func (m *Request_Params_Migrations) String() string

func (*Request_Params_Migrations) XXX_DiscardUnknown

func (m *Request_Params_Migrations) XXX_DiscardUnknown()

func (*Request_Params_Migrations) XXX_Marshal

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

func (*Request_Params_Migrations) XXX_Merge

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

func (*Request_Params_Migrations) XXX_Size

func (m *Request_Params_Migrations) XXX_Size() int

func (*Request_Params_Migrations) XXX_Unmarshal

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

type Request_Params_Notification

type Request_Params_Notification struct {
	// Pubsub topic to broadcast status updates to
	PubsubTopic          string   `protobuf:"bytes,1,opt,name=pubsub_topic,json=pubsubTopic,proto3" json:"pubsub_topic,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Notification defines parameters for the request to use to notify callers of its test's status updates.

func (*Request_Params_Notification) Descriptor

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

func (*Request_Params_Notification) GetPubsubTopic

func (m *Request_Params_Notification) GetPubsubTopic() string

func (*Request_Params_Notification) ProtoMessage

func (*Request_Params_Notification) ProtoMessage()

func (*Request_Params_Notification) Reset

func (m *Request_Params_Notification) Reset()

func (*Request_Params_Notification) String

func (m *Request_Params_Notification) String() string

func (*Request_Params_Notification) XXX_DiscardUnknown

func (m *Request_Params_Notification) XXX_DiscardUnknown()

func (*Request_Params_Notification) XXX_Marshal

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

func (*Request_Params_Notification) XXX_Merge

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

func (*Request_Params_Notification) XXX_Size

func (m *Request_Params_Notification) XXX_Size() int

func (*Request_Params_Notification) XXX_Unmarshal

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

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

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)

func (*Request_Params_Retry) GetAllow

func (m *Request_Params_Retry) GetAllow() bool

func (*Request_Params_Retry) GetMax

func (m *Request_Params_Retry) GetMax() int32

func (*Request_Params_Retry) ProtoMessage

func (*Request_Params_Retry) ProtoMessage()

func (*Request_Params_Retry) Reset

func (m *Request_Params_Retry) Reset()

func (*Request_Params_Retry) String

func (m *Request_Params_Retry) String() string

func (*Request_Params_Retry) XXX_DiscardUnknown

func (m *Request_Params_Retry) XXX_DiscardUnknown()

func (*Request_Params_Retry) XXX_Marshal

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

func (*Request_Params_Retry) XXX_Merge

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

func (*Request_Params_Retry) XXX_Size

func (m *Request_Params_Retry) XXX_Size() int

func (*Request_Params_Retry) XXX_Unmarshal

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

type Request_Params_Scheduling

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

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)

func (*Request_Params_Scheduling) GetManagedPool

func (m *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 (m *Request_Params_Scheduling) GetPriority() int64

func (*Request_Params_Scheduling) GetQsAccount

func (m *Request_Params_Scheduling) GetQsAccount() string

func (*Request_Params_Scheduling) GetQuotaAccount

func (m *Request_Params_Scheduling) GetQuotaAccount() string

Deprecated: Do not use.

func (*Request_Params_Scheduling) GetUnmanagedPool

func (m *Request_Params_Scheduling) GetUnmanagedPool() string

func (*Request_Params_Scheduling) ProtoMessage

func (*Request_Params_Scheduling) ProtoMessage()

func (*Request_Params_Scheduling) Reset

func (m *Request_Params_Scheduling) Reset()

func (*Request_Params_Scheduling) String

func (m *Request_Params_Scheduling) String() string

func (*Request_Params_Scheduling) XXX_DiscardUnknown

func (m *Request_Params_Scheduling) XXX_DiscardUnknown()

func (*Request_Params_Scheduling) XXX_Marshal

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

func (*Request_Params_Scheduling) XXX_Merge

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

func (*Request_Params_Scheduling) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Request_Params_Scheduling) XXX_Size

func (m *Request_Params_Scheduling) XXX_Size() int

func (*Request_Params_Scheduling) XXX_Unmarshal

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

type Request_Params_Scheduling_ManagedPool

type Request_Params_Scheduling_ManagedPool int32

ManagedPool enumerates the different lab platform-managed pools. Devices in these pools are automatically managed by lab platform systems and can not be arbitrarily assigned to pools by users.

Managed pool implementations are specific to test platform's scheduling backends. For Skylab, see https://chromium.googlesource.com/infra/infra/+/5566668428c6b286702bf440d9dfd0be7bca1d84/go/src/infra/libs/skylab/inventory/device.proto#173 For autotest, see https://chromium.googlesource.com/chromiumos/third_party/autotest/+/7436c2b6e6bd32ed1f1bd08cf8e0feb40cfe7b89/server/constants.py#18

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

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

func (Request_Params_Scheduling_ManagedPool) String

func (x Request_Params_Scheduling_ManagedPool) String() string

type Request_Params_Scheduling_ManagedPool_

type Request_Params_Scheduling_ManagedPool_ struct {
	ManagedPool Request_Params_Scheduling_ManagedPool "" /* 128 byte string literal not displayed */
}

type Request_Params_Scheduling_QuotaAccount

type Request_Params_Scheduling_QuotaAccount struct {
	QuotaAccount string `protobuf:"bytes,3,opt,name=quota_account,json=quotaAccount,proto3,oneof"`
}

type Request_Params_Scheduling_UnmanagedPool

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

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)

func (*Request_Params_SoftwareAttributes) GetBuildTarget

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

func (*Request_Params_SoftwareAttributes) ProtoMessage

func (*Request_Params_SoftwareAttributes) ProtoMessage()

func (*Request_Params_SoftwareAttributes) Reset

func (m *Request_Params_SoftwareAttributes) Reset()

func (*Request_Params_SoftwareAttributes) String

func (m *Request_Params_SoftwareAttributes) String() string

func (*Request_Params_SoftwareAttributes) XXX_DiscardUnknown

func (m *Request_Params_SoftwareAttributes) XXX_DiscardUnknown()

func (*Request_Params_SoftwareAttributes) XXX_Marshal

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

func (*Request_Params_SoftwareAttributes) XXX_Merge

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

func (*Request_Params_SoftwareAttributes) XXX_Size

func (m *Request_Params_SoftwareAttributes) XXX_Size() int

func (*Request_Params_SoftwareAttributes) XXX_Unmarshal

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

type Request_Params_SoftwareDependency

type Request_Params_SoftwareDependency struct {
	// Types that are valid to be assigned to Dep:
	//	*Request_Params_SoftwareDependency_ChromeosBuild
	//	*Request_Params_SoftwareDependency_RoFirmwareBuild
	//	*Request_Params_SoftwareDependency_RwFirmwareBuild
	Dep                  isRequest_Params_SoftwareDependency_Dep `protobuf_oneof:"dep"`
	XXX_NoUnkeyedLiteral struct{}                                `json:"-"`
	XXX_unrecognized     []byte                                  `json:"-"`
	XXX_sizecache        int32                                   `json:"-"`
}

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)

func (*Request_Params_SoftwareDependency) GetChromeosBuild

func (m *Request_Params_SoftwareDependency) GetChromeosBuild() string

func (*Request_Params_SoftwareDependency) GetDep

func (m *Request_Params_SoftwareDependency) GetDep() isRequest_Params_SoftwareDependency_Dep

func (*Request_Params_SoftwareDependency) GetRoFirmwareBuild

func (m *Request_Params_SoftwareDependency) GetRoFirmwareBuild() string

func (*Request_Params_SoftwareDependency) GetRwFirmwareBuild

func (m *Request_Params_SoftwareDependency) GetRwFirmwareBuild() string

func (*Request_Params_SoftwareDependency) ProtoMessage

func (*Request_Params_SoftwareDependency) ProtoMessage()

func (*Request_Params_SoftwareDependency) Reset

func (m *Request_Params_SoftwareDependency) Reset()

func (*Request_Params_SoftwareDependency) String

func (m *Request_Params_SoftwareDependency) String() string

func (*Request_Params_SoftwareDependency) XXX_DiscardUnknown

func (m *Request_Params_SoftwareDependency) XXX_DiscardUnknown()

func (*Request_Params_SoftwareDependency) XXX_Marshal

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

func (*Request_Params_SoftwareDependency) XXX_Merge

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

func (*Request_Params_SoftwareDependency) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Request_Params_SoftwareDependency) XXX_Size

func (m *Request_Params_SoftwareDependency) XXX_Size() int

func (*Request_Params_SoftwareDependency) XXX_Unmarshal

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

type Request_Params_SoftwareDependency_ChromeosBuild

type Request_Params_SoftwareDependency_ChromeosBuild struct {
	ChromeosBuild string `protobuf:"bytes,3,opt,name=chromeos_build,json=chromeosBuild,proto3,oneof"`
}

type Request_Params_SoftwareDependency_RoFirmwareBuild

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

Time defines parameters related to timeouts.

func (*Request_Params_Time) Descriptor

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

func (*Request_Params_Time) GetMaximumDuration

func (m *Request_Params_Time) GetMaximumDuration() *duration.Duration

func (*Request_Params_Time) ProtoMessage

func (*Request_Params_Time) ProtoMessage()

func (*Request_Params_Time) Reset

func (m *Request_Params_Time) Reset()

func (*Request_Params_Time) String

func (m *Request_Params_Time) String() string

func (*Request_Params_Time) XXX_DiscardUnknown

func (m *Request_Params_Time) XXX_DiscardUnknown()

func (*Request_Params_Time) XXX_Marshal

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

func (*Request_Params_Time) XXX_Merge

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

func (*Request_Params_Time) XXX_Size

func (m *Request_Params_Time) XXX_Size() int

func (*Request_Params_Time) XXX_Unmarshal

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

type Request_Suite

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

SuiteRequest defines an individual named suite.

func (*Request_Suite) Descriptor

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

func (*Request_Suite) GetName

func (m *Request_Suite) GetName() string

func (*Request_Suite) ProtoMessage

func (*Request_Suite) ProtoMessage()

func (*Request_Suite) Reset

func (m *Request_Suite) Reset()

func (*Request_Suite) String

func (m *Request_Suite) String() string

func (*Request_Suite) XXX_DiscardUnknown

func (m *Request_Suite) XXX_DiscardUnknown()

func (*Request_Suite) XXX_Marshal

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

func (*Request_Suite) XXX_Merge

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

func (*Request_Suite) XXX_Size

func (m *Request_Suite) XXX_Size() int

func (*Request_Suite) XXX_Unmarshal

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

type Request_Test

type Request_Test struct {
	// Types that are valid to be assigned to Harness:
	//	*Request_Test_Autotest_
	Harness              isRequest_Test_Harness `protobuf_oneof:"harness"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*Request_Test) Descriptor

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

func (*Request_Test) GetAutotest

func (m *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) Reset

func (m *Request_Test) Reset()

func (*Request_Test) String

func (m *Request_Test) String() string

func (*Request_Test) XXX_DiscardUnknown

func (m *Request_Test) XXX_DiscardUnknown()

func (*Request_Test) XXX_Marshal

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

func (*Request_Test) XXX_Merge

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

func (*Request_Test) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Request_Test) XXX_Size

func (m *Request_Test) XXX_Size() int

func (*Request_Test) XXX_Unmarshal

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

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

func (*Request_TestPlan) Descriptor

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

func (*Request_TestPlan) GetEnumeration

func (m *Request_TestPlan) GetEnumeration() *Request_Enumeration

func (*Request_TestPlan) GetSuite

func (m *Request_TestPlan) GetSuite() []*Request_Suite

func (*Request_TestPlan) GetTest

func (m *Request_TestPlan) GetTest() []*Request_Test

func (*Request_TestPlan) ProtoMessage

func (*Request_TestPlan) ProtoMessage()

func (*Request_TestPlan) Reset

func (m *Request_TestPlan) Reset()

func (*Request_TestPlan) String

func (m *Request_TestPlan) String() string

func (*Request_TestPlan) XXX_DiscardUnknown

func (m *Request_TestPlan) XXX_DiscardUnknown()

func (*Request_TestPlan) XXX_Marshal

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

func (*Request_TestPlan) XXX_Merge

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

func (*Request_TestPlan) XXX_Size

func (m *Request_TestPlan) XXX_Size() int

func (*Request_TestPlan) XXX_Unmarshal

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

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

func (*Request_Test_Autotest) Descriptor

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

func (*Request_Test_Autotest) GetDisplayName

func (m *Request_Test_Autotest) GetDisplayName() string

func (*Request_Test_Autotest) GetName

func (m *Request_Test_Autotest) GetName() string

func (*Request_Test_Autotest) GetTestArgs

func (m *Request_Test_Autotest) GetTestArgs() string

func (*Request_Test_Autotest) ProtoMessage

func (*Request_Test_Autotest) ProtoMessage()

func (*Request_Test_Autotest) Reset

func (m *Request_Test_Autotest) Reset()

func (*Request_Test_Autotest) String

func (m *Request_Test_Autotest) String() string

func (*Request_Test_Autotest) XXX_DiscardUnknown

func (m *Request_Test_Autotest) XXX_DiscardUnknown()

func (*Request_Test_Autotest) XXX_Marshal

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

func (*Request_Test_Autotest) XXX_Merge

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

func (*Request_Test_Autotest) XXX_Size

func (m *Request_Test_Autotest) XXX_Size() int

func (*Request_Test_Autotest) XXX_Unmarshal

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

type Request_Test_Autotest_

type Request_Test_Autotest_ struct {
	Autotest *Request_Test_Autotest `protobuf:"bytes,1,opt,name=autotest,proto3,oneof"`
}

type TaskState

type TaskState struct {
	LifeCycle TaskState_LifeCycle "" /* 128 byte string literal not displayed */

	Verdict              TaskState_Verdict `protobuf:"varint,2,opt,name=verdict,proto3,enum=test_platform.TaskState_Verdict" json:"verdict,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*TaskState) Descriptor

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

func (*TaskState) GetLifeCycle

func (m *TaskState) GetLifeCycle() TaskState_LifeCycle

func (*TaskState) GetVerdict

func (m *TaskState) GetVerdict() TaskState_Verdict

func (*TaskState) ProtoMessage

func (*TaskState) ProtoMessage()

func (*TaskState) Reset

func (m *TaskState) Reset()

func (*TaskState) String

func (m *TaskState) String() string

func (*TaskState) XXX_DiscardUnknown

func (m *TaskState) XXX_DiscardUnknown()

func (*TaskState) XXX_Marshal

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

func (*TaskState) XXX_Merge

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

func (*TaskState) XXX_Size

func (m *TaskState) XXX_Size() int

func (*TaskState) XXX_Unmarshal

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

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

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

func (TaskState_LifeCycle) String

func (x TaskState_LifeCycle) String() string

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

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

func (TaskState_LifeCycleMask) String

func (x TaskState_LifeCycleMask) String() string

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

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

func (TaskState_Verdict) String

func (x TaskState_Verdict) String() string
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier