test_platform

package
v0.0.0-...-b0fe6d8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2025 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_test_platform_v2_request_proto protoreflect.FileDescriptor
View Source
var File_test_platform_v2_summary_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Item

type Item struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Item) Descriptor deprecated

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

Deprecated: Use Item.ProtoReflect.Descriptor instead.

func (*Item) GetKey

func (x *Item) GetKey() string

func (*Item) GetValue

func (x *Item) GetValue() string

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) ProtoReflect

func (x *Item) ProtoReflect() protoreflect.Message

func (*Item) Reset

func (x *Item) Reset()

func (*Item) String

func (x *Item) String() string

type Items

type Items struct {
	Items []*Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*Items) Descriptor deprecated

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

Deprecated: Use Items.ProtoReflect.Descriptor instead.

func (*Items) GetItems

func (x *Items) GetItems() []*Item

func (*Items) ProtoMessage

func (*Items) ProtoMessage()

func (*Items) ProtoReflect

func (x *Items) ProtoReflect() protoreflect.Message

func (*Items) Reset

func (x *Items) Reset()

func (*Items) String

func (x *Items) String() string

type Request

type Request struct {

	// Required, specify the path to a GCS folder containing build artifacts
	BuildDirectory *chromiumos.GcsPath `protobuf:"bytes,1,opt,name=build_directory,json=buildDirectory,proto3" json:"build_directory,omitempty"`
	// One or more test specs to execute
	TestSpecs         []*TestSpec                `protobuf:"bytes,2,rep,name=test_specs,json=testSpecs,proto3" json:"test_specs,omitempty"`
	SchedulerSettings *Request_SchedulerSettings `protobuf:"bytes,3,opt,name=scheduler_settings,json=schedulerSettings,proto3" json:"scheduler_settings,omitempty"`
	// contains filtered or unexported fields
}

func (*Request) Descriptor deprecated

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetBuildDirectory

func (x *Request) GetBuildDirectory() *chromiumos.GcsPath

func (*Request) GetSchedulerSettings

func (x *Request) GetSchedulerSettings() *Request_SchedulerSettings

func (*Request) GetTestSpecs

func (x *Request) GetTestSpecs() []*TestSpec

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

func (x *Request) ProtoReflect() protoreflect.Message

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

type Request_SchedulerSettings

type Request_SchedulerSettings struct {
	Pool      string `protobuf:"bytes,1,opt,name=pool,proto3" json:"pool,omitempty"`
	QsAccount string `protobuf:"bytes,2,opt,name=qs_account,json=qsAccount,proto3" json:"qs_account,omitempty"`
	// contains filtered or unexported fields
}

Once client profiles are implemented, these details will be subsumed into a profile, but in the interim we need to able to specify pool and QuotaScheduler account to use.

func (*Request_SchedulerSettings) Descriptor deprecated

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

Deprecated: Use Request_SchedulerSettings.ProtoReflect.Descriptor instead.

func (*Request_SchedulerSettings) GetPool

func (x *Request_SchedulerSettings) GetPool() string

func (*Request_SchedulerSettings) GetQsAccount

func (x *Request_SchedulerSettings) GetQsAccount() string

func (*Request_SchedulerSettings) ProtoMessage

func (*Request_SchedulerSettings) ProtoMessage()

func (*Request_SchedulerSettings) ProtoReflect

func (*Request_SchedulerSettings) Reset

func (x *Request_SchedulerSettings) Reset()

func (*Request_SchedulerSettings) String

func (x *Request_SchedulerSettings) String() string

type Summary

type Summary struct {
	Items []*Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

Summary is the proto schema for how we will send information to the output properties for the CTPv2 sub build.

func (*Summary) Descriptor deprecated

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

Deprecated: Use Summary.ProtoReflect.Descriptor instead.

func (*Summary) GetItems

func (x *Summary) GetItems() []*Item

func (*Summary) ProtoMessage

func (*Summary) ProtoMessage()

func (*Summary) ProtoReflect

func (x *Summary) ProtoReflect() protoreflect.Message

func (*Summary) Reset

func (x *Summary) Reset()

func (*Summary) String

func (x *Summary) String() string

type SummaryMap

type SummaryMap struct {
	Summaries map[string]*Items `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SummaryMap) Descriptor deprecated

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

Deprecated: Use SummaryMap.ProtoReflect.Descriptor instead.

func (*SummaryMap) GetSummaries

func (x *SummaryMap) GetSummaries() map[string]*Items

func (*SummaryMap) ProtoMessage

func (*SummaryMap) ProtoMessage()

func (*SummaryMap) ProtoReflect

func (x *SummaryMap) ProtoReflect() protoreflect.Message

func (*SummaryMap) Reset

func (x *SummaryMap) Reset()

func (*SummaryMap) String

func (x *SummaryMap) String() string

type TestSpec

type TestSpec struct {

	// Optionally override build directory path given in Request
	BuildDirectory *chromiumos.GcsPath `protobuf:"bytes,1,opt,name=build_directory,json=buildDirectory,proto3" json:"build_directory,omitempty"`
	// Types that are assignable to Spec:
	//	*TestSpec_HwTestPlanV1
	Spec isTestSpec_Spec `protobuf_oneof:"spec"`
	// contains filtered or unexported fields
}

func (*TestSpec) Descriptor deprecated

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

Deprecated: Use TestSpec.ProtoReflect.Descriptor instead.

func (*TestSpec) GetBuildDirectory

func (x *TestSpec) GetBuildDirectory() *chromiumos.GcsPath

func (*TestSpec) GetHwTestPlanV1

func (x *TestSpec) GetHwTestPlanV1() *v1.HWTestPlan

func (*TestSpec) GetSpec

func (m *TestSpec) GetSpec() isTestSpec_Spec

func (*TestSpec) ProtoMessage

func (*TestSpec) ProtoMessage()

func (*TestSpec) ProtoReflect

func (x *TestSpec) ProtoReflect() protoreflect.Message

func (*TestSpec) Reset

func (x *TestSpec) Reset()

func (*TestSpec) String

func (x *TestSpec) String() string

type TestSpec_HwTestPlanV1

type TestSpec_HwTestPlanV1 struct {
	HwTestPlanV1 *v1.HWTestPlan `protobuf:"bytes,2,opt,name=hw_test_plan_v1,json=hwTestPlanV1,proto3,oneof"` // VM testing tbd
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL