hostsets

package
v0.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2022 License: MPL-2.0 Imports: 10 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_controller_api_resources_hostsets_v1_host_set_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type HostSet

type HostSet struct {

	// 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.
	HostCatalogId string `protobuf:"bytes,20,opt,name=host_catalog_id,proto3" json:"host_catalog_id,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. Scope information for this resource.
	Scope *scopes.ScopeInfo `protobuf:"bytes,30,opt,name=scope,proto3" json:"scope,omitempty"`
	// Output only. Plugin information for this resource.
	Plugin *plugins.PluginInfo `protobuf:"bytes,35,opt,name=plugin,proto3" json:"plugin,omitempty"`
	// Optional name for identification purposes.
	Name *wrapperspb.StringValue `protobuf:"bytes,40,opt,name=name,proto3" json:"name,omitempty" class:"public"` // @gotags: `class:"public"`
	// Optional user-set description for identification purposes.
	Description *wrapperspb.StringValue `protobuf:"bytes,50,opt,name=description,proto3" json:"description,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The time this resource was created.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,60,opt,name=created_time,proto3" json:"created_time,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The time this resource was last updated.
	UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,70,opt,name=updated_time,proto3" json:"updated_time,omitempty" class:"public"` // @gotags: `class:"public"`
	// Version is used in mutation requests, after the initial creation, to ensure this resource has not changed.
	// The mutation will fail if the version does not match the latest known good version.
	Version uint32 `protobuf:"varint,80,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
	// The type of the Host Set.
	Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. A list of Hosts in this Host Set.
	HostIds []string `protobuf:"bytes,100,rep,name=host_ids,proto3" json:"host_ids,omitempty" class:"public"` // @gotags: `class:"public"`
	// multiple possible endpoints for a host. Preferences are specified by
	// "cidr:<valid IPv4/6 CIDR>" or "dns:<globbed name>", specifying which IP
	// address or DNS name out of a host's available possibilities should be
	// preferred. If no preferences are specified, a value will be chosen from
	// among all avialable values using a built-in priority order. May not be
	// valid for all plugin types.
	PreferredEndpoints []string `protobuf:"bytes,101,rep,name=preferred_endpoints,proto3" json:"preferred_endpoints,omitempty" class:"public"` // @gotags: `class:"public"`
	// An interger number of seconds indicating the amount of time that should
	// elapse between syncs of the host set. The interval will be applied to the
	// end of the previous sync operation, not the start. Setting to -1 will
	// disable syncing for that host set; setting to zero will cause the set to
	// 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:
	//	*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"`
	// contains filtered or unexported fields
}

HostSet is a collection of Hosts created and managed by a Host Catalog

func (*HostSet) Descriptor deprecated

func (*HostSet) Descriptor() ([]byte, []int)

Deprecated: Use HostSet.ProtoReflect.Descriptor instead.

func (*HostSet) GetAttributes

func (x *HostSet) GetAttributes() *structpb.Struct

func (*HostSet) GetAttrs added in v0.0.15

func (m *HostSet) GetAttrs() isHostSet_Attrs

func (*HostSet) GetAuthorizedActions

func (x *HostSet) GetAuthorizedActions() []string

func (*HostSet) GetCreatedTime

func (x *HostSet) GetCreatedTime() *timestamppb.Timestamp

func (*HostSet) GetDescription

func (x *HostSet) GetDescription() *wrapperspb.StringValue

func (*HostSet) GetHostCatalogId

func (x *HostSet) GetHostCatalogId() string

func (*HostSet) GetHostIds

func (x *HostSet) GetHostIds() []string

func (*HostSet) GetId

func (x *HostSet) GetId() string

func (*HostSet) GetName

func (x *HostSet) GetName() *wrapperspb.StringValue

func (*HostSet) GetPlugin added in v0.0.12

func (x *HostSet) GetPlugin() *plugins.PluginInfo

func (*HostSet) GetPreferredEndpoints added in v0.0.12

func (x *HostSet) GetPreferredEndpoints() []string

func (*HostSet) GetScope

func (x *HostSet) GetScope() *scopes.ScopeInfo

func (*HostSet) GetSyncIntervalSeconds added in v0.0.12

func (x *HostSet) GetSyncIntervalSeconds() *wrapperspb.Int32Value

func (*HostSet) GetType

func (x *HostSet) GetType() string

func (*HostSet) GetUpdatedTime

func (x *HostSet) GetUpdatedTime() *timestamppb.Timestamp

func (*HostSet) GetVersion

func (x *HostSet) GetVersion() uint32

func (*HostSet) ProtoMessage

func (*HostSet) ProtoMessage()

func (*HostSet) ProtoReflect

func (x *HostSet) ProtoReflect() protoreflect.Message

func (*HostSet) Reset

func (x *HostSet) Reset()

func (*HostSet) String

func (x *HostSet) String() string

type HostSet_Attributes added in v0.0.15

type HostSet_Attributes struct {
	// The attributes that are applicable for the specific Host Set type.
	Attributes *structpb.Struct `protobuf:"bytes,110,opt,name=attributes,proto3,oneof"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL