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 response.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 Request_Test_Harness_name = map[int32]string{
    0:  "HARNESS_UNSPECIFIED",
    1:  "HARNESS_AUTOTEST",
}
var Request_Test_Harness_value = map[string]int32{
    "HARNESS_UNSPECIFIED": 0,
    "HARNESS_AUTOTEST":    1,
}
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",
}
var TaskState_Verdict_value = map[string]int32{
    "VERDICT_UNSPECIFIED": 0,
    "VERDICT_PASSED":      1,
    "VERDICT_FAILED":      2,
    "VERDICT_NO_VERDICT":  3,
}

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

Params defines parameters that apply to an entire Request.

func (*Request_Params) Descriptor Uses

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

func (*Request_Params) GetHardwareAttributes Uses

func (m *Request_Params) GetHardwareAttributes() *Request_Params_HardwareAttributes

func (*Request_Params) GetMetadata Uses

func (m *Request_Params) GetMetadata() *Request_Params_Metadata

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_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_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_Retry Uses

type Request_Params_Retry struct {
    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) 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"`
    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) 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
    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) 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_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 {
    Harness              Request_Test_Harness `protobuf:"varint,1,opt,name=harness,proto3,enum=test_platform.Request_Test_Harness" json:"harness,omitempty"`
    Name                 string               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
    TestArgs             []string             `protobuf:"bytes,3,rep,name=test_args,json=testArgs,proto3" json:"test_args,omitempty"`
    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) GetHarness Uses

func (m *Request_Test) GetHarness() Request_Test_Harness

func (*Request_Test) GetName Uses

func (m *Request_Test) GetName() string

func (*Request_Test) GetTestArgs Uses

func (m *Request_Test) GetTestArgs() []string

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_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"`
    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) 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_Harness Uses

type Request_Test_Harness int32
const (
    Request_Test_HARNESS_UNSPECIFIED Request_Test_Harness = 0
    Request_Test_HARNESS_AUTOTEST    Request_Test_Harness = 1
)

func (Request_Test_Harness) EnumDescriptor Uses

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

func (Request_Test_Harness) String Uses

func (x Request_Test_Harness) String() string

type Response Uses

type Response struct {
    State                *TaskState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
    XXX_NoUnkeyedLiteral struct{}   `json:"-"`
    XXX_unrecognized     []byte     `json:"-"`
    XXX_sizecache        int32      `json:"-"`
}

func (*Response) Descriptor Uses

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

func (*Response) GetState Uses

func (m *Response) GetState() *TaskState

func (*Response) ProtoMessage Uses

func (*Response) ProtoMessage()

func (*Response) Reset Uses

func (m *Response) Reset()

func (*Response) String Uses

func (m *Response) String() string

func (*Response) XXX_DiscardUnknown Uses

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal Uses

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

func (*Response) XXX_Merge Uses

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

func (*Response) XXX_Size Uses

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal Uses

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

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 (
    TaskState_VERDICT_UNSPECIFIED TaskState_Verdict = 0
    TaskState_VERDICT_PASSED      TaskState_Verdict = 1
    TaskState_VERDICT_FAILED      TaskState_Verdict = 2
    TaskState_VERDICT_NO_VERDICT  TaskState_Verdict = 3
)

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
skylab_test_runner
steps

Package test_platform imports 5 packages (graph) and is imported by 4 packages. Updated 2019-07-18. Refresh now. Tools for package owners.