Update go-plugin dep (#5552)
* mod: remove unnecessary import groupings Move all imports into one of two groupings: 1. Direct dependencies 2. Indirect dependencies This is the standard used by the go tool. The old groupings seemed very random. * mod: update go-plugin dependency
This commit is contained in:
1 parent
d001e82817
commit
99f4bc092f
147 files changed
+6438
-17293
No files matched your search
@@ -3,7 +3,7 @@
|
||||
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc-gen-go v1.36.1
|
||||
// protoc (unknown)
|
||||
// source: controller/auth/v1/auth.proto
|
||||
|
||||
@@ -25,10 +25,7 @@ const (
|
||||
|
||||
// RequestInfo contains request parameters necessary for checking authn/authz
|
||||
type RequestInfo struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// path of the request
|
||||
Path string `protobuf:"bytes,10,opt,name=path,proto3" json:"path,omitempty"`
|
||||
// method (http verb) of the request
|
||||
@@ -59,16 +56,16 @@ type RequestInfo struct {
|
||||
// the client ip for the request
|
||||
ClientIp string `protobuf:"bytes,140,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"`
|
||||
// url actions from the request path
|
||||
Actions []string `protobuf:"bytes,141,rep,name=actions,proto3" json:"actions,omitempty"`
|
||||
Actions []string `protobuf:"bytes,141,rep,name=actions,proto3" json:"actions,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *RequestInfo) Reset() {
|
||||
*x = RequestInfo{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_controller_auth_v1_auth_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_controller_auth_v1_auth_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *RequestInfo) String() string {
|
||||
@@ -79,7 +76,7 @@ func (*RequestInfo) ProtoMessage() {}
|
||||
|
||||
func (x *RequestInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_controller_auth_v1_auth_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@@ -274,20 +271,6 @@ func file_controller_auth_v1_auth_proto_init() {
|
||||
if File_controller_auth_v1_auth_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_controller_auth_v1_auth_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*RequestInfo); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
||||
Reference in new issue
Block a user