Documentation
¶
Index ¶
- Variables
- type Host
- func (*Host) Descriptor() ([]byte, []int)deprecated
- func (x *Host) GetAttributes() *structpb.Struct
- func (m *Host) GetAttrs() isHost_Attrs
- func (x *Host) GetAuthorizedActions() []string
- func (x *Host) GetCreatedTime() *timestamppb.Timestamp
- func (x *Host) GetDescription() *wrapperspb.StringValue
- func (x *Host) GetDnsNames() []string
- func (x *Host) GetExternalId() string
- func (x *Host) GetExternalName() string
- func (x *Host) GetHostCatalogId() string
- func (x *Host) GetHostSetIds() []string
- func (x *Host) GetId() string
- func (x *Host) GetIpAddresses() []string
- func (x *Host) GetName() *wrapperspb.StringValue
- func (x *Host) GetPlugin() *plugins.PluginInfo
- func (x *Host) GetScope() *scopes.ScopeInfo
- func (x *Host) GetStaticHostAttributes() *StaticHostAttributes
- func (x *Host) GetType() string
- func (x *Host) GetUpdatedTime() *timestamppb.Timestamp
- func (x *Host) GetVersion() uint32
- func (*Host) ProtoMessage()
- func (x *Host) ProtoReflect() protoreflect.Message
- func (x *Host) Reset()
- func (x *Host) String() string
- type Host_Attributes
- type Host_StaticHostAttributes
- type StaticHostAttributes
- func (*StaticHostAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *StaticHostAttributes) GetAddress() *wrapperspb.StringValue
- func (*StaticHostAttributes) ProtoMessage()
- func (x *StaticHostAttributes) ProtoReflect() protoreflect.Message
- func (x *StaticHostAttributes) Reset()
- func (x *StaticHostAttributes) String() string
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) GetAttributes ¶
func (*Host) GetAuthorizedActions ¶
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 (*Host) GetExternalId ¶ added in v0.0.12
func (*Host) GetExternalName ¶ added in v0.0.31
func (*Host) GetHostCatalogId ¶
func (*Host) GetHostSetIds ¶
func (*Host) GetIpAddresses ¶ added in v0.0.12
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) GetStaticHostAttributes ¶ added in v0.0.15
func (x *Host) GetStaticHostAttributes() *StaticHostAttributes
func (*Host) GetUpdatedTime ¶
func (x *Host) GetUpdatedTime() *timestamppb.Timestamp
func (*Host) GetVersion ¶
func (*Host) ProtoMessage ¶
func (*Host) ProtoMessage()
func (*Host) ProtoReflect ¶
func (x *Host) ProtoReflect() protoreflect.Message
type Host_Attributes ¶ added in v0.0.15
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
Click to show internal directories.
Click to hide internal directories.