common

package
v0.0.0-...-712ccb0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_test_platform_common_cft_steps_config_proto protoreflect.FileDescriptor
View Source
var File_test_platform_common_task_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CftStepsConfig

type CftStepsConfig struct {

	// Types that are assignable to ConfigType:
	//	*CftStepsConfig_HwTestConfig
	ConfigType isCftStepsConfig_ConfigType `protobuf_oneof:"config_type"`
	// contains filtered or unexported fields
}

CftStepsConfig defines config for execution steps for different execution types.

func (*CftStepsConfig) Descriptor deprecated

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

Deprecated: Use CftStepsConfig.ProtoReflect.Descriptor instead.

func (*CftStepsConfig) GetConfigType

func (m *CftStepsConfig) GetConfigType() isCftStepsConfig_ConfigType

func (*CftStepsConfig) GetHwTestConfig

func (x *CftStepsConfig) GetHwTestConfig() *HwTestConfig

func (*CftStepsConfig) ProtoMessage

func (*CftStepsConfig) ProtoMessage()

func (*CftStepsConfig) ProtoReflect

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

func (*CftStepsConfig) Reset

func (x *CftStepsConfig) Reset()

func (*CftStepsConfig) String

func (x *CftStepsConfig) String() string

type CftStepsConfig_HwTestConfig

type CftStepsConfig_HwTestConfig struct {
	// Config for hw test execution.
	HwTestConfig *HwTestConfig `protobuf:"bytes,1,opt,name=hw_test_config,json=hwTestConfig,proto3,oneof"`
}

type HwTestConfig

type HwTestConfig struct {

	// Skip loading dut topology
	SkipLoadingDutTopology bool `` /* 132-byte string literal not displayed */
	// Skip starting dut service
	SkipStartingDutService bool `` /* 132-byte string literal not displayed */
	// Skip provision control flag.
	SkipProvision bool `protobuf:"varint,3,opt,name=skip_provision,json=skipProvision,proto3" json:"skip_provision,omitempty"`
	// Skip test execution control flag.
	SkipTestExecution bool `protobuf:"varint,4,opt,name=skip_test_execution,json=skipTestExecution,proto3" json:"skip_test_execution,omitempty"`
	// Skip all result publish control flag. If this is set to true, all kind of
	// result publish will be skipped regardless of other specific publish
	// control flag's values.
	SkipAllResultPublish bool `` /* 126-byte string literal not displayed */
	// Skip gcs publish control flag. Will only be considered if
	// skip_all_result_publish is not true.
	SkipGcsPublish bool `protobuf:"varint,6,opt,name=skip_gcs_publish,json=skipGcsPublish,proto3" json:"skip_gcs_publish,omitempty"`
	// Skip rdb publish control flag. Will only be considered if
	// skip_all_result_publish is not true.
	SkipRdbPublish bool `protobuf:"varint,7,opt,name=skip_rdb_publish,json=skipRdbPublish,proto3" json:"skip_rdb_publish,omitempty"`
	// Skip tko publish control flag. Will only be considered if
	// skip_all_result_publish is not true.
	SkipTkoPublish bool `protobuf:"varint,8,opt,name=skip_tko_publish,json=skipTkoPublish,proto3" json:"skip_tko_publish,omitempty"`
	// Run cpcon publish control flag. This is not part of mainlab test
	// execution flow. Hence it's a include flag, rather than exclude flag.
	RunCpconPublish bool `protobuf:"varint,9,opt,name=run_cpcon_publish,json=runCpconPublish,proto3" json:"run_cpcon_publish,omitempty"`
	// contains filtered or unexported fields
}

Config for hw test execution. These config helps changing mainlab hw test execution flow. If not provided, default mainlab hw test execution flow will take place. NEXT_TAG: 9

func (*HwTestConfig) Descriptor deprecated

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

Deprecated: Use HwTestConfig.ProtoReflect.Descriptor instead.

func (*HwTestConfig) GetRunCpconPublish

func (x *HwTestConfig) GetRunCpconPublish() bool

func (*HwTestConfig) GetSkipAllResultPublish

func (x *HwTestConfig) GetSkipAllResultPublish() bool

func (*HwTestConfig) GetSkipGcsPublish

func (x *HwTestConfig) GetSkipGcsPublish() bool

func (*HwTestConfig) GetSkipLoadingDutTopology

func (x *HwTestConfig) GetSkipLoadingDutTopology() bool

func (*HwTestConfig) GetSkipProvision

func (x *HwTestConfig) GetSkipProvision() bool

func (*HwTestConfig) GetSkipRdbPublish

func (x *HwTestConfig) GetSkipRdbPublish() bool

func (*HwTestConfig) GetSkipStartingDutService

func (x *HwTestConfig) GetSkipStartingDutService() bool

func (*HwTestConfig) GetSkipTestExecution

func (x *HwTestConfig) GetSkipTestExecution() bool

func (*HwTestConfig) GetSkipTkoPublish

func (x *HwTestConfig) GetSkipTkoPublish() bool

func (*HwTestConfig) ProtoMessage

func (*HwTestConfig) ProtoMessage()

func (*HwTestConfig) ProtoReflect

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

func (*HwTestConfig) Reset

func (x *HwTestConfig) Reset()

func (*HwTestConfig) String

func (x *HwTestConfig) String() string

type TaskLogData

type TaskLogData struct {

	// gs_url is the full google storage URL at which a task's logs are stored.
	GsUrl string `protobuf:"bytes,1,opt,name=gs_url,json=gsUrl,proto3" json:"gs_url,omitempty"`
	// Deprecated: Use the testhaus_url field below instead.
	// stainless_url is the full URL to the stainless logs viewer for archived
	// logs.
	//
	// Deprecated: Do not use.
	StainlessUrl string `protobuf:"bytes,2,opt,name=stainless_url,json=stainlessUrl,proto3" json:"stainless_url,omitempty"`
	// testhaus_url is the full URL to the Testhaus logs viewer for archived
	// logs.
	TesthausUrl string `protobuf:"bytes,3,opt,name=testhaus_url,json=testhausUrl,proto3" json:"testhaus_url,omitempty"`
	// contains filtered or unexported fields
}

TaskLogData describes the location at which logs of a test_platform task are stored.

func (*TaskLogData) Descriptor deprecated

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

Deprecated: Use TaskLogData.ProtoReflect.Descriptor instead.

func (*TaskLogData) GetGsUrl

func (x *TaskLogData) GetGsUrl() string

func (*TaskLogData) GetStainlessUrl deprecated

func (x *TaskLogData) GetStainlessUrl() string

Deprecated: Do not use.

func (*TaskLogData) GetTesthausUrl

func (x *TaskLogData) GetTesthausUrl() string

func (*TaskLogData) ProtoMessage

func (*TaskLogData) ProtoMessage()

func (*TaskLogData) ProtoReflect

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

func (*TaskLogData) Reset

func (x *TaskLogData) Reset()

func (*TaskLogData) String

func (x *TaskLogData) String() string

Jump to

Keyboard shortcuts

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