diff options
| author | cai6489 <caichunbo@beyondcent.com> | 2023-10-11 14:47:26 +0800 |
|---|---|---|
| committer | cai6489 <caichunbo@beyondcent.com> | 2023-10-11 14:47:26 +0800 |
| commit | 181f5d58c38d2d0a0e40b40dbc5d19e0ffe1aaf6 (patch) | |
| tree | 057f71a8d9a37d53ebda802221a10e3ff5e4a123 /pkg | |
| parent | modify redis api (diff) | |
| download | kubeedge-181f5d58c38d2d0a0e40b40dbc5d19e0ffe1aaf6.tar.gz | |
update redis crd
Signed-off-by: cai6489 <caichunbo@beyondcent.com>
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/apis/dmi/v1beta1/api.pb.go | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/pkg/apis/dmi/v1beta1/api.pb.go b/pkg/apis/dmi/v1beta1/api.pb.go index 1a404055b..1a89812c6 100644 --- a/pkg/apis/dmi/v1beta1/api.pb.go +++ b/pkg/apis/dmi/v1beta1/api.pb.go @@ -1388,11 +1388,11 @@ type RedisClientConfig struct { // redis address Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` // number of redis db - Db string `protobuf:"bytes,2,opt,name=db,proto3" json:"db,omitempty"` + Db int32 `protobuf:"varint,2,opt,name=db,proto3" json:"db,omitempty"` // number of redis poolsize - Poolsize string `protobuf:"bytes,3,opt,name=poolsize,proto3" json:"poolsize,omitempty"` + Poolsize int32 `protobuf:"varint,3,opt,name=poolsize,proto3" json:"poolsize,omitempty"` // number of redis minidleconns - MinIdleConns string `protobuf:"bytes,4,opt,name=minIdleConns,proto3" json:"minIdleConns,omitempty"` + MinIdleConns int32 `protobuf:"varint,4,opt,name=minIdleConns,proto3" json:"minIdleConns,omitempty"` } func (x *RedisClientConfig) Reset() { @@ -1434,25 +1434,25 @@ func (x *RedisClientConfig) GetAddr() string { return "" } -func (x *RedisClientConfig) GetDb() string { +func (x *RedisClientConfig) GetDb() int32 { if x != nil { return x.Db } - return "" + return 0 } -func (x *RedisClientConfig) GetPoolsize() string { +func (x *RedisClientConfig) GetPoolsize() int32 { if x != nil { return x.Poolsize } - return "" + return 0 } -func (x *RedisClientConfig) GetMinIdleConns() string { +func (x *RedisClientConfig) GetMinIdleConns() int32 { if x != nil { return x.MinIdleConns } - return "" + return 0 } type DBMethodTDEngine struct { @@ -2733,10 +2733,10 @@ var file_api_proto_rawDesc = []byte{ 0x6e, 0x66, 0x69, 0x67, 0x22, 0x77, 0x0a, 0x11, 0x52, 0x65, 0x64, 0x69, 0x73, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x0e, 0x0a, - 0x02, 0x64, 0x62, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x64, 0x62, 0x12, 0x1a, 0x0a, - 0x08, 0x70, 0x6f, 0x6f, 0x6c, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x64, 0x62, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x64, 0x62, 0x12, 0x1a, 0x0a, + 0x08, 0x70, 0x6f, 0x6f, 0x6c, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6f, 0x6f, 0x6c, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x69, 0x6e, - 0x49, 0x64, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x49, 0x64, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x73, 0x22, 0x65, 0x0a, 0x10, 0x44, 0x42, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x54, 0x44, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x51, 0x0a, 0x14, 0x74, 0x64, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x43, 0x6c, 0x69, |
