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/policy_service.proto
|
||||
|
||||
@@ -802,7 +802,7 @@ func file_controller_api_services_v1_policy_service_proto_rawDescGZIP() []byte {
|
||||
}
|
||||
|
||||
var file_controller_api_services_v1_policy_service_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
||||
var file_controller_api_services_v1_policy_service_proto_goTypes = []interface{}{
|
||||
var file_controller_api_services_v1_policy_service_proto_goTypes = []any{
|
||||
(*GetPolicyRequest)(nil), // 0: controller.api.services.v1.GetPolicyRequest
|
||||
(*GetPolicyResponse)(nil), // 1: controller.api.services.v1.GetPolicyResponse
|
||||
(*ListPoliciesRequest)(nil), // 2: controller.api.services.v1.ListPoliciesRequest
|
||||
@@ -847,7 +847,7 @@ func file_controller_api_services_v1_policy_service_proto_init() {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_controller_api_services_v1_policy_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_services_v1_policy_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*GetPolicyRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -859,7 +859,7 @@ func file_controller_api_services_v1_policy_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_services_v1_policy_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_services_v1_policy_service_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*GetPolicyResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -871,7 +871,7 @@ func file_controller_api_services_v1_policy_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_services_v1_policy_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_services_v1_policy_service_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ListPoliciesRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -883,7 +883,7 @@ func file_controller_api_services_v1_policy_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_services_v1_policy_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_services_v1_policy_service_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ListPoliciesResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -895,7 +895,7 @@ func file_controller_api_services_v1_policy_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_services_v1_policy_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_services_v1_policy_service_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*CreatePolicyRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -907,7 +907,7 @@ func file_controller_api_services_v1_policy_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_services_v1_policy_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_services_v1_policy_service_proto_msgTypes[5].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*CreatePolicyResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -919,7 +919,7 @@ func file_controller_api_services_v1_policy_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_services_v1_policy_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_services_v1_policy_service_proto_msgTypes[6].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*UpdatePolicyRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -931,7 +931,7 @@ func file_controller_api_services_v1_policy_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_services_v1_policy_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_services_v1_policy_service_proto_msgTypes[7].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*UpdatePolicyResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -943,7 +943,7 @@ func file_controller_api_services_v1_policy_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_services_v1_policy_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_services_v1_policy_service_proto_msgTypes[8].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*DeletePolicyRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -955,7 +955,7 @@ func file_controller_api_services_v1_policy_service_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_services_v1_policy_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_controller_api_services_v1_policy_service_proto_msgTypes[9].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*DeletePolicyResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
||||
Reference in new issue
Block a user