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/credentialstores/v1/credential_store.proto
@@ -31,10 +31,7 @@ const (
// CredentialStore contains all fields related to an Credential Store resource
type CredentialStore struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
state protoimpl.MessageState `protogen:"open.v1"`
// Output only. The ID of the Credential Store.
Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
// The ID of the Scope of which this Credential Store is a part.
@@ -54,7 +51,7 @@ type CredentialStore struct {
Version uint32 `protobuf:"varint,80,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
// The Credential Store type.
Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: `class:"public"`
// Types that are assignable to Attrs:
// Types that are valid to be assigned to Attrs:
//
// *CredentialStore_Attributes
// *CredentialStore_VaultCredentialStoreAttributes
@@ -62,16 +59,16 @@ type CredentialStore struct {
// 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"`
// Output only. The authorized actions for the scope's collections.
AuthorizedCollectionActions map[string]*structpb.ListValue `protobuf:"bytes,310,rep,name=authorized_collection_actions,proto3" json:"authorized_collection_actions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // classified as public via taggable implementation
AuthorizedCollectionActions map[string]*structpb.ListValue `protobuf:"bytes,310,rep,name=authorized_collection_actions,proto3" json:"authorized_collection_actions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // classified as public via taggable implementation
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CredentialStore) Reset() {
*x = CredentialStore{}
if protoimpl.UnsafeEnabled {
mi := &file_controller_api_resources_credentialstores_v1_credential_store_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_controller_api_resources_credentialstores_v1_credential_store_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CredentialStore) String() string {
@@ -82,7 +79,7 @@ func (*CredentialStore) ProtoMessage() {}
func (x *CredentialStore) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_resources_credentialstores_v1_credential_store_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)
@@ -160,23 +157,27 @@ func (x *CredentialStore) GetType() string {
return ""
}
func (m *CredentialStore) GetAttrs() isCredentialStore_Attrs {
if m != nil {
return m.Attrs
func (x *CredentialStore) GetAttrs() isCredentialStore_Attrs {
if x != nil {
return x.Attrs
}
return nil
}
func (x *CredentialStore) GetAttributes() *structpb.Struct {
if x, ok := x.GetAttrs().(*CredentialStore_Attributes); ok {
return x.Attributes
if x != nil {
if x, ok := x.Attrs.(*CredentialStore_Attributes); ok {
return x.Attributes
}
}
return nil
}
func (x *CredentialStore) GetVaultCredentialStoreAttributes() *VaultCredentialStoreAttributes {
if x, ok := x.GetAttrs().(*CredentialStore_VaultCredentialStoreAttributes); ok {
return x.VaultCredentialStoreAttributes
if x != nil {
if x, ok := x.Attrs.(*CredentialStore_VaultCredentialStoreAttributes); ok {
return x.VaultCredentialStoreAttributes
}
}
return nil
}
@@ -214,10 +215,7 @@ func (*CredentialStore_VaultCredentialStoreAttributes) isCredentialStore_Attrs()
// The attributes of a vault typed Credential Store.
type VaultCredentialStoreAttributes struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
state protoimpl.MessageState `protogen:"open.v1"`
// The complete url address of vault.
Address *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=address,proto3" json:"address,omitempty" class:"public"` // @gotags: `class:"public"`
// The namespace of vault used by this store
@@ -244,16 +242,16 @@ type VaultCredentialStoreAttributes struct {
// worker_filter is optional. Filters to the worker(s) who can handle Vault requests for this cred store
WorkerFilter *wrapperspb.StringValue `protobuf:"bytes,110,opt,name=worker_filter,proto3" json:"worker_filter,omitempty" class:"public"` // @gotags: `class:"public"`
// Output only. The status of the vault token used by this credential store (current or expired).
TokenStatus string `protobuf:"bytes,120,opt,name=token_status,proto3" json:"token_status,omitempty" class:"public"` // @gotags: `class:"public"`
TokenStatus string `protobuf:"bytes,120,opt,name=token_status,proto3" json:"token_status,omitempty" class:"public"` // @gotags: `class:"public"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *VaultCredentialStoreAttributes) Reset() {
*x = VaultCredentialStoreAttributes{}
if protoimpl.UnsafeEnabled {
mi := &file_controller_api_resources_credentialstores_v1_credential_store_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_controller_api_resources_credentialstores_v1_credential_store_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *VaultCredentialStoreAttributes) String() string {
@@ -264,7 +262,7 @@ func (*VaultCredentialStoreAttributes) ProtoMessage() {}
func (x *VaultCredentialStoreAttributes) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_resources_credentialstores_v1_credential_store_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)
@@ -593,32 +591,6 @@ func file_controller_api_resources_credentialstores_v1_credential_store_proto_in
if File_controller_api_resources_credentialstores_v1_credential_store_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_controller_api_resources_credentialstores_v1_credential_store_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*CredentialStore); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_controller_api_resources_credentialstores_v1_credential_store_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*VaultCredentialStoreAttributes); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_controller_api_resources_credentialstores_v1_credential_store_proto_msgTypes[0].OneofWrappers = []any{
(*CredentialStore_Attributes)(nil),
(*CredentialStore_VaultCredentialStoreAttributes)(nil),