go-vitess.v1: gopkg.in/src-d/go-vitess.v1/vt/proto/vtworkerservice Index | Files

package vtworkerservice

import "gopkg.in/src-d/go-vitess.v1/vt/proto/vtworkerservice"

Index

Package Files

vtworkerservice.pb.go

func RegisterVtworkerServer Uses

func RegisterVtworkerServer(s *grpc.Server, srv VtworkerServer)

type VtworkerClient Uses

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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewVtworkerClient Uses

func NewVtworkerClient(cc *grpc.ClientConn) VtworkerClient

type VtworkerServer Uses

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
}

VtworkerServer is the server API for Vtworker service.

type Vtworker_ExecuteVtworkerCommandClient Uses

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

type Vtworker_ExecuteVtworkerCommandServer Uses

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

Package vtworkerservice imports 6 packages (graph) and is imported by 4 packages. Updated 2019-06-13. Refresh now. Tools for package owners.