hosts

package
v0.0.47 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_controller_api_resources_hosts_v1_host_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Host

type Host struct {

	// Output only. The ID of the Host.
	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// The Host Catalog of which this Host is a part.
	HostCatalogId string `protobuf:"bytes,20,opt,name=host_catalog_id,proto3" json:"host_catalog_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// 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" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// 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" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// 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 resource.
	Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. A list of Host Sets containing this Host.
	HostSetIds []string `protobuf:"bytes,100,rep,name=host_set_ids,proto3" json:"host_set_ids,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Types that are assignable to Attrs:
	//
	//	*Host_Attributes
	//	*Host_StaticHostAttributes
	Attrs isHost_Attrs `protobuf_oneof:"attrs"`
	// Output only.  The list of ip addresses associated with this host.
	IpAddresses []string `protobuf:"bytes,120,rep,name=ip_addresses,json=ipAddresses,proto3" json:"ip_addresses,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only.  The list of dns addresses associated with this host.
	DnsNames []string `protobuf:"bytes,130,rep,name=dns_names,json=dnsNames,proto3" json:"dns_names,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The external ID of the host, if any.
	ExternalId string `protobuf:"bytes,140,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. Refers to the name for a given host provided by the plugin enabled backing service.
	ExternalName string `protobuf:"bytes,150,opt,name=external_name,json=externalName,proto3" json:"external_name,omitempty" class:"public"` // @gotags: `class:"public"`
	// 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
}

Host contains all fields related to a Host resource

func (*Host) Descriptor deprecated

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

Deprecated: Use Host.ProtoReflect.Descriptor instead.

func (*Host) GetAttributes

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

func (*Host) GetAttrs added in v0.0.15

func (m *Host) GetAttrs() isHost_Attrs

func (*Host) GetAuthorizedActions

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

func (*Host) GetCreatedTime

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

func (*Host) GetDescription

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

func (*Host) GetDnsNames added in v0.0.12

func (x *Host) GetDnsNames() []string

func (*Host) GetExternalId added in v0.0.12

func (x *Host) GetExternalId() string

func (*Host) GetExternalName added in v0.0.31

func (x *Host) GetExternalName() string

func (*Host) GetHostCatalogId

func (x *Host) GetHostCatalogId() string

func (*Host) GetHostSetIds

func (x *Host) GetHostSetIds() []string

func (*Host) GetId

func (x *Host) GetId() string

func (*Host) GetIpAddresses added in v0.0.12

func (x *Host) GetIpAddresses() []string

func (*Host) GetName

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

func (*Host) GetPlugin added in v0.0.12

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

func (*Host) GetScope

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

func (*Host) GetStaticHostAttributes added in v0.0.15

func (x *Host) GetStaticHostAttributes() *StaticHostAttributes

func (*Host) GetType

func (x *Host) GetType() string

func (*Host) GetUpdatedTime

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

func (*Host) GetVersion

func (x *Host) GetVersion() uint32

func (*Host) ProtoMessage

func (*Host) ProtoMessage()

func (*Host) ProtoReflect

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

func (*Host) Reset

func (x *Host) Reset()

func (*Host) String

func (x *Host) String() string

type Host_Attributes added in v0.0.15

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

type Host_StaticHostAttributes added in v0.0.15

type Host_StaticHostAttributes struct {
	StaticHostAttributes *StaticHostAttributes `protobuf:"bytes,111,opt,name=static_host_attributes,json=staticHostAttributes,proto3,oneof"`
}

type StaticHostAttributes

type StaticHostAttributes struct {

	// The address (DNS or IP name) used to reach the Host.
	Address *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=address,proto3" json:"address,omitempty" class:"public"` // @gotags: `class:"public"`
	// contains filtered or unexported fields
}

func (*StaticHostAttributes) Descriptor deprecated

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

Deprecated: Use StaticHostAttributes.ProtoReflect.Descriptor instead.

func (*StaticHostAttributes) GetAddress

func (x *StaticHostAttributes) GetAddress() *wrapperspb.StringValue

func (*StaticHostAttributes) ProtoMessage

func (*StaticHostAttributes) ProtoMessage()

func (*StaticHostAttributes) ProtoReflect

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

func (*StaticHostAttributes) Reset

func (x *StaticHostAttributes) Reset()

func (*StaticHostAttributes) String

func (x *StaticHostAttributes) String() string

Jump to

Keyboard shortcuts

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