Add RPC definition for GetSrvVSchema, do all the autogenerated stuff

Signed-off-by: Andrew Mason <amason@slack-corp.com>
This commit is contained in:
Andrew Mason 2021-01-19 22:08:28 -05:00
Родитель 99cd872c04
Коммит 97e552b0fc
6 изменённых файлов: 248 добавлений и 99 удалений

Просмотреть файл

@ -11,6 +11,7 @@ import (
duration "github.com/golang/protobuf/ptypes/duration"
logutil "vitess.io/vitess/go/vt/proto/logutil"
topodata "vitess.io/vitess/go/vt/proto/topodata"
vschema "vitess.io/vitess/go/vt/proto/vschema"
)
// Reference imports to suppress errors if they are not otherwise used.
@ -479,6 +480,84 @@ func (m *GetKeyspaceResponse) GetKeyspace() *Keyspace {
return nil
}
type GetSrvVSchemaRequest struct {
Cell string `protobuf:"bytes,1,opt,name=cell,proto3" json:"cell,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetSrvVSchemaRequest) Reset() { *m = GetSrvVSchemaRequest{} }
func (m *GetSrvVSchemaRequest) String() string { return proto.CompactTextString(m) }
func (*GetSrvVSchemaRequest) ProtoMessage() {}
func (*GetSrvVSchemaRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_f41247b323a1ab2e, []int{12}
}
func (m *GetSrvVSchemaRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetSrvVSchemaRequest.Unmarshal(m, b)
}
func (m *GetSrvVSchemaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetSrvVSchemaRequest.Marshal(b, m, deterministic)
}
func (m *GetSrvVSchemaRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetSrvVSchemaRequest.Merge(m, src)
}
func (m *GetSrvVSchemaRequest) XXX_Size() int {
return xxx_messageInfo_GetSrvVSchemaRequest.Size(m)
}
func (m *GetSrvVSchemaRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetSrvVSchemaRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetSrvVSchemaRequest proto.InternalMessageInfo
func (m *GetSrvVSchemaRequest) GetCell() string {
if m != nil {
return m.Cell
}
return ""
}
type GetSrvVSchemaResponse struct {
SrvVSchema *vschema.SrvVSchema `protobuf:"bytes,1,opt,name=srv_v_schema,json=srvVSchema,proto3" json:"srv_v_schema,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetSrvVSchemaResponse) Reset() { *m = GetSrvVSchemaResponse{} }
func (m *GetSrvVSchemaResponse) String() string { return proto.CompactTextString(m) }
func (*GetSrvVSchemaResponse) ProtoMessage() {}
func (*GetSrvVSchemaResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_f41247b323a1ab2e, []int{13}
}
func (m *GetSrvVSchemaResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetSrvVSchemaResponse.Unmarshal(m, b)
}
func (m *GetSrvVSchemaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetSrvVSchemaResponse.Marshal(b, m, deterministic)
}
func (m *GetSrvVSchemaResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetSrvVSchemaResponse.Merge(m, src)
}
func (m *GetSrvVSchemaResponse) XXX_Size() int {
return xxx_messageInfo_GetSrvVSchemaResponse.Size(m)
}
func (m *GetSrvVSchemaResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetSrvVSchemaResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetSrvVSchemaResponse proto.InternalMessageInfo
func (m *GetSrvVSchemaResponse) GetSrvVSchema() *vschema.SrvVSchema {
if m != nil {
return m.SrvVSchema
}
return nil
}
type GetTabletRequest struct {
TabletAlias *topodata.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
@ -490,7 +569,7 @@ func (m *GetTabletRequest) Reset() { *m = GetTabletRequest{} }
func (m *GetTabletRequest) String() string { return proto.CompactTextString(m) }
func (*GetTabletRequest) ProtoMessage() {}
func (*GetTabletRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_f41247b323a1ab2e, []int{12}
return fileDescriptor_f41247b323a1ab2e, []int{14}
}
func (m *GetTabletRequest) XXX_Unmarshal(b []byte) error {
@ -529,7 +608,7 @@ func (m *GetTabletResponse) Reset() { *m = GetTabletResponse{} }
func (m *GetTabletResponse) String() string { return proto.CompactTextString(m) }
func (*GetTabletResponse) ProtoMessage() {}
func (*GetTabletResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_f41247b323a1ab2e, []int{13}
return fileDescriptor_f41247b323a1ab2e, []int{15}
}
func (m *GetTabletResponse) XXX_Unmarshal(b []byte) error {
@ -575,7 +654,7 @@ func (m *GetTabletsRequest) Reset() { *m = GetTabletsRequest{} }
func (m *GetTabletsRequest) String() string { return proto.CompactTextString(m) }
func (*GetTabletsRequest) ProtoMessage() {}
func (*GetTabletsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_f41247b323a1ab2e, []int{14}
return fileDescriptor_f41247b323a1ab2e, []int{16}
}
func (m *GetTabletsRequest) XXX_Unmarshal(b []byte) error {
@ -628,7 +707,7 @@ func (m *GetTabletsResponse) Reset() { *m = GetTabletsResponse{} }
func (m *GetTabletsResponse) String() string { return proto.CompactTextString(m) }
func (*GetTabletsResponse) ProtoMessage() {}
func (*GetTabletsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_f41247b323a1ab2e, []int{15}
return fileDescriptor_f41247b323a1ab2e, []int{17}
}
func (m *GetTabletsResponse) XXX_Unmarshal(b []byte) error {
@ -671,7 +750,7 @@ func (m *InitShardPrimaryRequest) Reset() { *m = InitShardPrimaryRequest
func (m *InitShardPrimaryRequest) String() string { return proto.CompactTextString(m) }
func (*InitShardPrimaryRequest) ProtoMessage() {}
func (*InitShardPrimaryRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_f41247b323a1ab2e, []int{16}
return fileDescriptor_f41247b323a1ab2e, []int{18}
}
func (m *InitShardPrimaryRequest) XXX_Unmarshal(b []byte) error {
@ -738,7 +817,7 @@ func (m *InitShardPrimaryResponse) Reset() { *m = InitShardPrimaryRespon
func (m *InitShardPrimaryResponse) String() string { return proto.CompactTextString(m) }
func (*InitShardPrimaryResponse) ProtoMessage() {}
func (*InitShardPrimaryResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_f41247b323a1ab2e, []int{17}
return fileDescriptor_f41247b323a1ab2e, []int{19}
}
func (m *InitShardPrimaryResponse) XXX_Unmarshal(b []byte) error {
@ -778,7 +857,7 @@ func (m *Keyspace) Reset() { *m = Keyspace{} }
func (m *Keyspace) String() string { return proto.CompactTextString(m) }
func (*Keyspace) ProtoMessage() {}
func (*Keyspace) Descriptor() ([]byte, []int) {
return fileDescriptor_f41247b323a1ab2e, []int{18}
return fileDescriptor_f41247b323a1ab2e, []int{20}
}
func (m *Keyspace) XXX_Unmarshal(b []byte) error {
@ -824,7 +903,7 @@ func (m *FindAllShardsInKeyspaceRequest) Reset() { *m = FindAllShardsInK
func (m *FindAllShardsInKeyspaceRequest) String() string { return proto.CompactTextString(m) }
func (*FindAllShardsInKeyspaceRequest) ProtoMessage() {}
func (*FindAllShardsInKeyspaceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_f41247b323a1ab2e, []int{19}
return fileDescriptor_f41247b323a1ab2e, []int{21}
}
func (m *FindAllShardsInKeyspaceRequest) XXX_Unmarshal(b []byte) error {
@ -863,7 +942,7 @@ func (m *FindAllShardsInKeyspaceResponse) Reset() { *m = FindAllShardsIn
func (m *FindAllShardsInKeyspaceResponse) String() string { return proto.CompactTextString(m) }
func (*FindAllShardsInKeyspaceResponse) ProtoMessage() {}
func (*FindAllShardsInKeyspaceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_f41247b323a1ab2e, []int{20}
return fileDescriptor_f41247b323a1ab2e, []int{22}
}
func (m *FindAllShardsInKeyspaceResponse) XXX_Unmarshal(b []byte) error {
@ -904,7 +983,7 @@ func (m *Shard) Reset() { *m = Shard{} }
func (m *Shard) String() string { return proto.CompactTextString(m) }
func (*Shard) ProtoMessage() {}
func (*Shard) Descriptor() ([]byte, []int) {
return fileDescriptor_f41247b323a1ab2e, []int{21}
return fileDescriptor_f41247b323a1ab2e, []int{23}
}
func (m *Shard) XXX_Unmarshal(b []byte) error {
@ -964,7 +1043,7 @@ func (m *TableMaterializeSettings) Reset() { *m = TableMaterializeSettin
func (m *TableMaterializeSettings) String() string { return proto.CompactTextString(m) }
func (*TableMaterializeSettings) ProtoMessage() {}
func (*TableMaterializeSettings) Descriptor() ([]byte, []int) {
return fileDescriptor_f41247b323a1ab2e, []int{22}
return fileDescriptor_f41247b323a1ab2e, []int{24}
}
func (m *TableMaterializeSettings) XXX_Unmarshal(b []byte) error {
@ -1027,7 +1106,7 @@ func (m *MaterializeSettings) Reset() { *m = MaterializeSettings{} }
func (m *MaterializeSettings) String() string { return proto.CompactTextString(m) }
func (*MaterializeSettings) ProtoMessage() {}
func (*MaterializeSettings) Descriptor() ([]byte, []int) {
return fileDescriptor_f41247b323a1ab2e, []int{23}
return fileDescriptor_f41247b323a1ab2e, []int{25}
}
func (m *MaterializeSettings) XXX_Unmarshal(b []byte) error {
@ -1111,6 +1190,8 @@ func init() {
proto.RegisterType((*GetKeyspacesResponse)(nil), "vtctldata.GetKeyspacesResponse")
proto.RegisterType((*GetKeyspaceRequest)(nil), "vtctldata.GetKeyspaceRequest")
proto.RegisterType((*GetKeyspaceResponse)(nil), "vtctldata.GetKeyspaceResponse")
proto.RegisterType((*GetSrvVSchemaRequest)(nil), "vtctldata.GetSrvVSchemaRequest")
proto.RegisterType((*GetSrvVSchemaResponse)(nil), "vtctldata.GetSrvVSchemaResponse")
proto.RegisterType((*GetTabletRequest)(nil), "vtctldata.GetTabletRequest")
proto.RegisterType((*GetTabletResponse)(nil), "vtctldata.GetTabletResponse")
proto.RegisterType((*GetTabletsRequest)(nil), "vtctldata.GetTabletsRequest")
@ -1129,66 +1210,69 @@ func init() {
func init() { proto.RegisterFile("vtctldata.proto", fileDescriptor_f41247b323a1ab2e) }
var fileDescriptor_f41247b323a1ab2e = []byte{
// 970 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x5f, 0x6f, 0x1b, 0x45,
0x10, 0x97, 0x9d, 0xda, 0xb1, 0xc7, 0x8d, 0xed, 0x5e, 0x12, 0x72, 0x3d, 0x44, 0x09, 0x07, 0x4d,
0xad, 0x22, 0x9d, 0x4b, 0x90, 0x50, 0x85, 0x40, 0x22, 0x4d, 0xdd, 0xca, 0x94, 0x46, 0xd5, 0x35,
0x02, 0x09, 0x24, 0x4e, 0x9b, 0xf3, 0xda, 0x9c, 0xb2, 0xbe, 0x3d, 0x6e, 0xd7, 0x4e, 0xcd, 0x33,
0x2f, 0x7c, 0x19, 0x1e, 0x79, 0xe4, 0xb3, 0xa1, 0xdd, 0x9d, 0xbd, 0x3b, 0xe7, 0x4f, 0x81, 0xbe,
0xed, 0xfc, 0xe6, 0xff, 0x6f, 0xe6, 0xc6, 0x86, 0xde, 0x52, 0xc6, 0x92, 0x4d, 0x88, 0x24, 0x41,
0x96, 0x73, 0xc9, 0x9d, 0x76, 0x01, 0x78, 0x5b, 0x8c, 0xcf, 0x16, 0x32, 0x61, 0x46, 0xe3, 0x75,
0x25, 0xcf, 0x78, 0x69, 0xe9, 0xdd, 0x9b, 0x71, 0x3e, 0x63, 0x74, 0xa8, 0xa5, 0xb3, 0xc5, 0x74,
0x38, 0x59, 0xe4, 0x44, 0x26, 0x3c, 0x35, 0x7a, 0xff, 0x07, 0xf0, 0x46, 0x6f, 0x68, 0xbc, 0x90,
0xf4, 0x7b, 0x15, 0xf2, 0x98, 0xcf, 0xe7, 0x24, 0x9d, 0x84, 0xf4, 0xd7, 0x05, 0x15, 0xd2, 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f3,
0x71, 0x65, 0x9c, 0x37, 0x31, 0x1b, 0x6e, 0x69, 0xd7, 0xa2, 0x43, 0xfb, 0xb3, 0xdd, 0x2c, 0x7f,
0xb6, 0x0d, 0xf9, 0xfa, 0x6e, 0xc8, 0x55, 0x46, 0x85, 0xbb, 0x69, 0xc9, 0x57, 0xd8, 0xa9, 0x82,
0x9e, 0x0c, 0x7e, 0x3c, 0x58, 0x26, 0x92, 0x0a, 0x11, 0x24, 0x7c, 0x68, 0x5e, 0xc3, 0x19, 0x1f,
0x2e, 0xa5, 0xf9, 0x83, 0x34, 0x2c, 0x0a, 0x39, 0x6b, 0x6a, 0xe0, 0xf3, 0x7f, 0x02, 0x00, 0x00,
0xff, 0xff, 0x7d, 0xd2, 0xe0, 0x41, 0x7c, 0x09, 0x00, 0x00,
// 1014 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x5b, 0x6f, 0x1b, 0x45,
0x14, 0x96, 0x9d, 0x3a, 0xb5, 0x8f, 0xe3, 0x4b, 0x37, 0x09, 0xd9, 0x1a, 0x51, 0xc2, 0x42, 0x53,
0x2b, 0x48, 0xeb, 0x12, 0x04, 0xaa, 0x10, 0x48, 0xa4, 0xa9, 0x5b, 0x99, 0xd2, 0xa8, 0xda, 0x44,
0x45, 0x02, 0x89, 0xd5, 0x64, 0x3d, 0x76, 0x57, 0x19, 0xef, 0x2c, 0x3b, 0x63, 0xa7, 0xe6, 0x99,
0x17, 0xfe, 0x0c, 0x8f, 0x3c, 0xf2, 0xdb, 0xd0, 0xcc, 0x9c, 0xd9, 0x5d, 0xe7, 0xc6, 0xe5, 0x6d,
0xce, 0x77, 0xee, 0xd7, 0x5d, 0xe8, 0x2c, 0x64, 0x24, 0xd9, 0x98, 0x48, 0xe2, 0xa7, 0x19, 0x97,
0xdc, 0x69, 0xe4, 0x40, 0xef, 0xc1, 0x94, 0xf3, 0x29, 0xa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d, 0x0f, 0x00, 0xa2, 0x8c, 0x12, 0x49,
0xc3, 0xf1, 0x98, 0xe9, 0xc0, 0x1a, 0x41, 0xc3, 0x20, 0xcf, 0xc6, 0xcc, 0xfb, 0xa3, 0x0a, 0x9b,
0xd7, 0x85, 0xd1, 0x83, 0xfa, 0x05, 0xcf, 0xce, 0x27, 0x8c, 0x5f, 0xd8, 0xd4, 0x2d, 0xed, 0x3c,
0x82, 0x0e, 0xfa, 0x5f, 0x99, 0xaa, 0x46, 0xd0, 0x36, 0x70, 0x3e, 0x8b, 0x8f, 0xa0, 0x83, 0xb9,
0xe4, 0x82, 0x26, 0x80, 0xb6, 0x81, 0x73, 0xc1, 0x3d, 0xe8, 0x08, 0xc9, 0xd3, 0x90, 0x4c, 0x24,
0xcd, 0xc2, 0x88, 0xa7, 0x4b, 0xdc, 0xb9, 0x96, 0x82, 0x0f, 0x15, 0x7a, 0xc4, 0xd3, 0xa5, 0xf3,
0x1d, 0xb4, 0x75, 0x55, 0x42, 0x81, 0x71, 0xba, 0x35, 0x3d, 0x3e, 0x1f, 0x97, 0xda, 0x79, 0x53,
0x65, 0x83, 0x96, 0x56, 0xcd, 0x33, 0xb4, 0xdf, 0x83, 0xf5, 0xe2, 0x7b, 0x60, 0x8a, 0xaf, 0xef,
0x86, 0x5c, 0xa6, 0x54, 0xb8, 0x77, 0x6d, 0xf1, 0x15, 0x76, 0xaa, 0xa0, 0xa7, 0xfd, 0x1f, 0xf7,
0x16, 0xb1, 0xa4, 0x42, 0xf8, 0x31, 0x1f, 0x98, 0xd7, 0x60, 0xca, 0x07, 0x0b, 0x69, 0x7e, 0xe5,
0x06, 0x79, 0x20, 0x67, 0xeb, 0x1a, 0xf8, 0xfc, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x93, 0x6a,
0xd5, 0xb7, 0x07, 0x0a, 0x00, 0x00,
}

Просмотреть файл

@ -29,30 +29,31 @@ const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
func init() { proto.RegisterFile("vtctlservice.proto", fileDescriptor_27055cdbb1148d2b) }
var fileDescriptor_27055cdbb1148d2b = []byte{
// 355 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x5f, 0x4b, 0x32, 0x41,
0x14, 0x87, 0xdf, 0xf7, 0xe2, 0x15, 0xde, 0x49, 0x30, 0x4e, 0x17, 0x81, 0xa5, 0x91, 0x51, 0x60,
0x81, 0x1b, 0xf6, 0x09, 0x4c, 0xca, 0x44, 0x90, 0xfe, 0xd1, 0x85, 0xd0, 0xc5, 0xb8, 0x7b, 0xca,
0x81, 0xd9, 0x1d, 0xdd, 0x33, 0x2e, 0xf9, 0x6d, 0xfa, 0xa8, 0xd1, 0xda, 0x4c, 0xe3, 0xba, 0x6b,
0xdd, 0xed, 0x9e, 0xe7, 0x77, 0x9e, 0x39, 0x0c, 0x67, 0x18, 0x24, 0xda, 0xd7, 0x92, 0x30, 0x4e,
0x84, 0x8f, 0xad, 0x69, 0xac, 0xb4, 0x82, 0xb2, 0x5b, 0xab, 0x56, 0xd2, 0xbf, 0x80, 0x6b, 0xbe,
0xc4, 0xed, 0x19, 0xfb, 0xf7, 0xf4, 0x59, 0x82, 0x09, 0xdb, 0xb9, 0x7a, 0x43, 0x7f, 0xae, 0x31,
0xfd, 0xef, 0xaa, 0x30, 0xe4, 0x51, 0x00, 0xc7, 0xad, 0xef, 0x8e, 0x1c, 0x7e, 0x8f, 0xb3, 0x39,
0x92, 0xae, 0x9e, 0xfc, 0x14, 0xa3, 0xa9, 0x8a, 0x08, 0x1b, 0x7f, 0xce, 0xff, 0xb6, 0xdf, 0x4b,
0xac, 0x94, 0xc2, 0x00, 0x62, 0xb6, 0x7b, 0x2d, 0xa2, 0xa0, 0x23, 0xe5, 0xc3, 0x84, 0xc7, 0x01,
0xf5, 0xa3, 0x01, 0x2e, 0x68, 0xca, 0x7d, 0x84, 0xa6, 0x63,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xff, 0x12,
0x19, 0xd7, 0x32, 0x54, 0x04, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -181,6 +182,8 @@ type VtctldClient interface {
GetKeyspace(ctx context.Context, in *vtctldata.GetKeyspaceRequest, opts ...grpc.CallOption) (*vtctldata.GetKeyspaceResponse, error)
// GetKeyspaces returns the keyspace struct of all keyspaces in the topo.
GetKeyspaces(ctx context.Context, in *vtctldata.GetKeyspacesRequest, opts ...grpc.CallOption) (*vtctldata.GetKeyspacesResponse, error)
// GetSrvVSchema returns a the SrvVSchema for a cell.
GetSrvVSchema(ctx context.Context, in *vtctldata.GetSrvVSchemaRequest, opts ...grpc.CallOption) (*vtctldata.GetSrvVSchemaResponse, error)
// GetTablet returns information about a tablet.
GetTablet(ctx context.Context, in *vtctldata.GetTabletRequest, opts ...grpc.CallOption) (*vtctldata.GetTabletResponse, error)
// GetTablets returns tablets, optionally filtered by keyspace and shard.
@ -256,6 +259,15 @@ func (c *vtctldClient) GetKeyspaces(ctx context.Context, in *vtctldata.GetKeyspa
return out, nil
}
func (c *vtctldClient) GetSrvVSchema(ctx context.Context, in *vtctldata.GetSrvVSchemaRequest, opts ...grpc.CallOption) (*vtctldata.GetSrvVSchemaResponse, error) {
out := new(vtctldata.GetSrvVSchemaResponse)
err := c.cc.Invoke(ctx, "/vtctlservice.Vtctld/GetSrvVSchema", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *vtctldClient) GetTablet(ctx context.Context, in *vtctldata.GetTabletRequest, opts ...grpc.CallOption) (*vtctldata.GetTabletResponse, error) {
out := new(vtctldata.GetTabletResponse)
err := c.cc.Invoke(ctx, "/vtctlservice.Vtctld/GetTablet", in, out, opts...)
@ -300,6 +312,8 @@ type VtctldServer interface {
GetKeyspace(context.Context, *vtctldata.GetKeyspaceRequest) (*vtctldata.GetKeyspaceResponse, error)
// GetKeyspaces returns the keyspace struct of all keyspaces in the topo.
GetKeyspaces(context.Context, *vtctldata.GetKeyspacesRequest) (*vtctldata.GetKeyspacesResponse, error)
// GetSrvVSchema returns a the SrvVSchema for a cell.
GetSrvVSchema(context.Context, *vtctldata.GetSrvVSchemaRequest) (*vtctldata.GetSrvVSchemaResponse, error)
// GetTablet returns information about a tablet.
GetTablet(context.Context, *vtctldata.GetTabletRequest) (*vtctldata.GetTabletResponse, error)
// GetTablets returns tablets, optionally filtered by keyspace and shard.
@ -335,6 +349,9 @@ func (*UnimplementedVtctldServer) GetKeyspace(ctx context.Context, req *vtctldat
func (*UnimplementedVtctldServer) GetKeyspaces(ctx context.Context, req *vtctldata.GetKeyspacesRequest) (*vtctldata.GetKeyspacesResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetKeyspaces not implemented")
}
func (*UnimplementedVtctldServer) GetSrvVSchema(ctx context.Context, req *vtctldata.GetSrvVSchemaRequest) (*vtctldata.GetSrvVSchemaResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetSrvVSchema not implemented")
}
func (*UnimplementedVtctldServer) GetTablet(ctx context.Context, req *vtctldata.GetTabletRequest) (*vtctldata.GetTabletResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetTablet not implemented")
}
@ -457,6 +474,24 @@ func _Vtctld_GetKeyspaces_Handler(srv interface{}, ctx context.Context, dec func
return interceptor(ctx, in, info, handler)
}
func _Vtctld_GetSrvVSchema_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(vtctldata.GetSrvVSchemaRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(VtctldServer).GetSrvVSchema(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/vtctlservice.Vtctld/GetSrvVSchema",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(VtctldServer).GetSrvVSchema(ctx, req.(*vtctldata.GetSrvVSchemaRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Vtctld_GetTablet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(vtctldata.GetTabletRequest)
if err := dec(in); err != nil {
@ -539,6 +574,10 @@ var _Vtctld_serviceDesc = grpc.ServiceDesc{
MethodName: "GetKeyspaces",
Handler: _Vtctld_GetKeyspaces_Handler,
},
{
MethodName: "GetSrvVSchema",
Handler: _Vtctld_GetSrvVSchema_Handler,
},
{
MethodName: "GetTablet",
Handler: _Vtctld_GetTablet_Handler,

Просмотреть файл

@ -82,6 +82,15 @@ func (client *gRPCVtctldClient) GetKeyspaces(ctx context.Context, in *vtctldatap
return client.c.GetKeyspaces(ctx, in, opts...)
}
// GetSrvVSchema is part of the vtctlservicepb.VtctldClient interface.
func (client *gRPCVtctldClient) GetSrvVSchema(ctx context.Context, in *vtctldatapb.GetSrvVSchemaRequest, opts ...grpc.CallOption) (*vtctldatapb.GetSrvVSchemaResponse, error) {
if client.c == nil {
return nil, status.Error(codes.Unavailable, connClosedMsg)
}
return client.c.GetSrvVSchema(ctx, in, opts...)
}
// GetTablet is part of the vtctlservicepb.VtctldClient interface.
func (client *gRPCVtctldClient) GetTablet(ctx context.Context, in *vtctldatapb.GetTabletRequest, opts ...grpc.CallOption) (*vtctldatapb.GetTabletResponse, error) {
if client.c == nil {

Просмотреть файл

@ -153,6 +153,11 @@ func (s *VtctldServer) GetKeyspaces(ctx context.Context, req *vtctldatapb.GetKey
return &vtctldatapb.GetKeyspacesResponse{Keyspaces: keyspaces}, nil
}
// GetSrvVSchema is part of the vtctlservicepb.VtctldServer interface.
func (s *VtctldServer) GetSrvVSchema(ctx context.Context, req *vtctldatapb.GetSrvVSchemaRequest) (*vtctldatapb.GetSrvVSchemaResponse, error) {
panic("unimplemented!")
}
// GetTablet is part of the vtctlservicepb.VtctldServer interface.
func (s *VtctldServer) GetTablet(ctx context.Context, req *vtctldatapb.GetTabletRequest) (*vtctldatapb.GetTabletResponse, error) {
ti, err := s.ts.GetTablet(ctx, req.TabletAlias)

Просмотреть файл

@ -22,9 +22,11 @@ option go_package = "vitess.io/vitess/go/vt/proto/vtctldata";
package vtctldata;
import "google/protobuf/duration.proto";
import "logutil.proto";
import "topodata.proto";
import "google/protobuf/duration.proto";
import "vschema.proto";
// ExecuteVtctlCommandRequest is the payload for ExecuteVtctlCommand.
// timeouts are in nanoseconds.
@ -75,6 +77,14 @@ message GetKeyspaceResponse {
Keyspace keyspace = 1;
}
message GetSrvVSchemaRequest {
string cell = 1;
}
message GetSrvVSchemaResponse {
vschema.SrvVSchema srv_v_schema = 1;
}
message GetTabletRequest {
topodata.TabletAlias tablet_alias = 1;
}

Просмотреть файл

@ -46,6 +46,8 @@ service Vtctld {
rpc GetKeyspace(vtctldata.GetKeyspaceRequest) returns (vtctldata.GetKeyspaceResponse) {};
// GetKeyspaces returns the keyspace struct of all keyspaces in the topo.
rpc GetKeyspaces(vtctldata.GetKeyspacesRequest) returns (vtctldata.GetKeyspacesResponse) {};
// GetSrvVSchema returns a the SrvVSchema for a cell.
rpc GetSrvVSchema(vtctldata.GetSrvVSchemaRequest) returns (vtctldata.GetSrvVSchemaResponse) {};
// GetTablet returns information about a tablet.
rpc GetTablet(vtctldata.GetTabletRequest) returns (vtctldata.GetTabletResponse) {};
// GetTablets returns tablets, optionally filtered by keyspace and shard.