Back to godoc.org

Package rtd

v0.0.0-...-506d786
Latest Go to latest

The latest major version is .

Published: Oct 14, 2020 | License: BSD-3-Clause | Module: go.chromium.org/chromiumos/config/go

Index

func RegisterProgressSinkServer

func RegisterProgressSinkServer(s *grpc.Server, srv ProgressSinkServer)

type ArchiveArtifactRequest

type ArchiveArtifactRequest struct {
	// Name for the archived artifact.
	//
	// name may be interpreted as a local file path or part of a URL. name MUST be
	// a valid resource name per https://aip.dev/122 and MUST be a valid POSIX
	// file path.
	//
	// name MUST be unique across all artifacts archived from a single invocation
	// request.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The request to archive artifacts for, identified by the
	// Invocation.Request.name field.
	Request string `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
	// Absolute path to a file or directory to archive.
	LocalPath            string   `protobuf:"bytes,3,opt,name=local_path,json=localPath,proto3" json:"local_path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ArchiveArtifactRequest) Descriptor

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

func (*ArchiveArtifactRequest) GetLocalPath

func (m *ArchiveArtifactRequest) GetLocalPath() string

func (*ArchiveArtifactRequest) GetName

func (m *ArchiveArtifactRequest) GetName() string

func (*ArchiveArtifactRequest) GetRequest

func (m *ArchiveArtifactRequest) GetRequest() string

func (*ArchiveArtifactRequest) ProtoMessage

func (*ArchiveArtifactRequest) ProtoMessage()

func (*ArchiveArtifactRequest) Reset

func (m *ArchiveArtifactRequest) Reset()

func (*ArchiveArtifactRequest) String

func (m *ArchiveArtifactRequest) String() string

func (*ArchiveArtifactRequest) XXX_DiscardUnknown

func (m *ArchiveArtifactRequest) XXX_DiscardUnknown()

func (*ArchiveArtifactRequest) XXX_Marshal

func (m *ArchiveArtifactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArchiveArtifactRequest) XXX_Merge

func (m *ArchiveArtifactRequest) XXX_Merge(src proto.Message)

func (*ArchiveArtifactRequest) XXX_Size

func (m *ArchiveArtifactRequest) XXX_Size() int

func (*ArchiveArtifactRequest) XXX_Unmarshal

func (m *ArchiveArtifactRequest) XXX_Unmarshal(b []byte) error

type ArchiveArtifactResponse

type ArchiveArtifactResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ArchiveArtifactResponse) Descriptor

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

func (*ArchiveArtifactResponse) ProtoMessage

func (*ArchiveArtifactResponse) ProtoMessage()

func (*ArchiveArtifactResponse) Reset

func (m *ArchiveArtifactResponse) Reset()

func (*ArchiveArtifactResponse) String

func (m *ArchiveArtifactResponse) String() string

func (*ArchiveArtifactResponse) XXX_DiscardUnknown

func (m *ArchiveArtifactResponse) XXX_DiscardUnknown()

func (*ArchiveArtifactResponse) XXX_Marshal

func (m *ArchiveArtifactResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArchiveArtifactResponse) XXX_Merge

func (m *ArchiveArtifactResponse) XXX_Merge(src proto.Message)

func (*ArchiveArtifactResponse) XXX_Size

func (m *ArchiveArtifactResponse) XXX_Size() int

func (*ArchiveArtifactResponse) XXX_Unmarshal

func (m *ArchiveArtifactResponse) XXX_Unmarshal(b []byte) error

type DUT

type DUT struct {
	// Name for the DUT for using Test Lab Services to interact with the
	// device and its peripherals.
	//
	// The RTD MUST pass this to Test Lab Service RPCs that act on a particular
	// DUT. See the tls.OpenDutPortRequest message for an example of where
	// this is used.
	TlsDutName           string   `protobuf:"bytes,1,opt,name=tls_dut_name,json=tlsDutName,proto3" json:"tls_dut_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Contains all configuration data required to interact with a single device under test during a test invocation.

func (*DUT) Descriptor

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

func (*DUT) GetTlsDutName

func (m *DUT) GetTlsDutName() string

func (*DUT) ProtoMessage

func (*DUT) ProtoMessage()

func (*DUT) Reset

func (m *DUT) Reset()

func (*DUT) String

func (m *DUT) String() string

func (*DUT) XXX_DiscardUnknown

func (m *DUT) XXX_DiscardUnknown()

func (*DUT) XXX_Marshal

func (m *DUT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DUT) XXX_Merge

func (m *DUT) XXX_Merge(src proto.Message)

func (*DUT) XXX_Size

func (m *DUT) XXX_Size() int

func (*DUT) XXX_Unmarshal

func (m *DUT) XXX_Unmarshal(b []byte) error

type Invocation

type Invocation struct {
	ProgressSinkClientConfig *ProgressSinkClientConfig "" /* 137 byte string literal not displayed */

	Duts []*DUT `protobuf:"bytes,2,rep,name=duts,proto3" json:"duts,omitempty"`

	Requests []*Request `protobuf:"bytes,3,rep,name=requests,proto3" json:"requests,omitempty"`

	TestLabServicesConfig *TLSClientConfig "" /* 128 byte string literal not displayed */
	XXX_NoUnkeyedLiteral  struct{}         `json:"-"`
	XXX_unrecognized      []byte           `json:"-"`
	XXX_sizecache         int32            `json:"-"`
}

Input to a Remote Test Driver invocation.

TODO(crbug.com/1051691): Link to a reference implementation of Remote Test Server & Remote Test Driver.

func (*Invocation) Descriptor

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

func (*Invocation) GetDuts

func (m *Invocation) GetDuts() []*DUT

func (*Invocation) GetProgressSinkClientConfig

func (m *Invocation) GetProgressSinkClientConfig() *ProgressSinkClientConfig

func (*Invocation) GetRequests

func (m *Invocation) GetRequests() []*Request

func (*Invocation) GetTestLabServicesConfig

func (m *Invocation) GetTestLabServicesConfig() *TLSClientConfig

func (*Invocation) ProtoMessage

func (*Invocation) ProtoMessage()

func (*Invocation) Reset

func (m *Invocation) Reset()

func (*Invocation) String

func (m *Invocation) String() string

func (*Invocation) XXX_DiscardUnknown

func (m *Invocation) XXX_DiscardUnknown()

func (*Invocation) XXX_Marshal

func (m *Invocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Invocation) XXX_Merge

func (m *Invocation) XXX_Merge(src proto.Message)

func (*Invocation) XXX_Size

func (m *Invocation) XXX_Size() int

func (*Invocation) XXX_Unmarshal

func (m *Invocation) XXX_Unmarshal(b []byte) error

type ProgressSinkClient

type ProgressSinkClient interface {
	// A Remote Test Driver invocation MUST call ReportResult exactly once per
	// request.
	ReportResult(ctx context.Context, in *ReportResultRequest, opts ...grpc.CallOption) (*ReportResultResponse, error)
	// A log stream from the Remote Test Driver invocation.
	//
	// Each call to this method MUST stream logs for a single invocation request
	// and log file. Data for the same file may be split over multiple ReportLog
	// calls. Data received from concurrent methods calls for the same log file
	// may be interleved arbitrarily.
	ReportLog(ctx context.Context, opts ...grpc.CallOption) (ProgressSink_ReportLogClient, error)
	// Archive test artifacts to non-ephemeral storage.
	//
	// Different Test Lab Environments may use very different non-ephemeral
	// storage technologies. Remote Test Servers MUST archive the artifacts to
	// final storage synchronously and return an error if the archival fails.
	//
	// Note: Remote Test Drivers SHOULD use ReportLog() to report logs.
	// ArchiveArtifact() SHOULD be used to report structured or binary data only.
	//
	// Remote Test Server may limit the size of artifacts that may be offloaded
	// per request and may fail further requests with RESOURCE_EXHAUSTED.
	ArchiveArtifact(ctx context.Context, in *ArchiveArtifactRequest, opts ...grpc.CallOption) (*ArchiveArtifactResponse, error)
}

ProgressSinkClient is the client API for ProgressSink service.

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

func NewProgressSinkClient

func NewProgressSinkClient(cc *grpc.ClientConn) ProgressSinkClient

type ProgressSinkClientConfig

type ProgressSinkClientConfig struct {
	// Local TCP port to be used by the Remote Test Driver to communicate with
	// InvocationProgressSink service.
	Port                 int32    `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Configuration data needed by clients of ProgressSink.

func (*ProgressSinkClientConfig) Descriptor

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

func (*ProgressSinkClientConfig) GetPort

func (m *ProgressSinkClientConfig) GetPort() int32

func (*ProgressSinkClientConfig) ProtoMessage

func (*ProgressSinkClientConfig) ProtoMessage()

func (*ProgressSinkClientConfig) Reset

func (m *ProgressSinkClientConfig) Reset()

func (*ProgressSinkClientConfig) String

func (m *ProgressSinkClientConfig) String() string

func (*ProgressSinkClientConfig) XXX_DiscardUnknown

func (m *ProgressSinkClientConfig) XXX_DiscardUnknown()

func (*ProgressSinkClientConfig) XXX_Marshal

func (m *ProgressSinkClientConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProgressSinkClientConfig) XXX_Merge

func (m *ProgressSinkClientConfig) XXX_Merge(src proto.Message)

func (*ProgressSinkClientConfig) XXX_Size

func (m *ProgressSinkClientConfig) XXX_Size() int

func (*ProgressSinkClientConfig) XXX_Unmarshal

func (m *ProgressSinkClientConfig) XXX_Unmarshal(b []byte) error

type ProgressSinkServer

type ProgressSinkServer interface {
	// A Remote Test Driver invocation MUST call ReportResult exactly once per
	// request.
	ReportResult(context.Context, *ReportResultRequest) (*ReportResultResponse, error)
	// A log stream from the Remote Test Driver invocation.
	//
	// Each call to this method MUST stream logs for a single invocation request
	// and log file. Data for the same file may be split over multiple ReportLog
	// calls. Data received from concurrent methods calls for the same log file
	// may be interleved arbitrarily.
	ReportLog(ProgressSink_ReportLogServer) error
	// Archive test artifacts to non-ephemeral storage.
	//
	// Different Test Lab Environments may use very different non-ephemeral
	// storage technologies. Remote Test Servers MUST archive the artifacts to
	// final storage synchronously and return an error if the archival fails.
	//
	// Note: Remote Test Drivers SHOULD use ReportLog() to report logs.
	// ArchiveArtifact() SHOULD be used to report structured or binary data only.
	//
	// Remote Test Server may limit the size of artifacts that may be offloaded
	// per request and may fail further requests with RESOURCE_EXHAUSTED.
	ArchiveArtifact(context.Context, *ArchiveArtifactRequest) (*ArchiveArtifactResponse, error)
}

ProgressSinkServer is the server API for ProgressSink service.

type ProgressSink_ReportLogClient

type ProgressSink_ReportLogClient interface {
	Send(*ReportLogRequest) error
	CloseAndRecv() (*ReportLogResponse, error)
	grpc.ClientStream
}

type ProgressSink_ReportLogServer

type ProgressSink_ReportLogServer interface {
	SendAndClose(*ReportLogResponse) error
	Recv() (*ReportLogRequest, error)
	grpc.ServerStream
}

type ReportLogRequest

type ReportLogRequest struct {
	// Name of the log sink.
	//
	// name may be interpreted as a local file path or part of a URL. name MUST be
	// a valid resource name per https://aip.dev/122 and MUST be a valid POSIX
	// file path.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The request to report logs for, identified by the
	// Invocation.Request.name field.
	Request string `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
	// Uninterpreted chunk of log-data.
	Data                 []byte   `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReportLogRequest) Descriptor

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

func (*ReportLogRequest) GetData

func (m *ReportLogRequest) GetData() []byte

func (*ReportLogRequest) GetName

func (m *ReportLogRequest) GetName() string

func (*ReportLogRequest) GetRequest

func (m *ReportLogRequest) GetRequest() string

func (*ReportLogRequest) ProtoMessage

func (*ReportLogRequest) ProtoMessage()

func (*ReportLogRequest) Reset

func (m *ReportLogRequest) Reset()

func (*ReportLogRequest) String

func (m *ReportLogRequest) String() string

func (*ReportLogRequest) XXX_DiscardUnknown

func (m *ReportLogRequest) XXX_DiscardUnknown()

func (*ReportLogRequest) XXX_Marshal

func (m *ReportLogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReportLogRequest) XXX_Merge

func (m *ReportLogRequest) XXX_Merge(src proto.Message)

func (*ReportLogRequest) XXX_Size

func (m *ReportLogRequest) XXX_Size() int

func (*ReportLogRequest) XXX_Unmarshal

func (m *ReportLogRequest) XXX_Unmarshal(b []byte) error

type ReportLogResponse

type ReportLogResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReportLogResponse) Descriptor

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

func (*ReportLogResponse) ProtoMessage

func (*ReportLogResponse) ProtoMessage()

func (*ReportLogResponse) Reset

func (m *ReportLogResponse) Reset()

func (*ReportLogResponse) String

func (m *ReportLogResponse) String() string

func (*ReportLogResponse) XXX_DiscardUnknown

func (m *ReportLogResponse) XXX_DiscardUnknown()

func (*ReportLogResponse) XXX_Marshal

func (m *ReportLogResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReportLogResponse) XXX_Merge

func (m *ReportLogResponse) XXX_Merge(src proto.Message)

func (*ReportLogResponse) XXX_Size

func (m *ReportLogResponse) XXX_Size() int

func (*ReportLogResponse) XXX_Unmarshal

func (m *ReportLogResponse) XXX_Unmarshal(b []byte) error

type ReportResultRequest

type ReportResultRequest struct {
	// The request to report results for, identified by the
	// Invocation.Request.name field.
	Request string `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	// Result to report.
	Result               *v2.Result `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ReportResultRequest) Descriptor

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

func (*ReportResultRequest) GetRequest

func (m *ReportResultRequest) GetRequest() string

func (*ReportResultRequest) GetResult

func (m *ReportResultRequest) GetResult() *v2.Result

func (*ReportResultRequest) ProtoMessage

func (*ReportResultRequest) ProtoMessage()

func (*ReportResultRequest) Reset

func (m *ReportResultRequest) Reset()

func (*ReportResultRequest) String

func (m *ReportResultRequest) String() string

func (*ReportResultRequest) XXX_DiscardUnknown

func (m *ReportResultRequest) XXX_DiscardUnknown()

func (*ReportResultRequest) XXX_Marshal

func (m *ReportResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReportResultRequest) XXX_Merge

func (m *ReportResultRequest) XXX_Merge(src proto.Message)

func (*ReportResultRequest) XXX_Size

func (m *ReportResultRequest) XXX_Size() int

func (*ReportResultRequest) XXX_Unmarshal

func (m *ReportResultRequest) XXX_Unmarshal(b []byte) error

type ReportResultResponse

type ReportResultResponse struct {
	// If set, the invocation SHOULD immediately terminate, skipping remaining
	// requests.
	Terminate            bool     `protobuf:"varint,1,opt,name=terminate,proto3" json:"terminate,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReportResultResponse) Descriptor

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

func (*ReportResultResponse) GetTerminate

func (m *ReportResultResponse) GetTerminate() bool

func (*ReportResultResponse) ProtoMessage

func (*ReportResultResponse) ProtoMessage()

func (*ReportResultResponse) Reset

func (m *ReportResultResponse) Reset()

func (*ReportResultResponse) String

func (m *ReportResultResponse) String() string

func (*ReportResultResponse) XXX_DiscardUnknown

func (m *ReportResultResponse) XXX_DiscardUnknown()

func (*ReportResultResponse) XXX_Marshal

func (m *ReportResultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReportResultResponse) XXX_Merge

func (m *ReportResultResponse) XXX_Merge(src proto.Message)

func (*ReportResultResponse) XXX_Size

func (m *ReportResultResponse) XXX_Size() int

func (*ReportResultResponse) XXX_Unmarshal

func (m *ReportResultResponse) XXX_Unmarshal(b []byte) error

type Request

type Request struct {
	// name MUST be unique across all requests in this invocation.
	//
	// Remote Test Drivers are recommended to use name as the opaque tag
	// required by the Test Lab Services API. Thus, name SHOULD be unique across
	// all invocations to simplify analytics. UUIDs are recommended.
	//
	// See also:
	//   Test Lab Services API: tls/README.md
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The test to execute, identified by the test.metadata.Test.name field.
	//
	// Note that the request does not contain a reference to the Remote Test
	// Driver to use, as the request is an input to the Remote Test Driver
	// invocation.
	Test string `protobuf:"bytes,2,opt,name=test,proto3" json:"test,omitempty"`
	// Environment configuration set by the Remote Test Server for a specific
	// request of the Remote Test Driver.
	Environment          *Request_Environment `protobuf:"bytes,3,opt,name=environment,proto3" json:"environment,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request for execution of a single test.metadata.Test

func (*Request) Descriptor

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

func (*Request) GetEnvironment

func (m *Request) GetEnvironment() *Request_Environment

func (*Request) GetName

func (m *Request) GetName() string

func (*Request) GetTest

func (m *Request) GetTest() string

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

func (*Request) XXX_DiscardUnknown

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal

func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Request) XXX_Merge

func (m *Request) XXX_Merge(src proto.Message)

func (*Request) XXX_Size

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal

func (m *Request) XXX_Unmarshal(b []byte) error

type Request_Environment

type Request_Environment struct {
	// Absolute path to a directory for writing arbitrary files.
	//
	// This directory MUST be created by Remote Test Server prior to the Remote
	// Test Driver invocation.
	//
	// * Remote Test Drivers SHOULD use
	// test.invocation.ProgressClient.ReportLog() to report logs.
	// * Remote Test Drivers SHOULD use
	// test.invocation.ProgressClient.ArchiveArtifact() to archive critical
	// artifacts.
	//
	// Remote Test Servers may archive the work_dir contents to non-ephemeral
	// storage as a best effort asynchronous task.
	WorkDir string `protobuf:"bytes,1,opt,name=work_dir,json=workDir,proto3" json:"work_dir,omitempty"`
	// Absolute path to a directory for writing temporary files.
	//
	// This directory MUST be created by Remote Test Server prior to the Remote
	// Test Driver invocation.
	//
	// Remote Test Drivers MUST use this directory for temporary files and MUST
	// NOT attempt to use defaults like /tmp or the TMP environment variable.
	//
	// See also: Environment.work_dir
	TempDir              string   `protobuf:"bytes,2,opt,name=temp_dir,json=tempDir,proto3" json:"temp_dir,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Per-request Remote Test Server environment configuration.

func (*Request_Environment) Descriptor

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

func (*Request_Environment) GetTempDir

func (m *Request_Environment) GetTempDir() string

func (*Request_Environment) GetWorkDir

func (m *Request_Environment) GetWorkDir() string

func (*Request_Environment) ProtoMessage

func (*Request_Environment) ProtoMessage()

func (*Request_Environment) Reset

func (m *Request_Environment) Reset()

func (*Request_Environment) String

func (m *Request_Environment) String() string

func (*Request_Environment) XXX_DiscardUnknown

func (m *Request_Environment) XXX_DiscardUnknown()

func (*Request_Environment) XXX_Marshal

func (m *Request_Environment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Request_Environment) XXX_Merge

func (m *Request_Environment) XXX_Merge(src proto.Message)

func (*Request_Environment) XXX_Size

func (m *Request_Environment) XXX_Size() int

func (*Request_Environment) XXX_Unmarshal

func (m *Request_Environment) XXX_Unmarshal(b []byte) error

type TLSClientConfig

type TLSClientConfig struct {
	// Address where Test Lab Services is reachable.
	// This should be an IPv4 or IPv6 address to avoid name
	// resolution issues.
	// IPv4 addresses will be in standard dotted decimal notation.
	// IPv6 addresses will be formatted according to RFC4291, Section
	// 2.2, 1. (no zero compression)
	// If this is a hostname, the RTS should ensure that the hostname
	// can be resolved by the RTD via standard name resolution
	// facilities.
	TlsAddress string `protobuf:"bytes,1,opt,name=tls_address,json=tlsAddress,proto3" json:"tls_address,omitempty"`
	// Port on the tls_address where the service is reachable.
	TlsPort int32 `protobuf:"varint,2,opt,name=tls_port,json=tlsPort,proto3" json:"tls_port,omitempty"`
	// Address where Test Lab Services Wiring is reachable.
	// This has the same format as tls_address.
	TlwAddress string `protobuf:"bytes,3,opt,name=tlw_address,json=tlwAddress,proto3" json:"tlw_address,omitempty"`
	// Port on the tlw_address where the service is reachable.
	TlwPort              int32    `protobuf:"varint,4,opt,name=tlw_port,json=tlwPort,proto3" json:"tlw_port,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Configuration information required for using Test Lab & Wiring Services.

func (*TLSClientConfig) Descriptor

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

func (*TLSClientConfig) GetTlsAddress

func (m *TLSClientConfig) GetTlsAddress() string

func (*TLSClientConfig) GetTlsPort

func (m *TLSClientConfig) GetTlsPort() int32

func (*TLSClientConfig) GetTlwAddress

func (m *TLSClientConfig) GetTlwAddress() string

func (*TLSClientConfig) GetTlwPort

func (m *TLSClientConfig) GetTlwPort() int32

func (*TLSClientConfig) ProtoMessage

func (*TLSClientConfig) ProtoMessage()

func (*TLSClientConfig) Reset

func (m *TLSClientConfig) Reset()

func (*TLSClientConfig) String

func (m *TLSClientConfig) String() string

func (*TLSClientConfig) XXX_DiscardUnknown

func (m *TLSClientConfig) XXX_DiscardUnknown()

func (*TLSClientConfig) XXX_Marshal

func (m *TLSClientConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TLSClientConfig) XXX_Merge

func (m *TLSClientConfig) XXX_Merge(src proto.Message)

func (*TLSClientConfig) XXX_Size

func (m *TLSClientConfig) XXX_Size() int

func (*TLSClientConfig) XXX_Unmarshal

func (m *TLSClientConfig) XXX_Unmarshal(b []byte) error

type UnimplementedProgressSinkServer

type UnimplementedProgressSinkServer struct {
}

UnimplementedProgressSinkServer can be embedded to have forward compatible implementations.

func (*UnimplementedProgressSinkServer) ArchiveArtifact

func (*UnimplementedProgressSinkServer) ArchiveArtifact(ctx context.Context, req *ArchiveArtifactRequest) (*ArchiveArtifactResponse, error)

func (*UnimplementedProgressSinkServer) ReportLog

func (*UnimplementedProgressSinkServer) ReportLog(srv ProgressSink_ReportLogServer) error

func (*UnimplementedProgressSinkServer) ReportResult

func (*UnimplementedProgressSinkServer) ReportResult(ctx context.Context, req *ReportResultRequest) (*ReportResultResponse, error)

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier