Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterVtctlServer ¶
func RegisterVtctlServer(s *grpc.Server, srv VtctlServer)
Types ¶
type UnimplementedVtctlServer ¶ added in v1.0.1
type UnimplementedVtctlServer struct { }
UnimplementedVtctlServer can be embedded to have forward compatible implementations.
func (*UnimplementedVtctlServer) ExecuteVtctlCommand ¶ added in v1.0.1
func (*UnimplementedVtctlServer) ExecuteVtctlCommand(req *vtctldata.ExecuteVtctlCommandRequest, srv Vtctl_ExecuteVtctlCommandServer) error
type VtctlClient ¶
type VtctlClient interface {
ExecuteVtctlCommand(ctx context.Context, in *vtctldata.ExecuteVtctlCommandRequest, opts ...grpc.CallOption) (Vtctl_ExecuteVtctlCommandClient, error)
}
VtctlClient is the client API for Vtctl service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewVtctlClient ¶
func NewVtctlClient(cc *grpc.ClientConn) VtctlClient
type VtctlServer ¶
type VtctlServer interface {
ExecuteVtctlCommand(*vtctldata.ExecuteVtctlCommandRequest, Vtctl_ExecuteVtctlCommandServer) error
}
VtctlServer is the server API for Vtctl service.
type Vtctl_ExecuteVtctlCommandClient ¶
type Vtctl_ExecuteVtctlCommandClient interface { Recv() (*vtctldata.ExecuteVtctlCommandResponse, error) grpc.ClientStream }
type Vtctl_ExecuteVtctlCommandServer ¶
type Vtctl_ExecuteVtctlCommandServer interface { Send(*vtctldata.ExecuteVtctlCommandResponse) error grpc.ServerStream }
Click to show internal directories.
Click to hide internal directories.