schema

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessPolicy

type AccessPolicy struct {
	ent.Schema
}

AccessPolicy holds the schema definition for the AccessPolicy entity.

func (AccessPolicy) Edges

func (AccessPolicy) Edges() []ent.Edge

Edges of the AccessPolicy.

func (AccessPolicy) Fields

func (AccessPolicy) Fields() []ent.Field

Fields of the AccessPolicy.

func (AccessPolicy) Mixin

func (AccessPolicy) Mixin() []ent.Mixin

type Account

type Account struct {
	ent.Schema
}

Account holds the schema definition for the Account entity.

func (Account) Edges

func (Account) Edges() []ent.Edge

func (Account) Fields

func (Account) Fields() []ent.Field

func (Account) Mixin

func (Account) Mixin() []ent.Mixin

type AuditLog

type AuditLog struct {
	ent.Schema
}

AuditLog holds the schema definition for the AuditLog entity.

func (AuditLog) Edges

func (AuditLog) Edges() []ent.Edge

Edges of the AuditLog.

func (AuditLog) Fields

func (AuditLog) Fields() []ent.Field

Fields of the AuditLog.

func (AuditLog) Mixin

func (AuditLog) Mixin() []ent.Mixin

type AuditMixin

type AuditMixin struct {
	mixin.Schema
}

AuditMixin implements the ent.Mixin for sharing audit-log capabilities with package schemas.

func (AuditMixin) Fields

func (AuditMixin) Fields() []ent.Field

Fields of the AuditMixin.

type EditMixin

type EditMixin struct {
	mixin.Schema
}

func (EditMixin) Fields

func (EditMixin) Fields() []ent.Field

type Platform

type Platform struct {
	ent.Schema
}

Platform holds the schema definition for the Platform entity.

func (Platform) Edges

func (Platform) Edges() []ent.Edge

Edges of the Platform.

func (Platform) Fields

func (Platform) Fields() []ent.Field

Fields of the Platform.

func (Platform) Mixin

func (Platform) Mixin() []ent.Mixin

type PolicyStatement

type PolicyStatement struct {
	Effect    string      `json:"Effect"`
	Actions   []string    `json:"Action"`
	Resources []string    `json:"Resource"`
	Condition interface{} `json:"Condition,omitempty"`
}

type Resource

type Resource struct {
	ent.Schema
}

Resource holds the schema definition for the Resource entity.

func (Resource) Edges

func (Resource) Edges() []ent.Edge

Edges of the Resource.

func (Resource) Fields

func (Resource) Fields() []ent.Field

Fields of the Resource.

func (Resource) Indexes

func (Resource) Indexes() []ent.Index

Indexes of the Resource.

func (Resource) Mixin

func (Resource) Mixin() []ent.Mixin

type Role

type Role struct {
	ent.Schema
}

Role holds the schema definition for the Role entity.

func (Role) Edges

func (Role) Edges() []ent.Edge

Edges of the Role.

func (Role) Fields

func (Role) Fields() []ent.Field

Fields of the Role.

func (Role) Indexes

func (Role) Indexes() []ent.Index

Indexes of the Role.

func (Role) Mixin

func (Role) Mixin() []ent.Mixin

Mixin MiXin Mixin User

type Tenant

type Tenant struct {
	ent.Schema
}

Tenant holds the schema definition for the Tenant entity.

func (Tenant) Edges

func (Tenant) Edges() []ent.Edge

Edges of the Tenant.

func (Tenant) Fields

func (Tenant) Fields() []ent.Field

Fields of the Tenant.

func (Tenant) Indexes

func (Tenant) Indexes() []ent.Index

Indexes of the Tenant.

func (Tenant) Mixin

func (Tenant) Mixin() []ent.Mixin

type TimeMixin

type TimeMixin struct {
	// We embed the `mixin.Schema` to avoid
	// implementing the rest of the methods.
	mixin.Schema
}

func (TimeMixin) Fields

func (TimeMixin) Fields() []ent.Field

type User

type User struct {
	ent.Schema
}

User holds the schema definition for the User entity.

func (User) Edges

func (User) Edges() []ent.Edge

Edges of the User.

func (User) Fields

func (User) Fields() []ent.Field

Fields of the User.

func (User) Indexes

func (User) Indexes() []ent.Index

func (User) Mixin

func (User) Mixin() []ent.Mixin

Mixin MiXin Mixin User

Jump to

Keyboard shortcuts

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