Documentation ¶
Overview ¶
Package grpcvtworkerserver contains the gRPC implementation of the server side of the remote execution of vtworker commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type VtworkerServer ¶
type VtworkerServer struct {
// contains filtered or unexported fields
}
VtworkerServer is our RPC server
func NewVtworkerServer ¶
func NewVtworkerServer(wi *worker.Instance) *VtworkerServer
NewVtworkerServer returns a new VtworkerServer for the given vtworker instance.
func (*VtworkerServer) ExecuteVtworkerCommand ¶
func (s *VtworkerServer) ExecuteVtworkerCommand(args *vtworkerdatapb.ExecuteVtworkerCommandRequest, stream vtworkerservicepb.Vtworker_ExecuteVtworkerCommandServer) (err error)
ExecuteVtworkerCommand is part of the vtworkerdatapb.VtworkerServer interface
Click to show internal directories.
Click to hide internal directories.