mirror of https://github.com/etcd-io/dbtester.git
87 lines
3.5 KiB
Go
87 lines
3.5 KiB
Go
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: dbtesterpb/database_id.proto
|
|
|
|
package dbtesterpb
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
import _ "github.com/gogo/protobuf/gogoproto"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// DatabaseID differentiates between major or minor releases (possibly different APIs)
|
|
// of each database. Make sure to make accordingn changes in 'flag_*' whenever an ID
|
|
// is added/removed.
|
|
type DatabaseID int32
|
|
|
|
const (
|
|
// https://github.com/coreos/etcd/releases
|
|
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
|
|
DatabaseID_consul__v1_0_2 DatabaseID = 200
|
|
// https://github.com/coreos/zetcd/releases
|
|
DatabaseID_zetcd__beta DatabaseID = 300
|
|
// https://github.com/coreos/cetcd/releases
|
|
DatabaseID_cetcd__beta DatabaseID = 400
|
|
)
|
|
|
|
var DatabaseID_name = map[int32]string{
|
|
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__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,
|
|
"cetcd__beta": 400,
|
|
}
|
|
|
|
func (x DatabaseID) String() string {
|
|
return proto.EnumName(DatabaseID_name, int32(x))
|
|
}
|
|
func (DatabaseID) EnumDescriptor() ([]byte, []int) { return fileDescriptorDatabaseId, []int{0} }
|
|
|
|
func init() {
|
|
proto.RegisterEnum("dbtesterpb.DatabaseID", DatabaseID_name, DatabaseID_value)
|
|
}
|
|
|
|
func init() { proto.RegisterFile("dbtesterpb/database_id.proto", fileDescriptorDatabaseId) }
|
|
|
|
var fileDescriptorDatabaseId = []byte{
|
|
// 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,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