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/credentials/v1/credential.proto
|
||||
|
||||
@@ -625,7 +625,7 @@ func file_controller_api_resources_credentials_v1_credential_proto_rawDescGZIP()
|
||||
}
|
||||
|
||||
var file_controller_api_resources_credentials_v1_credential_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
||||
var file_controller_api_resources_credentials_v1_credential_proto_goTypes = []interface{}{
|
||||
var file_controller_api_resources_credentials_v1_credential_proto_goTypes = []any{
|
||||
(*Credential)(nil), // 0: controller.api.resources.credentials.v1.Credential
|
||||
(*UsernamePasswordAttributes)(nil), // 1: controller.api.resources.credentials.v1.UsernamePasswordAttributes
|
||||
(*SshPrivateKeyAttributes)(nil), // 2: controller.api.resources.credentials.v1.SshPrivateKeyAttributes
|
||||
@@ -664,7 +664,7 @@ func file_controller_api_resources_credentials_v1_credential_proto_init() {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_controller_api_resources_credentials_v1_credential_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_resources_credentials_v1_credential_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*Credential); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -676,7 +676,7 @@ func file_controller_api_resources_credentials_v1_credential_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_resources_credentials_v1_credential_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_resources_credentials_v1_credential_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*UsernamePasswordAttributes); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -688,7 +688,7 @@ func file_controller_api_resources_credentials_v1_credential_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_resources_credentials_v1_credential_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_resources_credentials_v1_credential_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*SshPrivateKeyAttributes); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -700,7 +700,7 @@ func file_controller_api_resources_credentials_v1_credential_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_resources_credentials_v1_credential_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_resources_credentials_v1_credential_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*JsonAttributes); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -713,7 +713,7 @@ func file_controller_api_resources_credentials_v1_credential_proto_init() {
|
||||
}
|
||||
}
|
||||
}
|
||||
file_controller_api_resources_credentials_v1_credential_proto_msgTypes[0].OneofWrappers = []interface{}{
|
||||
file_controller_api_resources_credentials_v1_credential_proto_msgTypes[0].OneofWrappers = []any{
|
||||
(*Credential_Attributes)(nil),
|
||||
(*Credential_UsernamePasswordAttributes)(nil),
|
||||
(*Credential_SshPrivateKeyAttributes)(nil),
|
||||
|
||||
Reference in new issue
Block a user