gnmitest

package
v0.0.0-...-6fa03d5 Latest Latest
Warning

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

Go to latest
Published: May 4, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_gnmitest_gnmitest_proto protoreflect.FileDescriptor

Functions

func RegisterGNMITestServer

func RegisterGNMITestServer(s *grpc.Server, srv GNMITestServer)

Types

type GNMITestClient

type GNMITestClient interface {
	// Run runs the given Suite proto and returns Report proto.
	Run(ctx context.Context, in *suite.Suite, opts ...grpc.CallOption) (*report.Report, error)
}

GNMITestClient is the client API for GNMITest service.

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

func NewGNMITestClient

func NewGNMITestClient(cc grpc.ClientConnInterface) GNMITestClient

type GNMITestServer

type GNMITestServer interface {
	// Run runs the given Suite proto and returns Report proto.
	Run(context.Context, *suite.Suite) (*report.Report, error)
}

GNMITestServer is the server API for GNMITest service.

type UnimplementedGNMITestServer

type UnimplementedGNMITestServer struct {
}

UnimplementedGNMITestServer can be embedded to have forward compatible implementations.

func (*UnimplementedGNMITestServer) Run

Jump to

Keyboard shortcuts

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