grpcvtctlserver

package
v0.13.3 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServer

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

StartServer registers the VtctlServer for RPCs

Types

type VtctlServer

type VtctlServer struct {
	vtctlservicepb.UnimplementedVtctlServer
	// contains filtered or unexported fields
}

VtctlServer is our RPC server

func NewVtctlServer

func NewVtctlServer(ts *topo.Server) *VtctlServer

NewVtctlServer returns a new Vtctl Server for the topo server.

func (*VtctlServer) ExecuteVtctlCommand

ExecuteVtctlCommand is part of the vtctldatapb.VtctlServer interface

Jump to

Keyboard shortcuts

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