Documentation
¶
Index ¶
- Variables
- type HostSet
- func (*HostSet) Descriptor() ([]byte, []int)deprecated
- func (x *HostSet) GetAttributes() *_struct.Struct
- func (x *HostSet) GetCreatedTime() *timestamp.Timestamp
- func (x *HostSet) GetDescription() *wrappers.StringValue
- func (x *HostSet) GetHostCatalogId() string
- func (x *HostSet) GetHostIds() []string
- func (x *HostSet) GetId() string
- func (x *HostSet) GetName() *wrappers.StringValue
- func (x *HostSet) GetScope() *scopes.ScopeInfo
- func (x *HostSet) GetType() string
- func (x *HostSet) GetUpdatedTime() *timestamp.Timestamp
- func (x *HostSet) GetVersion() uint32
- func (*HostSet) ProtoMessage()
- func (x *HostSet) ProtoReflect() protoreflect.Message
- func (x *HostSet) Reset()
- func (x *HostSet) String() string
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 {
// The ID of the host
// Output only.
Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"`
// Scope information for this resource
// Output only.
Scope *scopes.ScopeInfo `protobuf:"bytes,20,opt,name=scope,proto3" json:"scope,omitempty"`
// Optional name for identification purposes
Name *wrappers.StringValue `protobuf:"bytes,30,opt,name=name,proto3" json:"name,omitempty"`
// Optional user-set description for identification purposes
Description *wrappers.StringValue `protobuf:"bytes,40,opt,name=description,proto3" json:"description,omitempty"`
// The time this resource was created
// Output only.
CreatedTime *timestamp.Timestamp `protobuf:"bytes,50,opt,name=created_time,proto3" json:"created_time,omitempty"`
// The time this resource was last updated
// Output only.
UpdatedTime *timestamp.Timestamp `protobuf:"bytes,60,opt,name=updated_time,proto3" json:"updated_time,omitempty"`
// The version can be used in subsequent write requests to ensure this resource
// has not changed and to fail the write if it has.
Version uint32 `protobuf:"varint,70,opt,name=version,proto3" json:"version,omitempty"`
// The type of the resource, to help differentiate schemas
Type string `protobuf:"bytes,80,opt,name=type,proto3" json:"type,omitempty"`
// The host catalog this host set is a part of
// Output only
HostCatalogId string `protobuf:"bytes,90,opt,name=host_catalog_id,proto3" json:"host_catalog_id,omitempty"`
// A list of hosts in this host set
// TODO: Figure out if this should be in the basic HostSet view and what
// view to use on the Hosts.
// Output only.
HostIds []string `protobuf:"bytes,100,rep,name=host_ids,json=hostIds,proto3" json:"host_ids,omitempty"`
// The attributes that are applied for the specific host set type.
Attributes *_struct.Struct `protobuf:"bytes,110,opt,name=attributes,proto3" json:"attributes,omitempty"`
// contains filtered or unexported fields
}
HostSet is a collection of Hosts created and managed by a HostCatalog
func (*HostSet) Descriptor
deprecated
func (*HostSet) GetAttributes ¶
func (*HostSet) GetCreatedTime ¶
func (*HostSet) GetDescription ¶
func (x *HostSet) GetDescription() *wrappers.StringValue
func (*HostSet) GetHostCatalogId ¶
func (*HostSet) GetHostIds ¶
func (*HostSet) GetName ¶
func (x *HostSet) GetName() *wrappers.StringValue
func (*HostSet) GetUpdatedTime ¶
func (*HostSet) GetVersion ¶
func (*HostSet) ProtoMessage ¶
func (*HostSet) ProtoMessage()
func (*HostSet) ProtoReflect ¶
func (x *HostSet) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.