Documentation
¶
Index ¶
- Variables
- type ArchiveStep
- type CommonArgSet
- type LogStep
- type MockArtifact
- func (*MockArtifact) Descriptor() ([]byte, []int)deprecated
- func (x *MockArtifact) GetFileBytes() []byte
- func (x *MockArtifact) GetName() string
- func (*MockArtifact) ProtoMessage()
- func (x *MockArtifact) ProtoReflect() protoreflect.Message
- func (x *MockArtifact) Reset()
- func (x *MockArtifact) String() string
- type MockLog
- type ResultStep
- type SetupStep
- func (*SetupStep) Descriptor() ([]byte, []int)deprecated
- func (x *SetupStep) GetArtifacts() []*MockArtifact
- func (x *SetupStep) GetConfig() *v1.ProgressSinkClientConfig
- func (x *SetupStep) GetLogs() []*MockLog
- func (x *SetupStep) GetResult() *v2.Result
- func (*SetupStep) ProtoMessage()
- func (x *SetupStep) ProtoReflect() protoreflect.Message
- func (x *SetupStep) Reset()
- func (x *SetupStep) String() string
- type Step
- func (*Step) Descriptor() ([]byte, []int)deprecated
- func (x *Step) GetArchive() *ArchiveStep
- func (x *Step) GetLog() *LogStep
- func (x *Step) GetOther() *UnknownStep
- func (x *Step) GetResult() *ResultStep
- func (m *Step) GetStep() isStep_Step
- func (*Step) ProtoMessage()
- func (x *Step) ProtoReflect() protoreflect.Message
- func (x *Step) Reset()
- func (x *Step) String() string
- type Step_Archive
- type Step_Log
- type Step_Other
- type Step_Result
- type Steps
- type TestMap
- type UnknownStep
- func (*UnknownStep) Descriptor() ([]byte, []int)deprecated
- func (x *UnknownStep) GetArgs() map[string]string
- func (x *UnknownStep) GetMethodName() string
- func (*UnknownStep) ProtoMessage()
- func (x *UnknownStep) ProtoReflect() protoreflect.Message
- func (x *UnknownStep) Reset()
- func (x *UnknownStep) String() string
Constants ¶
This section is empty.
Variables ¶
var File_chromiumos_config_api_test_harness_tnull_v1_tnull_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ArchiveStep ¶
type ArchiveStep struct { CommonArgs *CommonArgSet `protobuf:"bytes,1,opt,name=common_args,json=commonArgs,proto3" json:"common_args,omitempty"` // contains filtered or unexported fields }
func (*ArchiveStep) Descriptor
deprecated
func (*ArchiveStep) Descriptor() ([]byte, []int)
Deprecated: Use ArchiveStep.ProtoReflect.Descriptor instead.
func (*ArchiveStep) GetCommonArgs ¶
func (x *ArchiveStep) GetCommonArgs() *CommonArgSet
func (*ArchiveStep) ProtoMessage ¶
func (*ArchiveStep) ProtoMessage()
func (*ArchiveStep) ProtoReflect ¶
func (x *ArchiveStep) ProtoReflect() protoreflect.Message
func (*ArchiveStep) Reset ¶
func (x *ArchiveStep) Reset()
func (*ArchiveStep) String ¶
func (x *ArchiveStep) String() string
type CommonArgSet ¶
type CommonArgSet struct { RequestName string `protobuf:"bytes,1,opt,name=request_name,json=requestName,proto3" json:"request_name,omitempty"` // contains filtered or unexported fields }
func (*CommonArgSet) Descriptor
deprecated
func (*CommonArgSet) Descriptor() ([]byte, []int)
Deprecated: Use CommonArgSet.ProtoReflect.Descriptor instead.
func (*CommonArgSet) GetRequestName ¶
func (x *CommonArgSet) GetRequestName() string
func (*CommonArgSet) ProtoMessage ¶
func (*CommonArgSet) ProtoMessage()
func (*CommonArgSet) ProtoReflect ¶
func (x *CommonArgSet) ProtoReflect() protoreflect.Message
func (*CommonArgSet) Reset ¶
func (x *CommonArgSet) Reset()
func (*CommonArgSet) String ¶
func (x *CommonArgSet) String() string
type LogStep ¶
type LogStep struct { CommonArgs *CommonArgSet `protobuf:"bytes,1,opt,name=common_args,json=commonArgs,proto3" json:"common_args,omitempty"` // contains filtered or unexported fields }
func (*LogStep) Descriptor
deprecated
func (*LogStep) GetCommonArgs ¶
func (x *LogStep) GetCommonArgs() *CommonArgSet
func (*LogStep) ProtoMessage ¶
func (*LogStep) ProtoMessage()
func (*LogStep) ProtoReflect ¶
func (x *LogStep) ProtoReflect() protoreflect.Message
type MockArtifact ¶
type MockArtifact struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` FileBytes []byte `protobuf:"bytes,2,opt,name=file_bytes,json=fileBytes,proto3" json:"file_bytes,omitempty"` // contains filtered or unexported fields }
func (*MockArtifact) Descriptor
deprecated
func (*MockArtifact) Descriptor() ([]byte, []int)
Deprecated: Use MockArtifact.ProtoReflect.Descriptor instead.
func (*MockArtifact) GetFileBytes ¶
func (x *MockArtifact) GetFileBytes() []byte
func (*MockArtifact) GetName ¶
func (x *MockArtifact) GetName() string
func (*MockArtifact) ProtoMessage ¶
func (*MockArtifact) ProtoMessage()
func (*MockArtifact) ProtoReflect ¶
func (x *MockArtifact) ProtoReflect() protoreflect.Message
func (*MockArtifact) Reset ¶
func (x *MockArtifact) Reset()
func (*MockArtifact) String ¶
func (x *MockArtifact) String() string
type MockLog ¶
type MockLog struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*MockLog) Descriptor
deprecated
func (*MockLog) GetMessages ¶
func (*MockLog) ProtoMessage ¶
func (*MockLog) ProtoMessage()
func (*MockLog) ProtoReflect ¶
func (x *MockLog) ProtoReflect() protoreflect.Message
type ResultStep ¶
type ResultStep struct { CommonArgs *CommonArgSet `protobuf:"bytes,1,opt,name=common_args,json=commonArgs,proto3" json:"common_args,omitempty"` // contains filtered or unexported fields }
func (*ResultStep) Descriptor
deprecated
func (*ResultStep) Descriptor() ([]byte, []int)
Deprecated: Use ResultStep.ProtoReflect.Descriptor instead.
func (*ResultStep) GetCommonArgs ¶
func (x *ResultStep) GetCommonArgs() *CommonArgSet
func (*ResultStep) ProtoMessage ¶
func (*ResultStep) ProtoMessage()
func (*ResultStep) ProtoReflect ¶
func (x *ResultStep) ProtoReflect() protoreflect.Message
func (*ResultStep) Reset ¶
func (x *ResultStep) Reset()
func (*ResultStep) String ¶
func (x *ResultStep) String() string
type SetupStep ¶
type SetupStep struct { Config *v1.ProgressSinkClientConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` Result *v2.Result `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` Logs []*MockLog `protobuf:"bytes,4,rep,name=logs,proto3" json:"logs,omitempty"` Artifacts []*MockArtifact `protobuf:"bytes,5,rep,name=artifacts,proto3" json:"artifacts,omitempty"` // contains filtered or unexported fields }
The method arguments for a Setup call
func (*SetupStep) Descriptor
deprecated
func (*SetupStep) GetArtifacts ¶
func (x *SetupStep) GetArtifacts() []*MockArtifact
func (*SetupStep) GetConfig ¶
func (x *SetupStep) GetConfig() *v1.ProgressSinkClientConfig
func (*SetupStep) ProtoMessage ¶
func (*SetupStep) ProtoMessage()
func (*SetupStep) ProtoReflect ¶
func (x *SetupStep) ProtoReflect() protoreflect.Message
type Step ¶
type Step struct { // Types that are assignable to Step: // *Step_Other // *Step_Archive // *Step_Log // *Step_Result Step isStep_Step `protobuf_oneof:"step"` // contains filtered or unexported fields }
A Step is a action to take to execute a test.
func (*Step) Descriptor
deprecated
func (*Step) GetArchive ¶
func (x *Step) GetArchive() *ArchiveStep
func (*Step) GetOther ¶
func (x *Step) GetOther() *UnknownStep
func (*Step) GetResult ¶
func (x *Step) GetResult() *ResultStep
func (*Step) ProtoMessage ¶
func (*Step) ProtoMessage()
func (*Step) ProtoReflect ¶
func (x *Step) ProtoReflect() protoreflect.Message
type Step_Archive ¶
type Step_Archive struct {
Archive *ArchiveStep `protobuf:"bytes,2,opt,name=archive,proto3,oneof"`
}
type Step_Log ¶
type Step_Log struct {
Log *LogStep `protobuf:"bytes,3,opt,name=log,proto3,oneof"`
}
type Step_Other ¶
type Step_Other struct {
Other *UnknownStep `protobuf:"bytes,1,opt,name=other,proto3,oneof"`
}
type Step_Result ¶
type Step_Result struct {
Result *ResultStep `protobuf:"bytes,4,opt,name=result,proto3,oneof"`
}
type Steps ¶
type Steps struct { Setup *SetupStep `protobuf:"bytes,1,opt,name=setup,proto3" json:"setup,omitempty"` Steps []*Step `protobuf:"bytes,2,rep,name=steps,proto3" json:"steps,omitempty"` // contains filtered or unexported fields }
A test with the TNull RTD consists of a Setup step (always executed first) and then a sequence of zero or more Step specifications, each specifying a method to call and the arguments to call it with.
func (*Steps) Descriptor
deprecated
func (*Steps) ProtoMessage ¶
func (*Steps) ProtoMessage()
func (*Steps) ProtoReflect ¶
func (x *Steps) ProtoReflect() protoreflect.Message
type TestMap ¶
type TestMap struct { Lookup map[string]*Steps `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
A TestMap is a purely internal-use format for storing mappings from test names to Steps protos
func (*TestMap) Descriptor
deprecated
func (*TestMap) ProtoMessage ¶
func (*TestMap) ProtoMessage()
func (*TestMap) ProtoReflect ¶
func (x *TestMap) ProtoReflect() protoreflect.Message
type UnknownStep ¶
type UnknownStep struct { MethodName string `protobuf:"bytes,1,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"` // Where the value is a complex object - if that is ever necessary - it will // be interpreted as a JSON-serialized object of whatever type the method // expects for that argument. Args map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
Catchall for rapid iteration. Not guaranteed safe or reliable.
func (*UnknownStep) Descriptor
deprecated
func (*UnknownStep) Descriptor() ([]byte, []int)
Deprecated: Use UnknownStep.ProtoReflect.Descriptor instead.
func (*UnknownStep) GetArgs ¶
func (x *UnknownStep) GetArgs() map[string]string
func (*UnknownStep) GetMethodName ¶
func (x *UnknownStep) GetMethodName() string
func (*UnknownStep) ProtoMessage ¶
func (*UnknownStep) ProtoMessage()
func (*UnknownStep) ProtoReflect ¶
func (x *UnknownStep) ProtoReflect() protoreflect.Message
func (*UnknownStep) Reset ¶
func (x *UnknownStep) Reset()
func (*UnknownStep) String ¶
func (x *UnknownStep) String() string