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/services/v1/credential_library_service.proto
@@ -29,20 +29,17 @@ const (
)
type GetCredentialLibraryRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
sizeCache protoimpl.SizeCache
}
func (x *GetCredentialLibraryRequest) Reset() {
*x = GetCredentialLibraryRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetCredentialLibraryRequest) String() string {
@@ -53,7 +50,7 @@ func (*GetCredentialLibraryRequest) ProtoMessage() {}
func (x *GetCredentialLibraryRequest) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_credential_library_service_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)
@@ -76,20 +73,17 @@ func (x *GetCredentialLibraryRequest) GetId() string {
}
type GetCredentialLibraryResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
state protoimpl.MessageState `protogen:"open.v1"`
Item *credentiallibraries.CredentialLibrary `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
unknownFields protoimpl.UnknownFields
Item *credentiallibraries.CredentialLibrary `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
sizeCache protoimpl.SizeCache
}
func (x *GetCredentialLibraryResponse) Reset() {
*x = GetCredentialLibraryResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetCredentialLibraryResponse) String() string {
@@ -100,7 +94,7 @@ func (*GetCredentialLibraryResponse) ProtoMessage() {}
func (x *GetCredentialLibraryResponse) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_credential_library_service_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)
@@ -123,11 +117,8 @@ func (x *GetCredentialLibraryResponse) GetItem() *credentiallibraries.Credential
}
type ListCredentialLibrariesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CredentialStoreId string `protobuf:"bytes,1,opt,name=credential_store_id,json=scope_id,proto3" json:"credential_store_id,omitempty" class:"public"` // @gotags: `class:"public"`
state protoimpl.MessageState `protogen:"open.v1"`
CredentialStoreId string `protobuf:"bytes,1,opt,name=credential_store_id,json=scope_id,proto3" json:"credential_store_id,omitempty" class:"public"` // @gotags: `class:"public"`
// You can specify that the filter should only return items that match.
// Refer to [filter expressions](https://developer.hashicorp.com/boundary/docs/concepts/filtering) for more information.
Filter string `protobuf:"bytes,30,opt,name=filter,proto3" json:"filter,omitempty" class:"public"` // @gotags: `class:"public"`
@@ -140,16 +131,16 @@ type ListCredentialLibrariesRequest struct {
// If you do not set a page size, Boundary uses the configured default page size.
// If the page_size is greater than the default page size configured,
// Boundary truncates the page size to this number.
PageSize uint32 `protobuf:"varint,50,opt,name=page_size,proto3" json:"page_size,omitempty" class:"public"` // @gotags: `class:"public"`
PageSize uint32 `protobuf:"varint,50,opt,name=page_size,proto3" json:"page_size,omitempty" class:"public"` // @gotags: `class:"public"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListCredentialLibrariesRequest) Reset() {
*x = ListCredentialLibrariesRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListCredentialLibrariesRequest) String() string {
@@ -160,7 +151,7 @@ func (*ListCredentialLibrariesRequest) ProtoMessage() {}
func (x *ListCredentialLibrariesRequest) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_credential_library_service_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)
@@ -204,10 +195,7 @@ func (x *ListCredentialLibrariesRequest) GetPageSize() uint32 {
}
type ListCredentialLibrariesResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
state protoimpl.MessageState `protogen:"open.v1"`
// The items returned in this page.
Items []*credentiallibraries.CredentialLibrary `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
// The type of response, either "delta" or "complete".
@@ -229,16 +217,16 @@ type ListCredentialLibrariesResponse struct {
// created and deleted between listings.
RemovedIds []string `protobuf:"bytes,6,rep,name=removed_ids,proto3" json:"removed_ids,omitempty" class:"public"` // @gotags: `class:"public"`
// An estimate at the total items available. This may change during pagination.
EstItemCount uint32 `protobuf:"varint,7,opt,name=est_item_count,proto3" json:"est_item_count,omitempty" class:"public"` // @gotags: `class:"public"`
EstItemCount uint32 `protobuf:"varint,7,opt,name=est_item_count,proto3" json:"est_item_count,omitempty" class:"public"` // @gotags: `class:"public"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListCredentialLibrariesResponse) Reset() {
*x = ListCredentialLibrariesResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListCredentialLibrariesResponse) String() string {
@@ -249,7 +237,7 @@ func (*ListCredentialLibrariesResponse) ProtoMessage() {}
func (x *ListCredentialLibrariesResponse) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_credential_library_service_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)
@@ -314,20 +302,17 @@ func (x *ListCredentialLibrariesResponse) GetEstItemCount() uint32 {
}
type CreateCredentialLibraryRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
state protoimpl.MessageState `protogen:"open.v1"`
Item *credentiallibraries.CredentialLibrary `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
unknownFields protoimpl.UnknownFields
Item *credentiallibraries.CredentialLibrary `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
sizeCache protoimpl.SizeCache
}
func (x *CreateCredentialLibraryRequest) Reset() {
*x = CreateCredentialLibraryRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateCredentialLibraryRequest) String() string {
@@ -338,7 +323,7 @@ func (*CreateCredentialLibraryRequest) ProtoMessage() {}
func (x *CreateCredentialLibraryRequest) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_credential_library_service_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)
@@ -361,21 +346,18 @@ func (x *CreateCredentialLibraryRequest) GetItem() *credentiallibraries.Credenti
}
type CreateCredentialLibraryResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
state protoimpl.MessageState `protogen:"open.v1"`
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public"` // @gotags: `class:"public"`
Item *credentiallibraries.CredentialLibrary `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
unknownFields protoimpl.UnknownFields
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public"` // @gotags: `class:"public"`
Item *credentiallibraries.CredentialLibrary `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
sizeCache protoimpl.SizeCache
}
func (x *CreateCredentialLibraryResponse) Reset() {
*x = CreateCredentialLibraryResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateCredentialLibraryResponse) String() string {
@@ -386,7 +368,7 @@ func (*CreateCredentialLibraryResponse) ProtoMessage() {}
func (x *CreateCredentialLibraryResponse) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_credential_library_service_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)
@@ -416,22 +398,19 @@ func (x *CreateCredentialLibraryResponse) GetItem() *credentiallibraries.Credent
}
type UpdateCredentialLibraryRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
Item *credentiallibraries.CredentialLibrary `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
Item *credentiallibraries.CredentialLibrary `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
sizeCache protoimpl.SizeCache
}
func (x *UpdateCredentialLibraryRequest) Reset() {
*x = UpdateCredentialLibraryRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateCredentialLibraryRequest) String() string {
@@ -442,7 +421,7 @@ func (*UpdateCredentialLibraryRequest) ProtoMessage() {}
func (x *UpdateCredentialLibraryRequest) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_credential_library_service_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)
@@ -479,20 +458,17 @@ func (x *UpdateCredentialLibraryRequest) GetUpdateMask() *fieldmaskpb.FieldMask
}
type UpdateCredentialLibraryResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
state protoimpl.MessageState `protogen:"open.v1"`
Item *credentiallibraries.CredentialLibrary `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
unknownFields protoimpl.UnknownFields
Item *credentiallibraries.CredentialLibrary `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
sizeCache protoimpl.SizeCache
}
func (x *UpdateCredentialLibraryResponse) Reset() {
*x = UpdateCredentialLibraryResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateCredentialLibraryResponse) String() string {
@@ -503,7 +479,7 @@ func (*UpdateCredentialLibraryResponse) ProtoMessage() {}
func (x *UpdateCredentialLibraryResponse) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -526,20 +502,17 @@ func (x *UpdateCredentialLibraryResponse) GetItem() *credentiallibraries.Credent
}
type DeleteCredentialLibraryRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
sizeCache protoimpl.SizeCache
}
func (x *DeleteCredentialLibraryRequest) Reset() {
*x = DeleteCredentialLibraryRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteCredentialLibraryRequest) String() string {
@@ -550,7 +523,7 @@ func (*DeleteCredentialLibraryRequest) ProtoMessage() {}
func (x *DeleteCredentialLibraryRequest) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -573,18 +546,16 @@ func (x *DeleteCredentialLibraryRequest) GetId() string {
}
type DeleteCredentialLibraryResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteCredentialLibraryResponse) Reset() {
*x = DeleteCredentialLibraryResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteCredentialLibraryResponse) String() string {
@@ -595,7 +566,7 @@ func (*DeleteCredentialLibraryResponse) ProtoMessage() {}
func (x *DeleteCredentialLibraryResponse) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_credential_library_service_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -888,128 +859,6 @@ func file_controller_api_services_v1_credential_library_service_proto_init() {
if File_controller_api_services_v1_credential_library_service_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_controller_api_services_v1_credential_library_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*GetCredentialLibraryRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_controller_api_services_v1_credential_library_service_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*GetCredentialLibraryResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_controller_api_services_v1_credential_library_service_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*ListCredentialLibrariesRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_controller_api_services_v1_credential_library_service_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*ListCredentialLibrariesResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_controller_api_services_v1_credential_library_service_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*CreateCredentialLibraryRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_controller_api_services_v1_credential_library_service_proto_msgTypes[5].Exporter = func(v any, i int) any {
switch v := v.(*CreateCredentialLibraryResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_controller_api_services_v1_credential_library_service_proto_msgTypes[6].Exporter = func(v any, i int) any {
switch v := v.(*UpdateCredentialLibraryRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_controller_api_services_v1_credential_library_service_proto_msgTypes[7].Exporter = func(v any, i int) any {
switch v := v.(*UpdateCredentialLibraryResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_controller_api_services_v1_credential_library_service_proto_msgTypes[8].Exporter = func(v any, i int) any {
switch v := v.(*DeleteCredentialLibraryRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_controller_api_services_v1_credential_library_service_proto_msgTypes[9].Exporter = func(v any, i int) any {
switch v := v.(*DeleteCredentialLibraryResponse); 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{