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

package test_platform

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

Index

Package Files

request.pb.go taskstate.pb.go

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 Uses

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 Uses

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

func (*Request) GetParams Uses

func (m *Request) GetParams() *Request_Params

func (*Request) GetTestPlan Uses

func (m *Request) GetTestPlan() *Request_TestPlan

func (*Request) ProtoMessage Uses

func (*Request) ProtoMessage()

func (*Request) Reset Uses

func (m *Request) Reset()

func (*Request) String Uses

func (m *Request) String() string

func (*Request) XXX_DiscardUnknown Uses

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal Uses

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

func (*Request) XXX_Merge Uses

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

func (*Request) XXX_Size Uses

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal Uses

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

type Request_Enumeration Uses

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 Uses

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

func (*Request_Enumeration) GetAutotestInvocations Uses

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

func (*Request_Enumeration) ProtoMessage Uses

func (*Request_Enumeration) ProtoMessage()

func (*Request_Enumeration) Reset Uses

func (m *Request_Enumeration) Reset()

func (*Request_Enumeration) String Uses

func (m *Request_Enumeration) String() string

func (*Request_Enumeration) XXX_DiscardUnknown Uses

func (m *Request_Enumeration) XXX_DiscardUnknown()

func (*Request_Enumeration) XXX_Marshal Uses

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

func (*Request_Enumeration) XXX_Merge Uses

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

func (*Request_Enumeration) XXX_Size Uses

func (m *Request_Enumeration) XXX_Size() int

func (*Request_Enumeration) XXX_Unmarshal Uses

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

type Request_Enumeration_AutotestInvocation Uses

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 `protobuf:"bytes,4,rep,name=result_keyvals,json=resultKeyvals,proto3" json:"result_keyvals,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

func (*Request_Enumeration_AutotestInvocation) Descriptor Uses

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

func (*Request_Enumeration_AutotestInvocation) GetDisplayName Uses

func (m *Request_Enumeration_AutotestInvocation) GetDisplayName() string

func (*Request_Enumeration_AutotestInvocation) GetResultKeyvals Uses

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

func (*Request_Enumeration_AutotestInvocation) GetTest Uses

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

func (*Request_Enumeration_AutotestInvocation) GetTestArgs Uses

func (m *Request_Enumeration_AutotestInvocation) GetTestArgs() string

func (*Request_Enumeration_AutotestInvocation) ProtoMessage Uses

func (*Request_Enumeration_AutotestInvocation) ProtoMessage()

func (*Request_Enumeration_AutotestInvocation) Reset Uses

func (m *Request_Enumeration_AutotestInvocation) Reset()

func (*Request_Enumeration_AutotestInvocation) String Uses

func (m *Request_Enumeration_AutotestInvocation) String() string

func (*Request_Enumeration_AutotestInvocation) XXX_DiscardUnknown Uses

func (m *Request_Enumeration_AutotestInvocation) XXX_DiscardUnknown()

func (*Request_Enumeration_AutotestInvocation) XXX_Marshal Uses

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

func (*Request_Enumeration_AutotestInvocation) XXX_Merge Uses

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

func (*Request_Enumeration_AutotestInvocation) XXX_Size Uses

func (m *Request_Enumeration_AutotestInvocation) XXX_Size() int

func (*Request_Enumeration_AutotestInvocation) XXX_Unmarshal Uses

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

type Request_Params Uses

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"`
    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 Uses

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

func (*Request_Params) GetDecorations Uses

func (m *Request_Params) GetDecorations() *Request_Params_Decorations

func (*Request_Params) GetFreeformAttributes Uses

func (m *Request_Params) GetFreeformAttributes() *Request_Params_FreeformAttributes

func (*Request_Params) GetHardwareAttributes Uses

func (m *Request_Params) GetHardwareAttributes() *Request_Params_HardwareAttributes

func (*Request_Params) GetLegacy Uses

func (m *Request_Params) GetLegacy() *Request_Params_Legacy

func (*Request_Params) GetMetadata Uses

func (m *Request_Params) GetMetadata() *Request_Params_Metadata

func (*Request_Params) GetNotification Uses

func (m *Request_Params) GetNotification() *Request_Params_Notification

func (*Request_Params) GetRetry Uses

func (m *Request_Params) GetRetry() *Request_Params_Retry

func (*Request_Params) GetScheduling Uses

func (m *Request_Params) GetScheduling() *Request_Params_Scheduling

func (*Request_Params) GetSoftwareAttributes Uses

func (m *Request_Params) GetSoftwareAttributes() *Request_Params_SoftwareAttributes

func (*Request_Params) GetSoftwareDependencies Uses

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

func (*Request_Params) GetTime Uses

func (m *Request_Params) GetTime() *Request_Params_Time

func (*Request_Params) ProtoMessage Uses

func (*Request_Params) ProtoMessage()

func (*Request_Params) Reset Uses

func (m *Request_Params) Reset()

func (*Request_Params) String Uses

func (m *Request_Params) String() string

func (*Request_Params) XXX_DiscardUnknown Uses

func (m *Request_Params) XXX_DiscardUnknown()

func (*Request_Params) XXX_Marshal Uses

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

func (*Request_Params) XXX_Merge Uses

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

func (*Request_Params) XXX_Size Uses

func (m *Request_Params) XXX_Size() int

func (*Request_Params) XXX_Unmarshal Uses

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

type Request_Params_Decorations Uses

type Request_Params_Decorations struct {
    // AutotestKeyvals are (key, value) pairs that will be added to all
    // autotest tasks run.
    AutotestKeyvals map[string]string `protobuf:"bytes,1,rep,name=autotest_keyvals,json=autotestKeyvals,proto3" json:"autotest_keyvals,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // 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"`
    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 Uses

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

func (*Request_Params_Decorations) GetAutotestKeyvals Uses

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

func (*Request_Params_Decorations) GetTags Uses

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

func (*Request_Params_Decorations) ProtoMessage Uses

func (*Request_Params_Decorations) ProtoMessage()

func (*Request_Params_Decorations) Reset Uses

func (m *Request_Params_Decorations) Reset()

func (*Request_Params_Decorations) String Uses

func (m *Request_Params_Decorations) String() string

func (*Request_Params_Decorations) XXX_DiscardUnknown Uses

func (m *Request_Params_Decorations) XXX_DiscardUnknown()

func (*Request_Params_Decorations) XXX_Marshal Uses

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

func (*Request_Params_Decorations) XXX_Merge Uses

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

func (*Request_Params_Decorations) XXX_Size Uses

func (m *Request_Params_Decorations) XXX_Size() int

func (*Request_Params_Decorations) XXX_Unmarshal Uses

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

type Request_Params_FreeformAttributes Uses

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 Uses

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

func (*Request_Params_FreeformAttributes) GetSwarmingDimensions Uses

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

func (*Request_Params_FreeformAttributes) ProtoMessage Uses

func (*Request_Params_FreeformAttributes) ProtoMessage()

func (*Request_Params_FreeformAttributes) Reset Uses

func (m *Request_Params_FreeformAttributes) Reset()

func (*Request_Params_FreeformAttributes) String Uses

func (m *Request_Params_FreeformAttributes) String() string

func (*Request_Params_FreeformAttributes) XXX_DiscardUnknown Uses

func (m *Request_Params_FreeformAttributes) XXX_DiscardUnknown()

func (*Request_Params_FreeformAttributes) XXX_Marshal Uses

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

func (*Request_Params_FreeformAttributes) XXX_Merge Uses

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

func (*Request_Params_FreeformAttributes) XXX_Size Uses

func (m *Request_Params_FreeformAttributes) XXX_Size() int

func (*Request_Params_FreeformAttributes) XXX_Unmarshal Uses

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

type Request_Params_HardwareAttributes Uses

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 Uses

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

func (*Request_Params_HardwareAttributes) GetModel Uses

func (m *Request_Params_HardwareAttributes) GetModel() string

func (*Request_Params_HardwareAttributes) ProtoMessage Uses

func (*Request_Params_HardwareAttributes) ProtoMessage()

func (*Request_Params_HardwareAttributes) Reset Uses

func (m *Request_Params_HardwareAttributes) Reset()

func (*Request_Params_HardwareAttributes) String Uses

func (m *Request_Params_HardwareAttributes) String() string

func (*Request_Params_HardwareAttributes) XXX_DiscardUnknown Uses

func (m *Request_Params_HardwareAttributes) XXX_DiscardUnknown()

func (*Request_Params_HardwareAttributes) XXX_Marshal Uses

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

func (*Request_Params_HardwareAttributes) XXX_Merge Uses

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

func (*Request_Params_HardwareAttributes) XXX_Size Uses

func (m *Request_Params_HardwareAttributes) XXX_Size() int

func (*Request_Params_HardwareAttributes) XXX_Unmarshal Uses

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

type Request_Params_Legacy Uses

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 Uses

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

func (*Request_Params_Legacy) GetAutotestSuite Uses

func (m *Request_Params_Legacy) GetAutotestSuite() string

func (*Request_Params_Legacy) ProtoMessage Uses

func (*Request_Params_Legacy) ProtoMessage()

func (*Request_Params_Legacy) Reset Uses

func (m *Request_Params_Legacy) Reset()

func (*Request_Params_Legacy) String Uses

func (m *Request_Params_Legacy) String() string

func (*Request_Params_Legacy) XXX_DiscardUnknown Uses

func (m *Request_Params_Legacy) XXX_DiscardUnknown()

func (*Request_Params_Legacy) XXX_Marshal Uses

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

func (*Request_Params_Legacy) XXX_Merge Uses

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

func (*Request_Params_Legacy) XXX_Size Uses

func (m *Request_Params_Legacy) XXX_Size() int

func (*Request_Params_Legacy) XXX_Unmarshal Uses

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

type Request_Params_Metadata Uses

type Request_Params_Metadata struct {
    TestMetadataUrl      string   `protobuf:"bytes,1,opt,name=test_metadata_url,json=testMetadataUrl,proto3" json:"test_metadata_url,omitempty"`
    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 Uses

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

func (*Request_Params_Metadata) GetTestMetadataUrl Uses

func (m *Request_Params_Metadata) GetTestMetadataUrl() string

func (*Request_Params_Metadata) ProtoMessage Uses

func (*Request_Params_Metadata) ProtoMessage()

func (*Request_Params_Metadata) Reset Uses

func (m *Request_Params_Metadata) Reset()

func (*Request_Params_Metadata) String Uses

func (m *Request_Params_Metadata) String() string

func (*Request_Params_Metadata) XXX_DiscardUnknown Uses

func (m *Request_Params_Metadata) XXX_DiscardUnknown()

func (*Request_Params_Metadata) XXX_Marshal Uses

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

func (*Request_Params_Metadata) XXX_Merge Uses

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

func (*Request_Params_Metadata) XXX_Size Uses

func (m *Request_Params_Metadata) XXX_Size() int

func (*Request_Params_Metadata) XXX_Unmarshal Uses

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

type Request_Params_Notification Uses

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 Uses

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

func (*Request_Params_Notification) GetPubsubTopic Uses

func (m *Request_Params_Notification) GetPubsubTopic() string

func (*Request_Params_Notification) ProtoMessage Uses

func (*Request_Params_Notification) ProtoMessage()

func (*Request_Params_Notification) Reset Uses

func (m *Request_Params_Notification) Reset()

func (*Request_Params_Notification) String Uses

func (m *Request_Params_Notification) String() string

func (*Request_Params_Notification) XXX_DiscardUnknown Uses

func (m *Request_Params_Notification) XXX_DiscardUnknown()

func (*Request_Params_Notification) XXX_Marshal Uses

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

func (*Request_Params_Notification) XXX_Merge Uses

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

func (*Request_Params_Notification) XXX_Size Uses

func (m *Request_Params_Notification) XXX_Size() int

func (*Request_Params_Notification) XXX_Unmarshal Uses

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

type Request_Params_Retry Uses

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 Uses

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

func (*Request_Params_Retry) GetAllow Uses

func (m *Request_Params_Retry) GetAllow() bool

func (*Request_Params_Retry) GetMax Uses

func (m *Request_Params_Retry) GetMax() int32

func (*Request_Params_Retry) ProtoMessage Uses

func (*Request_Params_Retry) ProtoMessage()

func (*Request_Params_Retry) Reset Uses

func (m *Request_Params_Retry) Reset()

func (*Request_Params_Retry) String Uses

func (m *Request_Params_Retry) String() string

func (*Request_Params_Retry) XXX_DiscardUnknown Uses

func (m *Request_Params_Retry) XXX_DiscardUnknown()

func (*Request_Params_Retry) XXX_Marshal Uses

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

func (*Request_Params_Retry) XXX_Merge Uses

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

func (*Request_Params_Retry) XXX_Size Uses

func (m *Request_Params_Retry) XXX_Size() int

func (*Request_Params_Retry) XXX_Unmarshal Uses

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

type Request_Params_Scheduling Uses

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"`
    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 Uses

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

func (*Request_Params_Scheduling) GetManagedPool Uses

func (m *Request_Params_Scheduling) GetManagedPool() Request_Params_Scheduling_ManagedPool

func (*Request_Params_Scheduling) GetPool Uses

func (m *Request_Params_Scheduling) GetPool() isRequest_Params_Scheduling_Pool

func (*Request_Params_Scheduling) GetPriority Uses

func (m *Request_Params_Scheduling) GetPriority() int64

func (*Request_Params_Scheduling) GetQuotaAccount Uses

func (m *Request_Params_Scheduling) GetQuotaAccount() string

func (*Request_Params_Scheduling) GetUnmanagedPool Uses

func (m *Request_Params_Scheduling) GetUnmanagedPool() string

func (*Request_Params_Scheduling) ProtoMessage Uses

func (*Request_Params_Scheduling) ProtoMessage()

func (*Request_Params_Scheduling) Reset Uses

func (m *Request_Params_Scheduling) Reset()

func (*Request_Params_Scheduling) String Uses

func (m *Request_Params_Scheduling) String() string

func (*Request_Params_Scheduling) XXX_DiscardUnknown Uses

func (m *Request_Params_Scheduling) XXX_DiscardUnknown()

func (*Request_Params_Scheduling) XXX_Marshal Uses

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

func (*Request_Params_Scheduling) XXX_Merge Uses

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

func (*Request_Params_Scheduling) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Request_Params_Scheduling) XXX_Size Uses

func (m *Request_Params_Scheduling) XXX_Size() int

func (*Request_Params_Scheduling) XXX_Unmarshal Uses

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

type Request_Params_Scheduling_ManagedPool Uses

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 Uses

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

func (Request_Params_Scheduling_ManagedPool) String Uses

func (x Request_Params_Scheduling_ManagedPool) String() string

type Request_Params_Scheduling_ManagedPool_ Uses

type Request_Params_Scheduling_ManagedPool_ struct {
    ManagedPool Request_Params_Scheduling_ManagedPool `protobuf:"varint,1,opt,name=managed_pool,json=managedPool,proto3,enum=test_platform.Request_Params_Scheduling_ManagedPool,oneof"`
}

type Request_Params_Scheduling_QuotaAccount Uses

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

type Request_Params_Scheduling_UnmanagedPool Uses

type Request_Params_Scheduling_UnmanagedPool struct {
    UnmanagedPool string `protobuf:"bytes,2,opt,name=unmanaged_pool,json=unmanagedPool,proto3,oneof"`
}

type Request_Params_SoftwareAttributes Uses

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 Uses

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

func (*Request_Params_SoftwareAttributes) GetBuildTarget Uses

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

func (*Request_Params_SoftwareAttributes) ProtoMessage Uses

func (*Request_Params_SoftwareAttributes) ProtoMessage()

func (*Request_Params_SoftwareAttributes) Reset Uses

func (m *Request_Params_SoftwareAttributes) Reset()

func (*Request_Params_SoftwareAttributes) String Uses

func (m *Request_Params_SoftwareAttributes) String() string

func (*Request_Params_SoftwareAttributes) XXX_DiscardUnknown Uses

func (m *Request_Params_SoftwareAttributes) XXX_DiscardUnknown()

func (*Request_Params_SoftwareAttributes) XXX_Marshal Uses

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

func (*Request_Params_SoftwareAttributes) XXX_Merge Uses

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

func (*Request_Params_SoftwareAttributes) XXX_Size Uses

func (m *Request_Params_SoftwareAttributes) XXX_Size() int

func (*Request_Params_SoftwareAttributes) XXX_Unmarshal Uses

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

type Request_Params_SoftwareDependency Uses

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 Uses

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

func (*Request_Params_SoftwareDependency) GetChromeosBuild Uses

func (m *Request_Params_SoftwareDependency) GetChromeosBuild() string

func (*Request_Params_SoftwareDependency) GetDep Uses

func (m *Request_Params_SoftwareDependency) GetDep() isRequest_Params_SoftwareDependency_Dep

func (*Request_Params_SoftwareDependency) GetRoFirmwareBuild Uses

func (m *Request_Params_SoftwareDependency) GetRoFirmwareBuild() string

func (*Request_Params_SoftwareDependency) GetRwFirmwareBuild Uses

func (m *Request_Params_SoftwareDependency) GetRwFirmwareBuild() string

func (*Request_Params_SoftwareDependency) ProtoMessage Uses

func (*Request_Params_SoftwareDependency) ProtoMessage()

func (*Request_Params_SoftwareDependency) Reset Uses

func (m *Request_Params_SoftwareDependency) Reset()

func (*Request_Params_SoftwareDependency) String Uses

func (m *Request_Params_SoftwareDependency) String() string

func (*Request_Params_SoftwareDependency) XXX_DiscardUnknown Uses

func (m *Request_Params_SoftwareDependency) XXX_DiscardUnknown()

func (*Request_Params_SoftwareDependency) XXX_Marshal Uses

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

func (*Request_Params_SoftwareDependency) XXX_Merge Uses

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

func (*Request_Params_SoftwareDependency) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Request_Params_SoftwareDependency) XXX_Size Uses

func (m *Request_Params_SoftwareDependency) XXX_Size() int

func (*Request_Params_SoftwareDependency) XXX_Unmarshal Uses

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

type Request_Params_SoftwareDependency_ChromeosBuild Uses

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

type Request_Params_SoftwareDependency_RoFirmwareBuild Uses

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 Uses

type Request_Params_SoftwareDependency_RwFirmwareBuild struct {
    RwFirmwareBuild string `protobuf:"bytes,5,opt,name=rw_firmware_build,json=rwFirmwareBuild,proto3,oneof"`
}

type Request_Params_Time Uses

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 Uses

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

func (*Request_Params_Time) GetMaximumDuration Uses

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

func (*Request_Params_Time) ProtoMessage Uses

func (*Request_Params_Time) ProtoMessage()

func (*Request_Params_Time) Reset Uses

func (m *Request_Params_Time) Reset()

func (*Request_Params_Time) String Uses

func (m *Request_Params_Time) String() string

func (*Request_Params_Time) XXX_DiscardUnknown Uses

func (m *Request_Params_Time) XXX_DiscardUnknown()

func (*Request_Params_Time) XXX_Marshal Uses

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

func (*Request_Params_Time) XXX_Merge Uses

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

func (*Request_Params_Time) XXX_Size Uses

func (m *Request_Params_Time) XXX_Size() int

func (*Request_Params_Time) XXX_Unmarshal Uses

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

type Request_Suite Uses

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 Uses

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

func (*Request_Suite) GetName Uses

func (m *Request_Suite) GetName() string

func (*Request_Suite) ProtoMessage Uses

func (*Request_Suite) ProtoMessage()

func (*Request_Suite) Reset Uses

func (m *Request_Suite) Reset()

func (*Request_Suite) String Uses

func (m *Request_Suite) String() string

func (*Request_Suite) XXX_DiscardUnknown Uses

func (m *Request_Suite) XXX_DiscardUnknown()

func (*Request_Suite) XXX_Marshal Uses

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

func (*Request_Suite) XXX_Merge Uses

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

func (*Request_Suite) XXX_Size Uses

func (m *Request_Suite) XXX_Size() int

func (*Request_Suite) XXX_Unmarshal Uses

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

type Request_Test Uses

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 Uses

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

func (*Request_Test) GetAutotest Uses

func (m *Request_Test) GetAutotest() *Request_Test_Autotest

func (*Request_Test) GetHarness Uses

func (m *Request_Test) GetHarness() isRequest_Test_Harness

func (*Request_Test) ProtoMessage Uses

func (*Request_Test) ProtoMessage()

func (*Request_Test) Reset Uses

func (m *Request_Test) Reset()

func (*Request_Test) String Uses

func (m *Request_Test) String() string

func (*Request_Test) XXX_DiscardUnknown Uses

func (m *Request_Test) XXX_DiscardUnknown()

func (*Request_Test) XXX_Marshal Uses

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

func (*Request_Test) XXX_Merge Uses

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

func (*Request_Test) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Request_Test) XXX_Size Uses

func (m *Request_Test) XXX_Size() int

func (*Request_Test) XXX_Unmarshal Uses

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

type Request_TestPlan Uses

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 Uses

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

func (*Request_TestPlan) GetEnumeration Uses

func (m *Request_TestPlan) GetEnumeration() *Request_Enumeration

func (*Request_TestPlan) GetSuite Uses

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

func (*Request_TestPlan) GetTest Uses

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

func (*Request_TestPlan) ProtoMessage Uses

func (*Request_TestPlan) ProtoMessage()

func (*Request_TestPlan) Reset Uses

func (m *Request_TestPlan) Reset()

func (*Request_TestPlan) String Uses

func (m *Request_TestPlan) String() string

func (*Request_TestPlan) XXX_DiscardUnknown Uses

func (m *Request_TestPlan) XXX_DiscardUnknown()

func (*Request_TestPlan) XXX_Marshal Uses

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

func (*Request_TestPlan) XXX_Merge Uses

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

func (*Request_TestPlan) XXX_Size Uses

func (m *Request_TestPlan) XXX_Size() int

func (*Request_TestPlan) XXX_Unmarshal Uses

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

type Request_Test_Autotest Uses

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 Uses

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

func (*Request_Test_Autotest) GetDisplayName Uses

func (m *Request_Test_Autotest) GetDisplayName() string

func (*Request_Test_Autotest) GetName Uses

func (m *Request_Test_Autotest) GetName() string

func (*Request_Test_Autotest) GetTestArgs Uses

func (m *Request_Test_Autotest) GetTestArgs() string

func (*Request_Test_Autotest) ProtoMessage Uses

func (*Request_Test_Autotest) ProtoMessage()

func (*Request_Test_Autotest) Reset Uses

func (m *Request_Test_Autotest) Reset()

func (*Request_Test_Autotest) String Uses

func (m *Request_Test_Autotest) String() string

func (*Request_Test_Autotest) XXX_DiscardUnknown Uses

func (m *Request_Test_Autotest) XXX_DiscardUnknown()

func (*Request_Test_Autotest) XXX_Marshal Uses

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

func (*Request_Test_Autotest) XXX_Merge Uses

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

func (*Request_Test_Autotest) XXX_Size Uses

func (m *Request_Test_Autotest) XXX_Size() int

func (*Request_Test_Autotest) XXX_Unmarshal Uses

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

type Request_Test_Autotest_ Uses

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

type TaskState Uses

type TaskState struct {
    LifeCycle TaskState_LifeCycle `protobuf:"varint,1,opt,name=life_cycle,json=lifeCycle,proto3,enum=test_platform.TaskState_LifeCycle" json:"life_cycle,omitempty"`
    // 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"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

func (*TaskState) Descriptor Uses

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

func (*TaskState) GetLifeCycle Uses

func (m *TaskState) GetLifeCycle() TaskState_LifeCycle

func (*TaskState) GetVerdict Uses

func (m *TaskState) GetVerdict() TaskState_Verdict

func (*TaskState) ProtoMessage Uses

func (*TaskState) ProtoMessage()

func (*TaskState) Reset Uses

func (m *TaskState) Reset()

func (*TaskState) String Uses

func (m *TaskState) String() string

func (*TaskState) XXX_DiscardUnknown Uses

func (m *TaskState) XXX_DiscardUnknown()

func (*TaskState) XXX_Marshal Uses

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

func (*TaskState) XXX_Merge Uses

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

func (*TaskState) XXX_Size Uses

func (m *TaskState) XXX_Size() int

func (*TaskState) XXX_Unmarshal Uses

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

type TaskState_LifeCycle Uses

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 Uses

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

func (TaskState_LifeCycle) String Uses

func (x TaskState_LifeCycle) String() string

type TaskState_LifeCycleMask Uses

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 Uses

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

func (TaskState_LifeCycleMask) String Uses

func (x TaskState_LifeCycleMask) String() string

type TaskState_Verdict Uses

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 Uses

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

func (TaskState_Verdict) String Uses

func (x TaskState_Verdict) String() string

Directories

PathSynopsis
autotest
config
migration/scheduler
multibot
phosphorus
side_effects
skylab_local_state
skylab_test_runner
skylab_tool
steps

Package test_platform imports 6 packages (graph) and is imported by 4 packages. Updated 2019-11-14. Refresh now. Tools for package owners.