store

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

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

Deprecated: Use Host.ProtoReflect.Descriptor instead.

func (*Host) GetAddress

func (x *Host) GetAddress() string

func (*Host) GetCatalogId

func (x *Host) GetCatalogId() string

func (*Host) GetCreateTime

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

func (*Host) GetDescription

func (x *Host) GetDescription() string

func (*Host) GetName

func (x *Host) GetName() string

func (*Host) GetPublicId

func (x *Host) GetPublicId() string

func (*Host) GetUpdateTime

func (x *Host) GetUpdateTime() *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 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) Descriptor() ([]byte, []int)

Deprecated: Use HostSet.ProtoReflect.Descriptor instead.

func (*HostSet) GetCatalogId

func (x *HostSet) GetCatalogId() string

func (*HostSet) GetCreateTime

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

func (*HostSet) GetDescription

func (x *HostSet) GetDescription() string

func (*HostSet) GetName

func (x *HostSet) GetName() string

func (*HostSet) GetPublicId

func (x *HostSet) GetPublicId() string

func (*HostSet) GetUpdateTime

func (x *HostSet) GetUpdateTime() *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

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

Jump to

Keyboard shortcuts

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