Version: v0.11.1 Latest Latest

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

Go to latest
Published: Sep 9, 2021 License: Apache-2.0 Imports: 8 Imported by: 2




This section is empty.


View Source
var File_vtworkerservice_proto protoreflect.FileDescriptor
View Source
var Vtworker_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "vtworkerservice.Vtworker",
	HandlerType: (*VtworkerServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
			StreamName:    "ExecuteVtworkerCommand",
			Handler:       _Vtworker_ExecuteVtworkerCommand_Handler,
			ServerStreams: true,
	Metadata: "vtworkerservice.proto",

Vtworker_ServiceDesc is the grpc.ServiceDesc for Vtworker service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)


func RegisterVtworkerServer

func RegisterVtworkerServer(s grpc.ServiceRegistrar, srv VtworkerServer)


type UnimplementedVtworkerServer

type UnimplementedVtworkerServer struct {

UnimplementedVtworkerServer must be embedded to have forward compatible implementations.

type UnsafeVtworkerServer added in v0.11.0

type UnsafeVtworkerServer interface {
	// contains filtered or unexported methods

UnsafeVtworkerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VtworkerServer will result in compilation errors.

type VtworkerClient

type VtworkerClient interface {
	// ExecuteVtworkerCommand allows to run a vtworker command by specifying the
	// same arguments as on the command line.
	ExecuteVtworkerCommand(ctx context.Context, in *vtworkerdata.ExecuteVtworkerCommandRequest, opts ...grpc.CallOption) (Vtworker_ExecuteVtworkerCommandClient, error)

VtworkerClient is the client API for Vtworker service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewVtworkerClient

func NewVtworkerClient(cc grpc.ClientConnInterface) VtworkerClient

type VtworkerServer

type VtworkerServer interface {
	// ExecuteVtworkerCommand allows to run a vtworker command by specifying the
	// same arguments as on the command line.
	ExecuteVtworkerCommand(*vtworkerdata.ExecuteVtworkerCommandRequest, Vtworker_ExecuteVtworkerCommandServer) error
	// contains filtered or unexported methods

VtworkerServer is the server API for Vtworker service. All implementations must embed UnimplementedVtworkerServer for forward compatibility

type Vtworker_ExecuteVtworkerCommandClient

type Vtworker_ExecuteVtworkerCommandClient interface {
	Recv() (*vtworkerdata.ExecuteVtworkerCommandResponse, error)

type Vtworker_ExecuteVtworkerCommandServer

type Vtworker_ExecuteVtworkerCommandServer interface {
	Send(*vtworkerdata.ExecuteVtworkerCommandResponse) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL