Chore: Replace entity GRN with infra/grn GRN (#74198)

replace entity GRN with infra/grn GRN
This commit is contained in:
Dan Cech
2023-08-31 15:43:35 -04:00
committed by GitHub
parent 27c4362135
commit 85a207fceb
24 changed files with 983 additions and 843 deletions
@@ -1,21 +1,20 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.21.4
// protoc-gen-go v1.30.0
// protoc v4.23.4
// source: rendererv2.proto
package pluginextensionv2
import (
context "context"
reflect "reflect"
sync "sync"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
@@ -1,21 +1,20 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.0
// protoc v3.19.4
// protoc-gen-go v1.30.0
// protoc v4.23.4
// source: sanitizer.proto
package pluginextensionv2
import (
context "context"
reflect "reflect"
sync "sync"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
@@ -192,7 +191,7 @@ func file_sanitizer_proto_rawDescGZIP() []byte {
}
var file_sanitizer_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_sanitizer_proto_goTypes = []any{
var file_sanitizer_proto_goTypes = []interface{}{
(*SanitizeRequest)(nil), // 0: pluginextensionv2.SanitizeRequest
(*SanitizeResponse)(nil), // 1: pluginextensionv2.SanitizeResponse
}
@@ -212,7 +211,7 @@ func file_sanitizer_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_sanitizer_proto_msgTypes[0].Exporter = func(v any, i int) any {
file_sanitizer_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SanitizeRequest); i {
case 0:
return &v.state
@@ -224,7 +223,7 @@ func file_sanitizer_proto_init() {
return nil
}
}
file_sanitizer_proto_msgTypes[1].Exporter = func(v any, i int) any {
file_sanitizer_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SanitizeResponse); i {
case 0:
return &v.state
@@ -306,7 +305,7 @@ func RegisterSanitizerServer(s *grpc.Server, srv SanitizerServer) {
s.RegisterService(&_Sanitizer_serviceDesc, srv)
}
func _Sanitizer_Sanitize_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
func _Sanitizer_Sanitize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SanitizeRequest)
if err := dec(in); err != nil {
return nil, err
@@ -318,7 +317,7 @@ func _Sanitizer_Sanitize_Handler(srv any, ctx context.Context, dec func(any) err
Server: srv,
FullMethod: "/pluginextensionv2.Sanitizer/Sanitize",
}
handler := func(ctx context.Context, req any) (any, error) {
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SanitizerServer).Sanitize(ctx, req.(*SanitizeRequest))
}
return interceptor(ctx, in, info, handler)