go-vitess.v1: gopkg.in/src-d/go-vitess.v1/vt/vtctl/grpcvtctlserver Index | Files

package grpcvtctlserver

import "gopkg.in/src-d/go-vitess.v1/vt/vtctl/grpcvtctlserver"

Package grpcvtctlserver contains the gRPC implementation of the server side of the remote execution of vtctl commands.

Index

Package Files

server.go

func StartServer Uses

func StartServer(s *grpc.Server, ts *topo.Server)

StartServer registers the VtctlServer for RPCs

type VtctlServer Uses

type VtctlServer struct {
    // contains filtered or unexported fields
}

VtctlServer is our RPC server

func NewVtctlServer Uses

func NewVtctlServer(ts *topo.Server) *VtctlServer

NewVtctlServer returns a new Vtctl Server for the topo server.

func (*VtctlServer) ExecuteVtctlCommand Uses

func (s *VtctlServer) ExecuteVtctlCommand(args *vtctldatapb.ExecuteVtctlCommandRequest, stream vtctlservicepb.Vtctl_ExecuteVtctlCommandServer) (err error)

ExecuteVtctlCommand is part of the vtctldatapb.VtctlServer interface

Package grpcvtctlserver imports 11 packages (graph) and is imported by 2 packages. Updated 2019-06-13. Refresh now. Tools for package owners.