Documentation
¶
Index ¶
- Variables
- type Catalog
- type DnsName
- type Host
- type IpAddress
- type PreferredEndpoint
- func (*PreferredEndpoint) Descriptor() ([]byte, []int)deprecated
- func (x *PreferredEndpoint) GetCondition() string
- func (x *PreferredEndpoint) GetHostSetId() string
- func (x *PreferredEndpoint) GetPriority() uint32
- func (*PreferredEndpoint) ProtoMessage()
- func (x *PreferredEndpoint) ProtoReflect() protoreflect.Message
- func (x *PreferredEndpoint) Reset()
- func (x *PreferredEndpoint) String() string
- type Set
Constants ¶
This section is empty.
Variables ¶
View Source
var File_controller_storage_host_store_v1_host_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Catalog ¶
type Catalog struct {
// public_is is a surrogate key suitable for use in a public API.
// @inject_tag: `gorm:"primary_key"`
PublicId string `protobuf:"bytes,1,opt,name=public_id,json=publicId,proto3" json:"public_id,omitempty" gorm:"primary_key"`
// The project_id of the owning scope and must be set.
// @inject_tag: `gorm:"not_null"`
ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty" gorm:"not_null"`
// contains filtered or unexported fields
}
func (*Catalog) Descriptor
deprecated
func (*Catalog) GetProjectId ¶ added in v0.10.2
func (*Catalog) GetPublicId ¶
func (*Catalog) ProtoMessage ¶
func (*Catalog) ProtoMessage()
func (*Catalog) ProtoReflect ¶
func (x *Catalog) ProtoReflect() protoreflect.Message
type DnsName ¶ added in v0.7.0
type DnsName struct {
// @inject_tag: `gorm:"primary_key"`
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty" gorm:"primary_key"`
// @inject_tag: `gorm:"primary_key"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" gorm:"primary_key"`
// contains filtered or unexported fields
}
func (*DnsName) Descriptor
deprecated
added in
v0.7.0
func (*DnsName) ProtoMessage ¶ added in v0.7.0
func (*DnsName) ProtoMessage()
func (*DnsName) ProtoReflect ¶ added in v0.7.0
func (x *DnsName) ProtoReflect() protoreflect.Message
type Host ¶
type Host struct {
// public_is is a surrogate key suitable for use in a public API.
// @inject_tag: `gorm:"primary_key"`
PublicId string `protobuf:"bytes,1,opt,name=public_id,json=publicId,proto3" json:"public_id,omitempty" gorm:"primary_key"`
// The catalog_id of the owning catalog and must be set.
// @inject_tag: `gorm:"not_null"`
CatalogId string `protobuf:"bytes,2,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty" gorm:"not_null"`
// contains filtered or unexported fields
}
func (*Host) Descriptor
deprecated
func (*Host) GetCatalogId ¶
func (*Host) GetPublicId ¶
func (*Host) ProtoMessage ¶
func (*Host) ProtoMessage()
func (*Host) ProtoReflect ¶
func (x *Host) ProtoReflect() protoreflect.Message
type IpAddress ¶ added in v0.7.0
type IpAddress struct {
// @inject_tag: `gorm:"primary_key"`
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty" gorm:"primary_key"`
// @inject_tag: `gorm:"primary_key"`
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty" gorm:"primary_key"`
// contains filtered or unexported fields
}
func (*IpAddress) Descriptor
deprecated
added in
v0.7.0
func (*IpAddress) GetAddress ¶ added in v0.7.0
func (*IpAddress) ProtoMessage ¶ added in v0.7.0
func (*IpAddress) ProtoMessage()
func (*IpAddress) ProtoReflect ¶ added in v0.7.0
func (x *IpAddress) ProtoReflect() protoreflect.Message
type PreferredEndpoint ¶ added in v0.7.0
type PreferredEndpoint struct {
// The ID of the host set this belongs to.
// @inject_tag: `gorm:"primary_key"`
HostSetId string `protobuf:"bytes,1,opt,name=host_set_id,json=hostSetId,proto3" json:"host_set_id,omitempty" gorm:"primary_key"`
// The priority order, zero-indexed
// @inject_tag: `gorm:"primary_key"`
Priority uint32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty" gorm:"primary_key"`
// The string text of the preference condition
// @inject_tag: `gorm:"not_null"`
Condition string `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty" gorm:"not_null"`
// contains filtered or unexported fields
}
func (*PreferredEndpoint) Descriptor
deprecated
added in
v0.7.0
func (*PreferredEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use PreferredEndpoint.ProtoReflect.Descriptor instead.
func (*PreferredEndpoint) GetCondition ¶ added in v0.7.0
func (x *PreferredEndpoint) GetCondition() string
func (*PreferredEndpoint) GetHostSetId ¶ added in v0.7.0
func (x *PreferredEndpoint) GetHostSetId() string
func (*PreferredEndpoint) GetPriority ¶ added in v0.7.0
func (x *PreferredEndpoint) GetPriority() uint32
func (*PreferredEndpoint) ProtoMessage ¶ added in v0.7.0
func (*PreferredEndpoint) ProtoMessage()
func (*PreferredEndpoint) ProtoReflect ¶ added in v0.7.0
func (x *PreferredEndpoint) ProtoReflect() protoreflect.Message
func (*PreferredEndpoint) Reset ¶ added in v0.7.0
func (x *PreferredEndpoint) Reset()
func (*PreferredEndpoint) String ¶ added in v0.7.0
func (x *PreferredEndpoint) String() string
type Set ¶
type Set struct {
// public_is is a surrogate key suitable for use in a public API.
// @inject_tag: `gorm:"primary_key"`
PublicId string `protobuf:"bytes,1,opt,name=public_id,json=publicId,proto3" json:"public_id,omitempty" gorm:"primary_key"`
// The catalog_id of the owning catalog and must be set.
// @inject_tag: `gorm:"not_null"`
CatalogId string `protobuf:"bytes,2,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty" gorm:"not_null"`
// contains filtered or unexported fields
}
func (*Set) Descriptor
deprecated
func (*Set) GetCatalogId ¶
func (*Set) GetPublicId ¶
func (*Set) ProtoMessage ¶
func (*Set) ProtoMessage()
func (*Set) ProtoReflect ¶
func (x *Set) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.