refact: to use go-dbw CreateItems, DeleteItems (#4974)
* refact: to use go-dbw CreateItems, DeleteItems Latest version of go-dbw updated the signature of CreateItems(...) and DeleteItems(...) on a happy note this latest version of go-dbw actually does batch inserts and updates for this functions. * all: regenerate protos with new protoc-gen-go version
This commit is contained in:
167 files changed
+2254
-2248
No files matched your search
@@ -3,7 +3,7 @@
|
||||
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.33.0
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc (unknown)
|
||||
// source: plugin/v1/storage_plugin_service.proto
|
||||
|
||||
@@ -1367,7 +1367,7 @@ func file_plugin_v1_storage_plugin_service_proto_rawDescGZIP() []byte {
|
||||
|
||||
var file_plugin_v1_storage_plugin_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_plugin_v1_storage_plugin_service_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
|
||||
var file_plugin_v1_storage_plugin_service_proto_goTypes = []interface{}{
|
||||
var file_plugin_v1_storage_plugin_service_proto_goTypes = []any{
|
||||
(StateType)(0), // 0: plugin.v1.StateType
|
||||
(*OnCreateStorageBucketRequest)(nil), // 1: plugin.v1.OnCreateStorageBucketRequest
|
||||
(*OnCreateStorageBucketResponse)(nil), // 2: plugin.v1.OnCreateStorageBucketResponse
|
||||
@@ -1442,7 +1442,7 @@ func file_plugin_v1_storage_plugin_service_proto_init() {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*OnCreateStorageBucketRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1454,7 +1454,7 @@ func file_plugin_v1_storage_plugin_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*OnCreateStorageBucketResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1466,7 +1466,7 @@ func file_plugin_v1_storage_plugin_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*OnUpdateStorageBucketRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1478,7 +1478,7 @@ func file_plugin_v1_storage_plugin_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*OnUpdateStorageBucketResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1490,7 +1490,7 @@ func file_plugin_v1_storage_plugin_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*OnDeleteStorageBucketRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1502,7 +1502,7 @@ func file_plugin_v1_storage_plugin_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[5].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*OnDeleteStorageBucketResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1514,7 +1514,7 @@ func file_plugin_v1_storage_plugin_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[6].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ValidatePermissionsRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1526,7 +1526,7 @@ func file_plugin_v1_storage_plugin_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[7].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ValidatePermissionsResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1538,7 +1538,7 @@ func file_plugin_v1_storage_plugin_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[8].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*HeadObjectRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1550,7 +1550,7 @@ func file_plugin_v1_storage_plugin_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[9].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*HeadObjectResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1562,7 +1562,7 @@ func file_plugin_v1_storage_plugin_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[10].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*GetObjectRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1574,7 +1574,7 @@ func file_plugin_v1_storage_plugin_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[11].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*GetObjectResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1586,7 +1586,7 @@ func file_plugin_v1_storage_plugin_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[12].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*PutObjectRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1598,7 +1598,7 @@ func file_plugin_v1_storage_plugin_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[13].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*PutObjectResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1610,7 +1610,7 @@ func file_plugin_v1_storage_plugin_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[14].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*DeleteObjectsRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1622,7 +1622,7 @@ func file_plugin_v1_storage_plugin_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[15].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*DeleteObjectsResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1634,7 +1634,7 @@ func file_plugin_v1_storage_plugin_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[16].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*Permission); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1646,7 +1646,7 @@ func file_plugin_v1_storage_plugin_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[17].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*Permissions); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1658,7 +1658,7 @@ func file_plugin_v1_storage_plugin_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_plugin_v1_storage_plugin_service_proto_msgTypes[18].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*StorageBucketCredentialState); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
||||
Reference in new issue
Block a user