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

@@ -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/api/resources/managedgroups/v1/managed_group.proto
@@ -31,10 +31,7 @@ const (
// ManagedGroup contains all fields related to an ManagedGroup resource
type ManagedGroup struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
state protoimpl.MessageState `protogen:"open.v1"`
// Output only. The ID of the ManagedGroup.
Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
// Output only. Scope information for the ManagedGroup.
@@ -54,7 +51,7 @@ type ManagedGroup struct {
Type string `protobuf:"bytes,80,opt,name=type,proto3" json:"type,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
// The ID of the Auth Method that is associated with this ManagedGroup.
AuthMethodId string `protobuf:"bytes,90,opt,name=auth_method_id,proto3" json:"auth_method_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
// Types that are assignable to Attrs:
// Types that are valid to be assigned to Attrs:
//
// *ManagedGroup_Attributes
// *ManagedGroup_OidcManagedGroupAttributes
@@ -64,15 +61,15 @@ type ManagedGroup struct {
MemberIds []string `protobuf:"bytes,110,rep,name=member_ids,proto3" json:"member_ids,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
// Output only. The available actions on this resource for this user.
AuthorizedActions []string `protobuf:"bytes,300,rep,name=authorized_actions,proto3" json:"authorized_actions,omitempty" class:"public"` // @gotags: `class:"public"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ManagedGroup) Reset() {
*x = ManagedGroup{}
if protoimpl.UnsafeEnabled {
mi := &file_controller_api_resources_managedgroups_v1_managed_group_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_controller_api_resources_managedgroups_v1_managed_group_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ManagedGroup) String() string {
@@ -83,7 +80,7 @@ func (*ManagedGroup) ProtoMessage() {}
func (x *ManagedGroup) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_resources_managedgroups_v1_managed_group_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)
@@ -161,30 +158,36 @@ func (x *ManagedGroup) GetAuthMethodId() string {
return ""
}
func (m *ManagedGroup) GetAttrs() isManagedGroup_Attrs {
if m != nil {
return m.Attrs
func (x *ManagedGroup) GetAttrs() isManagedGroup_Attrs {
if x != nil {
return x.Attrs
}
return nil
}
func (x *ManagedGroup) GetAttributes() *structpb.Struct {
if x, ok := x.GetAttrs().(*ManagedGroup_Attributes); ok {
return x.Attributes
if x != nil {
if x, ok := x.Attrs.(*ManagedGroup_Attributes); ok {
return x.Attributes
}
}
return nil
}
func (x *ManagedGroup) GetOidcManagedGroupAttributes() *OidcManagedGroupAttributes {
if x, ok := x.GetAttrs().(*ManagedGroup_OidcManagedGroupAttributes); ok {
return x.OidcManagedGroupAttributes
if x != nil {
if x, ok := x.Attrs.(*ManagedGroup_OidcManagedGroupAttributes); ok {
return x.OidcManagedGroupAttributes
}
}
return nil
}
func (x *ManagedGroup) GetLdapManagedGroupAttributes() *LdapManagedGroupAttributes {
if x, ok := x.GetAttrs().(*ManagedGroup_LdapManagedGroupAttributes); ok {
return x.LdapManagedGroupAttributes
if x != nil {
if x, ok := x.Attrs.(*ManagedGroup_LdapManagedGroupAttributes); ok {
return x.LdapManagedGroupAttributes
}
}
return nil
}
@@ -228,21 +231,18 @@ func (*ManagedGroup_LdapManagedGroupAttributes) isManagedGroup_Attrs() {}
// Attributes associated only with ManagedGroups with type "oidc".
type OidcManagedGroupAttributes struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
state protoimpl.MessageState `protogen:"open.v1"`
// The boolean expression filter to use to determine membership.
Filter string `protobuf:"bytes,10,opt,name=filter,proto3" json:"filter,omitempty" class:"public"` // @gotags: `class:"public"`
Filter string `protobuf:"bytes,10,opt,name=filter,proto3" json:"filter,omitempty" class:"public"` // @gotags: `class:"public"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *OidcManagedGroupAttributes) Reset() {
*x = OidcManagedGroupAttributes{}
if protoimpl.UnsafeEnabled {
mi := &file_controller_api_resources_managedgroups_v1_managed_group_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_controller_api_resources_managedgroups_v1_managed_group_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *OidcManagedGroupAttributes) String() string {
@@ -253,7 +253,7 @@ func (*OidcManagedGroupAttributes) ProtoMessage() {}
func (x *OidcManagedGroupAttributes) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_resources_managedgroups_v1_managed_group_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)
@@ -277,21 +277,18 @@ func (x *OidcManagedGroupAttributes) GetFilter() string {
// Attributes associated only with ManagedGroups with type "ldap".
type LdapManagedGroupAttributes struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
state protoimpl.MessageState `protogen:"open.v1"`
// The list of groups that make up the ManagedGroup
GroupNames []string `protobuf:"bytes,100,rep,name=group_names,proto3" json:"group_names,omitempty" class:"public"` // @gotags: `class:"public"`
GroupNames []string `protobuf:"bytes,100,rep,name=group_names,proto3" json:"group_names,omitempty" class:"public"` // @gotags: `class:"public"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *LdapManagedGroupAttributes) Reset() {
*x = LdapManagedGroupAttributes{}
if protoimpl.UnsafeEnabled {
mi := &file_controller_api_resources_managedgroups_v1_managed_group_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_controller_api_resources_managedgroups_v1_managed_group_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *LdapManagedGroupAttributes) String() string {
@@ -302,7 +299,7 @@ func (*LdapManagedGroupAttributes) ProtoMessage() {}
func (x *LdapManagedGroupAttributes) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_resources_managedgroups_v1_managed_group_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)
@@ -474,44 +471,6 @@ func file_controller_api_resources_managedgroups_v1_managed_group_proto_init() {
if File_controller_api_resources_managedgroups_v1_managed_group_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_controller_api_resources_managedgroups_v1_managed_group_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*ManagedGroup); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_controller_api_resources_managedgroups_v1_managed_group_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*OidcManagedGroupAttributes); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_controller_api_resources_managedgroups_v1_managed_group_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*LdapManagedGroupAttributes); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_controller_api_resources_managedgroups_v1_managed_group_proto_msgTypes[0].OneofWrappers = []any{
(*ManagedGroup_Attributes)(nil),
(*ManagedGroup_OidcManagedGroupAttributes)(nil),