tnull

package
v0.0.0-...-b8a1838 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use LogStep.ProtoReflect.Descriptor instead.

func (*LogStep) GetCommonArgs

func (x *LogStep) GetCommonArgs() *CommonArgSet

func (*LogStep) ProtoMessage

func (*LogStep) ProtoMessage()

func (*LogStep) ProtoReflect

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

func (*LogStep) Reset

func (x *LogStep) Reset()

func (*LogStep) String

func (x *LogStep) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use MockLog.ProtoReflect.Descriptor instead.

func (*MockLog) GetMessages

func (x *MockLog) GetMessages() []string

func (*MockLog) GetName

func (x *MockLog) GetName() string

func (*MockLog) ProtoMessage

func (*MockLog) ProtoMessage()

func (*MockLog) ProtoReflect

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

func (*MockLog) Reset

func (x *MockLog) Reset()

func (*MockLog) String

func (x *MockLog) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use SetupStep.ProtoReflect.Descriptor instead.

func (*SetupStep) GetArtifacts

func (x *SetupStep) GetArtifacts() []*MockArtifact

func (*SetupStep) GetConfig

func (x *SetupStep) GetConfig() *v1.ProgressSinkClientConfig

func (*SetupStep) GetLogs

func (x *SetupStep) GetLogs() []*MockLog

func (*SetupStep) GetResult

func (x *SetupStep) GetResult() *v2.Result

func (*SetupStep) ProtoMessage

func (*SetupStep) ProtoMessage()

func (*SetupStep) ProtoReflect

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

func (*SetupStep) Reset

func (x *SetupStep) Reset()

func (*SetupStep) String

func (x *SetupStep) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Step.ProtoReflect.Descriptor instead.

func (*Step) GetArchive

func (x *Step) GetArchive() *ArchiveStep

func (*Step) GetLog

func (x *Step) GetLog() *LogStep

func (*Step) GetOther

func (x *Step) GetOther() *UnknownStep

func (*Step) GetResult

func (x *Step) GetResult() *ResultStep

func (*Step) GetStep

func (m *Step) GetStep() isStep_Step

func (*Step) ProtoMessage

func (*Step) ProtoMessage()

func (*Step) ProtoReflect

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

func (*Step) Reset

func (x *Step) Reset()

func (*Step) String

func (x *Step) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Steps.ProtoReflect.Descriptor instead.

func (*Steps) GetSetup

func (x *Steps) GetSetup() *SetupStep

func (*Steps) GetSteps

func (x *Steps) GetSteps() []*Step

func (*Steps) ProtoMessage

func (*Steps) ProtoMessage()

func (*Steps) ProtoReflect

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

func (*Steps) Reset

func (x *Steps) Reset()

func (*Steps) String

func (x *Steps) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use TestMap.ProtoReflect.Descriptor instead.

func (*TestMap) GetLookup

func (x *TestMap) GetLookup() map[string]*Steps

func (*TestMap) ProtoMessage

func (*TestMap) ProtoMessage()

func (*TestMap) ProtoReflect

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

func (*TestMap) Reset

func (x *TestMap) Reset()

func (*TestMap) String

func (x *TestMap) String() string

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

Jump to

Keyboard shortcuts

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