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:
Johan Brandhorst-Satzkorn authored and GitHub committed 2025-02-19 09:14:41 -08:00
1 parent d001e82817
commit 99f4bc092f
147 files changed
+6438 -17293

No files matched your search

+71 -178
View File
@@ -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/custom_options/v1/testing.proto
@@ -24,23 +24,20 @@ const (
)
type TestBase struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FirstField string `protobuf:"bytes,1,opt,name=first_field,json=firstField,proto3" json:"first_field,omitempty"`
StrangeFormatField string `protobuf:"bytes,2,opt,name=StrangeFormatField,proto3" json:"StrangeFormatField,omitempty"`
FieldWithDifferentJsonName string `protobuf:"bytes,3,opt,name=field_with_different_json_name,json=json_name,proto3" json:"field_with_different_json_name,omitempty"`
ExtraField string `protobuf:"bytes,4,opt,name=extra_field,json=extraField,proto3" json:"extra_field,omitempty"`
state protoimpl.MessageState `protogen:"open.v1"`
FirstField string `protobuf:"bytes,1,opt,name=first_field,json=firstField,proto3" json:"first_field,omitempty"`
StrangeFormatField string `protobuf:"bytes,2,opt,name=StrangeFormatField,proto3" json:"StrangeFormatField,omitempty"`
FieldWithDifferentJsonName string `protobuf:"bytes,3,opt,name=field_with_different_json_name,json=json_name,proto3" json:"field_with_different_json_name,omitempty"`
ExtraField string `protobuf:"bytes,4,opt,name=extra_field,json=extraField,proto3" json:"extra_field,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TestBase) Reset() {
*x = TestBase{}
if protoimpl.UnsafeEnabled {
mi := &file_controller_custom_options_v1_testing_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_controller_custom_options_v1_testing_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TestBase) String() string {
@@ -51,7 +48,7 @@ func (*TestBase) ProtoMessage() {}
func (x *TestBase) ProtoReflect() protoreflect.Message {
mi := &file_controller_custom_options_v1_testing_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)
@@ -95,22 +92,19 @@ func (x *TestBase) GetExtraField() string {
}
type TestBaseSplit1 struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FirstField string `protobuf:"bytes,1,opt,name=first_field,json=firstField,proto3" json:"first_field,omitempty"`
FieldWithDifferentJsonName string `protobuf:"bytes,2,opt,name=field_with_different_json_name,json=json_name,proto3" json:"field_with_different_json_name,omitempty"`
ExtraField string `protobuf:"bytes,3,opt,name=extra_field,json=extraField,proto3" json:"extra_field,omitempty"`
state protoimpl.MessageState `protogen:"open.v1"`
FirstField string `protobuf:"bytes,1,opt,name=first_field,json=firstField,proto3" json:"first_field,omitempty"`
FieldWithDifferentJsonName string `protobuf:"bytes,2,opt,name=field_with_different_json_name,json=json_name,proto3" json:"field_with_different_json_name,omitempty"`
ExtraField string `protobuf:"bytes,3,opt,name=extra_field,json=extraField,proto3" json:"extra_field,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TestBaseSplit1) Reset() {
*x = TestBaseSplit1{}
if protoimpl.UnsafeEnabled {
mi := &file_controller_custom_options_v1_testing_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_controller_custom_options_v1_testing_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TestBaseSplit1) String() string {
@@ -121,7 +115,7 @@ func (*TestBaseSplit1) ProtoMessage() {}
func (x *TestBaseSplit1) ProtoReflect() protoreflect.Message {
mi := &file_controller_custom_options_v1_testing_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -158,20 +152,17 @@ func (x *TestBaseSplit1) GetExtraField() string {
}
type TestBaseSplit2 struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
state protoimpl.MessageState `protogen:"open.v1"`
SplitField1 string `protobuf:"bytes,1,opt,name=split_field1,json=splitField1,proto3" json:"split_field1,omitempty"`
unknownFields protoimpl.UnknownFields
SplitField1 string `protobuf:"bytes,1,opt,name=split_field1,json=splitField1,proto3" json:"split_field1,omitempty"`
sizeCache protoimpl.SizeCache
}
func (x *TestBaseSplit2) Reset() {
*x = TestBaseSplit2{}
if protoimpl.UnsafeEnabled {
mi := &file_controller_custom_options_v1_testing_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_controller_custom_options_v1_testing_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TestBaseSplit2) String() string {
@@ -182,7 +173,7 @@ func (*TestBaseSplit2) ProtoMessage() {}
func (x *TestBaseSplit2) ProtoReflect() protoreflect.Message {
mi := &file_controller_custom_options_v1_testing_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -205,23 +196,20 @@ func (x *TestBaseSplit2) GetSplitField1() string {
}
type TestProperlyNamedFields struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
OtherFirstField string `protobuf:"bytes,1,opt,name=other_first_field,json=otherFirstField,proto3" json:"other_first_field,omitempty"`
OtherSecondField string `protobuf:"bytes,2,opt,name=other_second_field,json=otherSecondField,proto3" json:"other_second_field,omitempty"`
OtherThirdField string `protobuf:"bytes,3,opt,name=other_third_field,proto3" json:"other_third_field,omitempty"`
AnotherExtraField string `protobuf:"bytes,4,opt,name=another_extra_field,json=anotherExtraField,proto3" json:"another_extra_field,omitempty"`
state protoimpl.MessageState `protogen:"open.v1"`
OtherFirstField string `protobuf:"bytes,1,opt,name=other_first_field,json=otherFirstField,proto3" json:"other_first_field,omitempty"`
OtherSecondField string `protobuf:"bytes,2,opt,name=other_second_field,json=otherSecondField,proto3" json:"other_second_field,omitempty"`
OtherThirdField string `protobuf:"bytes,3,opt,name=other_third_field,proto3" json:"other_third_field,omitempty"`
AnotherExtraField string `protobuf:"bytes,4,opt,name=another_extra_field,json=anotherExtraField,proto3" json:"another_extra_field,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TestProperlyNamedFields) Reset() {
*x = TestProperlyNamedFields{}
if protoimpl.UnsafeEnabled {
mi := &file_controller_custom_options_v1_testing_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_controller_custom_options_v1_testing_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TestProperlyNamedFields) String() string {
@@ -232,7 +220,7 @@ func (*TestProperlyNamedFields) ProtoMessage() {}
func (x *TestProperlyNamedFields) ProtoReflect() protoreflect.Message {
mi := &file_controller_custom_options_v1_testing_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -276,23 +264,20 @@ func (x *TestProperlyNamedFields) GetAnotherExtraField() string {
}
type TestNameDoesntMap struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FirstDoesntMap string `protobuf:"bytes,1,opt,name=first_doesnt_map,json=firstDoesntMap,proto3" json:"first_doesnt_map,omitempty"`
SecondDoesntMap string `protobuf:"bytes,2,opt,name=second_doesnt_map,json=secondDoesntMap,proto3" json:"second_doesnt_map,omitempty"`
ThirdDoesntMap string `protobuf:"bytes,3,opt,name=third_doesnt_map,json=thirdDoesntMap,proto3" json:"third_doesnt_map,omitempty"`
AnotherExtraField string `protobuf:"bytes,4,opt,name=another_extra_field,json=anotherExtraField,proto3" json:"another_extra_field,omitempty"`
state protoimpl.MessageState `protogen:"open.v1"`
FirstDoesntMap string `protobuf:"bytes,1,opt,name=first_doesnt_map,json=firstDoesntMap,proto3" json:"first_doesnt_map,omitempty"`
SecondDoesntMap string `protobuf:"bytes,2,opt,name=second_doesnt_map,json=secondDoesntMap,proto3" json:"second_doesnt_map,omitempty"`
ThirdDoesntMap string `protobuf:"bytes,3,opt,name=third_doesnt_map,json=thirdDoesntMap,proto3" json:"third_doesnt_map,omitempty"`
AnotherExtraField string `protobuf:"bytes,4,opt,name=another_extra_field,json=anotherExtraField,proto3" json:"another_extra_field,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TestNameDoesntMap) Reset() {
*x = TestNameDoesntMap{}
if protoimpl.UnsafeEnabled {
mi := &file_controller_custom_options_v1_testing_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_controller_custom_options_v1_testing_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TestNameDoesntMap) String() string {
@@ -303,7 +288,7 @@ func (*TestNameDoesntMap) ProtoMessage() {}
func (x *TestNameDoesntMap) ProtoReflect() protoreflect.Message {
mi := &file_controller_custom_options_v1_testing_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -347,21 +332,18 @@ func (x *TestNameDoesntMap) GetAnotherExtraField() string {
}
type TestNotEnoughFields struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
OtherFirstField string `protobuf:"bytes,1,opt,name=other_first_field,json=otherFirstField,proto3" json:"other_first_field,omitempty"`
OtherSecondField string `protobuf:"bytes,2,opt,name=other_second_field,json=otherSecondField,proto3" json:"other_second_field,omitempty"`
state protoimpl.MessageState `protogen:"open.v1"`
OtherFirstField string `protobuf:"bytes,1,opt,name=other_first_field,json=otherFirstField,proto3" json:"other_first_field,omitempty"`
OtherSecondField string `protobuf:"bytes,2,opt,name=other_second_field,json=otherSecondField,proto3" json:"other_second_field,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TestNotEnoughFields) Reset() {
*x = TestNotEnoughFields{}
if protoimpl.UnsafeEnabled {
mi := &file_controller_custom_options_v1_testing_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_controller_custom_options_v1_testing_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TestNotEnoughFields) String() string {
@@ -372,7 +354,7 @@ func (*TestNotEnoughFields) ProtoMessage() {}
func (x *TestNotEnoughFields) ProtoReflect() protoreflect.Message {
mi := &file_controller_custom_options_v1_testing_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -402,24 +384,21 @@ func (x *TestNotEnoughFields) GetOtherSecondField() string {
}
type TestManyToOneMappings struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
OtherFirstField string `protobuf:"bytes,1,opt,name=other_first_field,json=otherFirstField,proto3" json:"other_first_field,omitempty"`
OtherSecondField string `protobuf:"bytes,2,opt,name=other_second_field,json=otherSecondField,proto3" json:"other_second_field,omitempty"`
OtherThirdField string `protobuf:"bytes,3,opt,name=other_third_field,json=otherThirdField,proto3" json:"other_third_field,omitempty"`
state protoimpl.MessageState `protogen:"open.v1"`
OtherFirstField string `protobuf:"bytes,1,opt,name=other_first_field,json=otherFirstField,proto3" json:"other_first_field,omitempty"`
OtherSecondField string `protobuf:"bytes,2,opt,name=other_second_field,json=otherSecondField,proto3" json:"other_second_field,omitempty"`
OtherThirdField string `protobuf:"bytes,3,opt,name=other_third_field,json=otherThirdField,proto3" json:"other_third_field,omitempty"`
// this field maps to the first_field like 'other_first_field'
ExtraField string `protobuf:"bytes,4,opt,name=extra_field,json=extraField,proto3" json:"extra_field,omitempty"`
ExtraField string `protobuf:"bytes,4,opt,name=extra_field,json=extraField,proto3" json:"extra_field,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TestManyToOneMappings) Reset() {
*x = TestManyToOneMappings{}
if protoimpl.UnsafeEnabled {
mi := &file_controller_custom_options_v1_testing_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_controller_custom_options_v1_testing_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TestManyToOneMappings) String() string {
@@ -430,7 +409,7 @@ func (*TestManyToOneMappings) ProtoMessage() {}
func (x *TestManyToOneMappings) ProtoReflect() protoreflect.Message {
mi := &file_controller_custom_options_v1_testing_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -640,92 +619,6 @@ func file_controller_custom_options_v1_testing_proto_init() {
return
}
file_controller_custom_options_v1_options_proto_init()
if !protoimpl.UnsafeEnabled {
file_controller_custom_options_v1_testing_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*TestBase); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_controller_custom_options_v1_testing_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*TestBaseSplit1); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_controller_custom_options_v1_testing_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*TestBaseSplit2); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_controller_custom_options_v1_testing_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*TestProperlyNamedFields); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_controller_custom_options_v1_testing_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*TestNameDoesntMap); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_controller_custom_options_v1_testing_proto_msgTypes[5].Exporter = func(v any, i int) any {
switch v := v.(*TestNotEnoughFields); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_controller_custom_options_v1_testing_proto_msgTypes[6].Exporter = func(v any, i int) any {
switch v := v.(*TestManyToOneMappings); 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{