Help us shape the future of Go! Take the 2026 Go Developer Survey

store

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

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 scope_id of the owning scope and must be set.
	// @inject_tag: `gorm:"not_null"`
	ScopeId string `protobuf:"bytes,2,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" gorm:"not_null"`
	// contains filtered or unexported fields
}

func (*Catalog) Descriptor deprecated

func (*Catalog) Descriptor() ([]byte, []int)

Deprecated: Use Catalog.ProtoReflect.Descriptor instead.

func (*Catalog) GetPublicId

func (x *Catalog) GetPublicId() string

func (*Catalog) GetScopeId

func (x *Catalog) GetScopeId() string

func (*Catalog) ProtoMessage

func (*Catalog) ProtoMessage()

func (*Catalog) ProtoReflect

func (x *Catalog) ProtoReflect() protoreflect.Message

func (*Catalog) Reset

func (x *Catalog) Reset()

func (*Catalog) String

func (x *Catalog) String() string

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

Deprecated: Use DnsName.ProtoReflect.Descriptor instead.

func (*DnsName) GetHostId added in v0.7.0

func (x *DnsName) GetHostId() string

func (*DnsName) GetName added in v0.7.0

func (x *DnsName) GetName() string

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

func (*DnsName) Reset added in v0.7.0

func (x *DnsName) Reset()

func (*DnsName) String added in v0.7.0

func (x *DnsName) String() string

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

Deprecated: Use Host.ProtoReflect.Descriptor instead.

func (*Host) GetCatalogId

func (x *Host) GetCatalogId() string

func (*Host) GetPublicId

func (x *Host) GetPublicId() string

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

Deprecated: Use IpAddress.ProtoReflect.Descriptor instead.

func (*IpAddress) GetAddress added in v0.7.0

func (x *IpAddress) GetAddress() string

func (*IpAddress) GetHostId added in v0.7.0

func (x *IpAddress) GetHostId() string

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

func (*IpAddress) Reset added in v0.7.0

func (x *IpAddress) Reset()

func (*IpAddress) String added in v0.7.0

func (x *IpAddress) String() string

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

Deprecated: Use Set.ProtoReflect.Descriptor instead.

func (*Set) GetCatalogId

func (x *Set) GetCatalogId() string

func (*Set) GetPublicId

func (x *Set) GetPublicId() string

func (*Set) ProtoMessage

func (*Set) ProtoMessage()

func (*Set) ProtoReflect

func (x *Set) ProtoReflect() protoreflect.Message

func (*Set) Reset

func (x *Set) Reset()

func (*Set) String

func (x *Set) String() string

Jump to

Keyboard shortcuts

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