Documentation ¶
Index ¶
- Variables
- type Host
- func (*Host) Descriptor() ([]byte, []int)deprecated
- func (x *Host) GetAddress() string
- func (x *Host) GetCatalogId() string
- func (x *Host) GetCreateTime() *timestamp.Timestamp
- func (x *Host) GetDescription() string
- func (x *Host) GetName() string
- func (x *Host) GetPublicId() string
- func (x *Host) GetUpdateTime() *timestamp.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 HostCatalog
- func (*HostCatalog) Descriptor() ([]byte, []int)deprecated
- func (x *HostCatalog) GetCreateTime() *timestamp.Timestamp
- func (x *HostCatalog) GetDescription() string
- func (x *HostCatalog) GetName() string
- func (x *HostCatalog) GetPublicId() string
- func (x *HostCatalog) GetScopeId() string
- func (x *HostCatalog) GetUpdateTime() *timestamp.Timestamp
- func (x *HostCatalog) GetVersion() uint32
- func (*HostCatalog) ProtoMessage()
- func (x *HostCatalog) ProtoReflect() protoreflect.Message
- func (x *HostCatalog) Reset()
- func (x *HostCatalog) String() string
- type HostSet
- func (*HostSet) Descriptor() ([]byte, []int)deprecated
- func (x *HostSet) GetCatalogId() string
- func (x *HostSet) GetCreateTime() *timestamp.Timestamp
- func (x *HostSet) GetDescription() string
- func (x *HostSet) GetName() string
- func (x *HostSet) GetPublicId() string
- func (x *HostSet) GetUpdateTime() *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
- type HostSetMember
- func (*HostSetMember) Descriptor() ([]byte, []int)deprecated
- func (x *HostSetMember) GetCatalogId() string
- func (x *HostSetMember) GetHostId() string
- func (x *HostSetMember) GetSetId() string
- func (*HostSetMember) ProtoMessage()
- func (x *HostSetMember) ProtoReflect() protoreflect.Message
- func (x *HostSetMember) Reset()
- func (x *HostSetMember) String() string
- type UnimplementedSetFields
- func (*UnimplementedSetFields) Descriptor() ([]byte, []int)deprecated
- func (x *UnimplementedSetFields) GetPreferredEndpoints() []string
- func (x *UnimplementedSetFields) GetSyncIntervalSeconds() int32
- func (*UnimplementedSetFields) ProtoMessage()
- func (x *UnimplementedSetFields) ProtoReflect() protoreflect.Message
- func (x *UnimplementedSetFields) Reset()
- func (x *UnimplementedSetFields) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_controller_storage_host_static_store_v1_static_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
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 create_time is set by the database. // @inject_tag: `gorm:"default:current_timestamp"` CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"` // The update_time is set by the database. // @inject_tag: `gorm:"default:current_timestamp"` UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty" gorm:"default:current_timestamp"` // name is optional. If set, it must be unique within // catalog_id. // @inject_tag: `gorm:"default:null"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty" gorm:"default:null"` // description is optional. // @inject_tag: `gorm:"default:null"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty" gorm:"default:null"` // catalog_id is the public_id of the owning // static_host_catalog and must be set. // @inject_tag: `gorm:"not_null"` CatalogId string `protobuf:"bytes,6,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty" gorm:"not_null"` // address is the IP Address or DNS name of the host. It must be set and // it must be unique within catalog_id. // @inject_tag: `gorm:"default:null"` Address string `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty" gorm:"default:null"` // version allows optimistic locking of the resource // @inject_tag: `gorm:"default:null"` Version uint32 `protobuf:"varint,8,opt,name=version,proto3" json:"version,omitempty" gorm:"default:null"` // contains filtered or unexported fields }
func (*Host) Descriptor
deprecated
func (*Host) GetAddress ¶
func (*Host) GetCatalogId ¶
func (*Host) GetCreateTime ¶
func (*Host) GetDescription ¶
func (*Host) GetPublicId ¶
func (*Host) GetUpdateTime ¶
func (*Host) GetVersion ¶
func (*Host) ProtoMessage ¶
func (*Host) ProtoMessage()
func (*Host) ProtoReflect ¶
func (x *Host) ProtoReflect() protoreflect.Message
type HostCatalog ¶
type HostCatalog 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 create_time is set by the database. // @inject_tag: `gorm:"default:current_timestamp"` CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"` // The update_time is set by the database. // @inject_tag: `gorm:"default:current_timestamp"` UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty" gorm:"default:current_timestamp"` // name is optional. If set, it must be unique within scope_id. // @inject_tag: `gorm:"default:null"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty" gorm:"default:null"` // description is optional. // @inject_tag: `gorm:"default:null"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty" gorm:"default:null"` // The scope_id of the owning scope and must be set. // @inject_tag: `gorm:"not_null"` ScopeId string `protobuf:"bytes,6,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" gorm:"not_null"` // version allows optimistic locking of the resource // @inject_tag: `gorm:"default:null"` Version uint32 `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty" gorm:"default:null"` // contains filtered or unexported fields }
func (*HostCatalog) Descriptor
deprecated
func (*HostCatalog) Descriptor() ([]byte, []int)
Deprecated: Use HostCatalog.ProtoReflect.Descriptor instead.
func (*HostCatalog) GetCreateTime ¶
func (x *HostCatalog) GetCreateTime() *timestamp.Timestamp
func (*HostCatalog) GetDescription ¶
func (x *HostCatalog) GetDescription() string
func (*HostCatalog) GetName ¶
func (x *HostCatalog) GetName() string
func (*HostCatalog) GetPublicId ¶
func (x *HostCatalog) GetPublicId() string
func (*HostCatalog) GetScopeId ¶
func (x *HostCatalog) GetScopeId() string
func (*HostCatalog) GetUpdateTime ¶
func (x *HostCatalog) GetUpdateTime() *timestamp.Timestamp
func (*HostCatalog) GetVersion ¶
func (x *HostCatalog) GetVersion() uint32
func (*HostCatalog) ProtoMessage ¶
func (*HostCatalog) ProtoMessage()
func (*HostCatalog) ProtoReflect ¶
func (x *HostCatalog) ProtoReflect() protoreflect.Message
func (*HostCatalog) Reset ¶
func (x *HostCatalog) Reset()
func (*HostCatalog) String ¶
func (x *HostCatalog) String() string
type HostSet ¶
type HostSet 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 create_time is set by the database. // @inject_tag: `gorm:"default:current_timestamp"` CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"` // The update_time is set by the database. // @inject_tag: `gorm:"default:current_timestamp"` UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty" gorm:"default:current_timestamp"` // name is optional. If set, it must be unique within // catalog_id. // @inject_tag: `gorm:"default:null"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty" gorm:"default:null"` // description is optional. // @inject_tag: `gorm:"default:null"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty" gorm:"default:null"` // catalog_id is the public_id of the owning // static_host_catalog and must be set. // @inject_tag: `gorm:"not_null"` CatalogId string `protobuf:"bytes,6,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty" gorm:"not_null"` // version allows optimistic locking of the resource // @inject_tag: `gorm:"default:null"` Version uint32 `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty" gorm:"default:null"` // contains filtered or unexported fields }
func (*HostSet) Descriptor
deprecated
func (*HostSet) GetCatalogId ¶
func (*HostSet) GetCreateTime ¶
func (*HostSet) GetDescription ¶
func (*HostSet) GetPublicId ¶
func (*HostSet) GetUpdateTime ¶
func (*HostSet) GetVersion ¶
func (*HostSet) ProtoMessage ¶
func (*HostSet) ProtoMessage()
func (*HostSet) ProtoReflect ¶
func (x *HostSet) ProtoReflect() protoreflect.Message
type HostSetMember ¶
type HostSetMember 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"` SetId string `protobuf:"bytes,2,opt,name=set_id,json=setId,proto3" json:"set_id,omitempty" gorm:"primary_key"` // @inject_tag: `gorm:"default:null"` CatalogId string `protobuf:"bytes,3,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty" gorm:"default:null"` // contains filtered or unexported fields }
func (*HostSetMember) Descriptor
deprecated
func (*HostSetMember) Descriptor() ([]byte, []int)
Deprecated: Use HostSetMember.ProtoReflect.Descriptor instead.
func (*HostSetMember) GetCatalogId ¶
func (x *HostSetMember) GetCatalogId() string
func (*HostSetMember) GetHostId ¶
func (x *HostSetMember) GetHostId() string
func (*HostSetMember) GetSetId ¶
func (x *HostSetMember) GetSetId() string
func (*HostSetMember) ProtoMessage ¶
func (*HostSetMember) ProtoMessage()
func (*HostSetMember) ProtoReflect ¶
func (x *HostSetMember) ProtoReflect() protoreflect.Message
func (*HostSetMember) Reset ¶
func (x *HostSetMember) Reset()
func (*HostSetMember) String ¶
func (x *HostSetMember) String() string
type UnimplementedSetFields ¶ added in v0.7.0
type UnimplementedSetFields struct { PreferredEndpoints []string `protobuf:"bytes,11,rep,name=preferred_endpoints,json=preferredEndpoints,proto3" json:"preferred_endpoints,omitempty"` SyncIntervalSeconds int32 `protobuf:"varint,22,opt,name=sync_interval_seconds,json=syncIntervalSeconds,proto3" json:"sync_interval_seconds,omitempty"` // contains filtered or unexported fields }
These fields are not implemented yet on the host set. They are captured here for the purpose of identifying the mask maps which are on the top level api set resource but aren't present in the static host set storage.
func (*UnimplementedSetFields) Descriptor
deprecated
added in
v0.7.0
func (*UnimplementedSetFields) Descriptor() ([]byte, []int)
Deprecated: Use UnimplementedSetFields.ProtoReflect.Descriptor instead.
func (*UnimplementedSetFields) GetPreferredEndpoints ¶ added in v0.7.0
func (x *UnimplementedSetFields) GetPreferredEndpoints() []string
func (*UnimplementedSetFields) GetSyncIntervalSeconds ¶ added in v0.7.0
func (x *UnimplementedSetFields) GetSyncIntervalSeconds() int32
func (*UnimplementedSetFields) ProtoMessage ¶ added in v0.7.0
func (*UnimplementedSetFields) ProtoMessage()
func (*UnimplementedSetFields) ProtoReflect ¶ added in v0.7.0
func (x *UnimplementedSetFields) ProtoReflect() protoreflect.Message
func (*UnimplementedSetFields) Reset ¶ added in v0.7.0
func (x *UnimplementedSetFields) Reset()
func (*UnimplementedSetFields) String ¶ added in v0.7.0
func (x *UnimplementedSetFields) String() string
Click to show internal directories.
Click to hide internal directories.