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:
Jim authored and GitHub committed 2024-08-01 11:18:53 -04:00
1 parent b24f6dcee8
commit 28b465e4b8
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/resources/credentialstores/v1/credential_store.proto
@@ -551,7 +551,7 @@ func file_controller_api_resources_credentialstores_v1_credential_store_proto_ra
}
var file_controller_api_resources_credentialstores_v1_credential_store_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_controller_api_resources_credentialstores_v1_credential_store_proto_goTypes = []interface{}{
var file_controller_api_resources_credentialstores_v1_credential_store_proto_goTypes = []any{
(*CredentialStore)(nil), // 0: controller.api.resources.credentialstores.v1.CredentialStore
(*VaultCredentialStoreAttributes)(nil), // 1: controller.api.resources.credentialstores.v1.VaultCredentialStoreAttributes
nil, // 2: controller.api.resources.credentialstores.v1.CredentialStore.AuthorizedCollectionActionsEntry
@@ -594,7 +594,7 @@ func file_controller_api_resources_credentialstores_v1_credential_store_proto_in
return
}
if !protoimpl.UnsafeEnabled {
file_controller_api_resources_credentialstores_v1_credential_store_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_controller_api_resources_credentialstores_v1_credential_store_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*CredentialStore); i {
case 0:
return &v.state
@@ -606,7 +606,7 @@ func file_controller_api_resources_credentialstores_v1_credential_store_proto_in
return nil
}
}
file_controller_api_resources_credentialstores_v1_credential_store_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_controller_api_resources_credentialstores_v1_credential_store_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*VaultCredentialStoreAttributes); i {
case 0:
return &v.state
@@ -619,7 +619,7 @@ func file_controller_api_resources_credentialstores_v1_credential_store_proto_in
}
}
}
file_controller_api_resources_credentialstores_v1_credential_store_proto_msgTypes[0].OneofWrappers = []interface{}{
file_controller_api_resources_credentialstores_v1_credential_store_proto_msgTypes[0].OneofWrappers = []any{
(*CredentialStore_Attributes)(nil),
(*CredentialStore_VaultCredentialStoreAttributes)(nil),
}