Update proto types to include warnings in workflow aggregations

Signed-off-by: Andrew Mason <amason@slack-corp.com>
This commit is contained in:
Andrew Mason 2021-03-11 11:44:27 -05:00
Родитель cdfae90c36
Коммит 2f54aa6e84
4 изменённых файлов: 905 добавлений и 162 удалений

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

@ -56,7 +56,7 @@ func (x Tablet_ServingState) String() string {
}
func (Tablet_ServingState) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{3, 0}
return fileDescriptor_609739e22a0a50b3, []int{4, 0}
}
// Cluster represents information about a Vitess cluster.
@ -115,6 +115,63 @@ func (m *Cluster) GetName() string {
return ""
}
type ClusterWorkflows struct {
Workflows []*Workflow `protobuf:"bytes,1,rep,name=workflows,proto3" json:"workflows,omitempty"`
// Warnings is a list of non-fatal errors encountered when fetching
// workflows for a particular cluster.
Warnings []string `protobuf:"bytes,2,rep,name=warnings,proto3" json:"warnings,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ClusterWorkflows) Reset() { *m = ClusterWorkflows{} }
func (m *ClusterWorkflows) String() string { return proto.CompactTextString(m) }
func (*ClusterWorkflows) ProtoMessage() {}
func (*ClusterWorkflows) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{1}
}
func (m *ClusterWorkflows) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ClusterWorkflows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ClusterWorkflows.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ClusterWorkflows) XXX_Merge(src proto.Message) {
xxx_messageInfo_ClusterWorkflows.Merge(m, src)
}
func (m *ClusterWorkflows) XXX_Size() int {
return m.Size()
}
func (m *ClusterWorkflows) XXX_DiscardUnknown() {
xxx_messageInfo_ClusterWorkflows.DiscardUnknown(m)
}
var xxx_messageInfo_ClusterWorkflows proto.InternalMessageInfo
func (m *ClusterWorkflows) GetWorkflows() []*Workflow {
if m != nil {
return m.Workflows
}
return nil
}
func (m *ClusterWorkflows) GetWarnings() []string {
if m != nil {
return m.Warnings
}
return nil
}
// Keyspace represents information about a keyspace in a particular Vitess
// cluster.
type Keyspace struct {
@ -130,7 +187,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_609739e22a0a50b3, []int{1}
return fileDescriptor_609739e22a0a50b3, []int{2}
}
func (m *Keyspace) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -193,7 +250,7 @@ func (m *Schema) Reset() { *m = Schema{} }
func (m *Schema) String() string { return proto.CompactTextString(m) }
func (*Schema) ProtoMessage() {}
func (*Schema) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{2}
return fileDescriptor_609739e22a0a50b3, []int{3}
}
func (m *Schema) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -258,7 +315,7 @@ func (m *Tablet) Reset() { *m = Tablet{} }
func (m *Tablet) String() string { return proto.CompactTextString(m) }
func (*Tablet) ProtoMessage() {}
func (*Tablet) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{3}
return fileDescriptor_609739e22a0a50b3, []int{4}
}
func (m *Tablet) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -323,7 +380,7 @@ func (m *VSchema) Reset() { *m = VSchema{} }
func (m *VSchema) String() string { return proto.CompactTextString(m) }
func (*VSchema) ProtoMessage() {}
func (*VSchema) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{4}
return fileDescriptor_609739e22a0a50b3, []int{5}
}
func (m *VSchema) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -386,7 +443,7 @@ func (m *Vtctld) Reset() { *m = Vtctld{} }
func (m *Vtctld) String() string { return proto.CompactTextString(m) }
func (*Vtctld) ProtoMessage() {}
func (*Vtctld) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{5}
return fileDescriptor_609739e22a0a50b3, []int{6}
}
func (m *Vtctld) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -452,7 +509,7 @@ func (m *VTGate) Reset() { *m = VTGate{} }
func (m *VTGate) String() string { return proto.CompactTextString(m) }
func (*VTGate) ProtoMessage() {}
func (*VTGate) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{6}
return fileDescriptor_609739e22a0a50b3, []int{7}
}
func (m *VTGate) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -529,7 +586,7 @@ func (m *Workflow) Reset() { *m = Workflow{} }
func (m *Workflow) String() string { return proto.CompactTextString(m) }
func (*Workflow) ProtoMessage() {}
func (*Workflow) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{7}
return fileDescriptor_609739e22a0a50b3, []int{8}
}
func (m *Workflow) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -591,7 +648,7 @@ func (m *FindSchemaRequest) Reset() { *m = FindSchemaRequest{} }
func (m *FindSchemaRequest) String() string { return proto.CompactTextString(m) }
func (*FindSchemaRequest) ProtoMessage() {}
func (*FindSchemaRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{8}
return fileDescriptor_609739e22a0a50b3, []int{9}
}
func (m *FindSchemaRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -644,7 +701,7 @@ func (m *GetClustersRequest) Reset() { *m = GetClustersRequest{} }
func (m *GetClustersRequest) String() string { return proto.CompactTextString(m) }
func (*GetClustersRequest) ProtoMessage() {}
func (*GetClustersRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{9}
return fileDescriptor_609739e22a0a50b3, []int{10}
}
func (m *GetClustersRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -684,7 +741,7 @@ func (m *GetClustersResponse) Reset() { *m = GetClustersResponse{} }
func (m *GetClustersResponse) String() string { return proto.CompactTextString(m) }
func (*GetClustersResponse) ProtoMessage() {}
func (*GetClustersResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{10}
return fileDescriptor_609739e22a0a50b3, []int{11}
}
func (m *GetClustersResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -731,7 +788,7 @@ func (m *GetGatesRequest) Reset() { *m = GetGatesRequest{} }
func (m *GetGatesRequest) String() string { return proto.CompactTextString(m) }
func (*GetGatesRequest) ProtoMessage() {}
func (*GetGatesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{11}
return fileDescriptor_609739e22a0a50b3, []int{12}
}
func (m *GetGatesRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -778,7 +835,7 @@ func (m *GetGatesResponse) Reset() { *m = GetGatesResponse{} }
func (m *GetGatesResponse) String() string { return proto.CompactTextString(m) }
func (*GetGatesResponse) ProtoMessage() {}
func (*GetGatesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{12}
return fileDescriptor_609739e22a0a50b3, []int{13}
}
func (m *GetGatesResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -825,7 +882,7 @@ func (m *GetKeyspacesRequest) Reset() { *m = GetKeyspacesRequest{} }
func (m *GetKeyspacesRequest) String() string { return proto.CompactTextString(m) }
func (*GetKeyspacesRequest) ProtoMessage() {}
func (*GetKeyspacesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{13}
return fileDescriptor_609739e22a0a50b3, []int{14}
}
func (m *GetKeyspacesRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -872,7 +929,7 @@ func (m *GetKeyspacesResponse) Reset() { *m = GetKeyspacesResponse{} }
func (m *GetKeyspacesResponse) String() string { return proto.CompactTextString(m) }
func (*GetKeyspacesResponse) ProtoMessage() {}
func (*GetKeyspacesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{14}
return fileDescriptor_609739e22a0a50b3, []int{15}
}
func (m *GetKeyspacesResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -921,7 +978,7 @@ func (m *GetSchemaRequest) Reset() { *m = GetSchemaRequest{} }
func (m *GetSchemaRequest) String() string { return proto.CompactTextString(m) }
func (*GetSchemaRequest) ProtoMessage() {}
func (*GetSchemaRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{15}
return fileDescriptor_609739e22a0a50b3, []int{16}
}
func (m *GetSchemaRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -982,7 +1039,7 @@ func (m *GetSchemasRequest) Reset() { *m = GetSchemasRequest{} }
func (m *GetSchemasRequest) String() string { return proto.CompactTextString(m) }
func (*GetSchemasRequest) ProtoMessage() {}
func (*GetSchemasRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{16}
return fileDescriptor_609739e22a0a50b3, []int{17}
}
func (m *GetSchemasRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1029,7 +1086,7 @@ func (m *GetSchemasResponse) Reset() { *m = GetSchemasResponse{} }
func (m *GetSchemasResponse) String() string { return proto.CompactTextString(m) }
func (*GetSchemasResponse) ProtoMessage() {}
func (*GetSchemasResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{17}
return fileDescriptor_609739e22a0a50b3, []int{18}
}
func (m *GetSchemasResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1080,7 +1137,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_609739e22a0a50b3, []int{18}
return fileDescriptor_609739e22a0a50b3, []int{19}
}
func (m *GetTabletRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1134,7 +1191,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_609739e22a0a50b3, []int{19}
return fileDescriptor_609739e22a0a50b3, []int{20}
}
func (m *GetTabletsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1181,7 +1238,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_609739e22a0a50b3, []int{20}
return fileDescriptor_609739e22a0a50b3, []int{21}
}
func (m *GetTabletsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1229,7 +1286,7 @@ func (m *GetVSchemaRequest) Reset() { *m = GetVSchemaRequest{} }
func (m *GetVSchemaRequest) String() string { return proto.CompactTextString(m) }
func (*GetVSchemaRequest) ProtoMessage() {}
func (*GetVSchemaRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{21}
return fileDescriptor_609739e22a0a50b3, []int{22}
}
func (m *GetVSchemaRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1283,7 +1340,7 @@ func (m *GetVSchemasRequest) Reset() { *m = GetVSchemasRequest{} }
func (m *GetVSchemasRequest) String() string { return proto.CompactTextString(m) }
func (*GetVSchemasRequest) ProtoMessage() {}
func (*GetVSchemasRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{22}
return fileDescriptor_609739e22a0a50b3, []int{23}
}
func (m *GetVSchemasRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1330,7 +1387,7 @@ func (m *GetVSchemasResponse) Reset() { *m = GetVSchemasResponse{} }
func (m *GetVSchemasResponse) String() string { return proto.CompactTextString(m) }
func (*GetVSchemasResponse) ProtoMessage() {}
func (*GetVSchemasResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{23}
return fileDescriptor_609739e22a0a50b3, []int{24}
}
func (m *GetVSchemasResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1380,7 +1437,7 @@ func (m *GetWorkflowRequest) Reset() { *m = GetWorkflowRequest{} }
func (m *GetWorkflowRequest) String() string { return proto.CompactTextString(m) }
func (*GetWorkflowRequest) ProtoMessage() {}
func (*GetWorkflowRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{24}
return fileDescriptor_609739e22a0a50b3, []int{25}
}
func (m *GetWorkflowRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1466,7 +1523,7 @@ func (m *GetWorkflowsRequest) Reset() { *m = GetWorkflowsRequest{} }
func (m *GetWorkflowsRequest) String() string { return proto.CompactTextString(m) }
func (*GetWorkflowsRequest) ProtoMessage() {}
func (*GetWorkflowsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{25}
return fileDescriptor_609739e22a0a50b3, []int{26}
}
func (m *GetWorkflowsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1524,7 +1581,7 @@ func (m *GetWorkflowsRequest) GetIgnoreKeyspaces() []string {
}
type GetWorkflowsResponse struct {
Workflows []*Workflow `protobuf:"bytes,1,rep,name=workflows,proto3" json:"workflows,omitempty"`
WorkflowsByCluster map[string]*ClusterWorkflows `protobuf:"bytes,1,rep,name=workflows_by_cluster,json=workflowsByCluster,proto3" json:"workflows_by_cluster,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -1534,7 +1591,7 @@ func (m *GetWorkflowsResponse) Reset() { *m = GetWorkflowsResponse{} }
func (m *GetWorkflowsResponse) String() string { return proto.CompactTextString(m) }
func (*GetWorkflowsResponse) ProtoMessage() {}
func (*GetWorkflowsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{26}
return fileDescriptor_609739e22a0a50b3, []int{27}
}
func (m *GetWorkflowsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1563,9 +1620,9 @@ func (m *GetWorkflowsResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_GetWorkflowsResponse proto.InternalMessageInfo
func (m *GetWorkflowsResponse) GetWorkflows() []*Workflow {
func (m *GetWorkflowsResponse) GetWorkflowsByCluster() map[string]*ClusterWorkflows {
if m != nil {
return m.Workflows
return m.WorkflowsByCluster
}
return nil
}
@ -1583,7 +1640,7 @@ func (m *VTExplainRequest) Reset() { *m = VTExplainRequest{} }
func (m *VTExplainRequest) String() string { return proto.CompactTextString(m) }
func (*VTExplainRequest) ProtoMessage() {}
func (*VTExplainRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{27}
return fileDescriptor_609739e22a0a50b3, []int{28}
}
func (m *VTExplainRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1644,7 +1701,7 @@ func (m *VTExplainResponse) Reset() { *m = VTExplainResponse{} }
func (m *VTExplainResponse) String() string { return proto.CompactTextString(m) }
func (*VTExplainResponse) ProtoMessage() {}
func (*VTExplainResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_609739e22a0a50b3, []int{28}
return fileDescriptor_609739e22a0a50b3, []int{29}
}
func (m *VTExplainResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1683,6 +1740,7 @@ func (m *VTExplainResponse) GetResponse() string {
func init() {
proto.RegisterEnum("vtadmin.Tablet_ServingState", Tablet_ServingState_name, Tablet_ServingState_value)
proto.RegisterType((*Cluster)(nil), "vtadmin.Cluster")
proto.RegisterType((*ClusterWorkflows)(nil), "vtadmin.ClusterWorkflows")
proto.RegisterType((*Keyspace)(nil), "vtadmin.Keyspace")
proto.RegisterMapType((map[string]*vtctldata.Shard)(nil), "vtadmin.Keyspace.ShardsEntry")
proto.RegisterType((*Schema)(nil), "vtadmin.Schema")
@ -1710,6 +1768,7 @@ func init() {
proto.RegisterType((*GetWorkflowRequest)(nil), "vtadmin.GetWorkflowRequest")
proto.RegisterType((*GetWorkflowsRequest)(nil), "vtadmin.GetWorkflowsRequest")
proto.RegisterType((*GetWorkflowsResponse)(nil), "vtadmin.GetWorkflowsResponse")
proto.RegisterMapType((map[string]*ClusterWorkflows)(nil), "vtadmin.GetWorkflowsResponse.WorkflowsByClusterEntry")
proto.RegisterType((*VTExplainRequest)(nil), "vtadmin.VTExplainRequest")
proto.RegisterType((*VTExplainResponse)(nil), "vtadmin.VTExplainResponse")
}
@ -1717,80 +1776,85 @@ func init() {
func init() { proto.RegisterFile("vtadmin.proto", fileDescriptor_609739e22a0a50b3) }
var fileDescriptor_609739e22a0a50b3 = []byte{
// 1165 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xdd, 0x6e, 0x1b, 0x45,
0x14, 0xf6, 0xda, 0x89, 0x7f, 0xce, 0xb6, 0xc9, 0x7a, 0x1a, 0x09, 0xb3, 0x4d, 0xd2, 0x68, 0x04,
0x28, 0x45, 0xd4, 0x96, 0x0c, 0xad, 0x08, 0x20, 0x55, 0xa5, 0x09, 0x56, 0x1b, 0xe1, 0xa0, 0x4d,
0xd8, 0x4a, 0xbd,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0xb3, 0x38, 0xb3, 0x0e, 0x00, 0x00,
// 1244 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xdd, 0x6f, 0xdb, 0x54,
0x14, 0x8f, 0x93, 0x36, 0x89, 0x4f, 0xb6, 0xd5, 0xbd, 0xab, 0xb4, 0xcc, 0xfd, 0x58, 0x75, 0x05,
0xa8, 0x43, 0x2c, 0x96, 0x02, 0x9d, 0x28, 0x20, 0x4d, 0xdb, 0x5a, 0xa2, 0xad, 0x22, 0x45, 0x6e,
0xf1, 0xa4, 0xbd, 0x04, 0x37, 0xf1, 0x52, 0xab, 0xae, 0x9d, 0xc5, 0xb7, 0x29, 0x79, 0x86, 0x47,
0x9e, 0x11, 0x8f, 0xf0, 0xdf, 0xf0, 0x82, 0xc4, 0x9f, 0x00, 0xe5, 0x91, 0x7f, 0x02, 0xf9, 0x7e,
0xf9, 0xda, 0x4e, 0xbf, 0x60, 0x6f, 0xbe, 0xf7, 0x9e, 0x7b, 0xce, 0xef, 0x7c, 0xfd, 0xce, 0x35,
0xdc, 0x9e, 0x10, 0x77, 0x70, 0xe2, 0x87, 0xad, 0xd1, 0x38, 0x22, 0x11, 0xaa, 0xf1, 0xa5, 0x79,
0x8f, 0xb8, 0x87, 0x81, 0x47, 0x4e, 0xdc, 0xd0, 0x1d, 0x7a, 0xe3, 0x81, 0x4b, 0x5c, 0x26, 0x61,
0xde, 0x21, 0xd1, 0x28, 0x52, 0xd6, 0xb7, 0x27, 0x71, 0xff, 0xc8, 0x3b, 0x11, 0xcb, 0x85, 0x09,
0xe9, 0x93, 0x20, 0x3d, 0xc7, 0x8f, 0xa0, 0xf6, 0x3c, 0x38, 0x8d, 0x89, 0x37, 0x46, 0x77, 0xa0,
0xec, 0x0f, 0x9a, 0xda, 0xba, 0xb6, 0xa1, 0xdb, 0x65, 0x7f, 0x80, 0x10, 0xcc, 0x85, 0xee, 0x89,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 0x66, 0x9e, 0x54, 0x25, 0x06, 0x4e, 0xc7,
0x59, 0x0c, 0x59, 0x66, 0xcf, 0x62, 0xc8, 0xf1, 0x37, 0x2e, 0xa1, 0x2f, 0xa8, 0x22, 0xa7, 0x50,
0x22, 0x05, 0xae, 0x36, 0x0b, 0x7c, 0x28, 0x6b, 0x44, 0xb0, 0x69, 0xb6, 0x46, 0x72, 0xd4, 0x9c,
0xad, 0x11, 0xa7, 0x18, 0x8d, 0x27, 0x54, 0x97, 0x7c, 0xe3, 0x2d, 0xcf, 0x62, 0x00, 0xa1, 0xab,
0xf8, 0x37, 0x28, 0x2b, 0x24, 0xfd, 0x8b, 0x5c, 0xb9, 0x80, 0x43, 0x66, 0x54, 0x48, 0x81, 0x61,
0x70, 0x09, 0x6d, 0x83, 0x2e, 0x3b, 0x4f, 0xc9, 0x4e, 0xbe, 0xd3, 0x4d, 0x73, 0xd6, 0x91, 0xd0,
0xf2, 0xec, 0xf1, 0x6f, 0xe7, 0x6b, 0xda, 0x1f, 0xe7, 0x6b, 0xda, 0x9f, 0xe7, 0x6b, 0xda, 0xcf,
0x7f, 0xaf, 0x95, 0x5e, 0xbf, 0x37, 0xf1, 0x89, 0x17, 0xc7, 0x2d, 0x3f, 0xb2, 0xd8, 0x97, 0x35,
0x8c, 0xac, 0x09, 0xb1, 0xe8, 0xdf, 0xb3, 0xc5, 0x75, 0x1d, 0x56, 0xe9, 0xf2, 0xe3, 0x7f, 0x03,
0x00, 0x00, 0xff, 0xff, 0xe0, 0x66, 0xc0, 0xf2, 0xaf, 0x0f, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -2390,6 +2454,56 @@ func (m *Cluster) MarshalToSizedBuffer(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
func (m *ClusterWorkflows) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *ClusterWorkflows) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *ClusterWorkflows) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.XXX_unrecognized != nil {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if len(m.Warnings) > 0 {
for iNdEx := len(m.Warnings) - 1; iNdEx >= 0; iNdEx-- {
i -= len(m.Warnings[iNdEx])
copy(dAtA[i:], m.Warnings[iNdEx])
i = encodeVarintVtadmin(dAtA, i, uint64(len(m.Warnings[iNdEx])))
i--
dAtA[i] = 0x12
}
}
if len(m.Workflows) > 0 {
for iNdEx := len(m.Workflows) - 1; iNdEx >= 0; iNdEx-- {
{
size, err := m.Workflows[iNdEx].MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintVtadmin(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0xa
}
}
return len(dAtA) - i, nil
}
func (m *Keyspace) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
@ -3588,10 +3702,13 @@ func (m *GetWorkflowsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if len(m.Workflows) > 0 {
for iNdEx := len(m.Workflows) - 1; iNdEx >= 0; iNdEx-- {
if len(m.WorkflowsByCluster) > 0 {
for k := range m.WorkflowsByCluster {
v := m.WorkflowsByCluster[k]
baseI := i
if v != nil {
{
size, err := m.Workflows[iNdEx].MarshalToSizedBuffer(dAtA[:i])
size, err := v.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
@ -3599,6 +3716,15 @@ func (m *GetWorkflowsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i = encodeVarintVtadmin(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x12
}
i -= len(k)
copy(dAtA[i:], k)
i = encodeVarintVtadmin(dAtA, i, uint64(len(k)))
i--
dAtA[i] = 0xa
i = encodeVarintVtadmin(dAtA, i, uint64(baseI-i))
i--
dAtA[i] = 0xa
}
}
@ -3718,6 +3844,30 @@ func (m *Cluster) Size() (n int) {
return n
}
func (m *ClusterWorkflows) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if len(m.Workflows) > 0 {
for _, e := range m.Workflows {
l = e.Size()
n += 1 + l + sovVtadmin(uint64(l))
}
}
if len(m.Warnings) > 0 {
for _, s := range m.Warnings {
l = len(s)
n += 1 + l + sovVtadmin(uint64(l))
}
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func (m *Keyspace) Size() (n int) {
if m == nil {
return 0
@ -4266,10 +4416,17 @@ func (m *GetWorkflowsResponse) Size() (n int) {
}
var l int
_ = l
if len(m.Workflows) > 0 {
for _, e := range m.Workflows {
l = e.Size()
n += 1 + l + sovVtadmin(uint64(l))
if len(m.WorkflowsByCluster) > 0 {
for k, v := range m.WorkflowsByCluster {
_ = k
_ = v
l = 0
if v != nil {
l = v.Size()
l += 1 + sovVtadmin(uint64(l))
}
mapEntrySize := 1 + len(k) + sovVtadmin(uint64(len(k))) + l
n += mapEntrySize + 1 + sovVtadmin(uint64(mapEntrySize))
}
}
if m.XXX_unrecognized != nil {
@ -4442,6 +4599,126 @@ func (m *Cluster) Unmarshal(dAtA []byte) error {
}
return nil
}
func (m *ClusterWorkflows) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowVtadmin
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: ClusterWorkflows: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ClusterWorkflows: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Workflows", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowVtadmin
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthVtadmin
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthVtadmin
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Workflows = append(m.Workflows, &Workflow{})
if err := m.Workflows[len(m.Workflows)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Warnings", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowVtadmin
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthVtadmin
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthVtadmin
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Warnings = append(m.Warnings, string(dAtA[iNdEx:postIndex]))
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipVtadmin(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthVtadmin
}
if (iNdEx + skippy) < 0 {
return ErrInvalidLengthVtadmin
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *Keyspace) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@ -7541,7 +7818,7 @@ func (m *GetWorkflowsResponse) Unmarshal(dAtA []byte) error {
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Workflows", wireType)
return fmt.Errorf("proto: wrong wireType = %d for field WorkflowsByCluster", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@ -7568,10 +7845,105 @@ func (m *GetWorkflowsResponse) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Workflows = append(m.Workflows, &Workflow{})
if err := m.Workflows[len(m.Workflows)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
if m.WorkflowsByCluster == nil {
m.WorkflowsByCluster = make(map[string]*ClusterWorkflows)
}
var mapkey string
var mapvalue *ClusterWorkflows
for iNdEx < postIndex {
entryPreIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowVtadmin
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
if fieldNum == 1 {
var stringLenmapkey uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowVtadmin
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLenmapkey |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLenmapkey := int(stringLenmapkey)
if intStringLenmapkey < 0 {
return ErrInvalidLengthVtadmin
}
postStringIndexmapkey := iNdEx + intStringLenmapkey
if postStringIndexmapkey < 0 {
return ErrInvalidLengthVtadmin
}
if postStringIndexmapkey > l {
return io.ErrUnexpectedEOF
}
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
iNdEx = postStringIndexmapkey
} else if fieldNum == 2 {
var mapmsglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowVtadmin
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
mapmsglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if mapmsglen < 0 {
return ErrInvalidLengthVtadmin
}
postmsgIndex := iNdEx + mapmsglen
if postmsgIndex < 0 {
return ErrInvalidLengthVtadmin
}
if postmsgIndex > l {
return io.ErrUnexpectedEOF
}
mapvalue = &ClusterWorkflows{}
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
return err
}
iNdEx = postmsgIndex
} else {
iNdEx = entryPreIndex
skippy, err := skipVtadmin(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthVtadmin
}
if (iNdEx + skippy) > postIndex {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
m.WorkflowsByCluster[mapkey] = mapvalue
iNdEx = postIndex
default:
iNdEx = preIndex

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

@ -76,6 +76,13 @@ message Cluster {
string name = 2;
}
message ClusterWorkflows {
repeated Workflow workflows = 1;
// Warnings is a list of non-fatal errors encountered when fetching
// workflows for a particular cluster.
repeated string warnings = 2;
}
// Keyspace represents information about a keyspace in a particular Vitess
// cluster.
message Keyspace {
@ -244,7 +251,7 @@ message GetWorkflowsRequest {
}
message GetWorkflowsResponse {
repeated Workflow workflows = 1;
map <string, ClusterWorkflows> workflows_by_cluster = 1;
}
message VTExplainRequest {

104
web/vtadmin/src/proto/vtadmin.d.ts поставляемый
Просмотреть файл

@ -395,6 +395,102 @@ export namespace vtadmin {
public toJSON(): { [k: string]: any };
}
/** Properties of a ClusterWorkflows. */
interface IClusterWorkflows {
/** ClusterWorkflows workflows */
workflows?: (vtadmin.IWorkflow[]|null);
/** ClusterWorkflows warnings */
warnings?: (string[]|null);
}
/** Represents a ClusterWorkflows. */
class ClusterWorkflows implements IClusterWorkflows {
/**
* Constructs a new ClusterWorkflows.
* @param [properties] Properties to set
*/
constructor(properties?: vtadmin.IClusterWorkflows);
/** ClusterWorkflows workflows. */
public workflows: vtadmin.IWorkflow[];
/** ClusterWorkflows warnings. */
public warnings: string[];
/**
* Creates a new ClusterWorkflows instance using the specified properties.
* @param [properties] Properties to set
* @returns ClusterWorkflows instance
*/
public static create(properties?: vtadmin.IClusterWorkflows): vtadmin.ClusterWorkflows;
/**
* Encodes the specified ClusterWorkflows message. Does not implicitly {@link vtadmin.ClusterWorkflows.verify|verify} messages.
* @param message ClusterWorkflows message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: vtadmin.IClusterWorkflows, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ClusterWorkflows message, length delimited. Does not implicitly {@link vtadmin.ClusterWorkflows.verify|verify} messages.
* @param message ClusterWorkflows message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: vtadmin.IClusterWorkflows, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ClusterWorkflows message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ClusterWorkflows
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.ClusterWorkflows;
/**
* Decodes a ClusterWorkflows message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ClusterWorkflows
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.ClusterWorkflows;
/**
* Verifies a ClusterWorkflows message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a ClusterWorkflows message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ClusterWorkflows
*/
public static fromObject(object: { [k: string]: any }): vtadmin.ClusterWorkflows;
/**
* Creates a plain object from a ClusterWorkflows message. Also converts values to other types if specified.
* @param message ClusterWorkflows
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: vtadmin.ClusterWorkflows, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ClusterWorkflows to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
/** Properties of a Keyspace. */
interface IKeyspace {
@ -2808,8 +2904,8 @@ export namespace vtadmin {
/** Properties of a GetWorkflowsResponse. */
interface IGetWorkflowsResponse {
/** GetWorkflowsResponse workflows */
workflows?: (vtadmin.IWorkflow[]|null);
/** GetWorkflowsResponse workflows_by_cluster */
workflows_by_cluster?: ({ [k: string]: vtadmin.IClusterWorkflows }|null);
}
/** Represents a GetWorkflowsResponse. */
@ -2821,8 +2917,8 @@ export namespace vtadmin {
*/
constructor(properties?: vtadmin.IGetWorkflowsResponse);
/** GetWorkflowsResponse workflows. */
public workflows: vtadmin.IWorkflow[];
/** GetWorkflowsResponse workflows_by_cluster. */
public workflows_by_cluster: { [k: string]: vtadmin.IClusterWorkflows };
/**
* Creates a new GetWorkflowsResponse instance using the specified properties.

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

@ -692,6 +692,253 @@ $root.vtadmin = (function() {
return Cluster;
})();
vtadmin.ClusterWorkflows = (function() {
/**
* Properties of a ClusterWorkflows.
* @memberof vtadmin
* @interface IClusterWorkflows
* @property {Array.<vtadmin.IWorkflow>|null} [workflows] ClusterWorkflows workflows
* @property {Array.<string>|null} [warnings] ClusterWorkflows warnings
*/
/**
* Constructs a new ClusterWorkflows.
* @memberof vtadmin
* @classdesc Represents a ClusterWorkflows.
* @implements IClusterWorkflows
* @constructor
* @param {vtadmin.IClusterWorkflows=} [properties] Properties to set
*/
function ClusterWorkflows(properties) {
this.workflows = [];
this.warnings = [];
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
this[keys[i]] = properties[keys[i]];
}
/**
* ClusterWorkflows workflows.
* @member {Array.<vtadmin.IWorkflow>} workflows
* @memberof vtadmin.ClusterWorkflows
* @instance
*/
ClusterWorkflows.prototype.workflows = $util.emptyArray;
/**
* ClusterWorkflows warnings.
* @member {Array.<string>} warnings
* @memberof vtadmin.ClusterWorkflows
* @instance
*/
ClusterWorkflows.prototype.warnings = $util.emptyArray;
/**
* Creates a new ClusterWorkflows instance using the specified properties.
* @function create
* @memberof vtadmin.ClusterWorkflows
* @static
* @param {vtadmin.IClusterWorkflows=} [properties] Properties to set
* @returns {vtadmin.ClusterWorkflows} ClusterWorkflows instance
*/
ClusterWorkflows.create = function create(properties) {
return new ClusterWorkflows(properties);
};
/**
* Encodes the specified ClusterWorkflows message. Does not implicitly {@link vtadmin.ClusterWorkflows.verify|verify} messages.
* @function encode
* @memberof vtadmin.ClusterWorkflows
* @static
* @param {vtadmin.IClusterWorkflows} message ClusterWorkflows message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
ClusterWorkflows.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
if (message.workflows != null && message.workflows.length)
for (var i = 0; i < message.workflows.length; ++i)
$root.vtadmin.Workflow.encode(message.workflows[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
if (message.warnings != null && message.warnings.length)
for (var i = 0; i < message.warnings.length; ++i)
writer.uint32(/* id 2, wireType 2 =*/18).string(message.warnings[i]);
return writer;
};
/**
* Encodes the specified ClusterWorkflows message, length delimited. Does not implicitly {@link vtadmin.ClusterWorkflows.verify|verify} messages.
* @function encodeDelimited
* @memberof vtadmin.ClusterWorkflows
* @static
* @param {vtadmin.IClusterWorkflows} message ClusterWorkflows message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
ClusterWorkflows.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
* Decodes a ClusterWorkflows message from the specified reader or buffer.
* @function decode
* @memberof vtadmin.ClusterWorkflows
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
* @returns {vtadmin.ClusterWorkflows} ClusterWorkflows
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
ClusterWorkflows.decode = function decode(reader, length) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.vtadmin.ClusterWorkflows();
while (reader.pos < end) {
var tag = reader.uint32();
switch (tag >>> 3) {
case 1:
if (!(message.workflows && message.workflows.length))
message.workflows = [];
message.workflows.push($root.vtadmin.Workflow.decode(reader, reader.uint32()));
break;
case 2:
if (!(message.warnings && message.warnings.length))
message.warnings = [];
message.warnings.push(reader.string());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
};
/**
* Decodes a ClusterWorkflows message from the specified reader or buffer, length delimited.
* @function decodeDelimited
* @memberof vtadmin.ClusterWorkflows
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @returns {vtadmin.ClusterWorkflows} ClusterWorkflows
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
ClusterWorkflows.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
* Verifies a ClusterWorkflows message.
* @function verify
* @memberof vtadmin.ClusterWorkflows
* @static
* @param {Object.<string,*>} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
ClusterWorkflows.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
if (message.workflows != null && message.hasOwnProperty("workflows")) {
if (!Array.isArray(message.workflows))
return "workflows: array expected";
for (var i = 0; i < message.workflows.length; ++i) {
var error = $root.vtadmin.Workflow.verify(message.workflows[i]);
if (error)
return "workflows." + error;
}
}
if (message.warnings != null && message.hasOwnProperty("warnings")) {
if (!Array.isArray(message.warnings))
return "warnings: array expected";
for (var i = 0; i < message.warnings.length; ++i)
if (!$util.isString(message.warnings[i]))
return "warnings: string[] expected";
}
return null;
};
/**
* Creates a ClusterWorkflows message from a plain object. Also converts values to their respective internal types.
* @function fromObject
* @memberof vtadmin.ClusterWorkflows
* @static
* @param {Object.<string,*>} object Plain object
* @returns {vtadmin.ClusterWorkflows} ClusterWorkflows
*/
ClusterWorkflows.fromObject = function fromObject(object) {
if (object instanceof $root.vtadmin.ClusterWorkflows)
return object;
var message = new $root.vtadmin.ClusterWorkflows();
if (object.workflows) {
if (!Array.isArray(object.workflows))
throw TypeError(".vtadmin.ClusterWorkflows.workflows: array expected");
message.workflows = [];
for (var i = 0; i < object.workflows.length; ++i) {
if (typeof object.workflows[i] !== "object")
throw TypeError(".vtadmin.ClusterWorkflows.workflows: object expected");
message.workflows[i] = $root.vtadmin.Workflow.fromObject(object.workflows[i]);
}
}
if (object.warnings) {
if (!Array.isArray(object.warnings))
throw TypeError(".vtadmin.ClusterWorkflows.warnings: array expected");
message.warnings = [];
for (var i = 0; i < object.warnings.length; ++i)
message.warnings[i] = String(object.warnings[i]);
}
return message;
};
/**
* Creates a plain object from a ClusterWorkflows message. Also converts values to other types if specified.
* @function toObject
* @memberof vtadmin.ClusterWorkflows
* @static
* @param {vtadmin.ClusterWorkflows} message ClusterWorkflows
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.<string,*>} Plain object
*/
ClusterWorkflows.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
if (options.arrays || options.defaults) {
object.workflows = [];
object.warnings = [];
}
if (message.workflows && message.workflows.length) {
object.workflows = [];
for (var j = 0; j < message.workflows.length; ++j)
object.workflows[j] = $root.vtadmin.Workflow.toObject(message.workflows[j], options);
}
if (message.warnings && message.warnings.length) {
object.warnings = [];
for (var j = 0; j < message.warnings.length; ++j)
object.warnings[j] = message.warnings[j];
}
return object;
};
/**
* Converts this ClusterWorkflows to JSON.
* @function toJSON
* @memberof vtadmin.ClusterWorkflows
* @instance
* @returns {Object.<string,*>} JSON object
*/
ClusterWorkflows.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
return ClusterWorkflows;
})();
vtadmin.Keyspace = (function() {
/**
@ -6389,7 +6636,7 @@ $root.vtadmin = (function() {
* Properties of a GetWorkflowsResponse.
* @memberof vtadmin
* @interface IGetWorkflowsResponse
* @property {Array.<vtadmin.IWorkflow>|null} [workflows] GetWorkflowsResponse workflows
* @property {Object.<string,vtadmin.IClusterWorkflows>|null} [workflows_by_cluster] GetWorkflowsResponse workflows_by_cluster
*/
/**
@ -6401,7 +6648,7 @@ $root.vtadmin = (function() {
* @param {vtadmin.IGetWorkflowsResponse=} [properties] Properties to set
*/
function GetWorkflowsResponse(properties) {
this.workflows = [];
this.workflows_by_cluster = {};
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@ -6409,12 +6656,12 @@ $root.vtadmin = (function() {
}
/**
* GetWorkflowsResponse workflows.
* @member {Array.<vtadmin.IWorkflow>} workflows
* GetWorkflowsResponse workflows_by_cluster.
* @member {Object.<string,vtadmin.IClusterWorkflows>} workflows_by_cluster
* @memberof vtadmin.GetWorkflowsResponse
* @instance
*/
GetWorkflowsResponse.prototype.workflows = $util.emptyArray;
GetWorkflowsResponse.prototype.workflows_by_cluster = $util.emptyObject;
/**
* Creates a new GetWorkflowsResponse instance using the specified properties.
@ -6440,9 +6687,11 @@ $root.vtadmin = (function() {
GetWorkflowsResponse.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
if (message.workflows != null && message.workflows.length)
for (var i = 0; i < message.workflows.length; ++i)
$root.vtadmin.Workflow.encode(message.workflows[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
if (message.workflows_by_cluster != null && Object.hasOwnProperty.call(message, "workflows_by_cluster"))
for (var keys = Object.keys(message.workflows_by_cluster), i = 0; i < keys.length; ++i) {
writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
$root.vtadmin.ClusterWorkflows.encode(message.workflows_by_cluster[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
}
return writer;
};
@ -6473,14 +6722,31 @@ $root.vtadmin = (function() {
GetWorkflowsResponse.decode = function decode(reader, length) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.vtadmin.GetWorkflowsResponse();
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.vtadmin.GetWorkflowsResponse(), key, value;
while (reader.pos < end) {
var tag = reader.uint32();
switch (tag >>> 3) {
case 1:
if (!(message.workflows && message.workflows.length))
message.workflows = [];
message.workflows.push($root.vtadmin.Workflow.decode(reader, reader.uint32()));
if (message.workflows_by_cluster === $util.emptyObject)
message.workflows_by_cluster = {};
var end2 = reader.uint32() + reader.pos;
key = "";
value = null;
while (reader.pos < end2) {
var tag2 = reader.uint32();
switch (tag2 >>> 3) {
case 1:
key = reader.string();
break;
case 2:
value = $root.vtadmin.ClusterWorkflows.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag2 & 7);
break;
}
}
message.workflows_by_cluster[key] = value;
break;
default:
reader.skipType(tag & 7);
@ -6517,13 +6783,14 @@ $root.vtadmin = (function() {
GetWorkflowsResponse.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
if (message.workflows != null && message.hasOwnProperty("workflows")) {
if (!Array.isArray(message.workflows))
return "workflows: array expected";
for (var i = 0; i < message.workflows.length; ++i) {
var error = $root.vtadmin.Workflow.verify(message.workflows[i]);
if (message.workflows_by_cluster != null && message.hasOwnProperty("workflows_by_cluster")) {
if (!$util.isObject(message.workflows_by_cluster))
return "workflows_by_cluster: object expected";
var key = Object.keys(message.workflows_by_cluster);
for (var i = 0; i < key.length; ++i) {
var error = $root.vtadmin.ClusterWorkflows.verify(message.workflows_by_cluster[key[i]]);
if (error)
return "workflows." + error;
return "workflows_by_cluster." + error;
}
}
return null;
@ -6541,14 +6808,14 @@ $root.vtadmin = (function() {
if (object instanceof $root.vtadmin.GetWorkflowsResponse)
return object;
var message = new $root.vtadmin.GetWorkflowsResponse();
if (object.workflows) {
if (!Array.isArray(object.workflows))
throw TypeError(".vtadmin.GetWorkflowsResponse.workflows: array expected");
message.workflows = [];
for (var i = 0; i < object.workflows.length; ++i) {
if (typeof object.workflows[i] !== "object")
throw TypeError(".vtadmin.GetWorkflowsResponse.workflows: object expected");
message.workflows[i] = $root.vtadmin.Workflow.fromObject(object.workflows[i]);
if (object.workflows_by_cluster) {
if (typeof object.workflows_by_cluster !== "object")
throw TypeError(".vtadmin.GetWorkflowsResponse.workflows_by_cluster: object expected");
message.workflows_by_cluster = {};
for (var keys = Object.keys(object.workflows_by_cluster), i = 0; i < keys.length; ++i) {
if (typeof object.workflows_by_cluster[keys[i]] !== "object")
throw TypeError(".vtadmin.GetWorkflowsResponse.workflows_by_cluster: object expected");
message.workflows_by_cluster[keys[i]] = $root.vtadmin.ClusterWorkflows.fromObject(object.workflows_by_cluster[keys[i]]);
}
}
return message;
@ -6567,12 +6834,13 @@ $root.vtadmin = (function() {
if (!options)
options = {};
var object = {};
if (options.arrays || options.defaults)
object.workflows = [];
if (message.workflows && message.workflows.length) {
object.workflows = [];
for (var j = 0; j < message.workflows.length; ++j)
object.workflows[j] = $root.vtadmin.Workflow.toObject(message.workflows[j], options);
if (options.objects || options.defaults)
object.workflows_by_cluster = {};
var keys2;
if (message.workflows_by_cluster && (keys2 = Object.keys(message.workflows_by_cluster)).length) {
object.workflows_by_cluster = {};
for (var j = 0; j < keys2.length; ++j)
object.workflows_by_cluster[keys2[j]] = $root.vtadmin.ClusterWorkflows.toObject(message.workflows_by_cluster[keys2[j]], options);
}
return object;
};