mirror of https://github.com/etcd-io/dbtester.git
dbtesterpb: add "etcd__other"
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
1a1c2079dc
commit
596dacfcc4
|
|
@ -27,6 +27,7 @@
|
|||
ConfigClientMachineAgentControl
|
||||
Flag_Cetcd_Beta
|
||||
Flag_Consul_V1_0_2
|
||||
Flag_Etcd_Other
|
||||
Flag_Etcd_Tip
|
||||
Flag_Etcd_V3_2
|
||||
Flag_Etcd_V3_3
|
||||
|
|
|
|||
|
|
@ -20,9 +20,10 @@ type DatabaseID int32
|
|||
|
||||
const (
|
||||
// https://github.com/coreos/etcd/releases
|
||||
DatabaseID_etcd__tip DatabaseID = 0
|
||||
DatabaseID_etcd__v3_2 DatabaseID = 1
|
||||
DatabaseID_etcd__v3_3 DatabaseID = 2
|
||||
DatabaseID_etcd__other DatabaseID = 0
|
||||
DatabaseID_etcd__tip DatabaseID = 1
|
||||
DatabaseID_etcd__v3_2 DatabaseID = 2
|
||||
DatabaseID_etcd__v3_3 DatabaseID = 3
|
||||
// https://zookeeper.apache.org/releases.html
|
||||
DatabaseID_zookeeper__r3_5_3_beta DatabaseID = 100
|
||||
// https://github.com/hashicorp/consul/releases
|
||||
|
|
@ -34,18 +35,20 @@ const (
|
|||
)
|
||||
|
||||
var DatabaseID_name = map[int32]string{
|
||||
0: "etcd__tip",
|
||||
1: "etcd__v3_2",
|
||||
2: "etcd__v3_3",
|
||||
0: "etcd__other",
|
||||
1: "etcd__tip",
|
||||
2: "etcd__v3_2",
|
||||
3: "etcd__v3_3",
|
||||
100: "zookeeper__r3_5_3_beta",
|
||||
200: "consul__v1_0_2",
|
||||
300: "zetcd__beta",
|
||||
400: "cetcd__beta",
|
||||
}
|
||||
var DatabaseID_value = map[string]int32{
|
||||
"etcd__tip": 0,
|
||||
"etcd__v3_2": 1,
|
||||
"etcd__v3_3": 2,
|
||||
"etcd__other": 0,
|
||||
"etcd__tip": 1,
|
||||
"etcd__v3_2": 2,
|
||||
"etcd__v3_3": 3,
|
||||
"zookeeper__r3_5_3_beta": 100,
|
||||
"consul__v1_0_2": 200,
|
||||
"zetcd__beta": 300,
|
||||
|
|
@ -64,20 +67,20 @@ func init() {
|
|||
func init() { proto.RegisterFile("dbtesterpb/database_id.proto", fileDescriptorDatabaseId) }
|
||||
|
||||
var fileDescriptorDatabaseId = []byte{
|
||||
// 226 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x49, 0x49, 0x2a, 0x49,
|
||||
0x2d, 0x2e, 0x49, 0x2d, 0x2a, 0x48, 0xd2, 0x4f, 0x49, 0x2c, 0x49, 0x4c, 0x4a, 0x2c, 0x4e, 0x8d,
|
||||
0xcf, 0x4c, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x42, 0xc8, 0x4a, 0xe9, 0xa6, 0x67,
|
||||
0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xa7, 0xe7, 0xa7, 0xe7, 0xeb, 0x83, 0x95,
|
||||
0x24, 0x95, 0xa6, 0x81, 0x79, 0x60, 0x0e, 0x98, 0x05, 0xd1, 0xaa, 0x35, 0x81, 0x91, 0x8b, 0xcb,
|
||||
0x05, 0x6a, 0xa0, 0xa7, 0x8b, 0x10, 0x2f, 0x17, 0x67, 0x6a, 0x49, 0x72, 0x4a, 0x7c, 0x7c, 0x49,
|
||||
0x66, 0x81, 0x00, 0x83, 0x10, 0x1f, 0x17, 0x17, 0x84, 0x5b, 0x66, 0x1c, 0x6f, 0x24, 0xc0, 0x88,
|
||||
0xc2, 0x37, 0x16, 0x60, 0x12, 0x92, 0xe2, 0x12, 0xab, 0xca, 0xcf, 0xcf, 0x4e, 0x4d, 0x2d, 0x48,
|
||||
0x2d, 0x8a, 0x8f, 0x2f, 0x32, 0x8e, 0x37, 0x8d, 0x37, 0x8e, 0x4f, 0x4a, 0x2d, 0x49, 0x14, 0x48,
|
||||
0x11, 0x12, 0xe6, 0xe2, 0x4b, 0xce, 0xcf, 0x2b, 0x2e, 0xcd, 0x89, 0x8f, 0x2f, 0x33, 0x8c, 0x37,
|
||||
0x88, 0x37, 0x12, 0x38, 0xc1, 0x28, 0x24, 0xc0, 0xc5, 0x5d, 0x05, 0x31, 0x01, 0xac, 0x6a, 0x0d,
|
||||
0x13, 0x48, 0x24, 0x19, 0x49, 0x64, 0x02, 0xb3, 0x93, 0xc8, 0x89, 0x87, 0x72, 0x0c, 0x27, 0x1e,
|
||||
0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x8c, 0xc7, 0x72, 0x0c, 0x49,
|
||||
0x6c, 0x60, 0xf7, 0x1a, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x30, 0x14, 0xdc, 0x70, 0x0a, 0x01,
|
||||
0x00, 0x00,
|
||||
// 237 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0x4d, 0x4a, 0xc4, 0x40,
|
||||
0x10, 0x85, 0xd3, 0x33, 0x20, 0x58, 0x83, 0x63, 0xd3, 0x8a, 0x8b, 0x41, 0xfa, 0x00, 0x82, 0x13,
|
||||
0x9d, 0xc6, 0x0b, 0xc8, 0x6c, 0x3c, 0x45, 0x91, 0x4e, 0x97, 0x99, 0xe0, 0x4f, 0x85, 0x4e, 0x65,
|
||||
0x16, 0x73, 0x0a, 0x97, 0x6e, 0xdd, 0x7b, 0x90, 0x2c, 0x3d, 0x82, 0xc6, 0x8b, 0x88, 0x1d, 0x41,
|
||||
0xdd, 0xd5, 0xf7, 0xd5, 0xab, 0x07, 0x05, 0xa7, 0xc1, 0x0b, 0xb5, 0x42, 0xb1, 0xf1, 0x79, 0x28,
|
||||
0xa4, 0xf0, 0x45, 0x4b, 0x58, 0x87, 0x65, 0x13, 0x59, 0xd8, 0xc0, 0xef, 0x76, 0x71, 0x5e, 0xd5,
|
||||
0xb2, 0xe9, 0xfc, 0xb2, 0xe4, 0x87, 0xbc, 0xe2, 0x8a, 0xf3, 0x14, 0xf1, 0xdd, 0x6d, 0xa2, 0x04,
|
||||
0x69, 0x1a, 0x4f, 0xcf, 0x5e, 0x14, 0xc0, 0xfa, 0xa7, 0xf0, 0x66, 0x6d, 0x0e, 0x61, 0x46, 0x52,
|
||||
0x06, 0x44, 0x96, 0x0d, 0x45, 0x9d, 0x99, 0x03, 0xd8, 0x1f, 0x85, 0xd4, 0x8d, 0x56, 0x66, 0x0e,
|
||||
0x30, 0xe2, 0xd6, 0xe1, 0x4a, 0x4f, 0xfe, 0xb1, 0xd3, 0x53, 0xb3, 0x80, 0x93, 0x1d, 0xf3, 0x1d,
|
||||
0x51, 0x43, 0x11, 0x31, 0x3a, 0xbc, 0x42, 0x87, 0x9e, 0xa4, 0xd0, 0xc1, 0x1c, 0xc1, 0xbc, 0xe4,
|
||||
0xc7, 0xb6, 0xbb, 0x47, 0xdc, 0x5e, 0xe2, 0x05, 0xae, 0x74, 0xaf, 0x8c, 0x86, 0xd9, 0x6e, 0x6c,
|
||||
0x48, 0xa9, 0xd7, 0xc9, 0xb7, 0x29, 0xff, 0x98, 0xa7, 0xe9, 0xf5, 0x71, 0xff, 0x61, 0xb3, 0x7e,
|
||||
0xb0, 0xea, 0x6d, 0xb0, 0xea, 0x7d, 0xb0, 0xea, 0xf9, 0xd3, 0x66, 0x7e, 0x2f, 0x3d, 0xe0, 0xbe,
|
||||
0x02, 0x00, 0x00, 0xff, 0xff, 0xe8, 0xf3, 0x61, 0x28, 0x1b, 0x01, 0x00, 0x00,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,9 +13,10 @@ option (gogoproto.goproto_getters_all) = false;
|
|||
// is added/removed.
|
||||
enum DatabaseID {
|
||||
// https://github.com/coreos/etcd/releases
|
||||
etcd__tip = 0;
|
||||
etcd__v3_2 = 1;
|
||||
etcd__v3_3 = 2;
|
||||
etcd__other = 0;
|
||||
etcd__tip = 1;
|
||||
etcd__v3_2 = 2;
|
||||
etcd__v3_3 = 3;
|
||||
|
||||
// https://zookeeper.apache.org/releases.html
|
||||
zookeeper__r3_5_3_beta = 100;
|
||||
|
|
|
|||
|
|
@ -15,6 +15,17 @@ var _ = proto.Marshal
|
|||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// See https://github.com/coreos/etcd/blob/master/etcdmain/help.go for more.
|
||||
type Flag_Etcd_Other struct {
|
||||
SnapshotCount int64 `protobuf:"varint,1,opt,name=SnapshotCount,proto3" json:"SnapshotCount,omitempty" yaml:"snapshot_count"`
|
||||
QuotaSizeBytes int64 `protobuf:"varint,2,opt,name=QuotaSizeBytes,proto3" json:"QuotaSizeBytes,omitempty" yaml:"quota_size_bytes"`
|
||||
}
|
||||
|
||||
func (m *Flag_Etcd_Other) Reset() { *m = Flag_Etcd_Other{} }
|
||||
func (m *Flag_Etcd_Other) String() string { return proto.CompactTextString(m) }
|
||||
func (*Flag_Etcd_Other) ProtoMessage() {}
|
||||
func (*Flag_Etcd_Other) Descriptor() ([]byte, []int) { return fileDescriptorFlagEtcd, []int{0} }
|
||||
|
||||
// See https://github.com/coreos/etcd/blob/master/etcdmain/help.go for more.
|
||||
type Flag_Etcd_Tip struct {
|
||||
SnapshotCount int64 `protobuf:"varint,1,opt,name=SnapshotCount,proto3" json:"SnapshotCount,omitempty" yaml:"snapshot_count"`
|
||||
|
|
@ -24,7 +35,7 @@ type Flag_Etcd_Tip struct {
|
|||
func (m *Flag_Etcd_Tip) Reset() { *m = Flag_Etcd_Tip{} }
|
||||
func (m *Flag_Etcd_Tip) String() string { return proto.CompactTextString(m) }
|
||||
func (*Flag_Etcd_Tip) ProtoMessage() {}
|
||||
func (*Flag_Etcd_Tip) Descriptor() ([]byte, []int) { return fileDescriptorFlagEtcd, []int{0} }
|
||||
func (*Flag_Etcd_Tip) Descriptor() ([]byte, []int) { return fileDescriptorFlagEtcd, []int{1} }
|
||||
|
||||
// See https://github.com/coreos/etcd/blob/master/etcdmain/help.go for more.
|
||||
type Flag_Etcd_V3_2 struct {
|
||||
|
|
@ -35,7 +46,7 @@ type Flag_Etcd_V3_2 struct {
|
|||
func (m *Flag_Etcd_V3_2) Reset() { *m = Flag_Etcd_V3_2{} }
|
||||
func (m *Flag_Etcd_V3_2) String() string { return proto.CompactTextString(m) }
|
||||
func (*Flag_Etcd_V3_2) ProtoMessage() {}
|
||||
func (*Flag_Etcd_V3_2) Descriptor() ([]byte, []int) { return fileDescriptorFlagEtcd, []int{1} }
|
||||
func (*Flag_Etcd_V3_2) Descriptor() ([]byte, []int) { return fileDescriptorFlagEtcd, []int{2} }
|
||||
|
||||
// See https://github.com/coreos/etcd/blob/master/etcdmain/help.go for more.
|
||||
type Flag_Etcd_V3_3 struct {
|
||||
|
|
@ -46,13 +57,42 @@ type Flag_Etcd_V3_3 struct {
|
|||
func (m *Flag_Etcd_V3_3) Reset() { *m = Flag_Etcd_V3_3{} }
|
||||
func (m *Flag_Etcd_V3_3) String() string { return proto.CompactTextString(m) }
|
||||
func (*Flag_Etcd_V3_3) ProtoMessage() {}
|
||||
func (*Flag_Etcd_V3_3) Descriptor() ([]byte, []int) { return fileDescriptorFlagEtcd, []int{2} }
|
||||
func (*Flag_Etcd_V3_3) Descriptor() ([]byte, []int) { return fileDescriptorFlagEtcd, []int{3} }
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Flag_Etcd_Other)(nil), "dbtesterpb.flag__etcd__other")
|
||||
proto.RegisterType((*Flag_Etcd_Tip)(nil), "dbtesterpb.flag__etcd__tip")
|
||||
proto.RegisterType((*Flag_Etcd_V3_2)(nil), "dbtesterpb.flag__etcd__v3_2")
|
||||
proto.RegisterType((*Flag_Etcd_V3_3)(nil), "dbtesterpb.flag__etcd__v3_3")
|
||||
}
|
||||
func (m *Flag_Etcd_Other) Marshal() (dAtA []byte, err error) {
|
||||
size := m.Size()
|
||||
dAtA = make([]byte, size)
|
||||
n, err := m.MarshalTo(dAtA)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return dAtA[:n], nil
|
||||
}
|
||||
|
||||
func (m *Flag_Etcd_Other) MarshalTo(dAtA []byte) (int, error) {
|
||||
var i int
|
||||
_ = i
|
||||
var l int
|
||||
_ = l
|
||||
if m.SnapshotCount != 0 {
|
||||
dAtA[i] = 0x8
|
||||
i++
|
||||
i = encodeVarintFlagEtcd(dAtA, i, uint64(m.SnapshotCount))
|
||||
}
|
||||
if m.QuotaSizeBytes != 0 {
|
||||
dAtA[i] = 0x10
|
||||
i++
|
||||
i = encodeVarintFlagEtcd(dAtA, i, uint64(m.QuotaSizeBytes))
|
||||
}
|
||||
return i, nil
|
||||
}
|
||||
|
||||
func (m *Flag_Etcd_Tip) Marshal() (dAtA []byte, err error) {
|
||||
size := m.Size()
|
||||
dAtA = make([]byte, size)
|
||||
|
|
@ -146,6 +186,18 @@ func encodeVarintFlagEtcd(dAtA []byte, offset int, v uint64) int {
|
|||
dAtA[offset] = uint8(v)
|
||||
return offset + 1
|
||||
}
|
||||
func (m *Flag_Etcd_Other) Size() (n int) {
|
||||
var l int
|
||||
_ = l
|
||||
if m.SnapshotCount != 0 {
|
||||
n += 1 + sovFlagEtcd(uint64(m.SnapshotCount))
|
||||
}
|
||||
if m.QuotaSizeBytes != 0 {
|
||||
n += 1 + sovFlagEtcd(uint64(m.QuotaSizeBytes))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
func (m *Flag_Etcd_Tip) Size() (n int) {
|
||||
var l int
|
||||
_ = l
|
||||
|
|
@ -195,6 +247,94 @@ func sovFlagEtcd(x uint64) (n int) {
|
|||
func sozFlagEtcd(x uint64) (n int) {
|
||||
return sovFlagEtcd(uint64((x << 1) ^ uint64((int64(x) >> 63))))
|
||||
}
|
||||
func (m *Flag_Etcd_Other) 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 ErrIntOverflowFlagEtcd
|
||||
}
|
||||
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: flag__etcd__other: wiretype end group for non-group")
|
||||
}
|
||||
if fieldNum <= 0 {
|
||||
return fmt.Errorf("proto: flag__etcd__other: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
}
|
||||
switch fieldNum {
|
||||
case 1:
|
||||
if wireType != 0 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field SnapshotCount", wireType)
|
||||
}
|
||||
m.SnapshotCount = 0
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowFlagEtcd
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
m.SnapshotCount |= (int64(b) & 0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
case 2:
|
||||
if wireType != 0 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field QuotaSizeBytes", wireType)
|
||||
}
|
||||
m.QuotaSizeBytes = 0
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowFlagEtcd
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
m.QuotaSizeBytes |= (int64(b) & 0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
default:
|
||||
iNdEx = preIndex
|
||||
skippy, err := skipFlagEtcd(dAtA[iNdEx:])
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if skippy < 0 {
|
||||
return ErrInvalidLengthFlagEtcd
|
||||
}
|
||||
if (iNdEx + skippy) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
iNdEx += skippy
|
||||
}
|
||||
}
|
||||
|
||||
if iNdEx > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
return nil
|
||||
}
|
||||
func (m *Flag_Etcd_Tip) Unmarshal(dAtA []byte) error {
|
||||
l := len(dAtA)
|
||||
iNdEx := 0
|
||||
|
|
@ -567,20 +707,21 @@ var (
|
|||
func init() { proto.RegisterFile("dbtesterpb/flag_etcd.proto", fileDescriptorFlagEtcd) }
|
||||
|
||||
var fileDescriptorFlagEtcd = []byte{
|
||||
// 239 bytes of a gzipped FileDescriptorProto
|
||||
// 254 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4a, 0x49, 0x2a, 0x49,
|
||||
0x2d, 0x2e, 0x49, 0x2d, 0x2a, 0x48, 0xd2, 0x4f, 0xcb, 0x49, 0x4c, 0x8f, 0x4f, 0x2d, 0x49, 0x4e,
|
||||
0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x42, 0xc8, 0x49, 0xe9, 0xa6, 0x67, 0x96, 0x64,
|
||||
0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xa7, 0xe7, 0xa7, 0xe7, 0xeb, 0x83, 0x95, 0x24, 0x95,
|
||||
0xa6, 0x81, 0x79, 0x60, 0x0e, 0x98, 0x05, 0xd1, 0xaa, 0x34, 0x9d, 0x91, 0x8b, 0x1f, 0x6c, 0x1c,
|
||||
0xd8, 0xbc, 0xf8, 0xf8, 0x92, 0xcc, 0x02, 0x21, 0x7b, 0x2e, 0xde, 0xe0, 0xbc, 0xc4, 0x82, 0xe2,
|
||||
0x8c, 0xfc, 0x12, 0xe7, 0xfc, 0xd2, 0xbc, 0x12, 0x09, 0x46, 0x05, 0x46, 0x0d, 0x66, 0x27, 0xc9,
|
||||
0x4f, 0xf7, 0xe4, 0x45, 0x2b, 0x13, 0x73, 0x73, 0xac, 0x94, 0x8a, 0xa1, 0xd2, 0xf1, 0xc9, 0x20,
|
||||
0x79, 0xa5, 0x20, 0x54, 0xf5, 0x42, 0xce, 0x5c, 0x7c, 0x81, 0xa5, 0xf9, 0x25, 0x89, 0xc1, 0x99,
|
||||
0x55, 0xa9, 0x4e, 0x95, 0x25, 0xa9, 0xc5, 0x12, 0x4c, 0x60, 0x13, 0xa4, 0x3f, 0xdd, 0x93, 0x17,
|
||||
0x87, 0x98, 0x50, 0x08, 0x92, 0x8f, 0x2f, 0xce, 0xac, 0x4a, 0x8d, 0x4f, 0x02, 0xa9, 0x50, 0x0a,
|
||||
0x42, 0xd3, 0xa2, 0x34, 0x83, 0x91, 0x4b, 0x00, 0xd9, 0x65, 0x65, 0xc6, 0xf1, 0x46, 0x83, 0xd7,
|
||||
0x69, 0xc6, 0x83, 0xc3, 0x69, 0x4e, 0x22, 0x27, 0x1e, 0xca, 0x31, 0x9c, 0x78, 0x24, 0xc7, 0x78,
|
||||
0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x33, 0x1e, 0xcb, 0x31, 0x24, 0xb1, 0x81, 0x23,
|
||||
0xdb, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x11, 0xc5, 0x8d, 0xd9, 0x45, 0x02, 0x00, 0x00,
|
||||
0xa6, 0x81, 0x79, 0x60, 0x0e, 0x98, 0x05, 0xd1, 0xaa, 0x34, 0x93, 0x91, 0x4b, 0x10, 0x6c, 0x1c,
|
||||
0xd8, 0xbc, 0xf8, 0xf8, 0xfc, 0x92, 0x8c, 0xd4, 0x22, 0x21, 0x7b, 0x2e, 0xde, 0xe0, 0xbc, 0xc4,
|
||||
0x82, 0xe2, 0x8c, 0xfc, 0x12, 0xe7, 0xfc, 0xd2, 0xbc, 0x12, 0x09, 0x46, 0x05, 0x46, 0x0d, 0x66,
|
||||
0x27, 0xc9, 0x4f, 0xf7, 0xe4, 0x45, 0x2b, 0x13, 0x73, 0x73, 0xac, 0x94, 0x8a, 0xa1, 0xd2, 0xf1,
|
||||
0xc9, 0x20, 0x79, 0xa5, 0x20, 0x54, 0xf5, 0x42, 0xce, 0x5c, 0x7c, 0x81, 0xa5, 0xf9, 0x25, 0x89,
|
||||
0xc1, 0x99, 0x55, 0xa9, 0x4e, 0x95, 0x25, 0xa9, 0xc5, 0x12, 0x4c, 0x60, 0x13, 0xa4, 0x3f, 0xdd,
|
||||
0x93, 0x17, 0x87, 0x98, 0x50, 0x08, 0x92, 0x8f, 0x2f, 0xce, 0xac, 0x4a, 0x8d, 0x4f, 0x02, 0xa9,
|
||||
0x50, 0x0a, 0x42, 0xd3, 0xa2, 0x34, 0x9d, 0x91, 0x8b, 0x1f, 0xd9, 0x6d, 0x25, 0x99, 0x05, 0x83,
|
||||
0xc4, 0x65, 0x33, 0x18, 0xb9, 0x04, 0x90, 0x5d, 0x56, 0x66, 0x1c, 0x6f, 0x34, 0x78, 0x9d, 0x66,
|
||||
0x3c, 0x38, 0x9c, 0xe6, 0x24, 0x72, 0xe2, 0xa1, 0x1c, 0xc3, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e,
|
||||
0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe3, 0xb1, 0x1c, 0x43, 0x12, 0x1b, 0x38, 0x21, 0x1a,
|
||||
0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xa0, 0x3f, 0x04, 0x0f, 0xe1, 0x02, 0x00, 0x00,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,6 +8,12 @@ option (gogoproto.sizer_all) = true;
|
|||
option (gogoproto.unmarshaler_all) = true;
|
||||
option (gogoproto.goproto_getters_all) = false;
|
||||
|
||||
// See https://github.com/coreos/etcd/blob/master/etcdmain/help.go for more.
|
||||
message flag__etcd__other {
|
||||
int64 SnapshotCount = 1 [(gogoproto.moretags) = "yaml:\"snapshot_count\""];
|
||||
int64 QuotaSizeBytes = 2 [(gogoproto.moretags) = "yaml:\"quota_size_bytes\""];
|
||||
}
|
||||
|
||||
// See https://github.com/coreos/etcd/blob/master/etcdmain/help.go for more.
|
||||
message flag__etcd__tip {
|
||||
int64 SnapshotCount = 1 [(gogoproto.moretags) = "yaml:\"snapshot_count\""];
|
||||
|
|
|
|||
|
|
@ -54,9 +54,10 @@ type Request struct {
|
|||
IPIndex uint32 `protobuf:"varint,6,opt,name=IPIndex,proto3" json:"IPIndex,omitempty"`
|
||||
CurrentClientNumber int64 `protobuf:"varint,7,opt,name=CurrentClientNumber,proto3" json:"CurrentClientNumber,omitempty"`
|
||||
ConfigClientMachineInitial *ConfigClientMachineInitial `protobuf:"bytes,8,opt,name=ConfigClientMachineInitial" json:"ConfigClientMachineInitial,omitempty"`
|
||||
Flag_Etcd_Tip *Flag_Etcd_Tip `protobuf:"bytes,100,opt,name=flag__etcd__tip,json=flagEtcdTip" json:"flag__etcd__tip,omitempty"`
|
||||
Flag_Etcd_V3_2 *Flag_Etcd_V3_2 `protobuf:"bytes,101,opt,name=flag__etcd__v3_2,json=flagEtcdV32" json:"flag__etcd__v3_2,omitempty"`
|
||||
Flag_Etcd_V3_3 *Flag_Etcd_V3_3 `protobuf:"bytes,102,opt,name=flag__etcd__v3_3,json=flagEtcdV33" json:"flag__etcd__v3_3,omitempty"`
|
||||
Flag_Etcd_Other *Flag_Etcd_Other `protobuf:"bytes,100,opt,name=flag__etcd__other,json=flagEtcdOther" json:"flag__etcd__other,omitempty"`
|
||||
Flag_Etcd_Tip *Flag_Etcd_Tip `protobuf:"bytes,101,opt,name=flag__etcd__tip,json=flagEtcdTip" json:"flag__etcd__tip,omitempty"`
|
||||
Flag_Etcd_V3_2 *Flag_Etcd_V3_2 `protobuf:"bytes,102,opt,name=flag__etcd__v3_2,json=flagEtcdV32" json:"flag__etcd__v3_2,omitempty"`
|
||||
Flag_Etcd_V3_3 *Flag_Etcd_V3_3 `protobuf:"bytes,103,opt,name=flag__etcd__v3_3,json=flagEtcdV33" json:"flag__etcd__v3_3,omitempty"`
|
||||
Flag_Zookeeper_R3_5_3Beta *Flag_Zookeeper_R3_5_3Beta `protobuf:"bytes,200,opt,name=flag__zookeeper__r3_5_3_beta,json=flagZookeeperR353Beta" json:"flag__zookeeper__r3_5_3_beta,omitempty"`
|
||||
Flag_Consul_V1_0_2 *Flag_Consul_V1_0_2 `protobuf:"bytes,300,opt,name=flag__consul__v1_0_2,json=flagConsulV102" json:"flag__consul__v1_0_2,omitempty"`
|
||||
Flag_Cetcd_Beta *Flag_Cetcd_Beta `protobuf:"bytes,400,opt,name=flag__cetcd__beta,json=flagCetcdBeta" json:"flag__cetcd__beta,omitempty"`
|
||||
|
|
@ -225,53 +226,65 @@ func (m *Request) MarshalTo(dAtA []byte) (int, error) {
|
|||
}
|
||||
i += n1
|
||||
}
|
||||
if m.Flag_Etcd_Tip != nil {
|
||||
if m.Flag_Etcd_Other != nil {
|
||||
dAtA[i] = 0xa2
|
||||
i++
|
||||
dAtA[i] = 0x6
|
||||
i++
|
||||
i = encodeVarintMessage(dAtA, i, uint64(m.Flag_Etcd_Tip.Size()))
|
||||
n2, err := m.Flag_Etcd_Tip.MarshalTo(dAtA[i:])
|
||||
i = encodeVarintMessage(dAtA, i, uint64(m.Flag_Etcd_Other.Size()))
|
||||
n2, err := m.Flag_Etcd_Other.MarshalTo(dAtA[i:])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i += n2
|
||||
}
|
||||
if m.Flag_Etcd_V3_2 != nil {
|
||||
if m.Flag_Etcd_Tip != nil {
|
||||
dAtA[i] = 0xaa
|
||||
i++
|
||||
dAtA[i] = 0x6
|
||||
i++
|
||||
i = encodeVarintMessage(dAtA, i, uint64(m.Flag_Etcd_V3_2.Size()))
|
||||
n3, err := m.Flag_Etcd_V3_2.MarshalTo(dAtA[i:])
|
||||
i = encodeVarintMessage(dAtA, i, uint64(m.Flag_Etcd_Tip.Size()))
|
||||
n3, err := m.Flag_Etcd_Tip.MarshalTo(dAtA[i:])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i += n3
|
||||
}
|
||||
if m.Flag_Etcd_V3_3 != nil {
|
||||
if m.Flag_Etcd_V3_2 != nil {
|
||||
dAtA[i] = 0xb2
|
||||
i++
|
||||
dAtA[i] = 0x6
|
||||
i++
|
||||
i = encodeVarintMessage(dAtA, i, uint64(m.Flag_Etcd_V3_3.Size()))
|
||||
n4, err := m.Flag_Etcd_V3_3.MarshalTo(dAtA[i:])
|
||||
i = encodeVarintMessage(dAtA, i, uint64(m.Flag_Etcd_V3_2.Size()))
|
||||
n4, err := m.Flag_Etcd_V3_2.MarshalTo(dAtA[i:])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i += n4
|
||||
}
|
||||
if m.Flag_Etcd_V3_3 != nil {
|
||||
dAtA[i] = 0xba
|
||||
i++
|
||||
dAtA[i] = 0x6
|
||||
i++
|
||||
i = encodeVarintMessage(dAtA, i, uint64(m.Flag_Etcd_V3_3.Size()))
|
||||
n5, err := m.Flag_Etcd_V3_3.MarshalTo(dAtA[i:])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i += n5
|
||||
}
|
||||
if m.Flag_Zookeeper_R3_5_3Beta != nil {
|
||||
dAtA[i] = 0xc2
|
||||
i++
|
||||
dAtA[i] = 0xc
|
||||
i++
|
||||
i = encodeVarintMessage(dAtA, i, uint64(m.Flag_Zookeeper_R3_5_3Beta.Size()))
|
||||
n5, err := m.Flag_Zookeeper_R3_5_3Beta.MarshalTo(dAtA[i:])
|
||||
n6, err := m.Flag_Zookeeper_R3_5_3Beta.MarshalTo(dAtA[i:])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i += n5
|
||||
i += n6
|
||||
}
|
||||
if m.Flag_Consul_V1_0_2 != nil {
|
||||
dAtA[i] = 0xe2
|
||||
|
|
@ -279,11 +292,11 @@ func (m *Request) MarshalTo(dAtA []byte) (int, error) {
|
|||
dAtA[i] = 0x12
|
||||
i++
|
||||
i = encodeVarintMessage(dAtA, i, uint64(m.Flag_Consul_V1_0_2.Size()))
|
||||
n6, err := m.Flag_Consul_V1_0_2.MarshalTo(dAtA[i:])
|
||||
n7, err := m.Flag_Consul_V1_0_2.MarshalTo(dAtA[i:])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i += n6
|
||||
i += n7
|
||||
}
|
||||
if m.Flag_Cetcd_Beta != nil {
|
||||
dAtA[i] = 0x82
|
||||
|
|
@ -291,11 +304,11 @@ func (m *Request) MarshalTo(dAtA []byte) (int, error) {
|
|||
dAtA[i] = 0x19
|
||||
i++
|
||||
i = encodeVarintMessage(dAtA, i, uint64(m.Flag_Cetcd_Beta.Size()))
|
||||
n7, err := m.Flag_Cetcd_Beta.MarshalTo(dAtA[i:])
|
||||
n8, err := m.Flag_Cetcd_Beta.MarshalTo(dAtA[i:])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i += n7
|
||||
i += n8
|
||||
}
|
||||
if m.Flag_Zetcd_Beta != nil {
|
||||
dAtA[i] = 0xa2
|
||||
|
|
@ -303,11 +316,11 @@ func (m *Request) MarshalTo(dAtA []byte) (int, error) {
|
|||
dAtA[i] = 0x1f
|
||||
i++
|
||||
i = encodeVarintMessage(dAtA, i, uint64(m.Flag_Zetcd_Beta.Size()))
|
||||
n8, err := m.Flag_Zetcd_Beta.MarshalTo(dAtA[i:])
|
||||
n9, err := m.Flag_Zetcd_Beta.MarshalTo(dAtA[i:])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i += n8
|
||||
i += n9
|
||||
}
|
||||
return i, nil
|
||||
}
|
||||
|
|
@ -384,6 +397,10 @@ func (m *Request) Size() (n int) {
|
|||
l = m.ConfigClientMachineInitial.Size()
|
||||
n += 1 + l + sovMessage(uint64(l))
|
||||
}
|
||||
if m.Flag_Etcd_Other != nil {
|
||||
l = m.Flag_Etcd_Other.Size()
|
||||
n += 2 + l + sovMessage(uint64(l))
|
||||
}
|
||||
if m.Flag_Etcd_Tip != nil {
|
||||
l = m.Flag_Etcd_Tip.Size()
|
||||
n += 2 + l + sovMessage(uint64(l))
|
||||
|
|
@ -657,6 +674,39 @@ func (m *Request) Unmarshal(dAtA []byte) error {
|
|||
}
|
||||
iNdEx = postIndex
|
||||
case 100:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field Flag_Etcd_Other", wireType)
|
||||
}
|
||||
var msglen int
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowMessage
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
msglen |= (int(b) & 0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
if msglen < 0 {
|
||||
return ErrInvalidLengthMessage
|
||||
}
|
||||
postIndex := iNdEx + msglen
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
if m.Flag_Etcd_Other == nil {
|
||||
m.Flag_Etcd_Other = &Flag_Etcd_Other{}
|
||||
}
|
||||
if err := m.Flag_Etcd_Other.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||
return err
|
||||
}
|
||||
iNdEx = postIndex
|
||||
case 101:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field Flag_Etcd_Tip", wireType)
|
||||
}
|
||||
|
|
@ -689,7 +739,7 @@ func (m *Request) Unmarshal(dAtA []byte) error {
|
|||
return err
|
||||
}
|
||||
iNdEx = postIndex
|
||||
case 101:
|
||||
case 102:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field Flag_Etcd_V3_2", wireType)
|
||||
}
|
||||
|
|
@ -722,7 +772,7 @@ func (m *Request) Unmarshal(dAtA []byte) error {
|
|||
return err
|
||||
}
|
||||
iNdEx = postIndex
|
||||
case 102:
|
||||
case 103:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field Flag_Etcd_V3_3", wireType)
|
||||
}
|
||||
|
|
@ -1105,49 +1155,50 @@ var (
|
|||
func init() { proto.RegisterFile("dbtesterpb/message.proto", fileDescriptorMessage) }
|
||||
|
||||
var fileDescriptorMessage = []byte{
|
||||
// 690 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x94, 0x51, 0x4e, 0x1b, 0x3b,
|
||||
0x14, 0x86, 0x33, 0x04, 0x48, 0xe2, 0x28, 0xdc, 0x5c, 0x03, 0x57, 0x56, 0xe0, 0xa6, 0x23, 0x54,
|
||||
0xa1, 0x08, 0xa9, 0x09, 0x64, 0x44, 0xfb, 0x5c, 0x42, 0x2b, 0x22, 0xb5, 0x05, 0x39, 0x81, 0x07,
|
||||
0x5e, 0x2c, 0xcf, 0xe4, 0x64, 0x18, 0x91, 0x8c, 0xa7, 0x1e, 0x07, 0xb5, 0xac, 0xa2, 0x8f, 0x5d,
|
||||
0x44, 0x17, 0xd0, 0x25, 0xf0, 0xd8, 0x25, 0xb4, 0x74, 0x0b, 0x5d, 0x40, 0x35, 0x9e, 0x84, 0x18,
|
||||
0x12, 0xda, 0xb7, 0x9c, 0xff, 0xff, 0xfd, 0x8d, 0x7d, 0x62, 0x1f, 0x44, 0x7a, 0xae, 0x82, 0x58,
|
||||
0x81, 0x8c, 0xdc, 0xc6, 0x10, 0xe2, 0x98, 0xfb, 0x50, 0x8f, 0xa4, 0x50, 0x02, 0xa3, 0xa9, 0x53,
|
||||
0x79, 0xe6, 0x07, 0xea, 0x62, 0xe4, 0xd6, 0x3d, 0x31, 0x6c, 0xf8, 0xc2, 0x17, 0x0d, 0x1d, 0x71,
|
||||
0x47, 0x7d, 0x5d, 0xe9, 0x42, 0xff, 0x4a, 0x97, 0x56, 0x36, 0x0d, 0x68, 0x8f, 0x2b, 0xee, 0xf2,
|
||||
0x18, 0x58, 0xd0, 0x1b, 0xbb, 0x15, 0xc3, 0xed, 0x0f, 0xb8, 0xcf, 0x40, 0x79, 0x13, 0xef, 0xc9,
|
||||
0x43, 0xef, 0x5a, 0x88, 0x4b, 0x80, 0x08, 0xe4, 0x1c, 0xb4, 0x0e, 0x78, 0x22, 0x8c, 0x47, 0x83,
|
||||
0xb1, 0xbb, 0x31, 0xb3, 0xdc, 0x60, 0xcf, 0x98, 0x9e, 0x61, 0x6e, 0x1b, 0xa6, 0x27, 0xc2, 0x7e,
|
||||
0xe0, 0x33, 0x6f, 0x10, 0x40, 0xa8, 0xd8, 0x90, 0x7b, 0x17, 0x41, 0x38, 0xee, 0xca, 0xd6, 0xd7,
|
||||
0x1c, 0xca, 0x51, 0x78, 0x3f, 0x82, 0x58, 0x61, 0x07, 0x15, 0x8e, 0x23, 0x90, 0x5c, 0x05, 0x22,
|
||||
0x24, 0x96, 0x6d, 0xd5, 0x56, 0x9a, 0xeb, 0xf5, 0x29, 0xa7, 0x7e, 0x67, 0xd2, 0x69, 0x0e, 0xef,
|
||||
0xa0, 0x72, 0x57, 0x06, 0xbe, 0x0f, 0xf2, 0x8d, 0xf0, 0x4f, 0xa3, 0x81, 0xe0, 0x3d, 0xb2, 0x60,
|
||||
0x5b, 0xb5, 0x3c, 0x9d, 0xd1, 0xf1, 0x73, 0x84, 0x0e, 0xc7, 0xed, 0x6b, 0x1f, 0x92, 0xac, 0xfe,
|
||||
0xc2, 0x7f, 0xe6, 0x17, 0xa6, 0x2e, 0x35, 0x92, 0xd8, 0x46, 0xc5, 0x49, 0xd5, 0xe5, 0x3e, 0x59,
|
||||
0xb4, 0xad, 0x5a, 0x81, 0x9a, 0x12, 0x7e, 0x8a, 0x4a, 0x27, 0x00, 0xb2, 0x7d, 0x12, 0x77, 0x94,
|
||||
0x0c, 0x42, 0x9f, 0x2c, 0xe9, 0xcc, 0x7d, 0x11, 0x13, 0x94, 0x6b, 0x9f, 0xb4, 0xc3, 0x1e, 0x7c,
|
||||
0x20, 0xcb, 0xb6, 0x55, 0x2b, 0xd1, 0x49, 0x89, 0x77, 0xd1, 0x6a, 0x6b, 0x24, 0x25, 0x84, 0xaa,
|
||||
0xa5, 0xbb, 0xf4, 0x6e, 0x34, 0x74, 0x41, 0x92, 0x9c, 0x6d, 0xd5, 0xb2, 0x74, 0x9e, 0x85, 0xfb,
|
||||
0xa8, 0xd2, 0xd2, 0x7d, 0x4d, 0xd5, 0xb7, 0x69, 0x57, 0xdb, 0x61, 0xa0, 0x02, 0x3e, 0x20, 0x79,
|
||||
0xdb, 0xaa, 0x15, 0x9b, 0xdb, 0xe6, 0xd9, 0x1e, 0x4f, 0xd3, 0x3f, 0x90, 0xf0, 0x4b, 0xf4, 0x8f,
|
||||
0xfe, 0x73, 0xf5, 0xad, 0x62, 0x4c, 0x05, 0x11, 0xe9, 0x69, 0xf8, 0x86, 0x09, 0x7f, 0x10, 0xa1,
|
||||
0xc5, 0x44, 0x78, 0xa5, 0xbc, 0x5e, 0x37, 0x88, 0x70, 0x0b, 0x95, 0x4d, 0xff, 0xca, 0x61, 0x4d,
|
||||
0x02, 0x9a, 0xb1, 0xf9, 0x18, 0x23, 0xc9, 0x4c, 0x21, 0x67, 0x4e, 0x73, 0x0e, 0xc4, 0x21, 0xfd,
|
||||
0xbf, 0x42, 0x1c, 0x13, 0xe2, 0xe0, 0x3e, 0xda, 0x4c, 0x03, 0x77, 0xcf, 0x80, 0x31, 0xe9, 0xb0,
|
||||
0x7d, 0xe6, 0x30, 0x17, 0x14, 0x27, 0x37, 0x96, 0x26, 0xd6, 0x66, 0x89, 0xf3, 0x17, 0xd0, 0xf5,
|
||||
0xc4, 0x3d, 0x9f, 0x78, 0xd4, 0xd9, 0x77, 0x0e, 0x40, 0x71, 0x7c, 0x8c, 0xd6, 0xd2, 0x65, 0xe9,
|
||||
0x6b, 0x62, 0xec, 0x6a, 0x8f, 0xed, 0xb2, 0x26, 0xf9, 0xb2, 0xa0, 0xf9, 0xf6, 0x2c, 0xff, 0x7e,
|
||||
0x90, 0xae, 0x24, 0x6a, 0x4b, 0x6b, 0x67, 0x7b, 0xbb, 0x4d, 0x7c, 0x84, 0xfe, 0x1d, 0xe7, 0xd2,
|
||||
0xa3, 0xe9, 0xdd, 0x7e, 0xca, 0x6a, 0xda, 0xff, 0x73, 0x68, 0xd3, 0x14, 0x2d, 0x69, 0x54, 0x22,
|
||||
0xe8, 0xad, 0xdd, 0x91, 0xae, 0x0d, 0xd2, 0xaf, 0x47, 0x49, 0xd7, 0x0f, 0x49, 0xe7, 0x13, 0xd2,
|
||||
0xd6, 0x19, 0xca, 0x53, 0x88, 0x23, 0x11, 0xc6, 0x90, 0xdc, 0xec, 0xce, 0xc8, 0xf3, 0x20, 0x8e,
|
||||
0xf5, 0xc3, 0xcd, 0xd3, 0x49, 0x99, 0xdc, 0xec, 0xc3, 0x20, 0xbe, 0xec, 0x44, 0xdc, 0x83, 0xd3,
|
||||
0x64, 0x1c, 0x1e, 0x7c, 0x54, 0x10, 0xeb, 0x27, 0x9a, 0xa5, 0xf3, 0xac, 0x9d, 0x86, 0x31, 0x06,
|
||||
0x70, 0x01, 0x2d, 0x75, 0x14, 0x97, 0xaa, 0x9c, 0xc1, 0x79, 0xb4, 0xd8, 0x51, 0x22, 0x2a, 0x5b,
|
||||
0xb8, 0x84, 0x0a, 0x47, 0xc0, 0xa5, 0x72, 0x81, 0xab, 0xf2, 0x42, 0xf3, 0x35, 0x2a, 0x76, 0x25,
|
||||
0x0f, 0xe3, 0x48, 0x48, 0x05, 0x12, 0xbf, 0x40, 0x79, 0x5d, 0xf6, 0x41, 0xe2, 0x55, 0xf3, 0x44,
|
||||
0xe3, 0x39, 0x53, 0x59, 0xbb, 0x2f, 0xa6, 0x47, 0xd8, 0xca, 0x1c, 0xac, 0xdd, 0xfc, 0xa8, 0x66,
|
||||
0x6e, 0x6e, 0xab, 0xd6, 0xb7, 0xdb, 0xaa, 0xf5, 0xfd, 0xb6, 0x6a, 0x7d, 0xfe, 0x59, 0xcd, 0xb8,
|
||||
0xcb, 0x7a, 0x50, 0x39, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x3f, 0xed, 0x0b, 0xe3, 0xda, 0x05,
|
||||
0x00, 0x00,
|
||||
// 712 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x94, 0xdf, 0x4e, 0x1b, 0x47,
|
||||
0x14, 0xc6, 0xbd, 0x98, 0x3f, 0xf6, 0x58, 0xa6, 0xee, 0x00, 0xd5, 0xc8, 0x50, 0x77, 0x85, 0x2a,
|
||||
0x64, 0x21, 0xd5, 0x06, 0xaf, 0x68, 0xaf, 0x8b, 0x69, 0x8b, 0xa5, 0x26, 0xa0, 0xb1, 0xe1, 0x82,
|
||||
0x9b, 0xd1, 0xec, 0xfa, 0x78, 0x59, 0x61, 0xef, 0x6c, 0x66, 0xc7, 0x28, 0xe1, 0x2e, 0x6f, 0x90,
|
||||
0xcb, 0x3c, 0x44, 0x1e, 0x84, 0xcb, 0x3c, 0x42, 0x42, 0x5e, 0x21, 0x0f, 0x10, 0xed, 0xac, 0x17,
|
||||
0x0f, 0xd8, 0x4e, 0xee, 0x7c, 0xbe, 0xef, 0x9b, 0xdf, 0xce, 0x1f, 0x9f, 0x83, 0x48, 0xdf, 0x55,
|
||||
0x10, 0x2b, 0x90, 0x91, 0xdb, 0x1c, 0x41, 0x1c, 0x73, 0x1f, 0x1a, 0x91, 0x14, 0x4a, 0x60, 0x34,
|
||||
0x75, 0xaa, 0x7f, 0xf8, 0x81, 0xba, 0x1e, 0xbb, 0x0d, 0x4f, 0x8c, 0x9a, 0xbe, 0xf0, 0x45, 0x53,
|
||||
0x47, 0xdc, 0xf1, 0x40, 0x57, 0xba, 0xd0, 0xbf, 0xd2, 0xa5, 0xd5, 0x1d, 0x03, 0xda, 0xe7, 0x8a,
|
||||
0xbb, 0x3c, 0x06, 0x16, 0xf4, 0x27, 0x6e, 0xd5, 0x70, 0x07, 0x43, 0xee, 0x33, 0x50, 0x5e, 0xe6,
|
||||
0xfd, 0xf6, 0xdc, 0xbb, 0x13, 0xe2, 0x06, 0x20, 0x02, 0x39, 0x07, 0xad, 0x03, 0x9e, 0x08, 0xe3,
|
||||
0xf1, 0x70, 0xe2, 0x6e, 0xcf, 0x2c, 0x37, 0xd8, 0x33, 0xa6, 0x67, 0x98, 0x7b, 0x86, 0xe9, 0x89,
|
||||
0x70, 0x10, 0xf8, 0xcc, 0x1b, 0x06, 0x10, 0x2a, 0x36, 0xe2, 0xde, 0x75, 0x10, 0x4e, 0x6e, 0x65,
|
||||
0xf7, 0x6d, 0x01, 0xad, 0x51, 0x78, 0x35, 0x86, 0x58, 0x61, 0x07, 0x15, 0xcf, 0x22, 0x90, 0x5c,
|
||||
0x05, 0x22, 0x24, 0x96, 0x6d, 0xd5, 0xd7, 0x5b, 0x5b, 0x8d, 0x29, 0xa7, 0xf1, 0x68, 0xd2, 0x69,
|
||||
0x0e, 0xef, 0xa3, 0x4a, 0x4f, 0x06, 0xbe, 0x0f, 0xf2, 0x7f, 0xe1, 0x5f, 0x44, 0x43, 0xc1, 0xfb,
|
||||
0x64, 0xc9, 0xb6, 0xea, 0x05, 0x3a, 0xa3, 0xe3, 0x3f, 0x11, 0x3a, 0x99, 0x5c, 0x5f, 0xe7, 0x84,
|
||||
0xe4, 0xf5, 0x17, 0x7e, 0x31, 0xbf, 0x30, 0x75, 0xa9, 0x91, 0xc4, 0x36, 0x2a, 0x65, 0x55, 0x8f,
|
||||
0xfb, 0x64, 0xd9, 0xb6, 0xea, 0x45, 0x6a, 0x4a, 0xf8, 0x77, 0x54, 0x3e, 0x07, 0x90, 0x9d, 0xf3,
|
||||
0xb8, 0xab, 0x64, 0x10, 0xfa, 0x64, 0x45, 0x67, 0x9e, 0x8a, 0x98, 0xa0, 0xb5, 0xce, 0x79, 0x27,
|
||||
0xec, 0xc3, 0x6b, 0xb2, 0x6a, 0x5b, 0xf5, 0x32, 0xcd, 0x4a, 0x7c, 0x80, 0x36, 0xda, 0x63, 0x29,
|
||||
0x21, 0x54, 0x6d, 0x7d, 0x4b, 0x2f, 0xc7, 0x23, 0x17, 0x24, 0x59, 0xb3, 0xad, 0x7a, 0x9e, 0xce,
|
||||
0xb3, 0xf0, 0x00, 0x55, 0xdb, 0xfa, 0x5e, 0x53, 0xf5, 0x45, 0x7a, 0xab, 0x9d, 0x30, 0x50, 0x01,
|
||||
0x1f, 0x92, 0x82, 0x6d, 0xd5, 0x4b, 0xad, 0x3d, 0xf3, 0x6c, 0x8b, 0xd3, 0xf4, 0x3b, 0x24, 0xfc,
|
||||
0x1f, 0xfa, 0x59, 0x3f, 0xae, 0xfe, 0x57, 0x31, 0x26, 0xd4, 0x35, 0x48, 0xd2, 0xd7, 0xf8, 0x5f,
|
||||
0x4d, 0xfc, 0x4c, 0x88, 0x96, 0x13, 0xe9, 0x1f, 0xe5, 0xf5, 0xcf, 0x92, 0x12, 0xff, 0x8d, 0x7e,
|
||||
0x32, 0x33, 0x2a, 0x88, 0x08, 0x68, 0xcc, 0xf6, 0x22, 0x8c, 0x0a, 0x22, 0x5a, 0xca, 0x20, 0xbd,
|
||||
0x20, 0xc2, 0x6d, 0x54, 0x31, 0xfd, 0x5b, 0x87, 0xb5, 0xc8, 0x40, 0x33, 0x76, 0x16, 0x31, 0x92,
|
||||
0xcc, 0x14, 0x72, 0xe9, 0xb4, 0xe6, 0x40, 0x1c, 0xe2, 0xff, 0x10, 0xe2, 0x98, 0x10, 0x07, 0x0f,
|
||||
0xd0, 0x4e, 0x1a, 0x78, 0xec, 0x27, 0xc6, 0xa4, 0xc3, 0x8e, 0x98, 0xc3, 0x5c, 0x50, 0x9c, 0xdc,
|
||||
0x5b, 0x9a, 0x58, 0x9f, 0x25, 0xce, 0x5f, 0x40, 0xb7, 0x12, 0xf7, 0x2a, 0xf3, 0xa8, 0x73, 0xe4,
|
||||
0x1c, 0x83, 0xe2, 0xf8, 0x0c, 0x6d, 0xa6, 0xcb, 0xd2, 0xb6, 0x64, 0xec, 0xf6, 0x90, 0x1d, 0xb0,
|
||||
0x16, 0xf9, 0xb0, 0xa4, 0xf9, 0xf6, 0x2c, 0xff, 0x69, 0x90, 0xae, 0x27, 0x6a, 0x5b, 0x6b, 0x97,
|
||||
0x87, 0x07, 0x2d, 0x7c, 0x9a, 0x3d, 0xa7, 0x97, 0x1e, 0x4d, 0xef, 0xf6, 0x5d, 0x7e, 0xd1, 0x7b,
|
||||
0x1a, 0xa9, 0xf4, 0x3d, 0xdb, 0x89, 0xa0, 0xb7, 0xf6, 0x48, 0xba, 0x33, 0x48, 0x5f, 0x17, 0x92,
|
||||
0xee, 0x9e, 0x93, 0xae, 0x32, 0xd2, 0xee, 0x25, 0x2a, 0x50, 0x88, 0x23, 0x11, 0xc6, 0x90, 0xb4,
|
||||
0x48, 0x77, 0xec, 0x79, 0x10, 0xc7, 0x7a, 0x02, 0x14, 0x68, 0x56, 0x26, 0x2d, 0x72, 0x12, 0xc4,
|
||||
0x37, 0xdd, 0x88, 0x7b, 0x70, 0x91, 0xcc, 0xd5, 0xe3, 0x37, 0x0a, 0x62, 0xdd, 0xeb, 0x79, 0x3a,
|
||||
0xcf, 0xda, 0x6f, 0x1a, 0xf3, 0x04, 0x17, 0xd1, 0x4a, 0x57, 0x71, 0xa9, 0x2a, 0x39, 0x5c, 0x40,
|
||||
0xcb, 0x5d, 0x25, 0xa2, 0x8a, 0x85, 0xcb, 0xa8, 0x78, 0x0a, 0x5c, 0x2a, 0x17, 0xb8, 0xaa, 0x2c,
|
||||
0xb5, 0xfe, 0x45, 0xa5, 0x9e, 0xe4, 0x61, 0x1c, 0x09, 0xa9, 0x40, 0xe2, 0xbf, 0x50, 0x41, 0x97,
|
||||
0x03, 0x90, 0x78, 0xc3, 0x3c, 0xd1, 0x64, 0x60, 0x55, 0x37, 0x9f, 0x8a, 0xe9, 0x11, 0x76, 0x73,
|
||||
0xc7, 0x9b, 0xf7, 0x9f, 0x6b, 0xb9, 0xfb, 0x87, 0x9a, 0xf5, 0xf1, 0xa1, 0x66, 0x7d, 0x7a, 0xa8,
|
||||
0x59, 0xef, 0xbf, 0xd4, 0x72, 0xee, 0xaa, 0x9e, 0x78, 0xce, 0xb7, 0x00, 0x00, 0x00, 0xff, 0xff,
|
||||
0x9b, 0x7a, 0x8c, 0xc2, 0x23, 0x06, 0x00, 0x00,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,9 +45,10 @@ message Request {
|
|||
|
||||
ConfigClientMachineInitial ConfigClientMachineInitial = 8;
|
||||
|
||||
flag__etcd__tip flag__etcd__tip = 100;
|
||||
flag__etcd__v3_2 flag__etcd__v3_2 = 101;
|
||||
flag__etcd__v3_3 flag__etcd__v3_3 = 102;
|
||||
flag__etcd__other flag__etcd__other = 100;
|
||||
flag__etcd__tip flag__etcd__tip = 101;
|
||||
flag__etcd__v3_2 flag__etcd__v3_2 = 102;
|
||||
flag__etcd__v3_3 flag__etcd__v3_3 = 103;
|
||||
|
||||
flag__zookeeper__r3_5_3_beta flag__zookeeper__r3_5_3_beta = 200;
|
||||
|
||||
|
|
|
|||
|
|
@ -39,6 +39,8 @@ func GetAllDatabaseIDs() []string {
|
|||
|
||||
func GetRGBI(databaseID string, i int) color.Color {
|
||||
switch databaseID {
|
||||
case "etcd__other":
|
||||
return color.RGBA{94, 191, 30, 255} // green
|
||||
case "etcd__tip":
|
||||
return color.RGBA{24, 90, 169, 255} // blue
|
||||
case "etcd__v3_2":
|
||||
|
|
@ -59,6 +61,8 @@ func GetRGBI(databaseID string, i int) color.Color {
|
|||
|
||||
func GetRGBII(databaseID string, i int) color.Color {
|
||||
switch databaseID {
|
||||
case "etcd__other":
|
||||
return color.RGBA{155, 176, 29, 255} // light-green
|
||||
case "etcd__tip":
|
||||
return color.RGBA{129, 212, 247, 255} // light-blue
|
||||
case "etcd__v3_2":
|
||||
|
|
@ -79,6 +83,8 @@ func GetRGBII(databaseID string, i int) color.Color {
|
|||
|
||||
func GetRGBIII(databaseID string, i int) color.Color {
|
||||
switch databaseID {
|
||||
case "etcd__other":
|
||||
return color.RGBA{129, 210, 178, 255} // mid-cyan
|
||||
case "etcd__tip":
|
||||
return color.RGBA{37, 29, 191, 255} // deep-blue
|
||||
case "etcd__v3_2":
|
||||
|
|
|
|||
Loading…
Reference in New Issue