protocol

package
v0.0.0-...-b5d9cbe Latest Latest
Warning

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

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

Documentation

Overview

Package protocol contains gRPC services and protocol buffer messages used in the core framework.

Index

Constants

This section is empty.

Variables

View Source
var (
	LogLevel_name = map[int32]string{
		0: "LOGLEVEL_UNSPECIFIED",
		1: "DEBUG",
		2: "INFO",
	}
	LogLevel_value = map[string]int32{
		"LOGLEVEL_UNSPECIFIED": 0,
		"DEBUG":                1,
		"INFO":                 2,
	}
)

Enum value maps for LogLevel.

View Source
var (
	EntityType_name = map[int32]string{
		0: "TEST",
		1: "FIXTURE",
	}
	EntityType_value = map[string]int32{
		"TEST":    0,
		"FIXTURE": 1,
	}
)

Enum value maps for EntityType.

View Source
var (
	DownloadMode_name = map[int32]string{
		0: "BATCH",
		1: "LAZY",
	}
	DownloadMode_value = map[string]int32{
		"BATCH": 0,
		"LAZY":  1,
	}
)

Enum value maps for DownloadMode.

View Source
var (
	StackStatus_name = map[int32]string{
		0: "GREEN",
		1: "RED",
		2: "YELLOW",
	}
	StackStatus_value = map[string]int32{
		"GREEN":  0,
		"RED":    1,
		"YELLOW": 2,
	}
)

Enum value maps for StackStatus.

View Source
var File_fake_core_proto protoreflect.FileDescriptor
View Source
var File_fake_user_proto protoreflect.FileDescriptor
View Source
var File_features_proto protoreflect.FileDescriptor
View Source
var File_file_transfer_proto protoreflect.FileDescriptor
View Source
var File_handshake_proto protoreflect.FileDescriptor
View Source
var File_logging_proto protoreflect.FileDescriptor
View Source
var File_loopback_proto protoreflect.FileDescriptor
View Source
var File_remote_fixture_proto protoreflect.FileDescriptor
View Source
var File_testing_proto protoreflect.FileDescriptor

Functions

func ProtoToLevel

func ProtoToLevel(level LogLevel) logging.Level

ProtoToLevel converts a protocol.LogLevel to the logging.Level.

func RegisterFileTransferServer

func RegisterFileTransferServer(s *grpc.Server, srv FileTransferServer)

func RegisterFixtureServiceServer

func RegisterFixtureServiceServer(s *grpc.Server, srv FixtureServiceServer)

func RegisterLoggingServer

func RegisterLoggingServer(s *grpc.Server, srv LoggingServer)

func RegisterLoopbackExecServiceServer

func RegisterLoopbackExecServiceServer(s *grpc.Server, srv LoopbackExecServiceServer)

func RegisterPingCoreServer

func RegisterPingCoreServer(s *grpc.Server, srv PingCoreServer)

func RegisterPingUserServer

func RegisterPingUserServer(s *grpc.Server, srv PingUserServer)

func RegisterTestServiceServer

func RegisterTestServiceServer(s *grpc.Server, srv TestServiceServer)

Types

type BundleConfig

type BundleConfig struct {

	// PrimaryTarget is the target device for remote tests.
	PrimaryTarget  *TargetDevice         `protobuf:"bytes,1,opt,name=primary_target,json=primaryTarget,proto3" json:"primary_target,omitempty"`
	CompanionDuts  map[string]*DUTConfig `` /* 188-byte string literal not displayed */
	MetaTestConfig *MetaTestConfig       `protobuf:"bytes,3,opt,name=meta_test_config,json=metaTestConfig,proto3" json:"meta_test_config,omitempty"`
	// contains filtered or unexported fields
}

func (*BundleConfig) Descriptor deprecated

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

Deprecated: Use BundleConfig.ProtoReflect.Descriptor instead.

func (*BundleConfig) GetCompanionDuts

func (x *BundleConfig) GetCompanionDuts() map[string]*DUTConfig

func (*BundleConfig) GetMetaTestConfig

func (x *BundleConfig) GetMetaTestConfig() *MetaTestConfig

func (*BundleConfig) GetPrimaryTarget

func (x *BundleConfig) GetPrimaryTarget() *TargetDevice

func (*BundleConfig) ProtoMessage

func (*BundleConfig) ProtoMessage()

func (*BundleConfig) ProtoReflect

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

func (*BundleConfig) Reset

func (x *BundleConfig) Reset()

func (*BundleConfig) String

func (x *BundleConfig) String() string

type BundleInitParams

type BundleInitParams struct {

	// Runtime variables.
	Vars map[string]string `` /* 149-byte string literal not displayed */
	// BundleConfigs represents all the bundles to run.
	BundleConfig *BundleConfig `protobuf:"bytes,2,opt,name=bundle_config,json=bundleConfig,proto3" json:"bundle_config,omitempty"`
	// contains filtered or unexported fields
}

BundleInitParams contains parameters needed to initialize bundles.

func (*BundleInitParams) Descriptor deprecated

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

Deprecated: Use BundleInitParams.ProtoReflect.Descriptor instead.

func (*BundleInitParams) GetBundleConfig

func (x *BundleInitParams) GetBundleConfig() *BundleConfig

func (*BundleInitParams) GetVars

func (x *BundleInitParams) GetVars() map[string]string

func (*BundleInitParams) ProtoMessage

func (*BundleInitParams) ProtoMessage()

func (*BundleInitParams) ProtoReflect

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

func (*BundleInitParams) Reset

func (x *BundleInitParams) Reset()

func (*BundleInitParams) String

func (x *BundleInitParams) String() string

type CollectSysInfoRequest

type CollectSysInfoRequest struct {

	// InitialState describes the pre-testing state of the DUT. It should be
	// generated by the GetSysInfoState method executed before tests are run.
	InitialState *SysInfoState `protobuf:"bytes,1,opt,name=initial_state,json=initialState,proto3" json:"initial_state,omitempty"`
	// contains filtered or unexported fields
}

func (*CollectSysInfoRequest) Descriptor deprecated

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

Deprecated: Use CollectSysInfoRequest.ProtoReflect.Descriptor instead.

func (*CollectSysInfoRequest) GetInitialState

func (x *CollectSysInfoRequest) GetInitialState() *SysInfoState

func (*CollectSysInfoRequest) ProtoMessage

func (*CollectSysInfoRequest) ProtoMessage()

func (*CollectSysInfoRequest) ProtoReflect

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

func (*CollectSysInfoRequest) Reset

func (x *CollectSysInfoRequest) Reset()

func (*CollectSysInfoRequest) String

func (x *CollectSysInfoRequest) String() string

type CollectSysInfoResponse

type CollectSysInfoResponse struct {

	// LogDir is the directory which log files were copied to. The caller should
	// delete it.
	LogDir string `protobuf:"bytes,1,opt,name=log_dir,json=logDir,proto3" json:"log_dir,omitempty"`
	// CrashDir is the directory which minidump crash files were copied to. The
	// caller should delete it.
	CrashDir string `protobuf:"bytes,2,opt,name=crash_dir,json=crashDir,proto3" json:"crash_dir,omitempty"`
	// contains filtered or unexported fields
}

func (*CollectSysInfoResponse) Descriptor deprecated

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

Deprecated: Use CollectSysInfoResponse.ProtoReflect.Descriptor instead.

func (*CollectSysInfoResponse) GetCrashDir

func (x *CollectSysInfoResponse) GetCrashDir() string

func (*CollectSysInfoResponse) GetLogDir

func (x *CollectSysInfoResponse) GetLogDir() string

func (*CollectSysInfoResponse) ProtoMessage

func (*CollectSysInfoResponse) ProtoMessage()

func (*CollectSysInfoResponse) ProtoReflect

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

func (*CollectSysInfoResponse) Reset

func (x *CollectSysInfoResponse) Reset()

func (*CollectSysInfoResponse) String

func (x *CollectSysInfoResponse) String() string

type DUTConfig

type DUTConfig struct {

	// SshConfig contains information needed to connect to the DUT via SSH.
	SshConfig *SSHConfig `protobuf:"bytes,1,opt,name=ssh_config,json=sshConfig,proto3" json:"ssh_config,omitempty"`
	// TlwName contains the name of the DUT recognized by the TLW service.
	// This must be set when TLW API is used.
	TlwName string `protobuf:"bytes,2,opt,name=tlw_name,json=tlwName,proto3" json:"tlw_name,omitempty"`
	// contains filtered or unexported fields
}

DUTConfig describes a DUT.

func (*DUTConfig) Descriptor deprecated

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

Deprecated: Use DUTConfig.ProtoReflect.Descriptor instead.

func (*DUTConfig) GetSshConfig

func (x *DUTConfig) GetSshConfig() *SSHConfig

func (*DUTConfig) GetTlwName

func (x *DUTConfig) GetTlwName() string

func (*DUTConfig) ProtoMessage

func (*DUTConfig) ProtoMessage()

func (*DUTConfig) ProtoReflect

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

func (*DUTConfig) Reset

func (x *DUTConfig) Reset()

func (*DUTConfig) String

func (x *DUTConfig) String() string

type DUTInfo

type DUTInfo struct {

	// Features contains features available on the DUT.
	Features *protocol.DUTFeatures `protobuf:"bytes,4,opt,name=features,proto3" json:"features,omitempty"`
	// OsVersion contains the DUT's OS Version.
	OsVersion string `protobuf:"bytes,2,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"`
	// DefaultBuildArtifactsUrl specifies the default URL of the build artifacts.
	DefaultBuildArtifactsUrl string `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

DUTInfo holds DUT system information.

func (*DUTInfo) Descriptor deprecated

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

Deprecated: Use DUTInfo.ProtoReflect.Descriptor instead.

func (*DUTInfo) GetDefaultBuildArtifactsUrl

func (x *DUTInfo) GetDefaultBuildArtifactsUrl() string

func (*DUTInfo) GetFeatures

func (x *DUTInfo) GetFeatures() *protocol.DUTFeatures

func (*DUTInfo) GetOsVersion

func (x *DUTInfo) GetOsVersion() string

func (*DUTInfo) ProtoMessage

func (*DUTInfo) ProtoMessage()

func (*DUTInfo) ProtoReflect

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

func (*DUTInfo) Reset

func (x *DUTInfo) Reset()

func (*DUTInfo) String

func (x *DUTInfo) String() string

type DataFileConfig

type DataFileConfig struct {
	DownloadMode DownloadMode `` /* 126-byte string literal not displayed */
	// BuildArtifactsUrl is the URL of Google Cloud Storage directory, ending with
	// a slash, containing build artifacts for the current ChromeOS image.
	BuildArtifactsUrl string `protobuf:"bytes,2,opt,name=build_artifacts_url,json=buildArtifactsUrl,proto3" json:"build_artifacts_url,omitempty"`
	// contains filtered or unexported fields
}

DataFileConfig contains configurations about data files.

func (*DataFileConfig) Descriptor deprecated

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

Deprecated: Use DataFileConfig.ProtoReflect.Descriptor instead.

func (*DataFileConfig) GetBuildArtifactsUrl

func (x *DataFileConfig) GetBuildArtifactsUrl() string

func (*DataFileConfig) GetDownloadMode

func (x *DataFileConfig) GetDownloadMode() DownloadMode

func (*DataFileConfig) ProtoMessage

func (*DataFileConfig) ProtoMessage()

func (*DataFileConfig) ProtoReflect

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

func (*DataFileConfig) Reset

func (x *DataFileConfig) Reset()

func (*DataFileConfig) String

func (x *DataFileConfig) String() string

type DownloadMode

type DownloadMode int32

DownloadMode specifies a strategy to download external data files.

const (
	// BATCH specifies that test bundles should download external data files
	// in batch before running tests.
	DownloadMode_BATCH DownloadMode = 0
	// LAZY specifies that test bundles should download external data files
	// as needed between tests.
	DownloadMode_LAZY DownloadMode = 1
)

func (DownloadMode) Descriptor

func (DownloadMode) Enum

func (x DownloadMode) Enum() *DownloadMode

func (DownloadMode) EnumDescriptor deprecated

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

Deprecated: Use DownloadMode.Descriptor instead.

func (DownloadMode) Number

func (DownloadMode) String

func (x DownloadMode) String() string

func (DownloadMode) Type

type DownloadPrivateBundlesRequest

type DownloadPrivateBundlesRequest struct {

	// ServiceConfig contains information needed to connect to the service
	// provided by infrastructure system.
	ServiceConfig *ServiceConfig `protobuf:"bytes,1,opt,name=service_config,json=serviceConfig,proto3" json:"service_config,omitempty"`
	// BuildArtifactsUrl is the URL of Google Cloud Storage directory, ending with
	// a slash, containing build artifacts for the current ChromeOS image.
	// If it is empty, DefaultBuildArtifactsURL in runner.Config is used.
	BuildArtifactUrl string `protobuf:"bytes,2,opt,name=build_artifact_url,json=buildArtifactUrl,proto3" json:"build_artifact_url,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadPrivateBundlesRequest) Descriptor deprecated

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

Deprecated: Use DownloadPrivateBundlesRequest.ProtoReflect.Descriptor instead.

func (*DownloadPrivateBundlesRequest) GetBuildArtifactUrl

func (x *DownloadPrivateBundlesRequest) GetBuildArtifactUrl() string

func (*DownloadPrivateBundlesRequest) GetServiceConfig

func (x *DownloadPrivateBundlesRequest) GetServiceConfig() *ServiceConfig

func (*DownloadPrivateBundlesRequest) ProtoMessage

func (*DownloadPrivateBundlesRequest) ProtoMessage()

func (*DownloadPrivateBundlesRequest) ProtoReflect

func (*DownloadPrivateBundlesRequest) Reset

func (x *DownloadPrivateBundlesRequest) Reset()

func (*DownloadPrivateBundlesRequest) String

type DownloadPrivateBundlesResponse

type DownloadPrivateBundlesResponse struct {
	// contains filtered or unexported fields
}

func (*DownloadPrivateBundlesResponse) Descriptor deprecated

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

Deprecated: Use DownloadPrivateBundlesResponse.ProtoReflect.Descriptor instead.

func (*DownloadPrivateBundlesResponse) ProtoMessage

func (*DownloadPrivateBundlesResponse) ProtoMessage()

func (*DownloadPrivateBundlesResponse) ProtoReflect

func (*DownloadPrivateBundlesResponse) Reset

func (x *DownloadPrivateBundlesResponse) Reset()

func (*DownloadPrivateBundlesResponse) String

type Entity

type Entity struct {
	Type         EntityType          `protobuf:"varint,1,opt,name=type,proto3,enum=tast.core.EntityType" json:"type,omitempty"`
	Name         string              `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Package      string              `protobuf:"bytes,3,opt,name=package,proto3" json:"package,omitempty"`
	Attributes   []string            `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty"`
	Description  string              `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	Fixture      string              `protobuf:"bytes,6,opt,name=fixture,proto3" json:"fixture,omitempty"`
	Dependencies *EntityDependencies `protobuf:"bytes,7,opt,name=dependencies,proto3" json:"dependencies,omitempty"`
	Contacts     *EntityContacts     `protobuf:"bytes,8,opt,name=contacts,proto3" json:"contacts,omitempty"`
	LegacyData   *EntityLegacyData   `protobuf:"bytes,9,opt,name=legacy_data,json=legacyData,proto3" json:"legacy_data,omitempty"`
	SearchFlags  []*StringPair       `protobuf:"bytes,10,rep,name=search_flags,json=searchFlags,proto3" json:"search_flags,omitempty"`
	TestBedDeps  []string            `protobuf:"bytes,11,rep,name=test_bed_deps,json=testBedDeps,proto3" json:"test_bed_deps,omitempty"`
	Requirements []string            `protobuf:"bytes,12,rep,name=requirements,proto3" json:"requirements,omitempty"`
	BugComponent string              `protobuf:"bytes,13,opt,name=bug_component,json=bugComponent,proto3" json:"bug_component,omitempty"`
	LacrosStatus string              `protobuf:"bytes,14,opt,name=lacros_status,json=lacrosStatus,proto3" json:"lacros_status,omitempty"`
	// contains filtered or unexported fields
}

Entity describes an entity.

func (*Entity) Descriptor deprecated

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

Deprecated: Use Entity.ProtoReflect.Descriptor instead.

func (*Entity) GetAttributes

func (x *Entity) GetAttributes() []string

func (*Entity) GetBugComponent

func (x *Entity) GetBugComponent() string

func (*Entity) GetContacts

func (x *Entity) GetContacts() *EntityContacts

func (*Entity) GetDependencies

func (x *Entity) GetDependencies() *EntityDependencies

func (*Entity) GetDescription

func (x *Entity) GetDescription() string

func (*Entity) GetFixture

func (x *Entity) GetFixture() string

func (*Entity) GetLacrosStatus

func (x *Entity) GetLacrosStatus() string

func (*Entity) GetLegacyData

func (x *Entity) GetLegacyData() *EntityLegacyData

func (*Entity) GetName

func (x *Entity) GetName() string

func (*Entity) GetPackage

func (x *Entity) GetPackage() string

func (*Entity) GetRequirements

func (x *Entity) GetRequirements() []string

func (*Entity) GetSearchFlags

func (x *Entity) GetSearchFlags() []*StringPair

func (*Entity) GetTestBedDeps

func (x *Entity) GetTestBedDeps() []string

func (*Entity) GetType

func (x *Entity) GetType() EntityType

func (*Entity) ProtoMessage

func (*Entity) ProtoMessage()

func (*Entity) ProtoReflect

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

func (*Entity) Reset

func (x *Entity) Reset()

func (*Entity) String

func (x *Entity) String() string

type EntityContacts

type EntityContacts struct {
	Emails []string `protobuf:"bytes,1,rep,name=emails,proto3" json:"emails,omitempty"`
	// contains filtered or unexported fields
}

EntityContacts contains contact information of an entity.

func (*EntityContacts) Descriptor deprecated

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

Deprecated: Use EntityContacts.ProtoReflect.Descriptor instead.

func (*EntityContacts) GetEmails

func (x *EntityContacts) GetEmails() []string

func (*EntityContacts) ProtoMessage

func (*EntityContacts) ProtoMessage()

func (*EntityContacts) ProtoReflect

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

func (*EntityContacts) Reset

func (x *EntityContacts) Reset()

func (*EntityContacts) String

func (x *EntityContacts) String() string

type EntityCopyEndEvent

type EntityCopyEndEvent struct {
	EntityName string `protobuf:"bytes,1,opt,name=entity_name,json=entityName,proto3" json:"entity_name,omitempty"`
	// contains filtered or unexported fields
}

EntityCopyEndEvent marks the end of an file copies after entity ends.

func (*EntityCopyEndEvent) Descriptor deprecated

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

Deprecated: Use EntityCopyEndEvent.ProtoReflect.Descriptor instead.

func (*EntityCopyEndEvent) GetEntityName

func (x *EntityCopyEndEvent) GetEntityName() string

func (*EntityCopyEndEvent) ProtoMessage

func (*EntityCopyEndEvent) ProtoMessage()

func (*EntityCopyEndEvent) ProtoReflect

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

func (*EntityCopyEndEvent) Reset

func (x *EntityCopyEndEvent) Reset()

func (*EntityCopyEndEvent) String

func (x *EntityCopyEndEvent) String() string

type EntityDependencies

type EntityDependencies struct {
	DataFiles []string `protobuf:"bytes,1,rep,name=data_files,json=dataFiles,proto3" json:"data_files,omitempty"`
	Services  []string `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

EntityDependencies describes dependencies of an entity that need to be evaluated before running it.

func (*EntityDependencies) Descriptor deprecated

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

Deprecated: Use EntityDependencies.ProtoReflect.Descriptor instead.

func (*EntityDependencies) GetDataFiles

func (x *EntityDependencies) GetDataFiles() []string

func (*EntityDependencies) GetServices

func (x *EntityDependencies) GetServices() []string

func (*EntityDependencies) ProtoMessage

func (*EntityDependencies) ProtoMessage()

func (*EntityDependencies) ProtoReflect

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

func (*EntityDependencies) Reset

func (x *EntityDependencies) Reset()

func (*EntityDependencies) String

func (x *EntityDependencies) String() string

type EntityEndEvent

type EntityEndEvent struct {
	Time       *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	EntityName string                 `protobuf:"bytes,2,opt,name=entity_name,json=entityName,proto3" json:"entity_name,omitempty"`
	Skip       *Skip                  `protobuf:"bytes,3,opt,name=skip,proto3" json:"skip,omitempty"`
	TimingLog  *TimingLog             `protobuf:"bytes,4,opt,name=timing_log,json=timingLog,proto3" json:"timing_log,omitempty"`
	// contains filtered or unexported fields
}

EntityEndEvent marks the end of an entity run.

func (*EntityEndEvent) Descriptor deprecated

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

Deprecated: Use EntityEndEvent.ProtoReflect.Descriptor instead.

func (*EntityEndEvent) GetEntityName

func (x *EntityEndEvent) GetEntityName() string

func (*EntityEndEvent) GetSkip

func (x *EntityEndEvent) GetSkip() *Skip

func (*EntityEndEvent) GetTime

func (x *EntityEndEvent) GetTime() *timestamppb.Timestamp

func (*EntityEndEvent) GetTimingLog

func (x *EntityEndEvent) GetTimingLog() *TimingLog

func (*EntityEndEvent) ProtoMessage

func (*EntityEndEvent) ProtoMessage()

func (*EntityEndEvent) ProtoReflect

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

func (*EntityEndEvent) Reset

func (x *EntityEndEvent) Reset()

func (*EntityEndEvent) String

func (x *EntityEndEvent) String() string

type EntityErrorEvent

type EntityErrorEvent struct {
	Time       *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	EntityName string                 `protobuf:"bytes,2,opt,name=entity_name,json=entityName,proto3" json:"entity_name,omitempty"`
	Error      *Error                 `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

EntityErrorEvent indicates that an error was produced by an entity. A consumer should treat an entity as failed when it sees one or more errors reported for it.

func (*EntityErrorEvent) Descriptor deprecated

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

Deprecated: Use EntityErrorEvent.ProtoReflect.Descriptor instead.

func (*EntityErrorEvent) GetEntityName

func (x *EntityErrorEvent) GetEntityName() string

func (*EntityErrorEvent) GetError

func (x *EntityErrorEvent) GetError() *Error

func (*EntityErrorEvent) GetTime

func (x *EntityErrorEvent) GetTime() *timestamppb.Timestamp

func (*EntityErrorEvent) ProtoMessage

func (*EntityErrorEvent) ProtoMessage()

func (*EntityErrorEvent) ProtoReflect

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

func (*EntityErrorEvent) Reset

func (x *EntityErrorEvent) Reset()

func (*EntityErrorEvent) String

func (x *EntityErrorEvent) String() string

type EntityLegacyData

type EntityLegacyData struct {
	Timeout      *durationpb.Duration `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Variables    []string             `protobuf:"bytes,2,rep,name=variables,proto3" json:"variables,omitempty"`
	VariableDeps []string             `protobuf:"bytes,3,rep,name=variable_deps,json=variableDeps,proto3" json:"variable_deps,omitempty"`
	SoftwareDeps []string             `protobuf:"bytes,4,rep,name=software_deps,json=softwareDeps,proto3" json:"software_deps,omitempty"`
	Bundle       string               `protobuf:"bytes,5,opt,name=bundle,proto3" json:"bundle,omitempty"`
	// contains filtered or unexported fields
}

EntityLegacyData contains extra information of an entity. Fields in this message are considered legacy because test bundles need to send these fields to Tast CLI just because they are made available in results.json for compatibility reasons.

func (*EntityLegacyData) Descriptor deprecated

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

Deprecated: Use EntityLegacyData.ProtoReflect.Descriptor instead.

func (*EntityLegacyData) GetBundle

func (x *EntityLegacyData) GetBundle() string

func (*EntityLegacyData) GetSoftwareDeps

func (x *EntityLegacyData) GetSoftwareDeps() []string

func (*EntityLegacyData) GetTimeout

func (x *EntityLegacyData) GetTimeout() *durationpb.Duration

func (*EntityLegacyData) GetVariableDeps

func (x *EntityLegacyData) GetVariableDeps() []string

func (*EntityLegacyData) GetVariables

func (x *EntityLegacyData) GetVariables() []string

func (*EntityLegacyData) ProtoMessage

func (*EntityLegacyData) ProtoMessage()

func (*EntityLegacyData) ProtoReflect

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

func (*EntityLegacyData) Reset

func (x *EntityLegacyData) Reset()

func (*EntityLegacyData) String

func (x *EntityLegacyData) String() string

type EntityLogEvent

type EntityLogEvent struct {
	Time       *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	EntityName string                 `protobuf:"bytes,2,opt,name=entity_name,json=entityName,proto3" json:"entity_name,omitempty"`
	Text       string                 `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	Level      LogLevel               `protobuf:"varint,4,opt,name=level,proto3,enum=tast.core.LogLevel" json:"level,omitempty"`
	// contains filtered or unexported fields
}

EntityLogEvent indicates that an informational log message was produced by an entity.

func (*EntityLogEvent) Descriptor deprecated

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

Deprecated: Use EntityLogEvent.ProtoReflect.Descriptor instead.

func (*EntityLogEvent) GetEntityName

func (x *EntityLogEvent) GetEntityName() string

func (*EntityLogEvent) GetLevel

func (x *EntityLogEvent) GetLevel() LogLevel

func (*EntityLogEvent) GetText

func (x *EntityLogEvent) GetText() string

func (*EntityLogEvent) GetTime

func (x *EntityLogEvent) GetTime() *timestamppb.Timestamp

func (*EntityLogEvent) ProtoMessage

func (*EntityLogEvent) ProtoMessage()

func (*EntityLogEvent) ProtoReflect

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

func (*EntityLogEvent) Reset

func (x *EntityLogEvent) Reset()

func (*EntityLogEvent) String

func (x *EntityLogEvent) String() string

type EntityStartEvent

type EntityStartEvent struct {
	Time   *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	Entity *Entity                `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"`
	OutDir string                 `protobuf:"bytes,3,opt,name=out_dir,json=outDir,proto3" json:"out_dir,omitempty"`
	// contains filtered or unexported fields
}

EntityStartEvent marks the start of an entity run. EntityStartEvent is sent even if an entity is to be skipped.

func (*EntityStartEvent) Descriptor deprecated

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

Deprecated: Use EntityStartEvent.ProtoReflect.Descriptor instead.

func (*EntityStartEvent) GetEntity

func (x *EntityStartEvent) GetEntity() *Entity

func (*EntityStartEvent) GetOutDir

func (x *EntityStartEvent) GetOutDir() string

func (*EntityStartEvent) GetTime

func (x *EntityStartEvent) GetTime() *timestamppb.Timestamp

func (*EntityStartEvent) ProtoMessage

func (*EntityStartEvent) ProtoMessage()

func (*EntityStartEvent) ProtoReflect

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

func (*EntityStartEvent) Reset

func (x *EntityStartEvent) Reset()

func (*EntityStartEvent) String

func (x *EntityStartEvent) String() string

type EntityType

type EntityType int32

EntityType represents a type of an entity.

const (
	EntityType_TEST    EntityType = 0
	EntityType_FIXTURE EntityType = 1
)

func (EntityType) Descriptor

func (EntityType) Descriptor() protoreflect.EnumDescriptor

func (EntityType) Enum

func (x EntityType) Enum() *EntityType

func (EntityType) EnumDescriptor deprecated

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

Deprecated: Use EntityType.Descriptor instead.

func (EntityType) Number

func (x EntityType) Number() protoreflect.EnumNumber

func (EntityType) String

func (x EntityType) String() string

func (EntityType) Type

type Error

type Error struct {
	Reason   string         `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
	Location *ErrorLocation `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

Error describes details of an error reported by an entity.

func (*Error) Descriptor deprecated

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

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetLocation

func (x *Error) GetLocation() *ErrorLocation

func (*Error) GetReason

func (x *Error) GetReason() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

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

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

type ErrorLocation

type ErrorLocation struct {
	File  string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	Line  int64  `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
	Stack string `protobuf:"bytes,3,opt,name=stack,proto3" json:"stack,omitempty"`
	// contains filtered or unexported fields
}

ErrorLocation represents a code location where an error was reported.

func (*ErrorLocation) Descriptor deprecated

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

Deprecated: Use ErrorLocation.ProtoReflect.Descriptor instead.

func (*ErrorLocation) GetFile

func (x *ErrorLocation) GetFile() string

func (*ErrorLocation) GetLine

func (x *ErrorLocation) GetLine() int64

func (*ErrorLocation) GetStack

func (x *ErrorLocation) GetStack() string

func (*ErrorLocation) ProtoMessage

func (*ErrorLocation) ProtoMessage()

func (*ErrorLocation) ProtoReflect

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

func (*ErrorLocation) Reset

func (x *ErrorLocation) Reset()

func (*ErrorLocation) String

func (x *ErrorLocation) String() string

type Event

type Event interface {
	// contains filtered or unexported methods
}

Event is a common interface for event messages.

type ExecRequest

type ExecRequest struct {

	// Types that are assignable to Type:
	//
	//	*ExecRequest_Init
	//	*ExecRequest_Stdin
	Type isExecRequest_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*ExecRequest) Descriptor deprecated

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

Deprecated: Use ExecRequest.ProtoReflect.Descriptor instead.

func (*ExecRequest) GetInit

func (x *ExecRequest) GetInit() *InitEvent

func (*ExecRequest) GetStdin

func (x *ExecRequest) GetStdin() *PipeEvent

func (*ExecRequest) GetType

func (m *ExecRequest) GetType() isExecRequest_Type

func (*ExecRequest) ProtoMessage

func (*ExecRequest) ProtoMessage()

func (*ExecRequest) ProtoReflect

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

func (*ExecRequest) Reset

func (x *ExecRequest) Reset()

func (*ExecRequest) String

func (x *ExecRequest) String() string

type ExecRequest_Init

type ExecRequest_Init struct {
	Init *InitEvent `protobuf:"bytes,1,opt,name=init,proto3,oneof"`
}

type ExecRequest_Stdin

type ExecRequest_Stdin struct {
	Stdin *PipeEvent `protobuf:"bytes,2,opt,name=stdin,proto3,oneof"`
}

type ExecResponse

type ExecResponse struct {

	// Types that are assignable to Type:
	//
	//	*ExecResponse_Exit
	//	*ExecResponse_Stdout
	//	*ExecResponse_Stderr
	Type isExecResponse_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*ExecResponse) Descriptor deprecated

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

Deprecated: Use ExecResponse.ProtoReflect.Descriptor instead.

func (*ExecResponse) GetExit

func (x *ExecResponse) GetExit() *ExitEvent

func (*ExecResponse) GetStderr

func (x *ExecResponse) GetStderr() *PipeEvent

func (*ExecResponse) GetStdout

func (x *ExecResponse) GetStdout() *PipeEvent

func (*ExecResponse) GetType

func (m *ExecResponse) GetType() isExecResponse_Type

func (*ExecResponse) ProtoMessage

func (*ExecResponse) ProtoMessage()

func (*ExecResponse) ProtoReflect

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

func (*ExecResponse) Reset

func (x *ExecResponse) Reset()

func (*ExecResponse) String

func (x *ExecResponse) String() string

type ExecResponse_Exit

type ExecResponse_Exit struct {
	Exit *ExitEvent `protobuf:"bytes,1,opt,name=exit,proto3,oneof"`
}

type ExecResponse_Stderr

type ExecResponse_Stderr struct {
	Stderr *PipeEvent `protobuf:"bytes,3,opt,name=stderr,proto3,oneof"`
}

type ExecResponse_Stdout

type ExecResponse_Stdout struct {
	Stdout *PipeEvent `protobuf:"bytes,2,opt,name=stdout,proto3,oneof"`
}

type ExitEvent

type ExitEvent struct {
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*ExitEvent) Descriptor deprecated

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

Deprecated: Use ExitEvent.ProtoReflect.Descriptor instead.

func (*ExitEvent) GetCode

func (x *ExitEvent) GetCode() int32

func (*ExitEvent) ProtoMessage

func (*ExitEvent) ProtoMessage()

func (*ExitEvent) ProtoReflect

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

func (*ExitEvent) Reset

func (x *ExitEvent) Reset()

func (*ExitEvent) String

func (x *ExitEvent) String() string

type Features

type Features struct {

	// CheckDeps indicates whether to skip tests whose dependencies are not
	// satisfied by available features.
	CheckDeps         bool                             `protobuf:"varint,5,opt,name=check_deps,json=checkDeps,proto3" json:"check_deps,omitempty"`
	Dut               *protocol.DUTFeatures            `protobuf:"bytes,6,opt,name=dut,proto3" json:"dut,omitempty"`
	Infra             *InfraFeatures                   `protobuf:"bytes,7,opt,name=infra,proto3" json:"infra,omitempty"`
	CompanionFeatures map[string]*protocol.DUTFeatures `` /* 175-byte string literal not displayed */
	// ForceSkip provides a mapping of the tests forced to skip and the reasons.
	ForceSkips map[string]*ForceSkip `` /* 179-byte string literal not displayed */
	// contains filtered or unexported fields
}

Features represents a set of features available for tests.

func (*Features) Descriptor deprecated

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

Deprecated: Use Features.ProtoReflect.Descriptor instead.

func (*Features) GetCheckDeps

func (x *Features) GetCheckDeps() bool

func (*Features) GetCompanionFeatures

func (x *Features) GetCompanionFeatures() map[string]*protocol.DUTFeatures

func (*Features) GetDut

func (x *Features) GetDut() *protocol.DUTFeatures

func (*Features) GetForceSkips

func (x *Features) GetForceSkips() map[string]*ForceSkip

func (*Features) GetInfra

func (x *Features) GetInfra() *InfraFeatures

func (*Features) ProtoMessage

func (*Features) ProtoMessage()

func (*Features) ProtoReflect

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

func (*Features) Reset

func (x *Features) Reset()

func (*Features) String

func (x *Features) String() string

type FileTransferClient

type FileTransferClient interface {
	// PullDirectory transfers a directory on the DUT as a tar archive.
	// The directory is removed after transfer.
	PullDirectory(ctx context.Context, in *PullDirectoryRequest, opts ...grpc.CallOption) (FileTransfer_PullDirectoryClient, error)
}

FileTransferClient is the client API for FileTransfer service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type FileTransferServer

type FileTransferServer interface {
	// PullDirectory transfers a directory on the DUT as a tar archive.
	// The directory is removed after transfer.
	PullDirectory(*PullDirectoryRequest, FileTransfer_PullDirectoryServer) error
}

FileTransferServer is the server API for FileTransfer service.

type FileTransfer_PullDirectoryClient

type FileTransfer_PullDirectoryClient interface {
	Recv() (*PullDirectoryResponse, error)
	grpc.ClientStream
}

type FileTransfer_PullDirectoryServer

type FileTransfer_PullDirectoryServer interface {
	Send(*PullDirectoryResponse) error
	grpc.ServerStream
}

type FixtureServiceClient

type FixtureServiceClient interface {
	RunFixture(ctx context.Context, opts ...grpc.CallOption) (FixtureService_RunFixtureClient, error)
}

FixtureServiceClient is the client API for FixtureService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type FixtureServiceServer

type FixtureServiceServer interface {
	RunFixture(FixtureService_RunFixtureServer) error
}

FixtureServiceServer is the server API for FixtureService service.

type FixtureService_RunFixtureClient

type FixtureService_RunFixtureClient interface {
	Send(*RunFixtureRequest) error
	Recv() (*RunFixtureResponse, error)
	grpc.ClientStream
}

type FixtureService_RunFixtureServer

type FixtureService_RunFixtureServer interface {
	Send(*RunFixtureResponse) error
	Recv() (*RunFixtureRequest, error)
	grpc.ServerStream
}

type ForceSkip

type ForceSkip struct {
	Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

ForceSkip provides the reason of skipping a test by force.

func (*ForceSkip) Descriptor deprecated

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

Deprecated: Use ForceSkip.ProtoReflect.Descriptor instead.

func (*ForceSkip) GetReason

func (x *ForceSkip) GetReason() string

func (*ForceSkip) ProtoMessage

func (*ForceSkip) ProtoMessage()

func (*ForceSkip) ProtoReflect

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

func (*ForceSkip) Reset

func (x *ForceSkip) Reset()

func (*ForceSkip) String

func (x *ForceSkip) String() string

type GetDUTInfoRequest

type GetDUTInfoRequest struct {

	// ExtraUseFlags lists USE flags that should be treated as being set in
	// addition to the ones read from USEFlagsFile when computing the feature sets
	// for GetDUTInfoResponse.
	ExtraUseFlags []string `protobuf:"bytes,1,rep,name=extra_use_flags,json=extraUseFlags,proto3" json:"extra_use_flags,omitempty"`
	// Features specifies whether to get software/hardware features of the DUT.
	Features bool `protobuf:"varint,2,opt,name=features,proto3" json:"features,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDUTInfoRequest) Descriptor deprecated

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

Deprecated: Use GetDUTInfoRequest.ProtoReflect.Descriptor instead.

func (*GetDUTInfoRequest) GetExtraUseFlags

func (x *GetDUTInfoRequest) GetExtraUseFlags() []string

func (*GetDUTInfoRequest) GetFeatures

func (x *GetDUTInfoRequest) GetFeatures() bool

func (*GetDUTInfoRequest) ProtoMessage

func (*GetDUTInfoRequest) ProtoMessage()

func (*GetDUTInfoRequest) ProtoReflect

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

func (*GetDUTInfoRequest) Reset

func (x *GetDUTInfoRequest) Reset()

func (*GetDUTInfoRequest) String

func (x *GetDUTInfoRequest) String() string

type GetDUTInfoResponse

type GetDUTInfoResponse struct {
	DutInfo *DUTInfo `protobuf:"bytes,1,opt,name=dut_info,json=dutInfo,proto3" json:"dut_info,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDUTInfoResponse) Descriptor deprecated

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

Deprecated: Use GetDUTInfoResponse.ProtoReflect.Descriptor instead.

func (*GetDUTInfoResponse) GetDutInfo

func (x *GetDUTInfoResponse) GetDutInfo() *DUTInfo

func (*GetDUTInfoResponse) ProtoMessage

func (*GetDUTInfoResponse) ProtoMessage()

func (*GetDUTInfoResponse) ProtoReflect

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

func (*GetDUTInfoResponse) Reset

func (x *GetDUTInfoResponse) Reset()

func (*GetDUTInfoResponse) String

func (x *GetDUTInfoResponse) String() string

type GetSysInfoStateRequest

type GetSysInfoStateRequest struct {
	// contains filtered or unexported fields
}

func (*GetSysInfoStateRequest) Descriptor deprecated

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

Deprecated: Use GetSysInfoStateRequest.ProtoReflect.Descriptor instead.

func (*GetSysInfoStateRequest) ProtoMessage

func (*GetSysInfoStateRequest) ProtoMessage()

func (*GetSysInfoStateRequest) ProtoReflect

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

func (*GetSysInfoStateRequest) Reset

func (x *GetSysInfoStateRequest) Reset()

func (*GetSysInfoStateRequest) String

func (x *GetSysInfoStateRequest) String() string

type GetSysInfoStateResponse

type GetSysInfoStateResponse struct {

	// State contains the collected sysinfo state.
	State *SysInfoState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSysInfoStateResponse) Descriptor deprecated

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

Deprecated: Use GetSysInfoStateResponse.ProtoReflect.Descriptor instead.

func (*GetSysInfoStateResponse) GetState

func (x *GetSysInfoStateResponse) GetState() *SysInfoState

func (*GetSysInfoStateResponse) ProtoMessage

func (*GetSysInfoStateResponse) ProtoMessage()

func (*GetSysInfoStateResponse) ProtoReflect

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

func (*GetSysInfoStateResponse) Reset

func (x *GetSysInfoStateResponse) Reset()

func (*GetSysInfoStateResponse) String

func (x *GetSysInfoStateResponse) String() string

type GlobalRuntimeVar

type GlobalRuntimeVar struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GlobalRuntimeVar) Descriptor deprecated

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

Deprecated: Use GlobalRuntimeVar.ProtoReflect.Descriptor instead.

func (*GlobalRuntimeVar) GetName

func (x *GlobalRuntimeVar) GetName() string

func (*GlobalRuntimeVar) ProtoMessage

func (*GlobalRuntimeVar) ProtoMessage()

func (*GlobalRuntimeVar) ProtoReflect

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

func (*GlobalRuntimeVar) Reset

func (x *GlobalRuntimeVar) Reset()

func (*GlobalRuntimeVar) String

func (x *GlobalRuntimeVar) String() string

type GlobalRuntimeVarsRequest

type GlobalRuntimeVarsRequest struct {
	// contains filtered or unexported fields
}

func (*GlobalRuntimeVarsRequest) Descriptor deprecated

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

Deprecated: Use GlobalRuntimeVarsRequest.ProtoReflect.Descriptor instead.

func (*GlobalRuntimeVarsRequest) ProtoMessage

func (*GlobalRuntimeVarsRequest) ProtoMessage()

func (*GlobalRuntimeVarsRequest) ProtoReflect

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

func (*GlobalRuntimeVarsRequest) Reset

func (x *GlobalRuntimeVarsRequest) Reset()

func (*GlobalRuntimeVarsRequest) String

func (x *GlobalRuntimeVarsRequest) String() string

type GlobalRuntimeVarsResponse

type GlobalRuntimeVarsResponse struct {
	Vars []*GlobalRuntimeVar `protobuf:"bytes,1,rep,name=vars,proto3" json:"vars,omitempty"`
	// contains filtered or unexported fields
}

func (*GlobalRuntimeVarsResponse) Descriptor deprecated

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

Deprecated: Use GlobalRuntimeVarsResponse.ProtoReflect.Descriptor instead.

func (*GlobalRuntimeVarsResponse) GetVars

func (*GlobalRuntimeVarsResponse) ProtoMessage

func (*GlobalRuntimeVarsResponse) ProtoMessage()

func (*GlobalRuntimeVarsResponse) ProtoReflect

func (*GlobalRuntimeVarsResponse) Reset

func (x *GlobalRuntimeVarsResponse) Reset()

func (*GlobalRuntimeVarsResponse) String

func (x *GlobalRuntimeVarsResponse) String() string

type HandshakeError

type HandshakeError struct {
	Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

HandshakeError describes a failed handshake result.

func (*HandshakeError) Descriptor deprecated

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

Deprecated: Use HandshakeError.ProtoReflect.Descriptor instead.

func (*HandshakeError) GetReason

func (x *HandshakeError) GetReason() string

func (*HandshakeError) ProtoMessage

func (*HandshakeError) ProtoMessage()

func (*HandshakeError) ProtoReflect

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

func (*HandshakeError) Reset

func (x *HandshakeError) Reset()

func (*HandshakeError) String

func (x *HandshakeError) String() string

type HandshakeRequest

type HandshakeRequest struct {

	// Whether to initialize user-defined gRPC services.
	NeedUserServices bool              `protobuf:"varint,1,opt,name=need_user_services,json=needUserServices,proto3" json:"need_user_services,omitempty"`
	BundleInitParams *BundleInitParams `protobuf:"bytes,2,opt,name=bundle_init_params,json=bundleInitParams,proto3" json:"bundle_init_params,omitempty"`
	RunnerInitParams *RunnerInitParams `protobuf:"bytes,3,opt,name=runner_init_params,json=runnerInitParams,proto3" json:"runner_init_params,omitempty"`
	// contains filtered or unexported fields
}

HandshakeRequest contains parameters needed to initialize a gRPC server. The message is sent in a raw format since gRPC connection is not ready before handshake.

func (*HandshakeRequest) Descriptor deprecated

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

Deprecated: Use HandshakeRequest.ProtoReflect.Descriptor instead.

func (*HandshakeRequest) GetBundleInitParams

func (x *HandshakeRequest) GetBundleInitParams() *BundleInitParams

func (*HandshakeRequest) GetNeedUserServices

func (x *HandshakeRequest) GetNeedUserServices() bool

func (*HandshakeRequest) GetRunnerInitParams

func (x *HandshakeRequest) GetRunnerInitParams() *RunnerInitParams

func (*HandshakeRequest) ProtoMessage

func (*HandshakeRequest) ProtoMessage()

func (*HandshakeRequest) ProtoReflect

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

func (*HandshakeRequest) Reset

func (x *HandshakeRequest) Reset()

func (*HandshakeRequest) String

func (x *HandshakeRequest) String() string

type HandshakeResponse

type HandshakeResponse struct {

	// Set if an error occurred.
	Error *HandshakeError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

HandshakeResponse is a response to an HandshakeRequest message. The message is sent in a raw format since gRPC connection is not ready before handshake.

func (*HandshakeResponse) Descriptor deprecated

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

Deprecated: Use HandshakeResponse.ProtoReflect.Descriptor instead.

func (*HandshakeResponse) GetError

func (x *HandshakeResponse) GetError() *HandshakeError

func (*HandshakeResponse) ProtoMessage

func (*HandshakeResponse) ProtoMessage()

func (*HandshakeResponse) ProtoReflect

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

func (*HandshakeResponse) Reset

func (x *HandshakeResponse) Reset()

func (*HandshakeResponse) String

func (x *HandshakeResponse) String() string

type HeartbeatEvent

type HeartbeatEvent struct {
	Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*HeartbeatEvent) Descriptor deprecated

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

Deprecated: Use HeartbeatEvent.ProtoReflect.Descriptor instead.

func (*HeartbeatEvent) GetTime

func (x *HeartbeatEvent) GetTime() *timestamppb.Timestamp

func (*HeartbeatEvent) ProtoMessage

func (*HeartbeatEvent) ProtoMessage()

func (*HeartbeatEvent) ProtoReflect

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

func (*HeartbeatEvent) Reset

func (x *HeartbeatEvent) Reset()

func (*HeartbeatEvent) String

func (x *HeartbeatEvent) String() string

type InfraFeatures

type InfraFeatures struct {
	Vars             map[string]string      `` /* 149-byte string literal not displayed */
	MaybeMissingVars string                 `protobuf:"bytes,2,opt,name=maybe_missing_vars,json=maybeMissingVars,proto3" json:"maybe_missing_vars,omitempty"`
	DUTLabConfig     *protocol.DUTLabConfig `protobuf:"bytes,3,opt,name=DUTLabConfig,proto3" json:"DUTLabConfig,omitempty"`
	// contains filtered or unexported fields
}

InfraFeatures represents a set of features made available by testing infrastructure.

func (*InfraFeatures) Descriptor deprecated

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

Deprecated: Use InfraFeatures.ProtoReflect.Descriptor instead.

func (*InfraFeatures) GetDUTLabConfig

func (x *InfraFeatures) GetDUTLabConfig() *protocol.DUTLabConfig

func (*InfraFeatures) GetMaybeMissingVars

func (x *InfraFeatures) GetMaybeMissingVars() string

func (*InfraFeatures) GetVars

func (x *InfraFeatures) GetVars() map[string]string

func (*InfraFeatures) ProtoMessage

func (*InfraFeatures) ProtoMessage()

func (*InfraFeatures) ProtoReflect

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

func (*InfraFeatures) Reset

func (x *InfraFeatures) Reset()

func (*InfraFeatures) String

func (x *InfraFeatures) String() string

type InitEvent

type InitEvent struct {
	Args []string `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"`
	// contains filtered or unexported fields
}

func (*InitEvent) Descriptor deprecated

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

Deprecated: Use InitEvent.ProtoReflect.Descriptor instead.

func (*InitEvent) GetArgs

func (x *InitEvent) GetArgs() []string

func (*InitEvent) ProtoMessage

func (*InitEvent) ProtoMessage()

func (*InitEvent) ProtoReflect

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

func (*InitEvent) Reset

func (x *InitEvent) Reset()

func (*InitEvent) String

func (x *InitEvent) String() string

type ListEntitiesRequest

type ListEntitiesRequest struct {
	Features *Features `protobuf:"bytes,1,opt,name=features,proto3" json:"features,omitempty"`
	// Recursive specifies whether to list entities on target bundles recursively.
	Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEntitiesRequest) Descriptor deprecated

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

Deprecated: Use ListEntitiesRequest.ProtoReflect.Descriptor instead.

func (*ListEntitiesRequest) GetFeatures

func (x *ListEntitiesRequest) GetFeatures() *Features

func (*ListEntitiesRequest) GetRecursive

func (x *ListEntitiesRequest) GetRecursive() bool

func (*ListEntitiesRequest) ProtoMessage

func (*ListEntitiesRequest) ProtoMessage()

func (*ListEntitiesRequest) ProtoReflect

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

func (*ListEntitiesRequest) Reset

func (x *ListEntitiesRequest) Reset()

func (*ListEntitiesRequest) String

func (x *ListEntitiesRequest) String() string

type ListEntitiesResponse

type ListEntitiesResponse struct {

	// Entities is a list of entities available on the server. The order of
	// entities is unspecified.
	Entities []*ResolvedEntity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEntitiesResponse) Descriptor deprecated

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

Deprecated: Use ListEntitiesResponse.ProtoReflect.Descriptor instead.

func (*ListEntitiesResponse) GetEntities

func (x *ListEntitiesResponse) GetEntities() []*ResolvedEntity

func (*ListEntitiesResponse) ProtoMessage

func (*ListEntitiesResponse) ProtoMessage()

func (*ListEntitiesResponse) ProtoReflect

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

func (*ListEntitiesResponse) Reset

func (x *ListEntitiesResponse) Reset()

func (*ListEntitiesResponse) String

func (x *ListEntitiesResponse) String() string

type LogEntry

type LogEntry struct {

	// Msg is a logged message.
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// Seq is an ID of the log entry. It is a sequentially increasing number
	// starting from 1.
	Seq uint64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
	// The level of the log message from logging.Level.
	Level LogLevel `protobuf:"varint,3,opt,name=level,proto3,enum=tast.core.LogLevel" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*LogEntry) Descriptor deprecated

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

Deprecated: Use LogEntry.ProtoReflect.Descriptor instead.

func (*LogEntry) GetLevel

func (x *LogEntry) GetLevel() LogLevel

func (*LogEntry) GetMsg

func (x *LogEntry) GetMsg() string

func (*LogEntry) GetSeq

func (x *LogEntry) GetSeq() uint64

func (*LogEntry) ProtoMessage

func (*LogEntry) ProtoMessage()

func (*LogEntry) ProtoReflect

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

func (*LogEntry) Reset

func (x *LogEntry) Reset()

func (*LogEntry) String

func (x *LogEntry) String() string

type LogLevel

type LogLevel int32

LogLevel corresponds to the go type go.chromium.org/tast/core/internal/logging.Level

const (
	LogLevel_LOGLEVEL_UNSPECIFIED LogLevel = 0
	LogLevel_DEBUG                LogLevel = 1
	LogLevel_INFO                 LogLevel = 2
)

func LevelToProto

func LevelToProto(level logging.Level) LogLevel

LevelToProto converts a logging.Level to the protocol.LogLevel.

func (LogLevel) Descriptor

func (LogLevel) Descriptor() protoreflect.EnumDescriptor

func (LogLevel) Enum

func (x LogLevel) Enum() *LogLevel

func (LogLevel) EnumDescriptor deprecated

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

Deprecated: Use LogLevel.Descriptor instead.

func (LogLevel) Number

func (x LogLevel) Number() protoreflect.EnumNumber

func (LogLevel) String

func (x LogLevel) String() string

func (LogLevel) Type

type LoggingClient

type LoggingClient interface {
	// ReadLogs subscribes to logs emitted by gRPC services.
	// At the beginning of the call, one ReadLogsResponse with empty entry is
	// sent to indicate success of subscription. Afterwards ReadLogsResponse is
	// sent back as a stream as logs are emitted. The response stream is closed
	// when the client closes the request stream or any error occurs.
	// At most one client can have an active call of this method at a time.
	ReadLogs(ctx context.Context, opts ...grpc.CallOption) (Logging_ReadLogsClient, error)
}

LoggingClient is the client API for Logging service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewLoggingClient

func NewLoggingClient(cc grpc.ClientConnInterface) LoggingClient

type LoggingServer

type LoggingServer interface {
	// ReadLogs subscribes to logs emitted by gRPC services.
	// At the beginning of the call, one ReadLogsResponse with empty entry is
	// sent to indicate success of subscription. Afterwards ReadLogsResponse is
	// sent back as a stream as logs are emitted. The response stream is closed
	// when the client closes the request stream or any error occurs.
	// At most one client can have an active call of this method at a time.
	ReadLogs(Logging_ReadLogsServer) error
}

LoggingServer is the server API for Logging service.

type Logging_ReadLogsClient

type Logging_ReadLogsClient interface {
	Send(*ReadLogsRequest) error
	Recv() (*ReadLogsResponse, error)
	grpc.ClientStream
}

type Logging_ReadLogsServer

type Logging_ReadLogsServer interface {
	Send(*ReadLogsResponse) error
	Recv() (*ReadLogsRequest, error)
	grpc.ServerStream
}

type LoopbackExecServiceClient

type LoopbackExecServiceClient interface {
	Exec(ctx context.Context, opts ...grpc.CallOption) (LoopbackExecService_ExecClient, error)
}

LoopbackExecServiceClient is the client API for LoopbackExecService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type LoopbackExecServiceServer

type LoopbackExecServiceServer interface {
	Exec(LoopbackExecService_ExecServer) error
}

LoopbackExecServiceServer is the server API for LoopbackExecService service.

type LoopbackExecService_ExecClient

type LoopbackExecService_ExecClient interface {
	Send(*ExecRequest) error
	Recv() (*ExecResponse, error)
	grpc.ClientStream
}

type LoopbackExecService_ExecServer

type LoopbackExecService_ExecServer interface {
	Send(*ExecResponse) error
	Recv() (*ExecRequest, error)
	grpc.ServerStream
}

type MetaTestConfig

type MetaTestConfig struct {

	// TastPath contains the path to the tast binary that was executed to initiate
	// testing.
	TastPath string `protobuf:"bytes,1,opt,name=tast_path,json=tastPath,proto3" json:"tast_path,omitempty"`
	// RunFlags contains a subset of the flags that were passed to the "tast run"
	// command. The included flags are ones that are necessary for core
	// functionality, e.g. paths to binaries used by the tast process and
	// credentials for reconnecting to the DUT.
	RunFlags []string `protobuf:"bytes,2,rep,name=run_flags,json=runFlags,proto3" json:"run_flags,omitempty"`
	// ListFlags contains a subset of the flags that were passed to the "tast
	// list" command. The included flags are ones that are necessary for core
	// functionality, e.g. paths to binaries used by the tast process and
	// credentials for reconnecting to the DUT.
	ListFlags []string `protobuf:"bytes,3,rep,name=list_flags,json=listFlags,proto3" json:"list_flags,omitempty"`
	// contains filtered or unexported fields
}

MetaTestConfig contains parameters needed by meta tests (tests that exercise Tast itself).

func (*MetaTestConfig) Descriptor deprecated

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

Deprecated: Use MetaTestConfig.ProtoReflect.Descriptor instead.

func (*MetaTestConfig) GetListFlags

func (x *MetaTestConfig) GetListFlags() []string

func (*MetaTestConfig) GetRunFlags

func (x *MetaTestConfig) GetRunFlags() []string

func (*MetaTestConfig) GetTastPath

func (x *MetaTestConfig) GetTastPath() string

func (*MetaTestConfig) ProtoMessage

func (*MetaTestConfig) ProtoMessage()

func (*MetaTestConfig) ProtoReflect

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

func (*MetaTestConfig) Reset

func (x *MetaTestConfig) Reset()

func (*MetaTestConfig) String

func (x *MetaTestConfig) String() string

type PingCoreClient

type PingCoreClient interface {
	Ping(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

PingCoreClient is the client API for PingCore service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPingCoreClient

func NewPingCoreClient(cc grpc.ClientConnInterface) PingCoreClient

type PingCoreServer

type PingCoreServer interface {
	Ping(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
}

PingCoreServer is the server API for PingCore service.

type PingUserClient

type PingUserClient interface {
	Ping(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

PingUserClient is the client API for PingUser service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPingUserClient

func NewPingUserClient(cc grpc.ClientConnInterface) PingUserClient

type PingUserServer

type PingUserServer interface {
	Ping(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
}

PingUserServer is the server API for PingUser service.

type PipeEvent

type PipeEvent struct {
	Data  []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Close bool   `protobuf:"varint,2,opt,name=close,proto3" json:"close,omitempty"`
	// contains filtered or unexported fields
}

func (*PipeEvent) Descriptor deprecated

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

Deprecated: Use PipeEvent.ProtoReflect.Descriptor instead.

func (*PipeEvent) GetClose

func (x *PipeEvent) GetClose() bool

func (*PipeEvent) GetData

func (x *PipeEvent) GetData() []byte

func (*PipeEvent) ProtoMessage

func (*PipeEvent) ProtoMessage()

func (*PipeEvent) ProtoReflect

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

func (*PipeEvent) Reset

func (x *PipeEvent) Reset()

func (*PipeEvent) String

func (x *PipeEvent) String() string

type PullDirectoryRequest

type PullDirectoryRequest struct {

	// path is a directory path on the DUT.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*PullDirectoryRequest) Descriptor deprecated

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

Deprecated: Use PullDirectoryRequest.ProtoReflect.Descriptor instead.

func (*PullDirectoryRequest) GetPath

func (x *PullDirectoryRequest) GetPath() string

func (*PullDirectoryRequest) ProtoMessage

func (*PullDirectoryRequest) ProtoMessage()

func (*PullDirectoryRequest) ProtoReflect

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

func (*PullDirectoryRequest) Reset

func (x *PullDirectoryRequest) Reset()

func (*PullDirectoryRequest) String

func (x *PullDirectoryRequest) String() string

type PullDirectoryResponse

type PullDirectoryResponse struct {

	// data is gzip'ed tar archive data.
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*PullDirectoryResponse) Descriptor deprecated

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

Deprecated: Use PullDirectoryResponse.ProtoReflect.Descriptor instead.

func (*PullDirectoryResponse) GetData

func (x *PullDirectoryResponse) GetData() []byte

func (*PullDirectoryResponse) ProtoMessage

func (*PullDirectoryResponse) ProtoMessage()

func (*PullDirectoryResponse) ProtoReflect

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

func (*PullDirectoryResponse) Reset

func (x *PullDirectoryResponse) Reset()

func (*PullDirectoryResponse) String

func (x *PullDirectoryResponse) String() string

type ReadLogsRequest

type ReadLogsRequest struct {
	// contains filtered or unexported fields
}

func (*ReadLogsRequest) Descriptor deprecated

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

Deprecated: Use ReadLogsRequest.ProtoReflect.Descriptor instead.

func (*ReadLogsRequest) ProtoMessage

func (*ReadLogsRequest) ProtoMessage()

func (*ReadLogsRequest) ProtoReflect

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

func (*ReadLogsRequest) Reset

func (x *ReadLogsRequest) Reset()

func (*ReadLogsRequest) String

func (x *ReadLogsRequest) String() string

type ReadLogsResponse

type ReadLogsResponse struct {

	// entry is an emitted log entry. It is missing for an initial
	// ReadLogsResponse to indicate success of subscription.
	Entry *LogEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadLogsResponse) Descriptor deprecated

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

Deprecated: Use ReadLogsResponse.ProtoReflect.Descriptor instead.

func (*ReadLogsResponse) GetEntry

func (x *ReadLogsResponse) GetEntry() *LogEntry

func (*ReadLogsResponse) ProtoMessage

func (*ReadLogsResponse) ProtoMessage()

func (*ReadLogsResponse) ProtoReflect

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

func (*ReadLogsResponse) Reset

func (x *ReadLogsResponse) Reset()

func (*ReadLogsResponse) String

func (x *ReadLogsResponse) String() string

type ResolvedEntity

type ResolvedEntity struct {
	Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// Skips contains reasons why this test should be skipped. If it contains one
	// or more reasons, the test should be skipped for unsatisfied dependencies.
	// This field can be set only if the entity is a test.
	Skip *Skip `protobuf:"bytes,2,opt,name=skip,proto3" json:"skip,omitempty"`
	// Hops contains the number of remote connection hops from the current machine
	// and the machine serving the entity.
	// On the host machine, hops=0 means remote entities (on the host machine) and
	// hops=1 means local entities (on the DUT).
	Hops int32 `protobuf:"varint,3,opt,name=hops,proto3" json:"hops,omitempty"`
	// StartFixtureName is the name of the fixture that needs to be set up
	// externally in order to run this entity.
	StartFixtureName string `protobuf:"bytes,4,opt,name=start_fixture_name,json=startFixtureName,proto3" json:"start_fixture_name,omitempty"`
	// contains filtered or unexported fields
}

ResolvedEntity is similar to Entity, but contains additional fields computed from an original Entity and run time information.

func (*ResolvedEntity) Descriptor deprecated

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

Deprecated: Use ResolvedEntity.ProtoReflect.Descriptor instead.

func (*ResolvedEntity) GetEntity

func (x *ResolvedEntity) GetEntity() *Entity

func (*ResolvedEntity) GetHops

func (x *ResolvedEntity) GetHops() int32

func (*ResolvedEntity) GetSkip

func (x *ResolvedEntity) GetSkip() *Skip

func (*ResolvedEntity) GetStartFixtureName

func (x *ResolvedEntity) GetStartFixtureName() string

func (*ResolvedEntity) ProtoMessage

func (*ResolvedEntity) ProtoMessage()

func (*ResolvedEntity) ProtoReflect

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

func (*ResolvedEntity) Reset

func (x *ResolvedEntity) Reset()

func (*ResolvedEntity) String

func (x *ResolvedEntity) String() string

type RunConfig

type RunConfig struct {

	// Tests is a list of test names to be run. Wildcards are not allowed.
	Tests             []string           `protobuf:"bytes,1,rep,name=tests,proto3" json:"tests,omitempty"`
	Dirs              *RunDirectories    `protobuf:"bytes,2,opt,name=dirs,proto3" json:"dirs,omitempty"`
	Features          *Features          `protobuf:"bytes,3,opt,name=features,proto3" json:"features,omitempty"`
	ServiceConfig     *ServiceConfig     `protobuf:"bytes,4,opt,name=service_config,json=serviceConfig,proto3" json:"service_config,omitempty"`
	DataFileConfig    *DataFileConfig    `protobuf:"bytes,5,opt,name=data_file_config,json=dataFileConfig,proto3" json:"data_file_config,omitempty"`
	StartFixtureState *StartFixtureState `protobuf:"bytes,7,opt,name=start_fixture_state,json=startFixtureState,proto3" json:"start_fixture_state,omitempty"`
	// HeartbeatInterval is the interval in seconds at which heartbeat messages
	// are sent back periodically from runners (before running bundles) and
	// bundles. If this value is not positive, heartbeat messages are not sent.
	// TODO(crbug.com/1128259): Remove this field once we fully migrate to gRPC.
	HeartbeatInterval *durationpb.Duration `protobuf:"bytes,8,opt,name=heartbeat_interval,json=heartbeatInterval,proto3" json:"heartbeat_interval,omitempty"`
	// WaitUntilReady indicates that the test bundle's "ready" function (see
	// ReadyFunc) should be executed before any tests are executed.
	// TODO(crbug.com/1128259): Remove this field once we fully migrate to gRPC.
	WaitUntilReady bool `protobuf:"varint,9,opt,name=wait_until_ready,json=waitUntilReady,proto3" json:"wait_until_ready,omitempty"`
	// DebugPort is the port that the bundle will attach the debugger to.
	DebugPort uint32 `protobuf:"varint,10,opt,name=debug_port,json=debugPort,proto3" json:"debug_port,omitempty"`
	// SystemServiceTimeout is timeout for waiting for system services to be ready
	// in seconds. (Default: 120 seconds)
	SystemServicesTimeout *durationpb.Duration `` /* 127-byte string literal not displayed */
	// Target specifies how the primary target bundle should run.
	// This can be nil if no target bundle exists.
	Target *RunTargetConfig `protobuf:"bytes,12,opt,name=target,proto3" json:"target,omitempty"`
	// MsgTimeout is the duration that the client waits for.
	// If no activity is seen even after that the connection is closed.
	// (Default: 60 seconds)
	MsgTimeout *durationpb.Duration `protobuf:"bytes,13,opt,name=msg_timeout,json=msgTimeout,proto3" json:"msg_timeout,omitempty"`
	// MaxSysMsgLogSize is a maximum size of /var/log/messages that Tast will
	// copy.
	MaxSysMsgLogSize int64 `protobuf:"varint,14,opt,name=max_sys_msg_log_size,json=maxSysMsgLogSize,proto3" json:"max_sys_msg_log_size,omitempty"`
	// WaitUntilReadyTimeout set a timeout for the entire ready.Wait function.
	WaitUntilReadyTimeout *durationpb.Duration `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

RunConfig contains parameters needed to run tests in a test bundle.

func (*RunConfig) Descriptor deprecated

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

Deprecated: Use RunConfig.ProtoReflect.Descriptor instead.

func (*RunConfig) GetDataFileConfig

func (x *RunConfig) GetDataFileConfig() *DataFileConfig

func (*RunConfig) GetDebugPort

func (x *RunConfig) GetDebugPort() uint32

func (*RunConfig) GetDirs

func (x *RunConfig) GetDirs() *RunDirectories

func (*RunConfig) GetFeatures

func (x *RunConfig) GetFeatures() *Features

func (*RunConfig) GetHeartbeatInterval

func (x *RunConfig) GetHeartbeatInterval() *durationpb.Duration

func (*RunConfig) GetMaxSysMsgLogSize

func (x *RunConfig) GetMaxSysMsgLogSize() int64

func (*RunConfig) GetMsgTimeout

func (x *RunConfig) GetMsgTimeout() *durationpb.Duration

func (*RunConfig) GetServiceConfig

func (x *RunConfig) GetServiceConfig() *ServiceConfig

func (*RunConfig) GetStartFixtureState

func (x *RunConfig) GetStartFixtureState() *StartFixtureState

func (*RunConfig) GetSystemServicesTimeout

func (x *RunConfig) GetSystemServicesTimeout() *durationpb.Duration

func (*RunConfig) GetTarget

func (x *RunConfig) GetTarget() *RunTargetConfig

func (*RunConfig) GetTests

func (x *RunConfig) GetTests() []string

func (*RunConfig) GetWaitUntilReady

func (x *RunConfig) GetWaitUntilReady() bool

func (*RunConfig) GetWaitUntilReadyTimeout

func (x *RunConfig) GetWaitUntilReadyTimeout() *durationpb.Duration

func (*RunConfig) ProtoMessage

func (*RunConfig) ProtoMessage()

func (*RunConfig) ProtoReflect

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

func (*RunConfig) Reset

func (x *RunConfig) Reset()

func (*RunConfig) String

func (x *RunConfig) String() string

type RunDirectories

type RunDirectories struct {

	// DataDir is the path to the directory containing test data files.
	DataDir string `protobuf:"bytes,1,opt,name=data_dir,json=dataDir,proto3" json:"data_dir,omitempty"`
	// OutDir is the path to the base directory under which tests should write
	// output files.
	OutDir string `protobuf:"bytes,2,opt,name=out_dir,json=outDir,proto3" json:"out_dir,omitempty"`
	// TempDir is the path to the directory under which temporary files for tests
	// are written.
	TempDir string `protobuf:"bytes,3,opt,name=temp_dir,json=tempDir,proto3" json:"temp_dir,omitempty"`
	// contains filtered or unexported fields
}

RunDirectories holds several directory paths important for running tests.

func (*RunDirectories) Descriptor deprecated

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

Deprecated: Use RunDirectories.ProtoReflect.Descriptor instead.

func (*RunDirectories) GetDataDir

func (x *RunDirectories) GetDataDir() string

func (*RunDirectories) GetOutDir

func (x *RunDirectories) GetOutDir() string

func (*RunDirectories) GetTempDir

func (x *RunDirectories) GetTempDir() string

func (*RunDirectories) ProtoMessage

func (*RunDirectories) ProtoMessage()

func (*RunDirectories) ProtoReflect

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

func (*RunDirectories) Reset

func (x *RunDirectories) Reset()

func (*RunDirectories) String

func (x *RunDirectories) String() string

type RunFixtureConfig

type RunFixtureConfig struct {

	// TastVars contains names and values of runtime variables used to pass
	// out-of-band data to the fixture.
	TestVars map[string]string `` /* 173-byte string literal not displayed */
	// DataDir is the path to the directory containing fixture data files.
	DataDir string `protobuf:"bytes,2,opt,name=data_dir,json=dataDir,proto3" json:"data_dir,omitempty"`
	// OutDir is the path to the base directory under which fixtures should write
	// output files.
	OutDir string `protobuf:"bytes,3,opt,name=out_dir,json=outDir,proto3" json:"out_dir,omitempty"`
	// TempDir is the path to the directory under which temporary files for
	// fixtures are written.
	TempDir string `protobuf:"bytes,4,opt,name=temp_dir,json=tempDir,proto3" json:"temp_dir,omitempty"`
	// ConnectionSpec is the DUT connection spec as [<user>@]host[:<port>].
	ConnectionSpec string `protobuf:"bytes,5,opt,name=connection_spec,json=connectionSpec,proto3" json:"connection_spec,omitempty"`
	// KeyFile is the path to the SSH private key to use to connect to the DUT.
	KeyFile string `protobuf:"bytes,6,opt,name=key_file,json=keyFile,proto3" json:"key_file,omitempty"`
	// KeyDir is the directory containing SSH private keys (typically $HOME/.ssh).
	KeyDir string `protobuf:"bytes,7,opt,name=key_dir,json=keyDir,proto3" json:"key_dir,omitempty"`
	// LocalBundleDir is the directory on the DUT where local test bundle
	// executables are located. This path is used by remote fixture to invoke gRPC
	// services in local test.
	LocalBundleDir string `protobuf:"bytes,8,opt,name=local_bundle_dir,json=localBundleDir,proto3" json:"local_bundle_dir,omitempty"`
	// CheckSoftwareDeps is true if each test's SoftwareDeps field should be
	// checked against AvailableSoftwareFeatures and UnavailableSoftwareFeatures.
	CheckSoftwareDeps bool `protobuf:"varint,9,opt,name=check_software_deps,json=checkSoftwareDeps,proto3" json:"check_software_deps,omitempty"`
	// AvailableSoftwareFeatures contains a list of software features supported
	// by the DUT.
	AvailableSoftwareFeatures []string `` /* 139-byte string literal not displayed */
	// UnavailableSoftwareFeatures contains a list of software features not
	// supported by the DUT.
	UnavailableSoftwareFeatures []string     `` /* 145-byte string literal not displayed */
	Devservers                  []string     `protobuf:"bytes,12,rep,name=devservers,proto3" json:"devservers,omitempty"`
	TlwServer                   string       `protobuf:"bytes,13,opt,name=tlw_server,json=tlwServer,proto3" json:"tlw_server,omitempty"`
	DutName                     string       `protobuf:"bytes,14,opt,name=dut_name,json=dutName,proto3" json:"dut_name,omitempty"`
	BuildArtifactsUrl           string       `protobuf:"bytes,15,opt,name=build_artifacts_url,json=buildArtifactsUrl,proto3" json:"build_artifacts_url,omitempty"`
	DownloadMode                DownloadMode `` /* 127-byte string literal not displayed */
	DutServer                   string       `protobuf:"bytes,17,opt,name=dut_server,json=dutServer,proto3" json:"dut_server,omitempty"`
	// ProxyCommand specifies the command to use to connect to the DUT.
	ProxyCommand string `protobuf:"bytes,18,opt,name=proxy_command,json=proxyCommand,proto3" json:"proxy_command,omitempty"`
	// DUTLabConfig specifies the command to use to connect to the DUT.
	DUTLabConfig *protocol.DUTLabConfig `protobuf:"bytes,19,opt,name=DUTLabConfig,proto3" json:"DUTLabConfig,omitempty"`
	// CustomGracePeriod is the custom grace period for fixture methods. When
	// omitted reasonable default will be used. This field exists for unit
	// testing.
	CustomGracePeriod *durationpb.Duration `protobuf:"bytes,1000,opt,name=custom_grace_period,json=customGracePeriod,proto3" json:"custom_grace_period,omitempty"`
	// contains filtered or unexported fields
}

RunFixtureConfig contains information the framework needs to run fixtures.

func (*RunFixtureConfig) Descriptor deprecated

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

Deprecated: Use RunFixtureConfig.ProtoReflect.Descriptor instead.

func (*RunFixtureConfig) GetAvailableSoftwareFeatures

func (x *RunFixtureConfig) GetAvailableSoftwareFeatures() []string

func (*RunFixtureConfig) GetBuildArtifactsUrl

func (x *RunFixtureConfig) GetBuildArtifactsUrl() string

func (*RunFixtureConfig) GetCheckSoftwareDeps

func (x *RunFixtureConfig) GetCheckSoftwareDeps() bool

func (*RunFixtureConfig) GetConnectionSpec

func (x *RunFixtureConfig) GetConnectionSpec() string

func (*RunFixtureConfig) GetCustomGracePeriod

func (x *RunFixtureConfig) GetCustomGracePeriod() *durationpb.Duration

func (*RunFixtureConfig) GetDUTLabConfig

func (x *RunFixtureConfig) GetDUTLabConfig() *protocol.DUTLabConfig

func (*RunFixtureConfig) GetDataDir

func (x *RunFixtureConfig) GetDataDir() string

func (*RunFixtureConfig) GetDevservers

func (x *RunFixtureConfig) GetDevservers() []string

func (*RunFixtureConfig) GetDownloadMode

func (x *RunFixtureConfig) GetDownloadMode() DownloadMode

func (*RunFixtureConfig) GetDutName

func (x *RunFixtureConfig) GetDutName() string

func (*RunFixtureConfig) GetDutServer

func (x *RunFixtureConfig) GetDutServer() string

func (*RunFixtureConfig) GetKeyDir

func (x *RunFixtureConfig) GetKeyDir() string

func (*RunFixtureConfig) GetKeyFile

func (x *RunFixtureConfig) GetKeyFile() string

func (*RunFixtureConfig) GetLocalBundleDir

func (x *RunFixtureConfig) GetLocalBundleDir() string

func (*RunFixtureConfig) GetOutDir

func (x *RunFixtureConfig) GetOutDir() string

func (*RunFixtureConfig) GetProxyCommand

func (x *RunFixtureConfig) GetProxyCommand() string

func (*RunFixtureConfig) GetTempDir

func (x *RunFixtureConfig) GetTempDir() string

func (*RunFixtureConfig) GetTestVars

func (x *RunFixtureConfig) GetTestVars() map[string]string

func (*RunFixtureConfig) GetTlwServer

func (x *RunFixtureConfig) GetTlwServer() string

func (*RunFixtureConfig) GetUnavailableSoftwareFeatures

func (x *RunFixtureConfig) GetUnavailableSoftwareFeatures() []string

func (*RunFixtureConfig) ProtoMessage

func (*RunFixtureConfig) ProtoMessage()

func (*RunFixtureConfig) ProtoReflect

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

func (*RunFixtureConfig) Reset

func (x *RunFixtureConfig) Reset()

func (*RunFixtureConfig) String

func (x *RunFixtureConfig) String() string

type RunFixtureError

type RunFixtureError struct {
	Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
	File   string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
	Line   int32  `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"`
	Stack  string `protobuf:"bytes,4,opt,name=stack,proto3" json:"stack,omitempty"`
	// contains filtered or unexported fields
}

RunFixtureError describes an error encountered while running fixtures.

func (*RunFixtureError) Descriptor deprecated

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

Deprecated: Use RunFixtureError.ProtoReflect.Descriptor instead.

func (*RunFixtureError) GetFile

func (x *RunFixtureError) GetFile() string

func (*RunFixtureError) GetLine

func (x *RunFixtureError) GetLine() int32

func (*RunFixtureError) GetReason

func (x *RunFixtureError) GetReason() string

func (*RunFixtureError) GetStack

func (x *RunFixtureError) GetStack() string

func (*RunFixtureError) ProtoMessage

func (*RunFixtureError) ProtoMessage()

func (*RunFixtureError) ProtoReflect

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

func (*RunFixtureError) Reset

func (x *RunFixtureError) Reset()

func (*RunFixtureError) String

func (x *RunFixtureError) String() string

type RunFixturePopRequest

type RunFixturePopRequest struct {
	// contains filtered or unexported fields
}

RunFixturePushRequest requests popping the pushed fixture.

func (*RunFixturePopRequest) Descriptor deprecated

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

Deprecated: Use RunFixturePopRequest.ProtoReflect.Descriptor instead.

func (*RunFixturePopRequest) ProtoMessage

func (*RunFixturePopRequest) ProtoMessage()

func (*RunFixturePopRequest) ProtoReflect

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

func (*RunFixturePopRequest) Reset

func (x *RunFixturePopRequest) Reset()

func (*RunFixturePopRequest) String

func (x *RunFixturePopRequest) String() string

type RunFixturePushRequest

type RunFixturePushRequest struct {

	// Name is the name of the fixture to run method.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Config is the configuration the framework needs to run the fixture.
	Config *RunFixtureConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

RunFixturePushRequest requests pushing a fixture.

func (*RunFixturePushRequest) Descriptor deprecated

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

Deprecated: Use RunFixturePushRequest.ProtoReflect.Descriptor instead.

func (*RunFixturePushRequest) GetConfig

func (x *RunFixturePushRequest) GetConfig() *RunFixtureConfig

func (*RunFixturePushRequest) GetName

func (x *RunFixturePushRequest) GetName() string

func (*RunFixturePushRequest) ProtoMessage

func (*RunFixturePushRequest) ProtoMessage()

func (*RunFixturePushRequest) ProtoReflect

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

func (*RunFixturePushRequest) Reset

func (x *RunFixturePushRequest) Reset()

func (*RunFixturePushRequest) String

func (x *RunFixturePushRequest) String() string

type RunFixtureRequest

type RunFixtureRequest struct {

	// Types that are assignable to Control:
	//
	//	*RunFixtureRequest_Push
	//	*RunFixtureRequest_Pop
	Control isRunFixtureRequest_Control `protobuf_oneof:"control"`
	// contains filtered or unexported fields
}

RunFixtureRequest is the request to RunFixture.

func (*RunFixtureRequest) Descriptor deprecated

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

Deprecated: Use RunFixtureRequest.ProtoReflect.Descriptor instead.

func (*RunFixtureRequest) GetControl

func (m *RunFixtureRequest) GetControl() isRunFixtureRequest_Control

func (*RunFixtureRequest) GetPop

func (*RunFixtureRequest) GetPush

func (*RunFixtureRequest) ProtoMessage

func (*RunFixtureRequest) ProtoMessage()

func (*RunFixtureRequest) ProtoReflect

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

func (*RunFixtureRequest) Reset

func (x *RunFixtureRequest) Reset()

func (*RunFixtureRequest) String

func (x *RunFixtureRequest) String() string

type RunFixtureRequest_Pop

type RunFixtureRequest_Pop struct {
	Pop *RunFixturePopRequest `protobuf:"bytes,2,opt,name=pop,proto3,oneof"`
}

type RunFixtureRequest_Push

type RunFixtureRequest_Push struct {
	Push *RunFixturePushRequest `protobuf:"bytes,1,opt,name=push,proto3,oneof"`
}

type RunFixtureResponse

type RunFixtureResponse struct {

	// Types that are assignable to Control:
	//
	//	*RunFixtureResponse_Log
	//	*RunFixtureResponse_Error
	//	*RunFixtureResponse_RequestDone
	Control isRunFixtureResponse_Control `protobuf_oneof:"control"`
	// Timestamp is the timestamp of the event.
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The log level of the log message. Omit if not logging.
	Level LogLevel `protobuf:"varint,5,opt,name=level,proto3,enum=tast.core.LogLevel" json:"level,omitempty"`
	// contains filtered or unexported fields
}

RunFixtureResponse is the control message the server streams to the caller.

func (*RunFixtureResponse) Descriptor deprecated

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

Deprecated: Use RunFixtureResponse.ProtoReflect.Descriptor instead.

func (*RunFixtureResponse) GetControl

func (m *RunFixtureResponse) GetControl() isRunFixtureResponse_Control

func (*RunFixtureResponse) GetError

func (x *RunFixtureResponse) GetError() *RunFixtureError

func (*RunFixtureResponse) GetLevel

func (x *RunFixtureResponse) GetLevel() LogLevel

func (*RunFixtureResponse) GetLog

func (x *RunFixtureResponse) GetLog() string

func (*RunFixtureResponse) GetRequestDone

func (x *RunFixtureResponse) GetRequestDone() *emptypb.Empty

func (*RunFixtureResponse) GetTimestamp

func (x *RunFixtureResponse) GetTimestamp() *timestamppb.Timestamp

func (*RunFixtureResponse) ProtoMessage

func (*RunFixtureResponse) ProtoMessage()

func (*RunFixtureResponse) ProtoReflect

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

func (*RunFixtureResponse) Reset

func (x *RunFixtureResponse) Reset()

func (*RunFixtureResponse) String

func (x *RunFixtureResponse) String() string

type RunFixtureResponse_Error

type RunFixtureResponse_Error struct {
	// Error is the error message.
	Error *RunFixtureError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}

type RunFixtureResponse_Log

type RunFixtureResponse_Log struct {
	// Log is the log message.
	Log string `protobuf:"bytes,1,opt,name=log,proto3,oneof"`
}

type RunFixtureResponse_RequestDone

type RunFixtureResponse_RequestDone struct {
	// RequestDone is sent when request is done, no matter the result.
	RequestDone *emptypb.Empty `protobuf:"bytes,3,opt,name=request_done,json=requestDone,proto3,oneof"`
}

type RunLogEvent

type RunLogEvent struct {
	Time  *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	Text  string                 `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	Level LogLevel               `protobuf:"varint,3,opt,name=level,proto3,enum=tast.core.LogLevel" json:"level,omitempty"`
	// contains filtered or unexported fields
}

RunLogEvent indicates that an informational log message not associated with an entity was produced.

func (*RunLogEvent) Descriptor deprecated

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

Deprecated: Use RunLogEvent.ProtoReflect.Descriptor instead.

func (*RunLogEvent) GetLevel

func (x *RunLogEvent) GetLevel() LogLevel

func (*RunLogEvent) GetText

func (x *RunLogEvent) GetText() string

func (*RunLogEvent) GetTime

func (x *RunLogEvent) GetTime() *timestamppb.Timestamp

func (*RunLogEvent) ProtoMessage

func (*RunLogEvent) ProtoMessage()

func (*RunLogEvent) ProtoReflect

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

func (*RunLogEvent) Reset

func (x *RunLogEvent) Reset()

func (*RunLogEvent) String

func (x *RunLogEvent) String() string

type RunTargetConfig

type RunTargetConfig struct {

	// Devservers correspnods to config.Devservers.
	Devservers []string `protobuf:"bytes,1,rep,name=devservers,proto3" json:"devservers,omitempty"`
	// Dirs contains directories local tests use.
	Dirs *RunDirectories `protobuf:"bytes,2,opt,name=dirs,proto3" json:"dirs,omitempty"`
	// DebugPort is the port that the bundle will attach the debugger to.
	DebugPort uint32 `protobuf:"varint,3,opt,name=debug_port,json=debugPort,proto3" json:"debug_port,omitempty"`
	// MaxTestFailures specifies maximum test failures allowed.
	MaxTestFailures int32 `protobuf:"varint,4,opt,name=max_test_failures,json=maxTestFailures,proto3" json:"max_test_failures,omitempty"`
	// Retries is the number of retries for failing tests.
	Retries int32 `protobuf:"varint,5,opt,name=retries,proto3" json:"retries,omitempty"`
	// Proxy if true indicates that the HTTP_PROXY, HTTPS_PROXY, and NO_PROXY
	// environment variables (and their lowercase counterparts) should be
	// forwarded to the DUT if set on the host.
	Proxy bool `protobuf:"varint,6,opt,name=proxy,proto3" json:"proxy,omitempty"`
	// TODO(crbug.com/1128259): Remove this field once we fully migrate to gRPC.
	WaitUntilReady bool `protobuf:"varint,7,opt,name=wait_until_ready,json=waitUntilReady,proto3" json:"wait_until_ready,omitempty"`
	// MsgTimeout is the duration that the client waits for.
	// If no activity is seen even after that the connection is closed.
	// (Default: 60 seconds)
	MsgTimeout *durationpb.Duration `protobuf:"bytes,8,opt,name=msg_timeout,json=msgTimeout,proto3" json:"msg_timeout,omitempty"`
	// SystemServiceTimeout is timeout for waiting for system services to be ready
	// in seconds. (Default: 120 seconds)
	SystemServicesTimeout *durationpb.Duration `` /* 126-byte string literal not displayed */
	// WaitUntilReadyTimeout set a timeout for the entire ready.Wait function.
	// (Default: 120 seconds)
	WaitUntilReadyTimeout *durationpb.Duration `` /* 129-byte string literal not displayed */
	// SwarmingTaskID specifies the swarming task ID of the scheduled
	// job that run Tast tests.
	SwarmingTaskID string `protobuf:"bytes,11,opt,name=SwarmingTaskID,proto3" json:"SwarmingTaskID,omitempty"`
	// BuildBucketID specifies the build bucket ID of the scheduled
	// job that run Tast tests.
	BuildBucketID string `protobuf:"bytes,12,opt,name=BuildBucketID,proto3" json:"BuildBucketID,omitempty"`
	// contains filtered or unexported fields
}

RunTargetConfig contains parameters for the primary target bundle to run.

func (*RunTargetConfig) Descriptor deprecated

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

Deprecated: Use RunTargetConfig.ProtoReflect.Descriptor instead.

func (*RunTargetConfig) GetBuildBucketID

func (x *RunTargetConfig) GetBuildBucketID() string

func (*RunTargetConfig) GetDebugPort

func (x *RunTargetConfig) GetDebugPort() uint32

func (*RunTargetConfig) GetDevservers

func (x *RunTargetConfig) GetDevservers() []string

func (*RunTargetConfig) GetDirs

func (x *RunTargetConfig) GetDirs() *RunDirectories

func (*RunTargetConfig) GetMaxTestFailures

func (x *RunTargetConfig) GetMaxTestFailures() int32

func (*RunTargetConfig) GetMsgTimeout

func (x *RunTargetConfig) GetMsgTimeout() *durationpb.Duration

func (*RunTargetConfig) GetProxy

func (x *RunTargetConfig) GetProxy() bool

func (*RunTargetConfig) GetRetries

func (x *RunTargetConfig) GetRetries() int32

func (*RunTargetConfig) GetSwarmingTaskID

func (x *RunTargetConfig) GetSwarmingTaskID() string

func (*RunTargetConfig) GetSystemServicesTimeout

func (x *RunTargetConfig) GetSystemServicesTimeout() *durationpb.Duration

func (*RunTargetConfig) GetWaitUntilReady

func (x *RunTargetConfig) GetWaitUntilReady() bool

func (*RunTargetConfig) GetWaitUntilReadyTimeout

func (x *RunTargetConfig) GetWaitUntilReadyTimeout() *durationpb.Duration

func (*RunTargetConfig) ProtoMessage

func (*RunTargetConfig) ProtoMessage()

func (*RunTargetConfig) ProtoReflect

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

func (*RunTargetConfig) Reset

func (x *RunTargetConfig) Reset()

func (*RunTargetConfig) String

func (x *RunTargetConfig) String() string

type RunTestsInit

type RunTestsInit struct {
	RunConfig *RunConfig `protobuf:"bytes,1,opt,name=run_config,json=runConfig,proto3" json:"run_config,omitempty"`
	// Recursive specifies whether to run tests on target bundles recursively.
	Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"`
	// DebugPort is the port which the debugger for the test bundle will listen
	// on. Note that this field is only used for test runners, and not bundles.
	DebugPort uint32 `protobuf:"varint,10,opt,name=debug_port,json=debugPort,proto3" json:"debug_port,omitempty"`
	// contains filtered or unexported fields
}

func (*RunTestsInit) Descriptor deprecated

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

Deprecated: Use RunTestsInit.ProtoReflect.Descriptor instead.

func (*RunTestsInit) GetDebugPort

func (x *RunTestsInit) GetDebugPort() uint32

func (*RunTestsInit) GetRecursive

func (x *RunTestsInit) GetRecursive() bool

func (*RunTestsInit) GetRunConfig

func (x *RunTestsInit) GetRunConfig() *RunConfig

func (*RunTestsInit) ProtoMessage

func (*RunTestsInit) ProtoMessage()

func (*RunTestsInit) ProtoReflect

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

func (*RunTestsInit) Reset

func (x *RunTestsInit) Reset()

func (*RunTestsInit) String

func (x *RunTestsInit) String() string

type RunTestsRequest

type RunTestsRequest struct {

	// Types that are assignable to Type:
	//
	//	*RunTestsRequest_RunTestsInit
	//	*RunTestsRequest_StackOperationResponse
	Type isRunTestsRequest_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*RunTestsRequest) Descriptor deprecated

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

Deprecated: Use RunTestsRequest.ProtoReflect.Descriptor instead.

func (*RunTestsRequest) GetRunTestsInit

func (x *RunTestsRequest) GetRunTestsInit() *RunTestsInit

func (*RunTestsRequest) GetStackOperationResponse

func (x *RunTestsRequest) GetStackOperationResponse() *StackOperationResponse

func (*RunTestsRequest) GetType

func (m *RunTestsRequest) GetType() isRunTestsRequest_Type

func (*RunTestsRequest) ProtoMessage

func (*RunTestsRequest) ProtoMessage()

func (*RunTestsRequest) ProtoReflect

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

func (*RunTestsRequest) Reset

func (x *RunTestsRequest) Reset()

func (*RunTestsRequest) String

func (x *RunTestsRequest) String() string

type RunTestsRequest_RunTestsInit

type RunTestsRequest_RunTestsInit struct {
	RunTestsInit *RunTestsInit `protobuf:"bytes,1,opt,name=run_tests_init,json=runTestsInit,proto3,oneof"`
}

type RunTestsRequest_StackOperationResponse

type RunTestsRequest_StackOperationResponse struct {
	StackOperationResponse *StackOperationResponse `protobuf:"bytes,3,opt,name=stack_operation_response,json=stackOperationResponse,proto3,oneof"`
}

type RunTestsResponse

type RunTestsResponse struct {

	// Types that are assignable to Type:
	//
	//	*RunTestsResponse_RunLog
	//	*RunTestsResponse_EntityStart
	//	*RunTestsResponse_EntityLog
	//	*RunTestsResponse_EntityError
	//	*RunTestsResponse_EntityEnd
	//	*RunTestsResponse_EntityCopyEnd
	//	*RunTestsResponse_StackOperation
	//	*RunTestsResponse_Heartbeat
	Type isRunTestsResponse_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*RunTestsResponse) Descriptor deprecated

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

Deprecated: Use RunTestsResponse.ProtoReflect.Descriptor instead.

func (*RunTestsResponse) GetEntityCopyEnd

func (x *RunTestsResponse) GetEntityCopyEnd() *EntityCopyEndEvent

func (*RunTestsResponse) GetEntityEnd

func (x *RunTestsResponse) GetEntityEnd() *EntityEndEvent

func (*RunTestsResponse) GetEntityError

func (x *RunTestsResponse) GetEntityError() *EntityErrorEvent

func (*RunTestsResponse) GetEntityLog

func (x *RunTestsResponse) GetEntityLog() *EntityLogEvent

func (*RunTestsResponse) GetEntityStart

func (x *RunTestsResponse) GetEntityStart() *EntityStartEvent

func (*RunTestsResponse) GetHeartbeat

func (x *RunTestsResponse) GetHeartbeat() *HeartbeatEvent

func (*RunTestsResponse) GetRunLog

func (x *RunTestsResponse) GetRunLog() *RunLogEvent

func (*RunTestsResponse) GetStackOperation

func (x *RunTestsResponse) GetStackOperation() *StackOperationRequest

func (*RunTestsResponse) GetType

func (m *RunTestsResponse) GetType() isRunTestsResponse_Type

func (*RunTestsResponse) ProtoMessage

func (*RunTestsResponse) ProtoMessage()

func (*RunTestsResponse) ProtoReflect

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

func (*RunTestsResponse) Reset

func (x *RunTestsResponse) Reset()

func (*RunTestsResponse) String

func (x *RunTestsResponse) String() string

type RunTestsResponse_EntityCopyEnd

type RunTestsResponse_EntityCopyEnd struct {
	EntityCopyEnd *EntityCopyEndEvent `protobuf:"bytes,8,opt,name=entity_copy_end,json=entityCopyEnd,proto3,oneof"`
}

type RunTestsResponse_EntityEnd

type RunTestsResponse_EntityEnd struct {
	EntityEnd *EntityEndEvent `protobuf:"bytes,5,opt,name=entity_end,json=entityEnd,proto3,oneof"`
}

type RunTestsResponse_EntityError

type RunTestsResponse_EntityError struct {
	EntityError *EntityErrorEvent `protobuf:"bytes,4,opt,name=entity_error,json=entityError,proto3,oneof"`
}

type RunTestsResponse_EntityLog

type RunTestsResponse_EntityLog struct {
	EntityLog *EntityLogEvent `protobuf:"bytes,3,opt,name=entity_log,json=entityLog,proto3,oneof"`
}

type RunTestsResponse_EntityStart

type RunTestsResponse_EntityStart struct {
	EntityStart *EntityStartEvent `protobuf:"bytes,2,opt,name=entity_start,json=entityStart,proto3,oneof"`
}

type RunTestsResponse_Heartbeat

type RunTestsResponse_Heartbeat struct {
	Heartbeat *HeartbeatEvent `protobuf:"bytes,7,opt,name=heartbeat,proto3,oneof"`
}

type RunTestsResponse_RunLog

type RunTestsResponse_RunLog struct {
	RunLog *RunLogEvent `protobuf:"bytes,1,opt,name=run_log,json=runLog,proto3,oneof"`
}

type RunTestsResponse_StackOperation

type RunTestsResponse_StackOperation struct {
	StackOperation *StackOperationRequest `protobuf:"bytes,6,opt,name=stack_operation,json=stackOperation,proto3,oneof"`
}

type RunnerInitParams

type RunnerInitParams struct {

	// A file path glob that matches test bundle executables.
	// Example: "/usr/local/libexec/tast/bundles/local/*"
	BundleGlob string `protobuf:"bytes,1,opt,name=bundle_glob,json=bundleGlob,proto3" json:"bundle_glob,omitempty"`
	// contains filtered or unexported fields
}

RunnerInitParams contains information needed to initialize test runners.

func (*RunnerInitParams) Descriptor deprecated

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

Deprecated: Use RunnerInitParams.ProtoReflect.Descriptor instead.

func (*RunnerInitParams) GetBundleGlob

func (x *RunnerInitParams) GetBundleGlob() string

func (*RunnerInitParams) ProtoMessage

func (*RunnerInitParams) ProtoMessage()

func (*RunnerInitParams) ProtoReflect

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

func (*RunnerInitParams) Reset

func (x *RunnerInitParams) Reset()

func (*RunnerInitParams) String

func (x *RunnerInitParams) String() string

type SSHConfig

type SSHConfig struct {

	// ConnectionSpec is a connection spec as [<user>@]host[:<port>].
	ConnectionSpec string `protobuf:"bytes,1,opt,name=connection_spec,json=connectionSpec,proto3" json:"connection_spec,omitempty"`
	// KeyFile is a path to the SSH private key to use to connect to the target.
	KeyFile string `protobuf:"bytes,2,opt,name=key_file,json=keyFile,proto3" json:"key_file,omitempty"`
	// KeyDir is a path to the directory containing SSH private keys
	// (typically $HOME/.ssh).
	KeyDir string `protobuf:"bytes,3,opt,name=key_dir,json=keyDir,proto3" json:"key_dir,omitempty"`
	// ProxyCommand specifies the command to use to connect to the DUT.
	ProxyCommand string `protobuf:"bytes,4,opt,name=proxy_command,json=proxyCommand,proto3" json:"proxy_command,omitempty"`
	// contains filtered or unexported fields
}

SSHConfig contains information needed to connect to the DUT via SSH.

func (*SSHConfig) Descriptor deprecated

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

Deprecated: Use SSHConfig.ProtoReflect.Descriptor instead.

func (*SSHConfig) GetConnectionSpec

func (x *SSHConfig) GetConnectionSpec() string

func (*SSHConfig) GetKeyDir

func (x *SSHConfig) GetKeyDir() string

func (*SSHConfig) GetKeyFile

func (x *SSHConfig) GetKeyFile() string

func (*SSHConfig) GetProxyCommand

func (x *SSHConfig) GetProxyCommand() string

func (*SSHConfig) ProtoMessage

func (*SSHConfig) ProtoMessage()

func (*SSHConfig) ProtoReflect

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

func (*SSHConfig) Reset

func (x *SSHConfig) Reset()

func (*SSHConfig) String

func (x *SSHConfig) String() string

type ServiceConfig

type ServiceConfig struct {

	// Devservers is a list of devserver URLs (e.g. "https://1.2.3.4:5678").
	// Devservers are used to download data files from Google Cloud Storage with
	// cache. It is ignored if DUT Server is available.
	Devservers []string `protobuf:"bytes,1,rep,name=devservers,proto3" json:"devservers,omitempty"`
	// TlwServer is an address of a TLW server (e.g. "1.2.3.4:5678").
	// When this is set, it takes precedence over Devservers.
	// Note: Obsolete.
	TlwServer string `protobuf:"bytes,2,opt,name=tlw_server,json=tlwServer,proto3" json:"tlw_server,omitempty"`
	// TlwSelfName is a "DUT name" that identifies the current machine.
	// It is empty for remote tests.
	// Note: Obsolete.
	TlwSelfName string `protobuf:"bytes,3,opt,name=tlw_self_name,json=tlwSelfName,proto3" json:"tlw_self_name,omitempty"`
	// TlwPrimaryTargetName is a "DUT name" of the primary target.
	// It is empty if a primary target doesn't exist.
	// Note: Obsolete.
	TlwPrimaryTargetName string `protobuf:"bytes,4,opt,name=tlw_primary_target_name,json=tlwPrimaryTargetName,proto3" json:"tlw_primary_target_name,omitempty"`
	// DutServer is an address of a DUT server (e.g. "1.2.3.4:5678").
	// When this is set, it takes precedence over Devservers.
	DutServer string `protobuf:"bytes,5,opt,name=dut_server,json=dutServer,proto3" json:"dut_server,omitempty"`
	// UseEphemeralDevserer instructs whether to use ephemeral devserver.
	UseEphemeralDevservers bool `` /* 130-byte string literal not displayed */
	// TastDir used to specify cache directory.
	TastDir string `protobuf:"bytes,7,opt,name=tast_dir,json=tastDir,proto3" json:"tast_dir,omitempty"`
	// ExtraAllowedBuckets specifies ephemeral devserver's allowed buckets.
	ExtraAllowedBuckets []string `protobuf:"bytes,8,rep,name=extra_allowed_buckets,json=extraAllowedBuckets,proto3" json:"extra_allowed_buckets,omitempty"`
	// SwarmingTaskID specifies the swarming task ID of the scheduled
	// job that run Tast tests.
	SwarmingTaskID string `protobuf:"bytes,9,opt,name=SwarmingTaskID,proto3" json:"SwarmingTaskID,omitempty"`
	// BuildBucketID specifies the build bucket ID of the scheduled
	// job that run Tast tests.
	BuildBucketID string `protobuf:"bytes,10,opt,name=BuildBucketID,proto3" json:"BuildBucketID,omitempty"`
	// contains filtered or unexported fields
}

ServiceConfig contains configurations of external services available to Tast framework and Tast tests.

func (*ServiceConfig) Descriptor deprecated

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

Deprecated: Use ServiceConfig.ProtoReflect.Descriptor instead.

func (*ServiceConfig) GetBuildBucketID

func (x *ServiceConfig) GetBuildBucketID() string

func (*ServiceConfig) GetDevservers

func (x *ServiceConfig) GetDevservers() []string

func (*ServiceConfig) GetDutServer

func (x *ServiceConfig) GetDutServer() string

func (*ServiceConfig) GetExtraAllowedBuckets

func (x *ServiceConfig) GetExtraAllowedBuckets() []string

func (*ServiceConfig) GetSwarmingTaskID

func (x *ServiceConfig) GetSwarmingTaskID() string

func (*ServiceConfig) GetTastDir

func (x *ServiceConfig) GetTastDir() string

func (*ServiceConfig) GetTlwPrimaryTargetName

func (x *ServiceConfig) GetTlwPrimaryTargetName() string

func (*ServiceConfig) GetTlwSelfName

func (x *ServiceConfig) GetTlwSelfName() string

func (*ServiceConfig) GetTlwServer

func (x *ServiceConfig) GetTlwServer() string

func (*ServiceConfig) GetUseEphemeralDevservers

func (x *ServiceConfig) GetUseEphemeralDevservers() bool

func (*ServiceConfig) ProtoMessage

func (*ServiceConfig) ProtoMessage()

func (*ServiceConfig) ProtoReflect

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

func (*ServiceConfig) Reset

func (x *ServiceConfig) Reset()

func (*ServiceConfig) String

func (x *ServiceConfig) String() string

type Skip

type Skip struct {
	Reasons []string `protobuf:"bytes,1,rep,name=reasons,proto3" json:"reasons,omitempty"`
	// contains filtered or unexported fields
}

Skip describes the reasons why an entity is skipped.

func (*Skip) Descriptor deprecated

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

Deprecated: Use Skip.ProtoReflect.Descriptor instead.

func (*Skip) GetReasons

func (x *Skip) GetReasons() []string

func (*Skip) ProtoMessage

func (*Skip) ProtoMessage()

func (*Skip) ProtoReflect

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

func (*Skip) Reset

func (x *Skip) Reset()

func (*Skip) String

func (x *Skip) String() string

type StackGetErrors

type StackGetErrors struct {
	// contains filtered or unexported fields
}

func (*StackGetErrors) Descriptor deprecated

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

Deprecated: Use StackGetErrors.ProtoReflect.Descriptor instead.

func (*StackGetErrors) ProtoMessage

func (*StackGetErrors) ProtoMessage()

func (*StackGetErrors) ProtoReflect

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

func (*StackGetErrors) Reset

func (x *StackGetErrors) Reset()

func (*StackGetErrors) String

func (x *StackGetErrors) String() string

type StackGetStatus

type StackGetStatus struct {
	// contains filtered or unexported fields
}

func (*StackGetStatus) Descriptor deprecated

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

Deprecated: Use StackGetStatus.ProtoReflect.Descriptor instead.

func (*StackGetStatus) ProtoMessage

func (*StackGetStatus) ProtoMessage()

func (*StackGetStatus) ProtoReflect

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

func (*StackGetStatus) Reset

func (x *StackGetStatus) Reset()

func (*StackGetStatus) String

func (x *StackGetStatus) String() string

type StackOperationRequest

type StackOperationRequest struct {

	// Types that are assignable to Type:
	//
	//	*StackOperationRequest_Reset_
	//	*StackOperationRequest_PreTest
	//	*StackOperationRequest_PostTest
	//	*StackOperationRequest_Status
	//	*StackOperationRequest_SetDirty
	//	*StackOperationRequest_Errors
	//	*StackOperationRequest_Value
	Type isStackOperationRequest_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*StackOperationRequest) Descriptor deprecated

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

Deprecated: Use StackOperationRequest.ProtoReflect.Descriptor instead.

func (*StackOperationRequest) GetErrors

func (x *StackOperationRequest) GetErrors() *StackGetErrors

func (*StackOperationRequest) GetPostTest

func (x *StackOperationRequest) GetPostTest() *StackPostTest

func (*StackOperationRequest) GetPreTest

func (x *StackOperationRequest) GetPreTest() *StackPreTest

func (*StackOperationRequest) GetReset_

func (x *StackOperationRequest) GetReset_() *StackReset

func (*StackOperationRequest) GetSetDirty

func (x *StackOperationRequest) GetSetDirty() *StackSetDirty

func (*StackOperationRequest) GetStatus

func (x *StackOperationRequest) GetStatus() *StackGetStatus

func (*StackOperationRequest) GetType

func (m *StackOperationRequest) GetType() isStackOperationRequest_Type

func (*StackOperationRequest) GetValue

func (x *StackOperationRequest) GetValue() *StackValue

func (*StackOperationRequest) ProtoMessage

func (*StackOperationRequest) ProtoMessage()

func (*StackOperationRequest) ProtoReflect

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

func (*StackOperationRequest) Reset

func (x *StackOperationRequest) Reset()

func (*StackOperationRequest) String

func (x *StackOperationRequest) String() string

type StackOperationRequest_Errors

type StackOperationRequest_Errors struct {
	Errors *StackGetErrors `protobuf:"bytes,6,opt,name=errors,proto3,oneof"`
}

type StackOperationRequest_PostTest

type StackOperationRequest_PostTest struct {
	PostTest *StackPostTest `protobuf:"bytes,3,opt,name=post_test,json=postTest,proto3,oneof"`
}

type StackOperationRequest_PreTest

type StackOperationRequest_PreTest struct {
	PreTest *StackPreTest `protobuf:"bytes,2,opt,name=pre_test,json=preTest,proto3,oneof"`
}

type StackOperationRequest_Reset_

type StackOperationRequest_Reset_ struct {
	Reset_ *StackReset `protobuf:"bytes,1,opt,name=reset,proto3,oneof"`
}

type StackOperationRequest_SetDirty

type StackOperationRequest_SetDirty struct {
	SetDirty *StackSetDirty `protobuf:"bytes,5,opt,name=set_dirty,json=setDirty,proto3,oneof"`
}

type StackOperationRequest_Status

type StackOperationRequest_Status struct {
	Status *StackGetStatus `protobuf:"bytes,4,opt,name=status,proto3,oneof"`
}

type StackOperationRequest_Value

type StackOperationRequest_Value struct {
	Value *StackValue `protobuf:"bytes,7,opt,name=value,proto3,oneof"`
}

type StackOperationResponse

type StackOperationResponse struct {

	// FatalError is an framework internal error happened during operation.
	FatalError string `protobuf:"bytes,1,opt,name=fatal_error,json=fatalError,proto3" json:"fatal_error,omitempty"`
	// Status is a response for StackGetStatus request.
	// It's also populated in Reset's response.
	Status StackStatus `protobuf:"varint,2,opt,name=status,proto3,enum=tast.core.StackStatus" json:"status,omitempty"`
	// Errors is a response for StackGetErrors request.
	Errors []*Error `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"`
	// TestHasError is a response for StackPreTest and StackPostTest request.
	TestHasError bool `protobuf:"varint,4,opt,name=test_has_error,json=testHasError,proto3" json:"test_has_error,omitempty"`
	// FixtValue is the serialized fixture value of the fixture in current stack.
	FixtValue []byte `protobuf:"bytes,5,opt,name=fixt_value,json=fixtValue,proto3" json:"fixt_value,omitempty"`
	// contains filtered or unexported fields
}

func (*StackOperationResponse) Descriptor deprecated

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

Deprecated: Use StackOperationResponse.ProtoReflect.Descriptor instead.

func (*StackOperationResponse) GetErrors

func (x *StackOperationResponse) GetErrors() []*Error

func (*StackOperationResponse) GetFatalError

func (x *StackOperationResponse) GetFatalError() string

func (*StackOperationResponse) GetFixtValue

func (x *StackOperationResponse) GetFixtValue() []byte

func (*StackOperationResponse) GetStatus

func (x *StackOperationResponse) GetStatus() StackStatus

func (*StackOperationResponse) GetTestHasError

func (x *StackOperationResponse) GetTestHasError() bool

func (*StackOperationResponse) ProtoMessage

func (*StackOperationResponse) ProtoMessage()

func (*StackOperationResponse) ProtoReflect

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

func (*StackOperationResponse) Reset

func (x *StackOperationResponse) Reset()

func (*StackOperationResponse) String

func (x *StackOperationResponse) String() string

type StackPostTest

type StackPostTest struct {
	Entity   *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	HasError bool    `protobuf:"varint,2,opt,name=has_error,json=hasError,proto3" json:"has_error,omitempty"`
	// contains filtered or unexported fields
}

func (*StackPostTest) Descriptor deprecated

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

Deprecated: Use StackPostTest.ProtoReflect.Descriptor instead.

func (*StackPostTest) GetEntity

func (x *StackPostTest) GetEntity() *Entity

func (*StackPostTest) GetHasError

func (x *StackPostTest) GetHasError() bool

func (*StackPostTest) ProtoMessage

func (*StackPostTest) ProtoMessage()

func (*StackPostTest) ProtoReflect

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

func (*StackPostTest) Reset

func (x *StackPostTest) Reset()

func (*StackPostTest) String

func (x *StackPostTest) String() string

type StackPreTest

type StackPreTest struct {
	Entity   *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	HasError bool    `protobuf:"varint,2,opt,name=has_error,json=hasError,proto3" json:"has_error,omitempty"`
	// contains filtered or unexported fields
}

func (*StackPreTest) Descriptor deprecated

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

Deprecated: Use StackPreTest.ProtoReflect.Descriptor instead.

func (*StackPreTest) GetEntity

func (x *StackPreTest) GetEntity() *Entity

func (*StackPreTest) GetHasError

func (x *StackPreTest) GetHasError() bool

func (*StackPreTest) ProtoMessage

func (*StackPreTest) ProtoMessage()

func (*StackPreTest) ProtoReflect

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

func (*StackPreTest) Reset

func (x *StackPreTest) Reset()

func (*StackPreTest) String

func (x *StackPreTest) String() string

type StackReset

type StackReset struct {
	// contains filtered or unexported fields
}

func (*StackReset) Descriptor deprecated

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

Deprecated: Use StackReset.ProtoReflect.Descriptor instead.

func (*StackReset) ProtoMessage

func (*StackReset) ProtoMessage()

func (*StackReset) ProtoReflect

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

func (*StackReset) Reset

func (x *StackReset) Reset()

func (*StackReset) String

func (x *StackReset) String() string

type StackSetDirty

type StackSetDirty struct {
	Dirty bool `protobuf:"varint,1,opt,name=dirty,proto3" json:"dirty,omitempty"`
	// contains filtered or unexported fields
}

func (*StackSetDirty) Descriptor deprecated

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

Deprecated: Use StackSetDirty.ProtoReflect.Descriptor instead.

func (*StackSetDirty) GetDirty

func (x *StackSetDirty) GetDirty() bool

func (*StackSetDirty) ProtoMessage

func (*StackSetDirty) ProtoMessage()

func (*StackSetDirty) ProtoReflect

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

func (*StackSetDirty) Reset

func (x *StackSetDirty) Reset()

func (*StackSetDirty) String

func (x *StackSetDirty) String() string

type StackStatus

type StackStatus int32
const (
	StackStatus_GREEN  StackStatus = 0
	StackStatus_RED    StackStatus = 1
	StackStatus_YELLOW StackStatus = 2
)

func (StackStatus) Descriptor

func (StackStatus) Enum

func (x StackStatus) Enum() *StackStatus

func (StackStatus) EnumDescriptor deprecated

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

Deprecated: Use StackStatus.Descriptor instead.

func (StackStatus) Number

func (x StackStatus) Number() protoreflect.EnumNumber

func (StackStatus) String

func (x StackStatus) String() string

func (StackStatus) Type

type StackValue

type StackValue struct {
	// contains filtered or unexported fields
}

func (*StackValue) Descriptor deprecated

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

Deprecated: Use StackValue.ProtoReflect.Descriptor instead.

func (*StackValue) ProtoMessage

func (*StackValue) ProtoMessage()

func (*StackValue) ProtoReflect

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

func (*StackValue) Reset

func (x *StackValue) Reset()

func (*StackValue) String

func (x *StackValue) String() string

type StartFixtureState

type StartFixtureState struct {

	// Name is the name of a start fixture.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Errors contains errors reported on dependent fixture setup. If it is not
	// empty, all fixtures and tests should fail immediately.
	Errors []*Error `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

StartFixtureState contains information of a start fixture.

func (*StartFixtureState) Descriptor deprecated

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

Deprecated: Use StartFixtureState.ProtoReflect.Descriptor instead.

func (*StartFixtureState) GetErrors

func (x *StartFixtureState) GetErrors() []*Error

func (*StartFixtureState) GetName

func (x *StartFixtureState) GetName() string

func (*StartFixtureState) ProtoMessage

func (*StartFixtureState) ProtoMessage()

func (*StartFixtureState) ProtoReflect

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

func (*StartFixtureState) Reset

func (x *StartFixtureState) Reset()

func (*StartFixtureState) String

func (x *StartFixtureState) String() string

type StreamFileRequest

type StreamFileRequest struct {

	// Name is the name of the file which the content will be streamed.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Offset is where in the file that streaming should start.
	// If the offset is negative, streaming will start at the end of file.
	Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamFileRequest) Descriptor deprecated

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

Deprecated: Use StreamFileRequest.ProtoReflect.Descriptor instead.

func (*StreamFileRequest) GetName

func (x *StreamFileRequest) GetName() string

func (*StreamFileRequest) GetOffset

func (x *StreamFileRequest) GetOffset() int64

func (*StreamFileRequest) ProtoMessage

func (*StreamFileRequest) ProtoMessage()

func (*StreamFileRequest) ProtoReflect

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

func (*StreamFileRequest) Reset

func (x *StreamFileRequest) Reset()

func (*StreamFileRequest) String

func (x *StreamFileRequest) String() string

type StreamFileResponse

type StreamFileResponse struct {

	// Content is the latest content from the log file.
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// Offset is where the current file point to after reading the current data.
	Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamFileResponse) Descriptor deprecated

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

Deprecated: Use StreamFileResponse.ProtoReflect.Descriptor instead.

func (*StreamFileResponse) GetData

func (x *StreamFileResponse) GetData() []byte

func (*StreamFileResponse) GetOffset

func (x *StreamFileResponse) GetOffset() int64

func (*StreamFileResponse) ProtoMessage

func (*StreamFileResponse) ProtoMessage()

func (*StreamFileResponse) ProtoReflect

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

func (*StreamFileResponse) Reset

func (x *StreamFileResponse) Reset()

func (*StreamFileResponse) String

func (x *StreamFileResponse) String() string

type StringPair

type StringPair struct {

	// Regex: ^[a-z][a-z0-9_]*(/[a-z][a-z0-9_]*)*$
	// Max length: 64.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Max length: 256.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

A string key-value pair.

func (*StringPair) Descriptor deprecated

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

Deprecated: Use StringPair.ProtoReflect.Descriptor instead.

func (*StringPair) GetKey

func (x *StringPair) GetKey() string

func (*StringPair) GetValue

func (x *StringPair) GetValue() string

func (*StringPair) ProtoMessage

func (*StringPair) ProtoMessage()

func (*StringPair) ProtoReflect

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

func (*StringPair) Reset

func (x *StringPair) Reset()

func (*StringPair) String

func (x *StringPair) String() string

type SysInfoState

type SysInfoState struct {

	// LogInodeSizes maps from each log file's inode to its size in bytes.
	LogInodeSizes map[uint64]int64 `` /* 192-byte string literal not displayed */
	// UnifiedLogCursor contains an opaque cursor pointing at the current tip of
	// unified system logs.
	UnifiedLogCursor string `protobuf:"bytes,2,opt,name=unified_log_cursor,json=unifiedLogCursor,proto3" json:"unified_log_cursor,omitempty"`
	// CrashFilePaths contains absolute paths to crash files.
	CrashFilePaths []string `protobuf:"bytes,3,rep,name=crash_file_paths,json=crashFilePaths,proto3" json:"crash_file_paths,omitempty"`
	// contains filtered or unexported fields
}

SysInfoState contains the state of the DUT's system information.

func (*SysInfoState) Descriptor deprecated

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

Deprecated: Use SysInfoState.ProtoReflect.Descriptor instead.

func (*SysInfoState) GetCrashFilePaths

func (x *SysInfoState) GetCrashFilePaths() []string

func (*SysInfoState) GetLogInodeSizes

func (x *SysInfoState) GetLogInodeSizes() map[uint64]int64

func (*SysInfoState) GetUnifiedLogCursor

func (x *SysInfoState) GetUnifiedLogCursor() string

func (*SysInfoState) ProtoMessage

func (*SysInfoState) ProtoMessage()

func (*SysInfoState) ProtoReflect

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

func (*SysInfoState) Reset

func (x *SysInfoState) Reset()

func (*SysInfoState) String

func (x *SysInfoState) String() string

type TargetDevice

type TargetDevice struct {

	// DutConfig describes the DUT containing local bundles.
	DutConfig *DUTConfig `protobuf:"bytes,1,opt,name=dut_config,json=dutConfig,proto3" json:"dut_config,omitempty"`
	// BundleDir represents the directory on which the target bundle exists.
	BundleDir string `protobuf:"bytes,2,opt,name=bundle_dir,json=bundleDir,proto3" json:"bundle_dir,omitempty"`
	// contains filtered or unexported fields
}

TargetDevice represents a local bundle on which remote tests invoke services.

func (*TargetDevice) Descriptor deprecated

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

Deprecated: Use TargetDevice.ProtoReflect.Descriptor instead.

func (*TargetDevice) GetBundleDir

func (x *TargetDevice) GetBundleDir() string

func (*TargetDevice) GetDutConfig

func (x *TargetDevice) GetDutConfig() *DUTConfig

func (*TargetDevice) ProtoMessage

func (*TargetDevice) ProtoMessage()

func (*TargetDevice) ProtoReflect

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

func (*TargetDevice) Reset

func (x *TargetDevice) Reset()

func (*TargetDevice) String

func (x *TargetDevice) String() string

type TestServiceClient

type TestServiceClient interface {
	// ListEntities requests all entities available on the server.
	ListEntities(ctx context.Context, in *ListEntitiesRequest, opts ...grpc.CallOption) (*ListEntitiesResponse, error)
	// GlobalRuntimeVars requests all global runtime variables declared on the
	// server.
	GlobalRuntimeVars(ctx context.Context, in *GlobalRuntimeVarsRequest, opts ...grpc.CallOption) (*GlobalRuntimeVarsResponse, error)
	// RunTests requests to run tests.
	// A client must send an initial request message containing RunTestsInit to
	// a server. Then a server starts running tests and report progress in
	// streamed response messages.
	RunTests(ctx context.Context, opts ...grpc.CallOption) (TestService_RunTestsClient, error)
	// GetDUTInfo requests to collect DUT system information.
	GetDUTInfo(ctx context.Context, in *GetDUTInfoRequest, opts ...grpc.CallOption) (*GetDUTInfoResponse, error)
	// GetSysInfoState requests to collect the initial sysinfo state of the DUT.
	GetSysInfoState(ctx context.Context, in *GetSysInfoStateRequest, opts ...grpc.CallOption) (*GetSysInfoStateResponse, error)
	// CollectSysInfo requests to collect the sysinfo, considering diff from the
	// given initial sysinfo state.
	CollectSysInfo(ctx context.Context, in *CollectSysInfoRequest, opts ...grpc.CallOption) (*CollectSysInfoResponse, error)
	// DownloadPrivateBundles requests to download private bundles and install
	// them to the DUT.
	DownloadPrivateBundles(ctx context.Context, in *DownloadPrivateBundlesRequest, opts ...grpc.CallOption) (*DownloadPrivateBundlesResponse, error)
	// StreamFile requests to stream a specify file.
	StreamFile(ctx context.Context, in *StreamFileRequest, opts ...grpc.CallOption) (TestService_StreamFileClient, error)
}

TestServiceClient is the client API for TestService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type TestServiceServer

type TestServiceServer interface {
	// ListEntities requests all entities available on the server.
	ListEntities(context.Context, *ListEntitiesRequest) (*ListEntitiesResponse, error)
	// GlobalRuntimeVars requests all global runtime variables declared on the
	// server.
	GlobalRuntimeVars(context.Context, *GlobalRuntimeVarsRequest) (*GlobalRuntimeVarsResponse, error)
	// RunTests requests to run tests.
	// A client must send an initial request message containing RunTestsInit to
	// a server. Then a server starts running tests and report progress in
	// streamed response messages.
	RunTests(TestService_RunTestsServer) error
	// GetDUTInfo requests to collect DUT system information.
	GetDUTInfo(context.Context, *GetDUTInfoRequest) (*GetDUTInfoResponse, error)
	// GetSysInfoState requests to collect the initial sysinfo state of the DUT.
	GetSysInfoState(context.Context, *GetSysInfoStateRequest) (*GetSysInfoStateResponse, error)
	// CollectSysInfo requests to collect the sysinfo, considering diff from the
	// given initial sysinfo state.
	CollectSysInfo(context.Context, *CollectSysInfoRequest) (*CollectSysInfoResponse, error)
	// DownloadPrivateBundles requests to download private bundles and install
	// them to the DUT.
	DownloadPrivateBundles(context.Context, *DownloadPrivateBundlesRequest) (*DownloadPrivateBundlesResponse, error)
	// StreamFile requests to stream a specify file.
	StreamFile(*StreamFileRequest, TestService_StreamFileServer) error
}

TestServiceServer is the server API for TestService service.

type TestService_RunTestsClient

type TestService_RunTestsClient interface {
	Send(*RunTestsRequest) error
	Recv() (*RunTestsResponse, error)
	grpc.ClientStream
}

type TestService_RunTestsServer

type TestService_RunTestsServer interface {
	Send(*RunTestsResponse) error
	Recv() (*RunTestsRequest, error)
	grpc.ServerStream
}

type TestService_StreamFileClient

type TestService_StreamFileClient interface {
	Recv() (*StreamFileResponse, error)
	grpc.ClientStream
}

type TestService_StreamFileServer

type TestService_StreamFileServer interface {
	Send(*StreamFileResponse) error
	grpc.ServerStream
}

type TimingLog

type TimingLog struct {
	Root *TimingStage `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
	// contains filtered or unexported fields
}

TimingLog is a protobuf presentation of a timing.Log.

func (*TimingLog) Descriptor deprecated

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

Deprecated: Use TimingLog.ProtoReflect.Descriptor instead.

func (*TimingLog) GetRoot

func (x *TimingLog) GetRoot() *TimingStage

func (*TimingLog) ProtoMessage

func (*TimingLog) ProtoMessage()

func (*TimingLog) ProtoReflect

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

func (*TimingLog) Reset

func (x *TimingLog) Reset()

func (*TimingLog) String

func (x *TimingLog) String() string

type TimingStage

type TimingStage struct {
	Name      string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	Children  []*TimingStage         `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

TimingStage is a protobuf presentation of a completed timing.Stage.

func (*TimingStage) Descriptor deprecated

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

Deprecated: Use TimingStage.ProtoReflect.Descriptor instead.

func (*TimingStage) GetChildren

func (x *TimingStage) GetChildren() []*TimingStage

func (*TimingStage) GetEndTime

func (x *TimingStage) GetEndTime() *timestamppb.Timestamp

func (*TimingStage) GetName

func (x *TimingStage) GetName() string

func (*TimingStage) GetStartTime

func (x *TimingStage) GetStartTime() *timestamppb.Timestamp

func (*TimingStage) ProtoMessage

func (*TimingStage) ProtoMessage()

func (*TimingStage) ProtoReflect

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

func (*TimingStage) Reset

func (x *TimingStage) Reset()

func (*TimingStage) String

func (x *TimingStage) String() string

type UnimplementedFileTransferServer

type UnimplementedFileTransferServer struct {
}

UnimplementedFileTransferServer can be embedded to have forward compatible implementations.

func (*UnimplementedFileTransferServer) PullDirectory

type UnimplementedFixtureServiceServer

type UnimplementedFixtureServiceServer struct {
}

UnimplementedFixtureServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedFixtureServiceServer) RunFixture

type UnimplementedLoggingServer

type UnimplementedLoggingServer struct {
}

UnimplementedLoggingServer can be embedded to have forward compatible implementations.

func (*UnimplementedLoggingServer) ReadLogs

type UnimplementedLoopbackExecServiceServer

type UnimplementedLoopbackExecServiceServer struct {
}

UnimplementedLoopbackExecServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedLoopbackExecServiceServer) Exec

type UnimplementedPingCoreServer

type UnimplementedPingCoreServer struct {
}

UnimplementedPingCoreServer can be embedded to have forward compatible implementations.

func (*UnimplementedPingCoreServer) Ping

type UnimplementedPingUserServer

type UnimplementedPingUserServer struct {
}

UnimplementedPingUserServer can be embedded to have forward compatible implementations.

func (*UnimplementedPingUserServer) Ping

type UnimplementedTestServiceServer

type UnimplementedTestServiceServer struct {
}

UnimplementedTestServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTestServiceServer) CollectSysInfo

func (*UnimplementedTestServiceServer) GetDUTInfo

func (*UnimplementedTestServiceServer) GetSysInfoState

func (*UnimplementedTestServiceServer) GlobalRuntimeVars

func (*UnimplementedTestServiceServer) ListEntities

func (*UnimplementedTestServiceServer) RunTests

func (*UnimplementedTestServiceServer) StreamFile

Directories

Path Synopsis
Package protocoltest provides utilities for unit tests involving Tast gRPC protocol.
Package protocoltest provides utilities for unit tests involving Tast gRPC protocol.

Jump to

Keyboard shortcuts

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