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/api/resources/hostsets/v1/host_set.proto
|
||||
|
||||
@@ -31,10 +31,7 @@ const (
|
||||
|
||||
// HostSet is a collection of Hosts created and managed by a Host Catalog
|
||||
type HostSet struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Output only. The ID of the Host Set.
|
||||
Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
// The Host Catalog of which this Host Set is a part.
|
||||
@@ -72,21 +69,21 @@ type HostSet struct {
|
||||
// use Boundary's default. The default may change between releases. May not
|
||||
// be valid for all plugin types.
|
||||
SyncIntervalSeconds *wrapperspb.Int32Value `protobuf:"bytes,102,opt,name=sync_interval_seconds,proto3" json:"sync_interval_seconds,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
// Types that are assignable to Attrs:
|
||||
// Types that are valid to be assigned to Attrs:
|
||||
//
|
||||
// *HostSet_Attributes
|
||||
Attrs isHostSet_Attrs `protobuf_oneof:"attrs"`
|
||||
// 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 *HostSet) Reset() {
|
||||
*x = HostSet{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_controller_api_resources_hostsets_v1_host_set_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_controller_api_resources_hostsets_v1_host_set_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *HostSet) String() string {
|
||||
@@ -97,7 +94,7 @@ func (*HostSet) ProtoMessage() {}
|
||||
|
||||
func (x *HostSet) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_controller_api_resources_hostsets_v1_host_set_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)
|
||||
@@ -203,16 +200,18 @@ func (x *HostSet) GetSyncIntervalSeconds() *wrapperspb.Int32Value {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *HostSet) GetAttrs() isHostSet_Attrs {
|
||||
if m != nil {
|
||||
return m.Attrs
|
||||
func (x *HostSet) GetAttrs() isHostSet_Attrs {
|
||||
if x != nil {
|
||||
return x.Attrs
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *HostSet) GetAttributes() *structpb.Struct {
|
||||
if x, ok := x.GetAttrs().(*HostSet_Attributes); ok {
|
||||
return x.Attributes
|
||||
if x != nil {
|
||||
if x, ok := x.Attrs.(*HostSet_Attributes); ok {
|
||||
return x.Attributes
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
@@ -370,20 +369,6 @@ func file_controller_api_resources_hostsets_v1_host_set_proto_init() {
|
||||
if File_controller_api_resources_hostsets_v1_host_set_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_controller_api_resources_hostsets_v1_host_set_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*HostSet); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
file_controller_api_resources_hostsets_v1_host_set_proto_msgTypes[0].OneofWrappers = []any{
|
||||
(*HostSet_Attributes)(nil),
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user