Documentation ¶
Overview ¶
Package protocol contains gRPC services and protocol buffer messages used in the core framework.
Index ¶
- Variables
- func ProtoToLevel(level LogLevel) logging.Level
- func RegisterFileTransferServer(s *grpc.Server, srv FileTransferServer)
- func RegisterFixtureServiceServer(s *grpc.Server, srv FixtureServiceServer)
- func RegisterLoggingServer(s *grpc.Server, srv LoggingServer)
- func RegisterLoopbackExecServiceServer(s *grpc.Server, srv LoopbackExecServiceServer)
- func RegisterPingCoreServer(s *grpc.Server, srv PingCoreServer)
- func RegisterPingUserServer(s *grpc.Server, srv PingUserServer)
- func RegisterTestServiceServer(s *grpc.Server, srv TestServiceServer)
- type BundleConfig
- func (*BundleConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BundleConfig) GetCompanionDuts() map[string]*DUTConfig
- func (x *BundleConfig) GetMetaTestConfig() *MetaTestConfig
- func (x *BundleConfig) GetPrimaryTarget() *TargetDevice
- func (*BundleConfig) ProtoMessage()
- func (x *BundleConfig) ProtoReflect() protoreflect.Message
- func (x *BundleConfig) Reset()
- func (x *BundleConfig) String() string
- type BundleInitParams
- func (*BundleInitParams) Descriptor() ([]byte, []int)deprecated
- func (x *BundleInitParams) GetBundleConfig() *BundleConfig
- func (x *BundleInitParams) GetVars() map[string]string
- func (*BundleInitParams) ProtoMessage()
- func (x *BundleInitParams) ProtoReflect() protoreflect.Message
- func (x *BundleInitParams) Reset()
- func (x *BundleInitParams) String() string
- type CollectSysInfoRequest
- func (*CollectSysInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CollectSysInfoRequest) GetInitialState() *SysInfoState
- func (*CollectSysInfoRequest) ProtoMessage()
- func (x *CollectSysInfoRequest) ProtoReflect() protoreflect.Message
- func (x *CollectSysInfoRequest) Reset()
- func (x *CollectSysInfoRequest) String() string
- type CollectSysInfoResponse
- func (*CollectSysInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CollectSysInfoResponse) GetCrashDir() string
- func (x *CollectSysInfoResponse) GetLogDir() string
- func (*CollectSysInfoResponse) ProtoMessage()
- func (x *CollectSysInfoResponse) ProtoReflect() protoreflect.Message
- func (x *CollectSysInfoResponse) Reset()
- func (x *CollectSysInfoResponse) String() string
- type DUTConfig
- type DUTInfo
- func (*DUTInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DUTInfo) GetDefaultBuildArtifactsUrl() string
- func (x *DUTInfo) GetFeatures() *protocol.DUTFeatures
- func (x *DUTInfo) GetOsVersion() string
- func (*DUTInfo) ProtoMessage()
- func (x *DUTInfo) ProtoReflect() protoreflect.Message
- func (x *DUTInfo) Reset()
- func (x *DUTInfo) String() string
- type DataFileConfig
- func (*DataFileConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DataFileConfig) GetBuildArtifactsUrl() string
- func (x *DataFileConfig) GetDownloadMode() DownloadMode
- func (*DataFileConfig) ProtoMessage()
- func (x *DataFileConfig) ProtoReflect() protoreflect.Message
- func (x *DataFileConfig) Reset()
- func (x *DataFileConfig) String() string
- type DownloadMode
- func (DownloadMode) Descriptor() protoreflect.EnumDescriptor
- func (x DownloadMode) Enum() *DownloadMode
- func (DownloadMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x DownloadMode) Number() protoreflect.EnumNumber
- func (x DownloadMode) String() string
- func (DownloadMode) Type() protoreflect.EnumType
- type DownloadPrivateBundlesRequest
- func (*DownloadPrivateBundlesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadPrivateBundlesRequest) GetBuildArtifactUrl() string
- func (x *DownloadPrivateBundlesRequest) GetServiceConfig() *ServiceConfig
- func (*DownloadPrivateBundlesRequest) ProtoMessage()
- func (x *DownloadPrivateBundlesRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadPrivateBundlesRequest) Reset()
- func (x *DownloadPrivateBundlesRequest) String() string
- type DownloadPrivateBundlesResponse
- func (*DownloadPrivateBundlesResponse) Descriptor() ([]byte, []int)deprecated
- func (*DownloadPrivateBundlesResponse) ProtoMessage()
- func (x *DownloadPrivateBundlesResponse) ProtoReflect() protoreflect.Message
- func (x *DownloadPrivateBundlesResponse) Reset()
- func (x *DownloadPrivateBundlesResponse) String() string
- type Entity
- func (*Entity) Descriptor() ([]byte, []int)deprecated
- func (x *Entity) GetAttributes() []string
- func (x *Entity) GetBugComponent() string
- func (x *Entity) GetContacts() *EntityContacts
- func (x *Entity) GetDependencies() *EntityDependencies
- func (x *Entity) GetDescription() string
- func (x *Entity) GetFixture() string
- func (x *Entity) GetLacrosStatus() string
- func (x *Entity) GetLegacyData() *EntityLegacyData
- func (x *Entity) GetName() string
- func (x *Entity) GetPackage() string
- func (x *Entity) GetRequirements() []string
- func (x *Entity) GetSearchFlags() []*StringPair
- func (x *Entity) GetTestBedDeps() []string
- func (x *Entity) GetType() EntityType
- func (*Entity) ProtoMessage()
- func (x *Entity) ProtoReflect() protoreflect.Message
- func (x *Entity) Reset()
- func (x *Entity) String() string
- type EntityContacts
- type EntityCopyEndEvent
- func (*EntityCopyEndEvent) Descriptor() ([]byte, []int)deprecated
- func (x *EntityCopyEndEvent) GetEntityName() string
- func (*EntityCopyEndEvent) ProtoMessage()
- func (x *EntityCopyEndEvent) ProtoReflect() protoreflect.Message
- func (x *EntityCopyEndEvent) Reset()
- func (x *EntityCopyEndEvent) String() string
- type EntityDependencies
- func (*EntityDependencies) Descriptor() ([]byte, []int)deprecated
- func (x *EntityDependencies) GetDataFiles() []string
- func (x *EntityDependencies) GetServices() []string
- func (*EntityDependencies) ProtoMessage()
- func (x *EntityDependencies) ProtoReflect() protoreflect.Message
- func (x *EntityDependencies) Reset()
- func (x *EntityDependencies) String() string
- type EntityEndEvent
- func (*EntityEndEvent) Descriptor() ([]byte, []int)deprecated
- func (x *EntityEndEvent) GetEntityName() string
- func (x *EntityEndEvent) GetSkip() *Skip
- func (x *EntityEndEvent) GetTime() *timestamppb.Timestamp
- func (x *EntityEndEvent) GetTimingLog() *TimingLog
- func (*EntityEndEvent) ProtoMessage()
- func (x *EntityEndEvent) ProtoReflect() protoreflect.Message
- func (x *EntityEndEvent) Reset()
- func (x *EntityEndEvent) String() string
- type EntityErrorEvent
- func (*EntityErrorEvent) Descriptor() ([]byte, []int)deprecated
- func (x *EntityErrorEvent) GetEntityName() string
- func (x *EntityErrorEvent) GetError() *Error
- func (x *EntityErrorEvent) GetTime() *timestamppb.Timestamp
- func (*EntityErrorEvent) ProtoMessage()
- func (x *EntityErrorEvent) ProtoReflect() protoreflect.Message
- func (x *EntityErrorEvent) Reset()
- func (x *EntityErrorEvent) String() string
- type EntityLegacyData
- func (*EntityLegacyData) Descriptor() ([]byte, []int)deprecated
- func (x *EntityLegacyData) GetBundle() string
- func (x *EntityLegacyData) GetSoftwareDeps() []string
- func (x *EntityLegacyData) GetTimeout() *durationpb.Duration
- func (x *EntityLegacyData) GetVariableDeps() []string
- func (x *EntityLegacyData) GetVariables() []string
- func (*EntityLegacyData) ProtoMessage()
- func (x *EntityLegacyData) ProtoReflect() protoreflect.Message
- func (x *EntityLegacyData) Reset()
- func (x *EntityLegacyData) String() string
- type EntityLogEvent
- func (*EntityLogEvent) Descriptor() ([]byte, []int)deprecated
- func (x *EntityLogEvent) GetEntityName() string
- func (x *EntityLogEvent) GetLevel() LogLevel
- func (x *EntityLogEvent) GetText() string
- func (x *EntityLogEvent) GetTime() *timestamppb.Timestamp
- func (*EntityLogEvent) ProtoMessage()
- func (x *EntityLogEvent) ProtoReflect() protoreflect.Message
- func (x *EntityLogEvent) Reset()
- func (x *EntityLogEvent) String() string
- type EntityStartEvent
- func (*EntityStartEvent) Descriptor() ([]byte, []int)deprecated
- func (x *EntityStartEvent) GetEntity() *Entity
- func (x *EntityStartEvent) GetOutDir() string
- func (x *EntityStartEvent) GetTime() *timestamppb.Timestamp
- func (*EntityStartEvent) ProtoMessage()
- func (x *EntityStartEvent) ProtoReflect() protoreflect.Message
- func (x *EntityStartEvent) Reset()
- func (x *EntityStartEvent) String() string
- type EntityType
- type Error
- type ErrorLocation
- func (*ErrorLocation) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorLocation) GetFile() string
- func (x *ErrorLocation) GetLine() int64
- func (x *ErrorLocation) GetStack() string
- func (*ErrorLocation) ProtoMessage()
- func (x *ErrorLocation) ProtoReflect() protoreflect.Message
- func (x *ErrorLocation) Reset()
- func (x *ErrorLocation) String() string
- type Event
- type ExecRequest
- func (*ExecRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecRequest) GetInit() *InitEvent
- func (x *ExecRequest) GetStdin() *PipeEvent
- func (m *ExecRequest) GetType() isExecRequest_Type
- func (*ExecRequest) ProtoMessage()
- func (x *ExecRequest) ProtoReflect() protoreflect.Message
- func (x *ExecRequest) Reset()
- func (x *ExecRequest) String() string
- type ExecRequest_Init
- type ExecRequest_Stdin
- type ExecResponse
- func (*ExecResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecResponse) GetExit() *ExitEvent
- func (x *ExecResponse) GetStderr() *PipeEvent
- func (x *ExecResponse) GetStdout() *PipeEvent
- func (m *ExecResponse) GetType() isExecResponse_Type
- func (*ExecResponse) ProtoMessage()
- func (x *ExecResponse) ProtoReflect() protoreflect.Message
- func (x *ExecResponse) Reset()
- func (x *ExecResponse) String() string
- type ExecResponse_Exit
- type ExecResponse_Stderr
- type ExecResponse_Stdout
- type ExitEvent
- type Features
- func (*Features) Descriptor() ([]byte, []int)deprecated
- func (x *Features) GetCheckDeps() bool
- func (x *Features) GetCompanionFeatures() map[string]*protocol.DUTFeatures
- func (x *Features) GetDut() *protocol.DUTFeatures
- func (x *Features) GetForceSkips() map[string]*ForceSkip
- func (x *Features) GetInfra() *InfraFeatures
- func (*Features) ProtoMessage()
- func (x *Features) ProtoReflect() protoreflect.Message
- func (x *Features) Reset()
- func (x *Features) String() string
- type FileTransferClient
- type FileTransferServer
- type FileTransfer_PullDirectoryClient
- type FileTransfer_PullDirectoryServer
- type FixtureServiceClient
- type FixtureServiceServer
- type FixtureService_RunFixtureClient
- type FixtureService_RunFixtureServer
- type ForceSkip
- type GetDUTInfoRequest
- func (*GetDUTInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDUTInfoRequest) GetExtraUseFlags() []string
- func (x *GetDUTInfoRequest) GetFeatures() bool
- func (*GetDUTInfoRequest) ProtoMessage()
- func (x *GetDUTInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetDUTInfoRequest) Reset()
- func (x *GetDUTInfoRequest) String() string
- type GetDUTInfoResponse
- func (*GetDUTInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDUTInfoResponse) GetDutInfo() *DUTInfo
- func (*GetDUTInfoResponse) ProtoMessage()
- func (x *GetDUTInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetDUTInfoResponse) Reset()
- func (x *GetDUTInfoResponse) String() string
- type GetSysInfoStateRequest
- type GetSysInfoStateResponse
- func (*GetSysInfoStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSysInfoStateResponse) GetState() *SysInfoState
- func (*GetSysInfoStateResponse) ProtoMessage()
- func (x *GetSysInfoStateResponse) ProtoReflect() protoreflect.Message
- func (x *GetSysInfoStateResponse) Reset()
- func (x *GetSysInfoStateResponse) String() string
- type GlobalRuntimeVar
- type GlobalRuntimeVarsRequest
- type GlobalRuntimeVarsResponse
- func (*GlobalRuntimeVarsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GlobalRuntimeVarsResponse) GetVars() []*GlobalRuntimeVar
- func (*GlobalRuntimeVarsResponse) ProtoMessage()
- func (x *GlobalRuntimeVarsResponse) ProtoReflect() protoreflect.Message
- func (x *GlobalRuntimeVarsResponse) Reset()
- func (x *GlobalRuntimeVarsResponse) String() string
- type HandshakeError
- type HandshakeRequest
- func (*HandshakeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HandshakeRequest) GetBundleInitParams() *BundleInitParams
- func (x *HandshakeRequest) GetNeedUserServices() bool
- func (x *HandshakeRequest) GetRunnerInitParams() *RunnerInitParams
- func (*HandshakeRequest) ProtoMessage()
- func (x *HandshakeRequest) ProtoReflect() protoreflect.Message
- func (x *HandshakeRequest) Reset()
- func (x *HandshakeRequest) String() string
- type HandshakeResponse
- func (*HandshakeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HandshakeResponse) GetError() *HandshakeError
- func (*HandshakeResponse) ProtoMessage()
- func (x *HandshakeResponse) ProtoReflect() protoreflect.Message
- func (x *HandshakeResponse) Reset()
- func (x *HandshakeResponse) String() string
- type HeartbeatEvent
- type InfraFeatures
- func (*InfraFeatures) Descriptor() ([]byte, []int)deprecated
- func (x *InfraFeatures) GetDUTLabConfig() *protocol.DUTLabConfig
- func (x *InfraFeatures) GetMaybeMissingVars() string
- func (x *InfraFeatures) GetVars() map[string]string
- func (*InfraFeatures) ProtoMessage()
- func (x *InfraFeatures) ProtoReflect() protoreflect.Message
- func (x *InfraFeatures) Reset()
- func (x *InfraFeatures) String() string
- type InitEvent
- type ListEntitiesRequest
- func (*ListEntitiesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesRequest) GetFeatures() *Features
- func (x *ListEntitiesRequest) GetRecursive() bool
- func (*ListEntitiesRequest) ProtoMessage()
- func (x *ListEntitiesRequest) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesRequest) Reset()
- func (x *ListEntitiesRequest) String() string
- type ListEntitiesResponse
- func (*ListEntitiesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesResponse) GetEntities() []*ResolvedEntity
- func (*ListEntitiesResponse) ProtoMessage()
- func (x *ListEntitiesResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesResponse) Reset()
- func (x *ListEntitiesResponse) String() string
- type LogEntry
- func (*LogEntry) Descriptor() ([]byte, []int)deprecated
- func (x *LogEntry) GetLevel() LogLevel
- func (x *LogEntry) GetMsg() string
- func (x *LogEntry) GetSeq() uint64
- func (*LogEntry) ProtoMessage()
- func (x *LogEntry) ProtoReflect() protoreflect.Message
- func (x *LogEntry) Reset()
- func (x *LogEntry) String() string
- type LogLevel
- type LoggingClient
- type LoggingServer
- type Logging_ReadLogsClient
- type Logging_ReadLogsServer
- type LoopbackExecServiceClient
- type LoopbackExecServiceServer
- type LoopbackExecService_ExecClient
- type LoopbackExecService_ExecServer
- type MetaTestConfig
- func (*MetaTestConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MetaTestConfig) GetListFlags() []string
- func (x *MetaTestConfig) GetRunFlags() []string
- func (x *MetaTestConfig) GetTastPath() string
- func (*MetaTestConfig) ProtoMessage()
- func (x *MetaTestConfig) ProtoReflect() protoreflect.Message
- func (x *MetaTestConfig) Reset()
- func (x *MetaTestConfig) String() string
- type PingCoreClient
- type PingCoreServer
- type PingUserClient
- type PingUserServer
- type PipeEvent
- type PullDirectoryRequest
- func (*PullDirectoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullDirectoryRequest) GetPath() string
- func (*PullDirectoryRequest) ProtoMessage()
- func (x *PullDirectoryRequest) ProtoReflect() protoreflect.Message
- func (x *PullDirectoryRequest) Reset()
- func (x *PullDirectoryRequest) String() string
- type PullDirectoryResponse
- func (*PullDirectoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullDirectoryResponse) GetData() []byte
- func (*PullDirectoryResponse) ProtoMessage()
- func (x *PullDirectoryResponse) ProtoReflect() protoreflect.Message
- func (x *PullDirectoryResponse) Reset()
- func (x *PullDirectoryResponse) String() string
- type ReadLogsRequest
- type ReadLogsResponse
- type ResolvedEntity
- func (*ResolvedEntity) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvedEntity) GetEntity() *Entity
- func (x *ResolvedEntity) GetHops() int32
- func (x *ResolvedEntity) GetSkip() *Skip
- func (x *ResolvedEntity) GetStartFixtureName() string
- func (*ResolvedEntity) ProtoMessage()
- func (x *ResolvedEntity) ProtoReflect() protoreflect.Message
- func (x *ResolvedEntity) Reset()
- func (x *ResolvedEntity) String() string
- type RunConfig
- func (*RunConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RunConfig) GetDataFileConfig() *DataFileConfig
- func (x *RunConfig) GetDebugPort() uint32
- func (x *RunConfig) GetDirs() *RunDirectories
- func (x *RunConfig) GetFeatures() *Features
- func (x *RunConfig) GetHeartbeatInterval() *durationpb.Duration
- func (x *RunConfig) GetMaxSysMsgLogSize() int64
- func (x *RunConfig) GetMsgTimeout() *durationpb.Duration
- func (x *RunConfig) GetServiceConfig() *ServiceConfig
- func (x *RunConfig) GetStartFixtureState() *StartFixtureState
- func (x *RunConfig) GetSystemServicesTimeout() *durationpb.Duration
- func (x *RunConfig) GetTarget() *RunTargetConfig
- func (x *RunConfig) GetTests() []string
- func (x *RunConfig) GetWaitUntilReady() bool
- func (x *RunConfig) GetWaitUntilReadyTimeout() *durationpb.Duration
- func (*RunConfig) ProtoMessage()
- func (x *RunConfig) ProtoReflect() protoreflect.Message
- func (x *RunConfig) Reset()
- func (x *RunConfig) String() string
- type RunDirectories
- func (*RunDirectories) Descriptor() ([]byte, []int)deprecated
- func (x *RunDirectories) GetDataDir() string
- func (x *RunDirectories) GetOutDir() string
- func (x *RunDirectories) GetTempDir() string
- func (*RunDirectories) ProtoMessage()
- func (x *RunDirectories) ProtoReflect() protoreflect.Message
- func (x *RunDirectories) Reset()
- func (x *RunDirectories) String() string
- type RunFixtureConfig
- func (*RunFixtureConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RunFixtureConfig) GetAvailableSoftwareFeatures() []string
- func (x *RunFixtureConfig) GetBuildArtifactsUrl() string
- func (x *RunFixtureConfig) GetCheckSoftwareDeps() bool
- func (x *RunFixtureConfig) GetConnectionSpec() string
- func (x *RunFixtureConfig) GetCustomGracePeriod() *durationpb.Duration
- func (x *RunFixtureConfig) GetDUTLabConfig() *protocol.DUTLabConfig
- func (x *RunFixtureConfig) GetDataDir() string
- func (x *RunFixtureConfig) GetDevservers() []string
- func (x *RunFixtureConfig) GetDownloadMode() DownloadMode
- func (x *RunFixtureConfig) GetDutName() string
- func (x *RunFixtureConfig) GetDutServer() string
- func (x *RunFixtureConfig) GetKeyDir() string
- func (x *RunFixtureConfig) GetKeyFile() string
- func (x *RunFixtureConfig) GetLocalBundleDir() string
- func (x *RunFixtureConfig) GetOutDir() string
- func (x *RunFixtureConfig) GetProxyCommand() string
- func (x *RunFixtureConfig) GetTempDir() string
- func (x *RunFixtureConfig) GetTestVars() map[string]string
- func (x *RunFixtureConfig) GetTlwServer() string
- func (x *RunFixtureConfig) GetUnavailableSoftwareFeatures() []string
- func (*RunFixtureConfig) ProtoMessage()
- func (x *RunFixtureConfig) ProtoReflect() protoreflect.Message
- func (x *RunFixtureConfig) Reset()
- func (x *RunFixtureConfig) String() string
- type RunFixtureError
- func (*RunFixtureError) Descriptor() ([]byte, []int)deprecated
- func (x *RunFixtureError) GetFile() string
- func (x *RunFixtureError) GetLine() int32
- func (x *RunFixtureError) GetReason() string
- func (x *RunFixtureError) GetStack() string
- func (*RunFixtureError) ProtoMessage()
- func (x *RunFixtureError) ProtoReflect() protoreflect.Message
- func (x *RunFixtureError) Reset()
- func (x *RunFixtureError) String() string
- type RunFixturePopRequest
- type RunFixturePushRequest
- func (*RunFixturePushRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunFixturePushRequest) GetConfig() *RunFixtureConfig
- func (x *RunFixturePushRequest) GetName() string
- func (*RunFixturePushRequest) ProtoMessage()
- func (x *RunFixturePushRequest) ProtoReflect() protoreflect.Message
- func (x *RunFixturePushRequest) Reset()
- func (x *RunFixturePushRequest) String() string
- type RunFixtureRequest
- func (*RunFixtureRequest) Descriptor() ([]byte, []int)deprecated
- func (m *RunFixtureRequest) GetControl() isRunFixtureRequest_Control
- func (x *RunFixtureRequest) GetPop() *RunFixturePopRequest
- func (x *RunFixtureRequest) GetPush() *RunFixturePushRequest
- func (*RunFixtureRequest) ProtoMessage()
- func (x *RunFixtureRequest) ProtoReflect() protoreflect.Message
- func (x *RunFixtureRequest) Reset()
- func (x *RunFixtureRequest) String() string
- type RunFixtureRequest_Pop
- type RunFixtureRequest_Push
- type RunFixtureResponse
- func (*RunFixtureResponse) Descriptor() ([]byte, []int)deprecated
- func (m *RunFixtureResponse) GetControl() isRunFixtureResponse_Control
- func (x *RunFixtureResponse) GetError() *RunFixtureError
- func (x *RunFixtureResponse) GetLevel() LogLevel
- func (x *RunFixtureResponse) GetLog() string
- func (x *RunFixtureResponse) GetRequestDone() *emptypb.Empty
- func (x *RunFixtureResponse) GetTimestamp() *timestamppb.Timestamp
- func (*RunFixtureResponse) ProtoMessage()
- func (x *RunFixtureResponse) ProtoReflect() protoreflect.Message
- func (x *RunFixtureResponse) Reset()
- func (x *RunFixtureResponse) String() string
- type RunFixtureResponse_Error
- type RunFixtureResponse_Log
- type RunFixtureResponse_RequestDone
- type RunLogEvent
- func (*RunLogEvent) Descriptor() ([]byte, []int)deprecated
- func (x *RunLogEvent) GetLevel() LogLevel
- func (x *RunLogEvent) GetText() string
- func (x *RunLogEvent) GetTime() *timestamppb.Timestamp
- func (*RunLogEvent) ProtoMessage()
- func (x *RunLogEvent) ProtoReflect() protoreflect.Message
- func (x *RunLogEvent) Reset()
- func (x *RunLogEvent) String() string
- type RunTargetConfig
- func (*RunTargetConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RunTargetConfig) GetBuildBucketID() string
- func (x *RunTargetConfig) GetDebugPort() uint32
- func (x *RunTargetConfig) GetDevservers() []string
- func (x *RunTargetConfig) GetDirs() *RunDirectories
- func (x *RunTargetConfig) GetMaxTestFailures() int32
- func (x *RunTargetConfig) GetMsgTimeout() *durationpb.Duration
- func (x *RunTargetConfig) GetProxy() bool
- func (x *RunTargetConfig) GetRetries() int32
- func (x *RunTargetConfig) GetSwarmingTaskID() string
- func (x *RunTargetConfig) GetSystemServicesTimeout() *durationpb.Duration
- func (x *RunTargetConfig) GetWaitUntilReady() bool
- func (x *RunTargetConfig) GetWaitUntilReadyTimeout() *durationpb.Duration
- func (*RunTargetConfig) ProtoMessage()
- func (x *RunTargetConfig) ProtoReflect() protoreflect.Message
- func (x *RunTargetConfig) Reset()
- func (x *RunTargetConfig) String() string
- type RunTestsInit
- func (*RunTestsInit) Descriptor() ([]byte, []int)deprecated
- func (x *RunTestsInit) GetDebugPort() uint32
- func (x *RunTestsInit) GetRecursive() bool
- func (x *RunTestsInit) GetRunConfig() *RunConfig
- func (*RunTestsInit) ProtoMessage()
- func (x *RunTestsInit) ProtoReflect() protoreflect.Message
- func (x *RunTestsInit) Reset()
- func (x *RunTestsInit) String() string
- type RunTestsRequest
- func (*RunTestsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunTestsRequest) GetRunTestsInit() *RunTestsInit
- func (x *RunTestsRequest) GetStackOperationResponse() *StackOperationResponse
- func (m *RunTestsRequest) GetType() isRunTestsRequest_Type
- func (*RunTestsRequest) ProtoMessage()
- func (x *RunTestsRequest) ProtoReflect() protoreflect.Message
- func (x *RunTestsRequest) Reset()
- func (x *RunTestsRequest) String() string
- type RunTestsRequest_RunTestsInit
- type RunTestsRequest_StackOperationResponse
- type RunTestsResponse
- func (*RunTestsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RunTestsResponse) GetEntityCopyEnd() *EntityCopyEndEvent
- func (x *RunTestsResponse) GetEntityEnd() *EntityEndEvent
- func (x *RunTestsResponse) GetEntityError() *EntityErrorEvent
- func (x *RunTestsResponse) GetEntityLog() *EntityLogEvent
- func (x *RunTestsResponse) GetEntityStart() *EntityStartEvent
- func (x *RunTestsResponse) GetHeartbeat() *HeartbeatEvent
- func (x *RunTestsResponse) GetRunLog() *RunLogEvent
- func (x *RunTestsResponse) GetStackOperation() *StackOperationRequest
- func (m *RunTestsResponse) GetType() isRunTestsResponse_Type
- func (*RunTestsResponse) ProtoMessage()
- func (x *RunTestsResponse) ProtoReflect() protoreflect.Message
- func (x *RunTestsResponse) Reset()
- func (x *RunTestsResponse) String() string
- type RunTestsResponse_EntityCopyEnd
- type RunTestsResponse_EntityEnd
- type RunTestsResponse_EntityError
- type RunTestsResponse_EntityLog
- type RunTestsResponse_EntityStart
- type RunTestsResponse_Heartbeat
- type RunTestsResponse_RunLog
- type RunTestsResponse_StackOperation
- type RunnerInitParams
- type SSHConfig
- func (*SSHConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SSHConfig) GetConnectionSpec() string
- func (x *SSHConfig) GetKeyDir() string
- func (x *SSHConfig) GetKeyFile() string
- func (x *SSHConfig) GetProxyCommand() string
- func (*SSHConfig) ProtoMessage()
- func (x *SSHConfig) ProtoReflect() protoreflect.Message
- func (x *SSHConfig) Reset()
- func (x *SSHConfig) String() string
- type ServiceConfig
- func (*ServiceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceConfig) GetBuildBucketID() string
- func (x *ServiceConfig) GetDevservers() []string
- func (x *ServiceConfig) GetDutServer() string
- func (x *ServiceConfig) GetExtraAllowedBuckets() []string
- func (x *ServiceConfig) GetSwarmingTaskID() string
- func (x *ServiceConfig) GetTastDir() string
- func (x *ServiceConfig) GetTlwPrimaryTargetName() string
- func (x *ServiceConfig) GetTlwSelfName() string
- func (x *ServiceConfig) GetTlwServer() string
- func (x *ServiceConfig) GetUseEphemeralDevservers() bool
- func (*ServiceConfig) ProtoMessage()
- func (x *ServiceConfig) ProtoReflect() protoreflect.Message
- func (x *ServiceConfig) Reset()
- func (x *ServiceConfig) String() string
- type Skip
- type StackGetErrors
- type StackGetStatus
- type StackOperationRequest
- func (*StackOperationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StackOperationRequest) GetErrors() *StackGetErrors
- func (x *StackOperationRequest) GetPostTest() *StackPostTest
- func (x *StackOperationRequest) GetPreTest() *StackPreTest
- func (x *StackOperationRequest) GetReset_() *StackReset
- func (x *StackOperationRequest) GetSetDirty() *StackSetDirty
- func (x *StackOperationRequest) GetStatus() *StackGetStatus
- func (m *StackOperationRequest) GetType() isStackOperationRequest_Type
- func (x *StackOperationRequest) GetValue() *StackValue
- func (*StackOperationRequest) ProtoMessage()
- func (x *StackOperationRequest) ProtoReflect() protoreflect.Message
- func (x *StackOperationRequest) Reset()
- func (x *StackOperationRequest) String() string
- type StackOperationRequest_Errors
- type StackOperationRequest_PostTest
- type StackOperationRequest_PreTest
- type StackOperationRequest_Reset_
- type StackOperationRequest_SetDirty
- type StackOperationRequest_Status
- type StackOperationRequest_Value
- type StackOperationResponse
- func (*StackOperationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StackOperationResponse) GetErrors() []*Error
- func (x *StackOperationResponse) GetFatalError() string
- func (x *StackOperationResponse) GetFixtValue() []byte
- func (x *StackOperationResponse) GetStatus() StackStatus
- func (x *StackOperationResponse) GetTestHasError() bool
- func (*StackOperationResponse) ProtoMessage()
- func (x *StackOperationResponse) ProtoReflect() protoreflect.Message
- func (x *StackOperationResponse) Reset()
- func (x *StackOperationResponse) String() string
- type StackPostTest
- func (*StackPostTest) Descriptor() ([]byte, []int)deprecated
- func (x *StackPostTest) GetEntity() *Entity
- func (x *StackPostTest) GetHasError() bool
- func (*StackPostTest) ProtoMessage()
- func (x *StackPostTest) ProtoReflect() protoreflect.Message
- func (x *StackPostTest) Reset()
- func (x *StackPostTest) String() string
- type StackPreTest
- func (*StackPreTest) Descriptor() ([]byte, []int)deprecated
- func (x *StackPreTest) GetEntity() *Entity
- func (x *StackPreTest) GetHasError() bool
- func (*StackPreTest) ProtoMessage()
- func (x *StackPreTest) ProtoReflect() protoreflect.Message
- func (x *StackPreTest) Reset()
- func (x *StackPreTest) String() string
- type StackReset
- type StackSetDirty
- type StackStatus
- func (StackStatus) Descriptor() protoreflect.EnumDescriptor
- func (x StackStatus) Enum() *StackStatus
- func (StackStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x StackStatus) Number() protoreflect.EnumNumber
- func (x StackStatus) String() string
- func (StackStatus) Type() protoreflect.EnumType
- type StackValue
- type StartFixtureState
- func (*StartFixtureState) Descriptor() ([]byte, []int)deprecated
- func (x *StartFixtureState) GetErrors() []*Error
- func (x *StartFixtureState) GetName() string
- func (*StartFixtureState) ProtoMessage()
- func (x *StartFixtureState) ProtoReflect() protoreflect.Message
- func (x *StartFixtureState) Reset()
- func (x *StartFixtureState) String() string
- type StreamFileRequest
- func (*StreamFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamFileRequest) GetName() string
- func (x *StreamFileRequest) GetOffset() int64
- func (*StreamFileRequest) ProtoMessage()
- func (x *StreamFileRequest) ProtoReflect() protoreflect.Message
- func (x *StreamFileRequest) Reset()
- func (x *StreamFileRequest) String() string
- type StreamFileResponse
- func (*StreamFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamFileResponse) GetData() []byte
- func (x *StreamFileResponse) GetOffset() int64
- func (*StreamFileResponse) ProtoMessage()
- func (x *StreamFileResponse) ProtoReflect() protoreflect.Message
- func (x *StreamFileResponse) Reset()
- func (x *StreamFileResponse) String() string
- type StringPair
- type SysInfoState
- func (*SysInfoState) Descriptor() ([]byte, []int)deprecated
- func (x *SysInfoState) GetCrashFilePaths() []string
- func (x *SysInfoState) GetLogInodeSizes() map[uint64]int64
- func (x *SysInfoState) GetUnifiedLogCursor() string
- func (*SysInfoState) ProtoMessage()
- func (x *SysInfoState) ProtoReflect() protoreflect.Message
- func (x *SysInfoState) Reset()
- func (x *SysInfoState) String() string
- type TargetDevice
- func (*TargetDevice) Descriptor() ([]byte, []int)deprecated
- func (x *TargetDevice) GetBundleDir() string
- func (x *TargetDevice) GetDutConfig() *DUTConfig
- func (*TargetDevice) ProtoMessage()
- func (x *TargetDevice) ProtoReflect() protoreflect.Message
- func (x *TargetDevice) Reset()
- func (x *TargetDevice) String() string
- type TestServiceClient
- type TestServiceServer
- type TestService_RunTestsClient
- type TestService_RunTestsServer
- type TestService_StreamFileClient
- type TestService_StreamFileServer
- type TimingLog
- type TimingStage
- func (*TimingStage) Descriptor() ([]byte, []int)deprecated
- func (x *TimingStage) GetChildren() []*TimingStage
- func (x *TimingStage) GetEndTime() *timestamppb.Timestamp
- func (x *TimingStage) GetName() string
- func (x *TimingStage) GetStartTime() *timestamppb.Timestamp
- func (*TimingStage) ProtoMessage()
- func (x *TimingStage) ProtoReflect() protoreflect.Message
- func (x *TimingStage) Reset()
- func (x *TimingStage) String() string
- type UnimplementedFileTransferServer
- type UnimplementedFixtureServiceServer
- type UnimplementedLoggingServer
- type UnimplementedLoopbackExecServiceServer
- type UnimplementedPingCoreServer
- type UnimplementedPingUserServer
- type UnimplementedTestServiceServer
- func (*UnimplementedTestServiceServer) CollectSysInfo(context.Context, *CollectSysInfoRequest) (*CollectSysInfoResponse, error)
- func (*UnimplementedTestServiceServer) DownloadPrivateBundles(context.Context, *DownloadPrivateBundlesRequest) (*DownloadPrivateBundlesResponse, error)
- func (*UnimplementedTestServiceServer) GetDUTInfo(context.Context, *GetDUTInfoRequest) (*GetDUTInfoResponse, error)
- func (*UnimplementedTestServiceServer) GetSysInfoState(context.Context, *GetSysInfoStateRequest) (*GetSysInfoStateResponse, error)
- func (*UnimplementedTestServiceServer) GlobalRuntimeVars(context.Context, *GlobalRuntimeVarsRequest) (*GlobalRuntimeVarsResponse, error)
- func (*UnimplementedTestServiceServer) ListEntities(context.Context, *ListEntitiesRequest) (*ListEntitiesResponse, error)
- func (*UnimplementedTestServiceServer) RunTests(TestService_RunTestsServer) error
- func (*UnimplementedTestServiceServer) StreamFile(*StreamFileRequest, TestService_StreamFileServer) error
Constants ¶
This section is empty.
Variables ¶
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.
var ( EntityType_name = map[int32]string{ 0: "TEST", 1: "FIXTURE", } EntityType_value = map[string]int32{ "TEST": 0, "FIXTURE": 1, } )
Enum value maps for EntityType.
var ( DownloadMode_name = map[int32]string{ 0: "BATCH", 1: "LAZY", } DownloadMode_value = map[string]int32{ "BATCH": 0, "LAZY": 1, } )
Enum value maps for DownloadMode.
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.
var File_fake_core_proto protoreflect.FileDescriptor
var File_fake_user_proto protoreflect.FileDescriptor
var File_features_proto protoreflect.FileDescriptor
var File_file_transfer_proto protoreflect.FileDescriptor
var File_handshake_proto protoreflect.FileDescriptor
var File_logging_proto protoreflect.FileDescriptor
var File_loopback_proto protoreflect.FileDescriptor
var File_remote_fixture_proto protoreflect.FileDescriptor
var File_testing_proto protoreflect.FileDescriptor
Functions ¶
func ProtoToLevel ¶
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) GetSshConfig ¶
func (*DUTConfig) GetTlwName ¶
func (*DUTConfig) ProtoMessage ¶
func (*DUTConfig) ProtoMessage()
func (*DUTConfig) ProtoReflect ¶
func (x *DUTConfig) ProtoReflect() protoreflect.Message
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) GetDefaultBuildArtifactsUrl ¶
func (*DUTInfo) GetFeatures ¶
func (x *DUTInfo) GetFeatures() *protocol.DUTFeatures
func (*DUTInfo) GetOsVersion ¶
func (*DUTInfo) ProtoMessage ¶
func (*DUTInfo) ProtoMessage()
func (*DUTInfo) ProtoReflect ¶
func (x *DUTInfo) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
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 (x DownloadMode) Number() protoreflect.EnumNumber
func (DownloadMode) String ¶
func (x DownloadMode) String() string
func (DownloadMode) Type ¶
func (DownloadMode) Type() protoreflect.EnumType
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 (x *DownloadPrivateBundlesRequest) ProtoReflect() protoreflect.Message
func (*DownloadPrivateBundlesRequest) Reset ¶
func (x *DownloadPrivateBundlesRequest) Reset()
func (*DownloadPrivateBundlesRequest) String ¶
func (x *DownloadPrivateBundlesRequest) String() 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 (x *DownloadPrivateBundlesResponse) ProtoReflect() protoreflect.Message
func (*DownloadPrivateBundlesResponse) Reset ¶
func (x *DownloadPrivateBundlesResponse) Reset()
func (*DownloadPrivateBundlesResponse) String ¶
func (x *DownloadPrivateBundlesResponse) String() 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) GetAttributes ¶
func (*Entity) GetBugComponent ¶
func (*Entity) GetContacts ¶
func (x *Entity) GetContacts() *EntityContacts
func (*Entity) GetDependencies ¶
func (x *Entity) GetDependencies() *EntityDependencies
func (*Entity) GetDescription ¶
func (*Entity) GetFixture ¶
func (*Entity) GetLacrosStatus ¶
func (*Entity) GetLegacyData ¶
func (x *Entity) GetLegacyData() *EntityLegacyData
func (*Entity) GetPackage ¶
func (*Entity) GetRequirements ¶
func (*Entity) GetSearchFlags ¶
func (x *Entity) GetSearchFlags() []*StringPair
func (*Entity) GetTestBedDeps ¶
func (*Entity) GetType ¶
func (x *Entity) GetType() EntityType
func (*Entity) ProtoMessage ¶
func (*Entity) ProtoMessage()
func (*Entity) ProtoReflect ¶
func (x *Entity) ProtoReflect() protoreflect.Message
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 ¶
func (EntityType) Type() protoreflect.EnumType
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) GetLocation ¶
func (x *Error) GetLocation() *ErrorLocation
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*ExitEvent) ProtoMessage()
func (*ExitEvent) ProtoReflect ¶
func (x *ExitEvent) ProtoReflect() protoreflect.Message
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) GetCheckDeps ¶
func (*Features) GetCompanionFeatures ¶
func (x *Features) GetCompanionFeatures() map[string]*protocol.DUTFeatures
func (*Features) GetDut ¶
func (x *Features) GetDut() *protocol.DUTFeatures
func (*Features) GetForceSkips ¶
func (*Features) GetInfra ¶
func (x *Features) GetInfra() *InfraFeatures
func (*Features) ProtoMessage ¶
func (*Features) ProtoMessage()
func (*Features) ProtoReflect ¶
func (x *Features) ProtoReflect() protoreflect.Message
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.
func NewFileTransferClient ¶
func NewFileTransferClient(cc grpc.ClientConnInterface) FileTransferClient
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.
func NewFixtureServiceClient ¶
func NewFixtureServiceClient(cc grpc.ClientConnInterface) FixtureServiceClient
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) ProtoMessage ¶
func (*ForceSkip) ProtoMessage()
func (*ForceSkip) ProtoReflect ¶
func (x *ForceSkip) ProtoReflect() protoreflect.Message
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 (x *GlobalRuntimeVarsResponse) GetVars() []*GlobalRuntimeVar
func (*GlobalRuntimeVarsResponse) ProtoMessage ¶
func (*GlobalRuntimeVarsResponse) ProtoMessage()
func (*GlobalRuntimeVarsResponse) ProtoReflect ¶
func (x *GlobalRuntimeVarsResponse) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*InitEvent) ProtoMessage()
func (*InitEvent) ProtoReflect ¶
func (x *InitEvent) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*LogEntry) ProtoMessage()
func (*LogEntry) ProtoReflect ¶
func (x *LogEntry) ProtoReflect() protoreflect.Message
type LogLevel ¶
type LogLevel int32
LogLevel corresponds to the go type go.chromium.org/tast/core/internal/logging.Level
func LevelToProto ¶
LevelToProto converts a logging.Level to the protocol.LogLevel.
func (LogLevel) Descriptor ¶
func (LogLevel) Descriptor() protoreflect.EnumDescriptor
func (LogLevel) EnumDescriptor
deprecated
func (LogLevel) Number ¶
func (x LogLevel) Number() protoreflect.EnumNumber
func (LogLevel) Type ¶
func (LogLevel) Type() protoreflect.EnumType
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.
func NewLoopbackExecServiceClient ¶
func NewLoopbackExecServiceClient(cc grpc.ClientConnInterface) LoopbackExecServiceClient
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 ¶
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 ¶
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) ProtoMessage ¶
func (*PipeEvent) ProtoMessage()
func (*PipeEvent) ProtoReflect ¶
func (x *PipeEvent) ProtoReflect() protoreflect.Message
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) GetDataFileConfig ¶
func (x *RunConfig) GetDataFileConfig() *DataFileConfig
func (*RunConfig) GetDebugPort ¶
func (*RunConfig) GetDirs ¶
func (x *RunConfig) GetDirs() *RunDirectories
func (*RunConfig) GetFeatures ¶
func (*RunConfig) GetHeartbeatInterval ¶
func (x *RunConfig) GetHeartbeatInterval() *durationpb.Duration
func (*RunConfig) GetMaxSysMsgLogSize ¶
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) GetWaitUntilReady ¶
func (*RunConfig) GetWaitUntilReadyTimeout ¶
func (x *RunConfig) GetWaitUntilReadyTimeout() *durationpb.Duration
func (*RunConfig) ProtoMessage ¶
func (*RunConfig) ProtoMessage()
func (*RunConfig) ProtoReflect ¶
func (x *RunConfig) ProtoReflect() protoreflect.Message
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. 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 (x *RunFixtureRequest) GetPop() *RunFixturePopRequest
func (*RunFixtureRequest) GetPush ¶
func (x *RunFixtureRequest) GetPush() *RunFixturePushRequest
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 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) GetConnectionSpec ¶
func (*SSHConfig) GetKeyFile ¶
func (*SSHConfig) GetProxyCommand ¶
func (*SSHConfig) ProtoMessage ¶
func (*SSHConfig) ProtoMessage()
func (*SSHConfig) ProtoReflect ¶
func (x *SSHConfig) ProtoReflect() protoreflect.Message
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) GetReasons ¶
func (*Skip) ProtoMessage ¶
func (*Skip) ProtoMessage()
func (*Skip) ProtoReflect ¶
func (x *Skip) ProtoReflect() protoreflect.Message
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 fixt