Documentation
¶
Overview ¶
Package schema is the Ent schema of connectionforge's SQL store. Every table is prefixed connectionforge_ and carries owner_id, except the lease table, whose keys are not owned.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binding ¶
Binding is a consumer that uses a connection for a purpose.
func (Binding) Annotations ¶
func (Binding) Annotations() []schema.Annotation
Annotations names the table.
type Connection ¶
Connection is an owner's relationship with an account at a provider.
func (Connection) Annotations ¶
func (Connection) Annotations() []schema.Annotation
Annotations names the table.
type Credential ¶
Credential is one sealed version of a connection's credential. The active version is the highest; versions are only ever added one above it.
func (Credential) Annotations ¶
func (Credential) Annotations() []schema.Annotation
Annotations names the table.
type Grant ¶
Grant is what a principal may do with a connection.
func (Grant) Annotations ¶
func (Grant) Annotations() []schema.Annotation
Annotations names the table.
type Lease ¶
Lease is a short exclusive lease, such as the one that makes a refresh single-flight. Its key is not owned, so it carries no owner_id.
func (Lease) Annotations ¶
func (Lease) Annotations() []schema.Annotation
Annotations names the table.