hosts

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: MPL-2.0 Imports: 9 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"`
	// 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"`
	// Output only. Scope information for this resource.
	Scope *scopes.ScopeInfo `protobuf:"bytes,30,opt,name=scope,proto3" json:"scope,omitempty"`
	// Optional name for identification purposes.
	Name *wrappers.StringValue `protobuf:"bytes,40,opt,name=name,proto3" json:"name,omitempty"`
	// Optional user-set description for identification purposes.
	Description *wrappers.StringValue `protobuf:"bytes,50,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The time this resource was created.
	CreatedTime *timestamp.Timestamp `protobuf:"bytes,60,opt,name=created_time,proto3" json:"created_time,omitempty"`
	// Output only. The time this resource was last updated.
	UpdatedTime *timestamp.Timestamp `protobuf:"bytes,70,opt,name=updated_time,proto3" json:"updated_time,omitempty"`
	// 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"`
	// The type of the resource.
	Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty"`
	// 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"`
	// The attributes that are applicable to the specific Host type.
	Attributes *_struct.Struct `protobuf:"bytes,110,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// 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"`
	// 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() *_struct.Struct

func (*Host) GetAuthorizedActions added in v0.1.5

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

func (*Host) GetCreatedTime

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

func (*Host) GetDescription

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

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) GetName

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

func (*Host) GetScope

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

func (*Host) GetType

func (x *Host) GetType() string

func (*Host) GetUpdatedTime

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

type StaticHostAttributes struct {

	// The address (DNS or IP name) used to reach the Host.
	Address *wrappers.StringValue `protobuf:"bytes,10,opt,name=address,proto3" json:"address,omitempty"`
	// 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() *wrappers.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