hostsets

package
v0.1.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2020 License: MPL-2.0 Imports: 11 Imported by: 0

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 {

	// 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) Descriptor() ([]byte, []int)

Deprecated: Use HostSet.ProtoReflect.Descriptor instead.

func (*HostSet) GetAttributes

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

func (*HostSet) GetCreatedTime

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

func (*HostSet) GetDescription

func (x *HostSet) GetDescription() *wrappers.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() *wrappers.StringValue

func (*HostSet) GetScope

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

func (*HostSet) GetType

func (x *HostSet) GetType() string

func (*HostSet) GetUpdatedTime

func (x *HostSet) GetUpdatedTime() *timestamp.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

Jump to

Keyboard shortcuts

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