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: controller/api/services/v1/credential_library_service.proto
|
||||
|
||||
@@ -844,7 +844,7 @@ func file_controller_api_services_v1_credential_library_service_proto_rawDescGZI
|
||||
}
|
||||
|
||||
var file_controller_api_services_v1_credential_library_service_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
||||
var file_controller_api_services_v1_credential_library_service_proto_goTypes = []interface{}{
|
||||
var file_controller_api_services_v1_credential_library_service_proto_goTypes = []any{
|
||||
(*GetCredentialLibraryRequest)(nil), // 0: controller.api.services.v1.GetCredentialLibraryRequest
|
||||
(*GetCredentialLibraryResponse)(nil), // 1: controller.api.services.v1.GetCredentialLibraryResponse
|
||||
(*ListCredentialLibrariesRequest)(nil), // 2: controller.api.services.v1.ListCredentialLibrariesRequest
|
||||
@@ -889,7 +889,7 @@ func file_controller_api_services_v1_credential_library_service_proto_init() {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_controller_api_services_v1_credential_library_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_services_v1_credential_library_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*GetCredentialLibraryRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -901,7 +901,7 @@ func file_controller_api_services_v1_credential_library_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_services_v1_credential_library_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_services_v1_credential_library_service_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*GetCredentialLibraryResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -913,7 +913,7 @@ func file_controller_api_services_v1_credential_library_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_services_v1_credential_library_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_services_v1_credential_library_service_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ListCredentialLibrariesRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -925,7 +925,7 @@ func file_controller_api_services_v1_credential_library_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_services_v1_credential_library_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_services_v1_credential_library_service_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ListCredentialLibrariesResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -937,7 +937,7 @@ func file_controller_api_services_v1_credential_library_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_services_v1_credential_library_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_services_v1_credential_library_service_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*CreateCredentialLibraryRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -949,7 +949,7 @@ func file_controller_api_services_v1_credential_library_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_services_v1_credential_library_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_services_v1_credential_library_service_proto_msgTypes[5].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*CreateCredentialLibraryResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -961,7 +961,7 @@ func file_controller_api_services_v1_credential_library_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_services_v1_credential_library_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_services_v1_credential_library_service_proto_msgTypes[6].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*UpdateCredentialLibraryRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -973,7 +973,7 @@ func file_controller_api_services_v1_credential_library_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_services_v1_credential_library_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_services_v1_credential_library_service_proto_msgTypes[7].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*UpdateCredentialLibraryResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -985,7 +985,7 @@ func file_controller_api_services_v1_credential_library_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_services_v1_credential_library_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_services_v1_credential_library_service_proto_msgTypes[8].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*DeleteCredentialLibraryRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -997,7 +997,7 @@ func file_controller_api_services_v1_credential_library_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_services_v1_credential_library_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_services_v1_credential_library_service_proto_msgTypes[9].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*DeleteCredentialLibraryResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
||||
Reference in new issue
Block a user