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/resources/credentiallibraries/v1/credential_library.proto
|
||||
|
||||
@@ -681,7 +681,7 @@ func file_controller_api_resources_credentiallibraries_v1_credential_library_pro
|
||||
}
|
||||
|
||||
var file_controller_api_resources_credentiallibraries_v1_credential_library_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
||||
var file_controller_api_resources_credentiallibraries_v1_credential_library_proto_goTypes = []interface{}{
|
||||
var file_controller_api_resources_credentiallibraries_v1_credential_library_proto_goTypes = []any{
|
||||
(*CredentialLibrary)(nil), // 0: controller.api.resources.credentiallibraries.v1.CredentialLibrary
|
||||
(*VaultCredentialLibraryAttributes)(nil), // 1: controller.api.resources.credentiallibraries.v1.VaultCredentialLibraryAttributes
|
||||
(*VaultSSHCertificateCredentialLibraryAttributes)(nil), // 2: controller.api.resources.credentiallibraries.v1.VaultSSHCertificateCredentialLibraryAttributes
|
||||
@@ -729,7 +729,7 @@ func file_controller_api_resources_credentiallibraries_v1_credential_library_pro
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_controller_api_resources_credentiallibraries_v1_credential_library_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_resources_credentiallibraries_v1_credential_library_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*CredentialLibrary); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -741,7 +741,7 @@ func file_controller_api_resources_credentiallibraries_v1_credential_library_pro
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_resources_credentiallibraries_v1_credential_library_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_resources_credentiallibraries_v1_credential_library_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*VaultCredentialLibraryAttributes); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -753,7 +753,7 @@ func file_controller_api_resources_credentiallibraries_v1_credential_library_pro
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_resources_credentiallibraries_v1_credential_library_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_resources_credentiallibraries_v1_credential_library_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*VaultSSHCertificateCredentialLibraryAttributes); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -766,7 +766,7 @@ func file_controller_api_resources_credentiallibraries_v1_credential_library_pro
|
||||
}
|
||||
}
|
||||
}
|
||||
file_controller_api_resources_credentiallibraries_v1_credential_library_proto_msgTypes[0].OneofWrappers = []interface{}{
|
||||
file_controller_api_resources_credentiallibraries_v1_credential_library_proto_msgTypes[0].OneofWrappers = []any{
|
||||
(*CredentialLibrary_Attributes)(nil),
|
||||
(*CredentialLibrary_VaultCredentialLibraryAttributes)(nil),
|
||||
(*CredentialLibrary_VaultSshCertificateCredentialLibraryAttributes)(nil),
|
||||
|
||||
Reference in new issue
Block a user