Versions in this module Expand all Collapse all v0 v0.2.0 Oct 13, 2026 v0.1.0 Oct 13, 2026 Changes in this version + const OpCreate + const OpDelete + const OpDeleteOne + const OpUpdate + const OpUpdateOne + const TypeBinding + const TypeConnection + const TypeCredential + const TypeGrant + const TypeLease + var ErrTxStarted = errors.New("ent: cannot start a transaction within a transaction") + func Asc(fields ...string) func(*sql.Selector) + func Desc(fields ...string) func(*sql.Selector) + func IsConstraintError(err error) bool + func IsNotFound(err error) bool + func IsNotLoaded(err error) bool + func IsNotSingular(err error) bool + func IsValidationError(err error) bool + func MaskNotFound(err error) error + func NewContext(parent context.Context, c *Client) context.Context + func NewTxContext(parent context.Context, tx *Tx) context.Context + type AggregateFunc func(*sql.Selector) string + func As(fn AggregateFunc, end string) AggregateFunc + func Count() AggregateFunc + func Max(field string) AggregateFunc + func Mean(field string) AggregateFunc + func Min(field string) AggregateFunc + func Sum(field string) AggregateFunc + type Binding struct + ConnectionID string + ConsumerID string + ConsumerKind string + CreatedAt time.Time + ID int + OwnerID string + Purpose string + func (_m *Binding) String() string + func (_m *Binding) Unwrap() *Binding + func (_m *Binding) Update() *BindingUpdateOne + func (_m *Binding) Value(name string) (ent.Value, error) + type BindingClient struct + func NewBindingClient(c config) *BindingClient + func (c *BindingClient) Create() *BindingCreate + func (c *BindingClient) CreateBulk(builders ...*BindingCreate) *BindingCreateBulk + func (c *BindingClient) Delete() *BindingDelete + func (c *BindingClient) DeleteOne(_m *Binding) *BindingDeleteOne + func (c *BindingClient) DeleteOneID(id int) *BindingDeleteOne + func (c *BindingClient) Get(ctx context.Context, id int) (*Binding, error) + func (c *BindingClient) GetX(ctx context.Context, id int) *Binding + func (c *BindingClient) Hooks() []Hook + func (c *BindingClient) Intercept(interceptors ...Interceptor) + func (c *BindingClient) Interceptors() []Interceptor + func (c *BindingClient) MapCreateBulk(slice any, setFunc func(*BindingCreate, int)) *BindingCreateBulk + func (c *BindingClient) Query() *BindingQuery + func (c *BindingClient) Update() *BindingUpdate + func (c *BindingClient) UpdateOne(_m *Binding) *BindingUpdateOne + func (c *BindingClient) UpdateOneID(id int) *BindingUpdateOne + func (c *BindingClient) Use(hooks ...Hook) + type BindingCreate struct + func (_c *BindingCreate) Exec(ctx context.Context) error + func (_c *BindingCreate) ExecX(ctx context.Context) + func (_c *BindingCreate) Mutation() *BindingMutation + func (_c *BindingCreate) Save(ctx context.Context) (*Binding, error) + func (_c *BindingCreate) SaveX(ctx context.Context) *Binding + func (_c *BindingCreate) SetConnectionID(v string) *BindingCreate + func (_c *BindingCreate) SetConsumerID(v string) *BindingCreate + func (_c *BindingCreate) SetConsumerKind(v string) *BindingCreate + func (_c *BindingCreate) SetCreatedAt(v time.Time) *BindingCreate + func (_c *BindingCreate) SetOwnerID(v string) *BindingCreate + func (_c *BindingCreate) SetPurpose(v string) *BindingCreate + type BindingCreateBulk struct + func (_c *BindingCreateBulk) Exec(ctx context.Context) error + func (_c *BindingCreateBulk) ExecX(ctx context.Context) + func (_c *BindingCreateBulk) Save(ctx context.Context) ([]*Binding, error) + func (_c *BindingCreateBulk) SaveX(ctx context.Context) []*Binding + type BindingDelete struct + func (_d *BindingDelete) Exec(ctx context.Context) (int, error) + func (_d *BindingDelete) ExecX(ctx context.Context) int + func (_d *BindingDelete) Where(ps ...predicate.Binding) *BindingDelete + type BindingDeleteOne struct + func (_d *BindingDeleteOne) Exec(ctx context.Context) error + func (_d *BindingDeleteOne) ExecX(ctx context.Context) + func (_d *BindingDeleteOne) Where(ps ...predicate.Binding) *BindingDeleteOne + type BindingGroupBy struct + func (_g *BindingGroupBy) Aggregate(fns ...AggregateFunc) *BindingGroupBy + func (_g *BindingGroupBy) Scan(ctx context.Context, v any) error + func (s *BindingGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *BindingGroupBy) BoolX(ctx context.Context) bool + func (s *BindingGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *BindingGroupBy) BoolsX(ctx context.Context) []bool + func (s *BindingGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *BindingGroupBy) Float64X(ctx context.Context) float64 + func (s *BindingGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *BindingGroupBy) Float64sX(ctx context.Context) []float64 + func (s *BindingGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *BindingGroupBy) IntX(ctx context.Context) int + func (s *BindingGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *BindingGroupBy) IntsX(ctx context.Context) []int + func (s *BindingGroupBy) ScanX(ctx context.Context, v any) + func (s *BindingGroupBy) String(ctx context.Context) (_ string, err error) + func (s *BindingGroupBy) StringX(ctx context.Context) string + func (s *BindingGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *BindingGroupBy) StringsX(ctx context.Context) []string + type BindingMutation struct + func (m *BindingMutation) AddField(name string, value ent.Value) error + func (m *BindingMutation) AddedEdges() []string + func (m *BindingMutation) AddedField(name string) (ent.Value, bool) + func (m *BindingMutation) AddedFields() []string + func (m *BindingMutation) AddedIDs(name string) []ent.Value + func (m *BindingMutation) ClearEdge(name string) error + func (m *BindingMutation) ClearField(name string) error + func (m *BindingMutation) ClearedEdges() []string + func (m *BindingMutation) ClearedFields() []string + func (m *BindingMutation) ConnectionID() (r string, exists bool) + func (m *BindingMutation) ConsumerID() (r string, exists bool) + func (m *BindingMutation) ConsumerKind() (r string, exists bool) + func (m *BindingMutation) CreatedAt() (r time.Time, exists bool) + func (m *BindingMutation) EdgeCleared(name string) bool + func (m *BindingMutation) Field(name string) (ent.Value, bool) + func (m *BindingMutation) FieldCleared(name string) bool + func (m *BindingMutation) Fields() []string + func (m *BindingMutation) ID() (id int, exists bool) + func (m *BindingMutation) IDs(ctx context.Context) ([]int, error) + func (m *BindingMutation) OldConnectionID(ctx context.Context) (v string, err error) + func (m *BindingMutation) OldConsumerID(ctx context.Context) (v string, err error) + func (m *BindingMutation) OldConsumerKind(ctx context.Context) (v string, err error) + func (m *BindingMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *BindingMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *BindingMutation) OldOwnerID(ctx context.Context) (v string, err error) + func (m *BindingMutation) OldPurpose(ctx context.Context) (v string, err error) + func (m *BindingMutation) Op() Op + func (m *BindingMutation) OwnerID() (r string, exists bool) + func (m *BindingMutation) Purpose() (r string, exists bool) + func (m *BindingMutation) RemovedEdges() []string + func (m *BindingMutation) RemovedIDs(name string) []ent.Value + func (m *BindingMutation) ResetConnectionID() + func (m *BindingMutation) ResetConsumerID() + func (m *BindingMutation) ResetConsumerKind() + func (m *BindingMutation) ResetCreatedAt() + func (m *BindingMutation) ResetEdge(name string) error + func (m *BindingMutation) ResetField(name string) error + func (m *BindingMutation) ResetOwnerID() + func (m *BindingMutation) ResetPurpose() + func (m *BindingMutation) SetConnectionID(s string) + func (m *BindingMutation) SetConsumerID(s string) + func (m *BindingMutation) SetConsumerKind(s string) + func (m *BindingMutation) SetCreatedAt(t time.Time) + func (m *BindingMutation) SetField(name string, value ent.Value) error + func (m *BindingMutation) SetOp(op Op) + func (m *BindingMutation) SetOwnerID(s string) + func (m *BindingMutation) SetPurpose(s string) + func (m *BindingMutation) Type() string + func (m *BindingMutation) Where(ps ...predicate.Binding) + func (m *BindingMutation) WhereP(ps ...func(*sql.Selector)) + func (m BindingMutation) Client() *Client + func (m BindingMutation) Tx() (*Tx, error) + type BindingQuery struct + func (_q *BindingQuery) Aggregate(fns ...AggregateFunc) *BindingSelect + func (_q *BindingQuery) All(ctx context.Context) ([]*Binding, error) + func (_q *BindingQuery) AllX(ctx context.Context) []*Binding + func (_q *BindingQuery) Clone() *BindingQuery + func (_q *BindingQuery) Count(ctx context.Context) (int, error) + func (_q *BindingQuery) CountX(ctx context.Context) int + func (_q *BindingQuery) Exist(ctx context.Context) (bool, error) + func (_q *BindingQuery) ExistX(ctx context.Context) bool + func (_q *BindingQuery) First(ctx context.Context) (*Binding, error) + func (_q *BindingQuery) FirstID(ctx context.Context) (id int, err error) + func (_q *BindingQuery) FirstIDX(ctx context.Context) int + func (_q *BindingQuery) FirstX(ctx context.Context) *Binding + func (_q *BindingQuery) GroupBy(field string, fields ...string) *BindingGroupBy + func (_q *BindingQuery) IDs(ctx context.Context) (ids []int, err error) + func (_q *BindingQuery) IDsX(ctx context.Context) []int + func (_q *BindingQuery) Limit(limit int) *BindingQuery + func (_q *BindingQuery) Offset(offset int) *BindingQuery + func (_q *BindingQuery) Only(ctx context.Context) (*Binding, error) + func (_q *BindingQuery) OnlyID(ctx context.Context) (id int, err error) + func (_q *BindingQuery) OnlyIDX(ctx context.Context) int + func (_q *BindingQuery) OnlyX(ctx context.Context) *Binding + func (_q *BindingQuery) Order(o ...binding.OrderOption) *BindingQuery + func (_q *BindingQuery) Select(fields ...string) *BindingSelect + func (_q *BindingQuery) Unique(unique bool) *BindingQuery + func (_q *BindingQuery) Where(ps ...predicate.Binding) *BindingQuery + type BindingSelect struct + func (_s *BindingSelect) Aggregate(fns ...AggregateFunc) *BindingSelect + func (_s *BindingSelect) Scan(ctx context.Context, v any) error + func (s *BindingSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *BindingSelect) BoolX(ctx context.Context) bool + func (s *BindingSelect) Bools(ctx context.Context) ([]bool, error) + func (s *BindingSelect) BoolsX(ctx context.Context) []bool + func (s *BindingSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *BindingSelect) Float64X(ctx context.Context) float64 + func (s *BindingSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *BindingSelect) Float64sX(ctx context.Context) []float64 + func (s *BindingSelect) Int(ctx context.Context) (_ int, err error) + func (s *BindingSelect) IntX(ctx context.Context) int + func (s *BindingSelect) Ints(ctx context.Context) ([]int, error) + func (s *BindingSelect) IntsX(ctx context.Context) []int + func (s *BindingSelect) ScanX(ctx context.Context, v any) + func (s *BindingSelect) String(ctx context.Context) (_ string, err error) + func (s *BindingSelect) StringX(ctx context.Context) string + func (s *BindingSelect) Strings(ctx context.Context) ([]string, error) + func (s *BindingSelect) StringsX(ctx context.Context) []string + type BindingUpdate struct + func (_u *BindingUpdate) Exec(ctx context.Context) error + func (_u *BindingUpdate) ExecX(ctx context.Context) + func (_u *BindingUpdate) Mutation() *BindingMutation + func (_u *BindingUpdate) Save(ctx context.Context) (int, error) + func (_u *BindingUpdate) SaveX(ctx context.Context) int + func (_u *BindingUpdate) Where(ps ...predicate.Binding) *BindingUpdate + type BindingUpdateOne struct + func (_u *BindingUpdateOne) Exec(ctx context.Context) error + func (_u *BindingUpdateOne) ExecX(ctx context.Context) + func (_u *BindingUpdateOne) Mutation() *BindingMutation + func (_u *BindingUpdateOne) Save(ctx context.Context) (*Binding, error) + func (_u *BindingUpdateOne) SaveX(ctx context.Context) *Binding + func (_u *BindingUpdateOne) Select(field string, fields ...string) *BindingUpdateOne + func (_u *BindingUpdateOne) Where(ps ...predicate.Binding) *BindingUpdateOne + type Bindings []*Binding + type Client struct + Binding *BindingClient + Connection *ConnectionClient + Credential *CredentialClient + Grant *GrantClient + Lease *LeaseClient + Schema *migrate.Schema + func FromContext(ctx context.Context) *Client + func NewClient(opts ...Option) *Client + func Open(driverName, dataSourceName string, options ...Option) (*Client, error) + func (c *Client) BeginTx(ctx context.Context, opts *sql.TxOptions) (*Tx, error) + func (c *Client) Close() error + func (c *Client) Debug() *Client + func (c *Client) Intercept(interceptors ...Interceptor) + func (c *Client) Mutate(ctx context.Context, m Mutation) (Value, error) + func (c *Client) Tx(ctx context.Context) (*Tx, error) + func (c *Client) Use(hooks ...Hook) + type CommitFunc func(context.Context, *Tx) error + func (f CommitFunc) Commit(ctx context.Context, tx *Tx) error + type CommitHook func(Committer) Committer + type Committer interface + Commit func(context.Context, *Tx) error + type Connection struct + AuthMethod string + ConnectionID string + CreatedAt time.Time + CreatedByID string + CreatedByKind string + DisplayName string + ExternalAccountID string + ExternalLabel string + Health connectionforge.Health + ID int + Metadata map[string]string + OwnerID string + Provider string + Revision uint64 + Scopes []string + State string + UpdatedAt time.Time + func (_m *Connection) String() string + func (_m *Connection) Unwrap() *Connection + func (_m *Connection) Update() *ConnectionUpdateOne + func (_m *Connection) Value(name string) (ent.Value, error) + type ConnectionClient struct + func NewConnectionClient(c config) *ConnectionClient + func (c *ConnectionClient) Create() *ConnectionCreate + func (c *ConnectionClient) CreateBulk(builders ...*ConnectionCreate) *ConnectionCreateBulk + func (c *ConnectionClient) Delete() *ConnectionDelete + func (c *ConnectionClient) DeleteOne(_m *Connection) *ConnectionDeleteOne + func (c *ConnectionClient) DeleteOneID(id int) *ConnectionDeleteOne + func (c *ConnectionClient) Get(ctx context.Context, id int) (*Connection, error) + func (c *ConnectionClient) GetX(ctx context.Context, id int) *Connection + func (c *ConnectionClient) Hooks() []Hook + func (c *ConnectionClient) Intercept(interceptors ...Interceptor) + func (c *ConnectionClient) Interceptors() []Interceptor + func (c *ConnectionClient) MapCreateBulk(slice any, setFunc func(*ConnectionCreate, int)) *ConnectionCreateBulk + func (c *ConnectionClient) Query() *ConnectionQuery + func (c *ConnectionClient) Update() *ConnectionUpdate + func (c *ConnectionClient) UpdateOne(_m *Connection) *ConnectionUpdateOne + func (c *ConnectionClient) UpdateOneID(id int) *ConnectionUpdateOne + func (c *ConnectionClient) Use(hooks ...Hook) + type ConnectionCreate struct + func (_c *ConnectionCreate) Exec(ctx context.Context) error + func (_c *ConnectionCreate) ExecX(ctx context.Context) + func (_c *ConnectionCreate) Mutation() *ConnectionMutation + func (_c *ConnectionCreate) Save(ctx context.Context) (*Connection, error) + func (_c *ConnectionCreate) SaveX(ctx context.Context) *Connection + func (_c *ConnectionCreate) SetAuthMethod(v string) *ConnectionCreate + func (_c *ConnectionCreate) SetConnectionID(v string) *ConnectionCreate + func (_c *ConnectionCreate) SetCreatedAt(v time.Time) *ConnectionCreate + func (_c *ConnectionCreate) SetCreatedByID(v string) *ConnectionCreate + func (_c *ConnectionCreate) SetCreatedByKind(v string) *ConnectionCreate + func (_c *ConnectionCreate) SetDisplayName(v string) *ConnectionCreate + func (_c *ConnectionCreate) SetExternalAccountID(v string) *ConnectionCreate + func (_c *ConnectionCreate) SetExternalLabel(v string) *ConnectionCreate + func (_c *ConnectionCreate) SetHealth(v connectionforge.Health) *ConnectionCreate + func (_c *ConnectionCreate) SetMetadata(v map[string]string) *ConnectionCreate + func (_c *ConnectionCreate) SetNillableExternalAccountID(v *string) *ConnectionCreate + func (_c *ConnectionCreate) SetNillableExternalLabel(v *string) *ConnectionCreate + func (_c *ConnectionCreate) SetOwnerID(v string) *ConnectionCreate + func (_c *ConnectionCreate) SetProvider(v string) *ConnectionCreate + func (_c *ConnectionCreate) SetRevision(v uint64) *ConnectionCreate + func (_c *ConnectionCreate) SetScopes(v []string) *ConnectionCreate + func (_c *ConnectionCreate) SetState(v string) *ConnectionCreate + func (_c *ConnectionCreate) SetUpdatedAt(v time.Time) *ConnectionCreate + type ConnectionCreateBulk struct + func (_c *ConnectionCreateBulk) Exec(ctx context.Context) error + func (_c *ConnectionCreateBulk) ExecX(ctx context.Context) + func (_c *ConnectionCreateBulk) Save(ctx context.Context) ([]*Connection, error) + func (_c *ConnectionCreateBulk) SaveX(ctx context.Context) []*Connection + type ConnectionDelete struct + func (_d *ConnectionDelete) Exec(ctx context.Context) (int, error) + func (_d *ConnectionDelete) ExecX(ctx context.Context) int + func (_d *ConnectionDelete) Where(ps ...predicate.Connection) *ConnectionDelete + type ConnectionDeleteOne struct + func (_d *ConnectionDeleteOne) Exec(ctx context.Context) error + func (_d *ConnectionDeleteOne) ExecX(ctx context.Context) + func (_d *ConnectionDeleteOne) Where(ps ...predicate.Connection) *ConnectionDeleteOne + type ConnectionGroupBy struct + func (_g *ConnectionGroupBy) Aggregate(fns ...AggregateFunc) *ConnectionGroupBy + func (_g *ConnectionGroupBy) Scan(ctx context.Context, v any) error + func (s *ConnectionGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *ConnectionGroupBy) BoolX(ctx context.Context) bool + func (s *ConnectionGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *ConnectionGroupBy) BoolsX(ctx context.Context) []bool + func (s *ConnectionGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *ConnectionGroupBy) Float64X(ctx context.Context) float64 + func (s *ConnectionGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *ConnectionGroupBy) Float64sX(ctx context.Context) []float64 + func (s *ConnectionGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *ConnectionGroupBy) IntX(ctx context.Context) int + func (s *ConnectionGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *ConnectionGroupBy) IntsX(ctx context.Context) []int + func (s *ConnectionGroupBy) ScanX(ctx context.Context, v any) + func (s *ConnectionGroupBy) String(ctx context.Context) (_ string, err error) + func (s *ConnectionGroupBy) StringX(ctx context.Context) string + func (s *ConnectionGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *ConnectionGroupBy) StringsX(ctx context.Context) []string + type ConnectionMutation struct + func (m *ConnectionMutation) AddField(name string, value ent.Value) error + func (m *ConnectionMutation) AddRevision(u int64) + func (m *ConnectionMutation) AddedEdges() []string + func (m *ConnectionMutation) AddedField(name string) (ent.Value, bool) + func (m *ConnectionMutation) AddedFields() []string + func (m *ConnectionMutation) AddedIDs(name string) []ent.Value + func (m *ConnectionMutation) AddedRevision() (r int64, exists bool) + func (m *ConnectionMutation) AppendScopes(s []string) + func (m *ConnectionMutation) AppendedScopes() ([]string, bool) + func (m *ConnectionMutation) AuthMethod() (r string, exists bool) + func (m *ConnectionMutation) ClearEdge(name string) error + func (m *ConnectionMutation) ClearField(name string) error + func (m *ConnectionMutation) ClearMetadata() + func (m *ConnectionMutation) ClearScopes() + func (m *ConnectionMutation) ClearedEdges() []string + func (m *ConnectionMutation) ClearedFields() []string + func (m *ConnectionMutation) ConnectionID() (r string, exists bool) + func (m *ConnectionMutation) CreatedAt() (r time.Time, exists bool) + func (m *ConnectionMutation) CreatedByID() (r string, exists bool) + func (m *ConnectionMutation) CreatedByKind() (r string, exists bool) + func (m *ConnectionMutation) DisplayName() (r string, exists bool) + func (m *ConnectionMutation) EdgeCleared(name string) bool + func (m *ConnectionMutation) ExternalAccountID() (r string, exists bool) + func (m *ConnectionMutation) ExternalLabel() (r string, exists bool) + func (m *ConnectionMutation) Field(name string) (ent.Value, bool) + func (m *ConnectionMutation) FieldCleared(name string) bool + func (m *ConnectionMutation) Fields() []string + func (m *ConnectionMutation) Health() (r connectionforge.Health, exists bool) + func (m *ConnectionMutation) ID() (id int, exists bool) + func (m *ConnectionMutation) IDs(ctx context.Context) ([]int, error) + func (m *ConnectionMutation) Metadata() (r map[string]string, exists bool) + func (m *ConnectionMutation) MetadataCleared() bool + func (m *ConnectionMutation) OldAuthMethod(ctx context.Context) (v string, err error) + func (m *ConnectionMutation) OldConnectionID(ctx context.Context) (v string, err error) + func (m *ConnectionMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *ConnectionMutation) OldCreatedByID(ctx context.Context) (v string, err error) + func (m *ConnectionMutation) OldCreatedByKind(ctx context.Context) (v string, err error) + func (m *ConnectionMutation) OldDisplayName(ctx context.Context) (v string, err error) + func (m *ConnectionMutation) OldExternalAccountID(ctx context.Context) (v string, err error) + func (m *ConnectionMutation) OldExternalLabel(ctx context.Context) (v string, err error) + func (m *ConnectionMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *ConnectionMutation) OldHealth(ctx context.Context) (v connectionforge.Health, err error) + func (m *ConnectionMutation) OldMetadata(ctx context.Context) (v map[string]string, err error) + func (m *ConnectionMutation) OldOwnerID(ctx context.Context) (v string, err error) + func (m *ConnectionMutation) OldProvider(ctx context.Context) (v string, err error) + func (m *ConnectionMutation) OldRevision(ctx context.Context) (v uint64, err error) + func (m *ConnectionMutation) OldScopes(ctx context.Context) (v []string, err error) + func (m *ConnectionMutation) OldState(ctx context.Context) (v string, err error) + func (m *ConnectionMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *ConnectionMutation) Op() Op + func (m *ConnectionMutation) OwnerID() (r string, exists bool) + func (m *ConnectionMutation) Provider() (r string, exists bool) + func (m *ConnectionMutation) RemovedEdges() []string + func (m *ConnectionMutation) RemovedIDs(name string) []ent.Value + func (m *ConnectionMutation) ResetAuthMethod() + func (m *ConnectionMutation) ResetConnectionID() + func (m *ConnectionMutation) ResetCreatedAt() + func (m *ConnectionMutation) ResetCreatedByID() + func (m *ConnectionMutation) ResetCreatedByKind() + func (m *ConnectionMutation) ResetDisplayName() + func (m *ConnectionMutation) ResetEdge(name string) error + func (m *ConnectionMutation) ResetExternalAccountID() + func (m *ConnectionMutation) ResetExternalLabel() + func (m *ConnectionMutation) ResetField(name string) error + func (m *ConnectionMutation) ResetHealth() + func (m *ConnectionMutation) ResetMetadata() + func (m *ConnectionMutation) ResetOwnerID() + func (m *ConnectionMutation) ResetProvider() + func (m *ConnectionMutation) ResetRevision() + func (m *ConnectionMutation) ResetScopes() + func (m *ConnectionMutation) ResetState() + func (m *ConnectionMutation) ResetUpdatedAt() + func (m *ConnectionMutation) Revision() (r uint64, exists bool) + func (m *ConnectionMutation) Scopes() (r []string, exists bool) + func (m *ConnectionMutation) ScopesCleared() bool + func (m *ConnectionMutation) SetAuthMethod(s string) + func (m *ConnectionMutation) SetConnectionID(s string) + func (m *ConnectionMutation) SetCreatedAt(t time.Time) + func (m *ConnectionMutation) SetCreatedByID(s string) + func (m *ConnectionMutation) SetCreatedByKind(s string) + func (m *ConnectionMutation) SetDisplayName(s string) + func (m *ConnectionMutation) SetExternalAccountID(s string) + func (m *ConnectionMutation) SetExternalLabel(s string) + func (m *ConnectionMutation) SetField(name string, value ent.Value) error + func (m *ConnectionMutation) SetHealth(c connectionforge.Health) + func (m *ConnectionMutation) SetMetadata(value map[string]string) + func (m *ConnectionMutation) SetOp(op Op) + func (m *ConnectionMutation) SetOwnerID(s string) + func (m *ConnectionMutation) SetProvider(s string) + func (m *ConnectionMutation) SetRevision(u uint64) + func (m *ConnectionMutation) SetScopes(s []string) + func (m *ConnectionMutation) SetState(s string) + func (m *ConnectionMutation) SetUpdatedAt(t time.Time) + func (m *ConnectionMutation) State() (r string, exists bool) + func (m *ConnectionMutation) Type() string + func (m *ConnectionMutation) UpdatedAt() (r time.Time, exists bool) + func (m *ConnectionMutation) Where(ps ...predicate.Connection) + func (m *ConnectionMutation) WhereP(ps ...func(*sql.Selector)) + func (m ConnectionMutation) Client() *Client + func (m ConnectionMutation) Tx() (*Tx, error) + type ConnectionQuery struct + func (_q *ConnectionQuery) Aggregate(fns ...AggregateFunc) *ConnectionSelect + func (_q *ConnectionQuery) All(ctx context.Context) ([]*Connection, error) + func (_q *ConnectionQuery) AllX(ctx context.Context) []*Connection + func (_q *ConnectionQuery) Clone() *ConnectionQuery + func (_q *ConnectionQuery) Count(ctx context.Context) (int, error) + func (_q *ConnectionQuery) CountX(ctx context.Context) int + func (_q *ConnectionQuery) Exist(ctx context.Context) (bool, error) + func (_q *ConnectionQuery) ExistX(ctx context.Context) bool + func (_q *ConnectionQuery) First(ctx context.Context) (*Connection, error) + func (_q *ConnectionQuery) FirstID(ctx context.Context) (id int, err error) + func (_q *ConnectionQuery) FirstIDX(ctx context.Context) int + func (_q *ConnectionQuery) FirstX(ctx context.Context) *Connection + func (_q *ConnectionQuery) GroupBy(field string, fields ...string) *ConnectionGroupBy + func (_q *ConnectionQuery) IDs(ctx context.Context) (ids []int, err error) + func (_q *ConnectionQuery) IDsX(ctx context.Context) []int + func (_q *ConnectionQuery) Limit(limit int) *ConnectionQuery + func (_q *ConnectionQuery) Offset(offset int) *ConnectionQuery + func (_q *ConnectionQuery) Only(ctx context.Context) (*Connection, error) + func (_q *ConnectionQuery) OnlyID(ctx context.Context) (id int, err error) + func (_q *ConnectionQuery) OnlyIDX(ctx context.Context) int + func (_q *ConnectionQuery) OnlyX(ctx context.Context) *Connection + func (_q *ConnectionQuery) Order(o ...connection.OrderOption) *ConnectionQuery + func (_q *ConnectionQuery) Select(fields ...string) *ConnectionSelect + func (_q *ConnectionQuery) Unique(unique bool) *ConnectionQuery + func (_q *ConnectionQuery) Where(ps ...predicate.Connection) *ConnectionQuery + type ConnectionSelect struct + func (_s *ConnectionSelect) Aggregate(fns ...AggregateFunc) *ConnectionSelect + func (_s *ConnectionSelect) Scan(ctx context.Context, v any) error + func (s *ConnectionSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *ConnectionSelect) BoolX(ctx context.Context) bool + func (s *ConnectionSelect) Bools(ctx context.Context) ([]bool, error) + func (s *ConnectionSelect) BoolsX(ctx context.Context) []bool + func (s *ConnectionSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *ConnectionSelect) Float64X(ctx context.Context) float64 + func (s *ConnectionSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *ConnectionSelect) Float64sX(ctx context.Context) []float64 + func (s *ConnectionSelect) Int(ctx context.Context) (_ int, err error) + func (s *ConnectionSelect) IntX(ctx context.Context) int + func (s *ConnectionSelect) Ints(ctx context.Context) ([]int, error) + func (s *ConnectionSelect) IntsX(ctx context.Context) []int + func (s *ConnectionSelect) ScanX(ctx context.Context, v any) + func (s *ConnectionSelect) String(ctx context.Context) (_ string, err error) + func (s *ConnectionSelect) StringX(ctx context.Context) string + func (s *ConnectionSelect) Strings(ctx context.Context) ([]string, error) + func (s *ConnectionSelect) StringsX(ctx context.Context) []string + type ConnectionUpdate struct + func (_u *ConnectionUpdate) AddRevision(v int64) *ConnectionUpdate + func (_u *ConnectionUpdate) AppendScopes(v []string) *ConnectionUpdate + func (_u *ConnectionUpdate) ClearMetadata() *ConnectionUpdate + func (_u *ConnectionUpdate) ClearScopes() *ConnectionUpdate + func (_u *ConnectionUpdate) Exec(ctx context.Context) error + func (_u *ConnectionUpdate) ExecX(ctx context.Context) + func (_u *ConnectionUpdate) Mutation() *ConnectionMutation + func (_u *ConnectionUpdate) Save(ctx context.Context) (int, error) + func (_u *ConnectionUpdate) SaveX(ctx context.Context) int + func (_u *ConnectionUpdate) SetAuthMethod(v string) *ConnectionUpdate + func (_u *ConnectionUpdate) SetCreatedByID(v string) *ConnectionUpdate + func (_u *ConnectionUpdate) SetCreatedByKind(v string) *ConnectionUpdate + func (_u *ConnectionUpdate) SetDisplayName(v string) *ConnectionUpdate + func (_u *ConnectionUpdate) SetExternalAccountID(v string) *ConnectionUpdate + func (_u *ConnectionUpdate) SetExternalLabel(v string) *ConnectionUpdate + func (_u *ConnectionUpdate) SetHealth(v connectionforge.Health) *ConnectionUpdate + func (_u *ConnectionUpdate) SetMetadata(v map[string]string) *ConnectionUpdate + func (_u *ConnectionUpdate) SetNillableAuthMethod(v *string) *ConnectionUpdate + func (_u *ConnectionUpdate) SetNillableCreatedByID(v *string) *ConnectionUpdate + func (_u *ConnectionUpdate) SetNillableCreatedByKind(v *string) *ConnectionUpdate + func (_u *ConnectionUpdate) SetNillableDisplayName(v *string) *ConnectionUpdate + func (_u *ConnectionUpdate) SetNillableExternalAccountID(v *string) *ConnectionUpdate + func (_u *ConnectionUpdate) SetNillableExternalLabel(v *string) *ConnectionUpdate + func (_u *ConnectionUpdate) SetNillableHealth(v *connectionforge.Health) *ConnectionUpdate + func (_u *ConnectionUpdate) SetNillableRevision(v *uint64) *ConnectionUpdate + func (_u *ConnectionUpdate) SetNillableState(v *string) *ConnectionUpdate + func (_u *ConnectionUpdate) SetNillableUpdatedAt(v *time.Time) *ConnectionUpdate + func (_u *ConnectionUpdate) SetRevision(v uint64) *ConnectionUpdate + func (_u *ConnectionUpdate) SetScopes(v []string) *ConnectionUpdate + func (_u *ConnectionUpdate) SetState(v string) *ConnectionUpdate + func (_u *ConnectionUpdate) SetUpdatedAt(v time.Time) *ConnectionUpdate + func (_u *ConnectionUpdate) Where(ps ...predicate.Connection) *ConnectionUpdate + type ConnectionUpdateOne struct + func (_u *ConnectionUpdateOne) AddRevision(v int64) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) AppendScopes(v []string) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) ClearMetadata() *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) ClearScopes() *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) Exec(ctx context.Context) error + func (_u *ConnectionUpdateOne) ExecX(ctx context.Context) + func (_u *ConnectionUpdateOne) Mutation() *ConnectionMutation + func (_u *ConnectionUpdateOne) Save(ctx context.Context) (*Connection, error) + func (_u *ConnectionUpdateOne) SaveX(ctx context.Context) *Connection + func (_u *ConnectionUpdateOne) Select(field string, fields ...string) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) SetAuthMethod(v string) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) SetCreatedByID(v string) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) SetCreatedByKind(v string) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) SetDisplayName(v string) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) SetExternalAccountID(v string) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) SetExternalLabel(v string) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) SetHealth(v connectionforge.Health) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) SetMetadata(v map[string]string) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) SetNillableAuthMethod(v *string) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) SetNillableCreatedByID(v *string) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) SetNillableCreatedByKind(v *string) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) SetNillableDisplayName(v *string) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) SetNillableExternalAccountID(v *string) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) SetNillableExternalLabel(v *string) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) SetNillableHealth(v *connectionforge.Health) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) SetNillableRevision(v *uint64) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) SetNillableState(v *string) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) SetNillableUpdatedAt(v *time.Time) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) SetRevision(v uint64) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) SetScopes(v []string) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) SetState(v string) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) SetUpdatedAt(v time.Time) *ConnectionUpdateOne + func (_u *ConnectionUpdateOne) Where(ps ...predicate.Connection) *ConnectionUpdateOne + type Connections []*Connection + type ConstraintError struct + func (e *ConstraintError) Unwrap() error + func (e ConstraintError) Error() string + type Credential struct + Ciphertext []byte + ConnectionID string + CreatedAt time.Time + ExpiresAt *time.Time + ID int + Kind string + OwnerID string + Version int + func (_m *Credential) String() string + func (_m *Credential) Unwrap() *Credential + func (_m *Credential) Update() *CredentialUpdateOne + func (_m *Credential) Value(name string) (ent.Value, error) + type CredentialClient struct + func NewCredentialClient(c config) *CredentialClient + func (c *CredentialClient) Create() *CredentialCreate + func (c *CredentialClient) CreateBulk(builders ...*CredentialCreate) *CredentialCreateBulk + func (c *CredentialClient) Delete() *CredentialDelete + func (c *CredentialClient) DeleteOne(_m *Credential) *CredentialDeleteOne + func (c *CredentialClient) DeleteOneID(id int) *CredentialDeleteOne + func (c *CredentialClient) Get(ctx context.Context, id int) (*Credential, error) + func (c *CredentialClient) GetX(ctx context.Context, id int) *Credential + func (c *CredentialClient) Hooks() []Hook + func (c *CredentialClient) Intercept(interceptors ...Interceptor) + func (c *CredentialClient) Interceptors() []Interceptor + func (c *CredentialClient) MapCreateBulk(slice any, setFunc func(*CredentialCreate, int)) *CredentialCreateBulk + func (c *CredentialClient) Query() *CredentialQuery + func (c *CredentialClient) Update() *CredentialUpdate + func (c *CredentialClient) UpdateOne(_m *Credential) *CredentialUpdateOne + func (c *CredentialClient) UpdateOneID(id int) *CredentialUpdateOne + func (c *CredentialClient) Use(hooks ...Hook) + type CredentialCreate struct + func (_c *CredentialCreate) Exec(ctx context.Context) error + func (_c *CredentialCreate) ExecX(ctx context.Context) + func (_c *CredentialCreate) Mutation() *CredentialMutation + func (_c *CredentialCreate) Save(ctx context.Context) (*Credential, error) + func (_c *CredentialCreate) SaveX(ctx context.Context) *Credential + func (_c *CredentialCreate) SetCiphertext(v []byte) *CredentialCreate + func (_c *CredentialCreate) SetConnectionID(v string) *CredentialCreate + func (_c *CredentialCreate) SetCreatedAt(v time.Time) *CredentialCreate + func (_c *CredentialCreate) SetExpiresAt(v time.Time) *CredentialCreate + func (_c *CredentialCreate) SetKind(v string) *CredentialCreate + func (_c *CredentialCreate) SetNillableExpiresAt(v *time.Time) *CredentialCreate + func (_c *CredentialCreate) SetOwnerID(v string) *CredentialCreate + func (_c *CredentialCreate) SetVersion(v int) *CredentialCreate + type CredentialCreateBulk struct + func (_c *CredentialCreateBulk) Exec(ctx context.Context) error + func (_c *CredentialCreateBulk) ExecX(ctx context.Context) + func (_c *CredentialCreateBulk) Save(ctx context.Context) ([]*Credential, error) + func (_c *CredentialCreateBulk) SaveX(ctx context.Context) []*Credential + type CredentialDelete struct + func (_d *CredentialDelete) Exec(ctx context.Context) (int, error) + func (_d *CredentialDelete) ExecX(ctx context.Context) int + func (_d *CredentialDelete) Where(ps ...predicate.Credential) *CredentialDelete + type CredentialDeleteOne struct + func (_d *CredentialDeleteOne) Exec(ctx context.Context) error + func (_d *CredentialDeleteOne) ExecX(ctx context.Context) + func (_d *CredentialDeleteOne) Where(ps ...predicate.Credential) *CredentialDeleteOne + type CredentialGroupBy struct + func (_g *CredentialGroupBy) Aggregate(fns ...AggregateFunc) *CredentialGroupBy + func (_g *CredentialGroupBy) Scan(ctx context.Context, v any) error + func (s *CredentialGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *CredentialGroupBy) BoolX(ctx context.Context) bool + func (s *CredentialGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *CredentialGroupBy) BoolsX(ctx context.Context) []bool + func (s *CredentialGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *CredentialGroupBy) Float64X(ctx context.Context) float64 + func (s *CredentialGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *CredentialGroupBy) Float64sX(ctx context.Context) []float64 + func (s *CredentialGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *CredentialGroupBy) IntX(ctx context.Context) int + func (s *CredentialGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *CredentialGroupBy) IntsX(ctx context.Context) []int + func (s *CredentialGroupBy) ScanX(ctx context.Context, v any) + func (s *CredentialGroupBy) String(ctx context.Context) (_ string, err error) + func (s *CredentialGroupBy) StringX(ctx context.Context) string + func (s *CredentialGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *CredentialGroupBy) StringsX(ctx context.Context) []string + type CredentialMutation struct + func (m *CredentialMutation) AddField(name string, value ent.Value) error + func (m *CredentialMutation) AddVersion(i int) + func (m *CredentialMutation) AddedEdges() []string + func (m *CredentialMutation) AddedField(name string) (ent.Value, bool) + func (m *CredentialMutation) AddedFields() []string + func (m *CredentialMutation) AddedIDs(name string) []ent.Value + func (m *CredentialMutation) AddedVersion() (r int, exists bool) + func (m *CredentialMutation) Ciphertext() (r []byte, exists bool) + func (m *CredentialMutation) ClearEdge(name string) error + func (m *CredentialMutation) ClearExpiresAt() + func (m *CredentialMutation) ClearField(name string) error + func (m *CredentialMutation) ClearedEdges() []string + func (m *CredentialMutation) ClearedFields() []string + func (m *CredentialMutation) ConnectionID() (r string, exists bool) + func (m *CredentialMutation) CreatedAt() (r time.Time, exists bool) + func (m *CredentialMutation) EdgeCleared(name string) bool + func (m *CredentialMutation) ExpiresAt() (r time.Time, exists bool) + func (m *CredentialMutation) ExpiresAtCleared() bool + func (m *CredentialMutation) Field(name string) (ent.Value, bool) + func (m *CredentialMutation) FieldCleared(name string) bool + func (m *CredentialMutation) Fields() []string + func (m *CredentialMutation) ID() (id int, exists bool) + func (m *CredentialMutation) IDs(ctx context.Context) ([]int, error) + func (m *CredentialMutation) Kind() (r string, exists bool) + func (m *CredentialMutation) OldCiphertext(ctx context.Context) (v []byte, err error) + func (m *CredentialMutation) OldConnectionID(ctx context.Context) (v string, err error) + func (m *CredentialMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *CredentialMutation) OldExpiresAt(ctx context.Context) (v *time.Time, err error) + func (m *CredentialMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *CredentialMutation) OldKind(ctx context.Context) (v string, err error) + func (m *CredentialMutation) OldOwnerID(ctx context.Context) (v string, err error) + func (m *CredentialMutation) OldVersion(ctx context.Context) (v int, err error) + func (m *CredentialMutation) Op() Op + func (m *CredentialMutation) OwnerID() (r string, exists bool) + func (m *CredentialMutation) RemovedEdges() []string + func (m *CredentialMutation) RemovedIDs(name string) []ent.Value + func (m *CredentialMutation) ResetCiphertext() + func (m *CredentialMutation) ResetConnectionID() + func (m *CredentialMutation) ResetCreatedAt() + func (m *CredentialMutation) ResetEdge(name string) error + func (m *CredentialMutation) ResetExpiresAt() + func (m *CredentialMutation) ResetField(name string) error + func (m *CredentialMutation) ResetKind() + func (m *CredentialMutation) ResetOwnerID() + func (m *CredentialMutation) ResetVersion() + func (m *CredentialMutation) SetCiphertext(b []byte) + func (m *CredentialMutation) SetConnectionID(s string) + func (m *CredentialMutation) SetCreatedAt(t time.Time) + func (m *CredentialMutation) SetExpiresAt(t time.Time) + func (m *CredentialMutation) SetField(name string, value ent.Value) error + func (m *CredentialMutation) SetKind(s string) + func (m *CredentialMutation) SetOp(op Op) + func (m *CredentialMutation) SetOwnerID(s string) + func (m *CredentialMutation) SetVersion(i int) + func (m *CredentialMutation) Type() string + func (m *CredentialMutation) Version() (r int, exists bool) + func (m *CredentialMutation) Where(ps ...predicate.Credential) + func (m *CredentialMutation) WhereP(ps ...func(*sql.Selector)) + func (m CredentialMutation) Client() *Client + func (m CredentialMutation) Tx() (*Tx, error) + type CredentialQuery struct + func (_q *CredentialQuery) Aggregate(fns ...AggregateFunc) *CredentialSelect + func (_q *CredentialQuery) All(ctx context.Context) ([]*Credential, error) + func (_q *CredentialQuery) AllX(ctx context.Context) []*Credential + func (_q *CredentialQuery) Clone() *CredentialQuery + func (_q *CredentialQuery) Count(ctx context.Context) (int, error) + func (_q *CredentialQuery) CountX(ctx context.Context) int + func (_q *CredentialQuery) Exist(ctx context.Context) (bool, error) + func (_q *CredentialQuery) ExistX(ctx context.Context) bool + func (_q *CredentialQuery) First(ctx context.Context) (*Credential, error) + func (_q *CredentialQuery) FirstID(ctx context.Context) (id int, err error) + func (_q *CredentialQuery) FirstIDX(ctx context.Context) int + func (_q *CredentialQuery) FirstX(ctx context.Context) *Credential + func (_q *CredentialQuery) GroupBy(field string, fields ...string) *CredentialGroupBy + func (_q *CredentialQuery) IDs(ctx context.Context) (ids []int, err error) + func (_q *CredentialQuery) IDsX(ctx context.Context) []int + func (_q *CredentialQuery) Limit(limit int) *CredentialQuery + func (_q *CredentialQuery) Offset(offset int) *CredentialQuery + func (_q *CredentialQuery) Only(ctx context.Context) (*Credential, error) + func (_q *CredentialQuery) OnlyID(ctx context.Context) (id int, err error) + func (_q *CredentialQuery) OnlyIDX(ctx context.Context) int + func (_q *CredentialQuery) OnlyX(ctx context.Context) *Credential + func (_q *CredentialQuery) Order(o ...credential.OrderOption) *CredentialQuery + func (_q *CredentialQuery) Select(fields ...string) *CredentialSelect + func (_q *CredentialQuery) Unique(unique bool) *CredentialQuery + func (_q *CredentialQuery) Where(ps ...predicate.Credential) *CredentialQuery + type CredentialSelect struct + func (_s *CredentialSelect) Aggregate(fns ...AggregateFunc) *CredentialSelect + func (_s *CredentialSelect) Scan(ctx context.Context, v any) error + func (s *CredentialSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *CredentialSelect) BoolX(ctx context.Context) bool + func (s *CredentialSelect) Bools(ctx context.Context) ([]bool, error) + func (s *CredentialSelect) BoolsX(ctx context.Context) []bool + func (s *CredentialSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *CredentialSelect) Float64X(ctx context.Context) float64 + func (s *CredentialSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *CredentialSelect) Float64sX(ctx context.Context) []float64 + func (s *CredentialSelect) Int(ctx context.Context) (_ int, err error) + func (s *CredentialSelect) IntX(ctx context.Context) int + func (s *CredentialSelect) Ints(ctx context.Context) ([]int, error) + func (s *CredentialSelect) IntsX(ctx context.Context) []int + func (s *CredentialSelect) ScanX(ctx context.Context, v any) + func (s *CredentialSelect) String(ctx context.Context) (_ string, err error) + func (s *CredentialSelect) StringX(ctx context.Context) string + func (s *CredentialSelect) Strings(ctx context.Context) ([]string, error) + func (s *CredentialSelect) StringsX(ctx context.Context) []string + type CredentialUpdate struct + func (_u *CredentialUpdate) Exec(ctx context.Context) error + func (_u *CredentialUpdate) ExecX(ctx context.Context) + func (_u *CredentialUpdate) Mutation() *CredentialMutation + func (_u *CredentialUpdate) Save(ctx context.Context) (int, error) + func (_u *CredentialUpdate) SaveX(ctx context.Context) int + func (_u *CredentialUpdate) Where(ps ...predicate.Credential) *CredentialUpdate + type CredentialUpdateOne struct + func (_u *CredentialUpdateOne) Exec(ctx context.Context) error + func (_u *CredentialUpdateOne) ExecX(ctx context.Context) + func (_u *CredentialUpdateOne) Mutation() *CredentialMutation + func (_u *CredentialUpdateOne) Save(ctx context.Context) (*Credential, error) + func (_u *CredentialUpdateOne) SaveX(ctx context.Context) *Credential + func (_u *CredentialUpdateOne) Select(field string, fields ...string) *CredentialUpdateOne + func (_u *CredentialUpdateOne) Where(ps ...predicate.Credential) *CredentialUpdateOne + type Credentials []*Credential + type Grant struct + Actions []string + ConnectionID string + ID int + OwnerID string + PrincipalID string + PrincipalKind string + func (_m *Grant) String() string + func (_m *Grant) Unwrap() *Grant + func (_m *Grant) Update() *GrantUpdateOne + func (_m *Grant) Value(name string) (ent.Value, error) + type GrantClient struct + func NewGrantClient(c config) *GrantClient + func (c *GrantClient) Create() *GrantCreate + func (c *GrantClient) CreateBulk(builders ...*GrantCreate) *GrantCreateBulk + func (c *GrantClient) Delete() *GrantDelete + func (c *GrantClient) DeleteOne(_m *Grant) *GrantDeleteOne + func (c *GrantClient) DeleteOneID(id int) *GrantDeleteOne + func (c *GrantClient) Get(ctx context.Context, id int) (*Grant, error) + func (c *GrantClient) GetX(ctx context.Context, id int) *Grant + func (c *GrantClient) Hooks() []Hook + func (c *GrantClient) Intercept(interceptors ...Interceptor) + func (c *GrantClient) Interceptors() []Interceptor + func (c *GrantClient) MapCreateBulk(slice any, setFunc func(*GrantCreate, int)) *GrantCreateBulk + func (c *GrantClient) Query() *GrantQuery + func (c *GrantClient) Update() *GrantUpdate + func (c *GrantClient) UpdateOne(_m *Grant) *GrantUpdateOne + func (c *GrantClient) UpdateOneID(id int) *GrantUpdateOne + func (c *GrantClient) Use(hooks ...Hook) + type GrantCreate struct + func (_c *GrantCreate) Exec(ctx context.Context) error + func (_c *GrantCreate) ExecX(ctx context.Context) + func (_c *GrantCreate) Mutation() *GrantMutation + func (_c *GrantCreate) Save(ctx context.Context) (*Grant, error) + func (_c *GrantCreate) SaveX(ctx context.Context) *Grant + func (_c *GrantCreate) SetActions(v []string) *GrantCreate + func (_c *GrantCreate) SetConnectionID(v string) *GrantCreate + func (_c *GrantCreate) SetOwnerID(v string) *GrantCreate + func (_c *GrantCreate) SetPrincipalID(v string) *GrantCreate + func (_c *GrantCreate) SetPrincipalKind(v string) *GrantCreate + type GrantCreateBulk struct + func (_c *GrantCreateBulk) Exec(ctx context.Context) error + func (_c *GrantCreateBulk) ExecX(ctx context.Context) + func (_c *GrantCreateBulk) Save(ctx context.Context) ([]*Grant, error) + func (_c *GrantCreateBulk) SaveX(ctx context.Context) []*Grant + type GrantDelete struct + func (_d *GrantDelete) Exec(ctx context.Context) (int, error) + func (_d *GrantDelete) ExecX(ctx context.Context) int + func (_d *GrantDelete) Where(ps ...predicate.Grant) *GrantDelete + type GrantDeleteOne struct + func (_d *GrantDeleteOne) Exec(ctx context.Context) error + func (_d *GrantDeleteOne) ExecX(ctx context.Context) + func (_d *GrantDeleteOne) Where(ps ...predicate.Grant) *GrantDeleteOne + type GrantGroupBy struct + func (_g *GrantGroupBy) Aggregate(fns ...AggregateFunc) *GrantGroupBy + func (_g *GrantGroupBy) Scan(ctx context.Context, v any) error + func (s *GrantGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *GrantGroupBy) BoolX(ctx context.Context) bool + func (s *GrantGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *GrantGroupBy) BoolsX(ctx context.Context) []bool + func (s *GrantGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *GrantGroupBy) Float64X(ctx context.Context) float64 + func (s *GrantGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *GrantGroupBy) Float64sX(ctx context.Context) []float64 + func (s *GrantGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *GrantGroupBy) IntX(ctx context.Context) int + func (s *GrantGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *GrantGroupBy) IntsX(ctx context.Context) []int + func (s *GrantGroupBy) ScanX(ctx context.Context, v any) + func (s *GrantGroupBy) String(ctx context.Context) (_ string, err error) + func (s *GrantGroupBy) StringX(ctx context.Context) string + func (s *GrantGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *GrantGroupBy) StringsX(ctx context.Context) []string + type GrantMutation struct + func (m *GrantMutation) Actions() (r []string, exists bool) + func (m *GrantMutation) AddField(name string, value ent.Value) error + func (m *GrantMutation) AddedEdges() []string + func (m *GrantMutation) AddedField(name string) (ent.Value, bool) + func (m *GrantMutation) AddedFields() []string + func (m *GrantMutation) AddedIDs(name string) []ent.Value + func (m *GrantMutation) AppendActions(s []string) + func (m *GrantMutation) AppendedActions() ([]string, bool) + func (m *GrantMutation) ClearEdge(name string) error + func (m *GrantMutation) ClearField(name string) error + func (m *GrantMutation) ClearedEdges() []string + func (m *GrantMutation) ClearedFields() []string + func (m *GrantMutation) ConnectionID() (r string, exists bool) + func (m *GrantMutation) EdgeCleared(name string) bool + func (m *GrantMutation) Field(name string) (ent.Value, bool) + func (m *GrantMutation) FieldCleared(name string) bool + func (m *GrantMutation) Fields() []string + func (m *GrantMutation) ID() (id int, exists bool) + func (m *GrantMutation) IDs(ctx context.Context) ([]int, error) + func (m *GrantMutation) OldActions(ctx context.Context) (v []string, err error) + func (m *GrantMutation) OldConnectionID(ctx context.Context) (v string, err error) + func (m *GrantMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *GrantMutation) OldOwnerID(ctx context.Context) (v string, err error) + func (m *GrantMutation) OldPrincipalID(ctx context.Context) (v string, err error) + func (m *GrantMutation) OldPrincipalKind(ctx context.Context) (v string, err error) + func (m *GrantMutation) Op() Op + func (m *GrantMutation) OwnerID() (r string, exists bool) + func (m *GrantMutation) PrincipalID() (r string, exists bool) + func (m *GrantMutation) PrincipalKind() (r string, exists bool) + func (m *GrantMutation) RemovedEdges() []string + func (m *GrantMutation) RemovedIDs(name string) []ent.Value + func (m *GrantMutation) ResetActions() + func (m *GrantMutation) ResetConnectionID() + func (m *GrantMutation) ResetEdge(name string) error + func (m *GrantMutation) ResetField(name string) error + func (m *GrantMutation) ResetOwnerID() + func (m *GrantMutation) ResetPrincipalID() + func (m *GrantMutation) ResetPrincipalKind() + func (m *GrantMutation) SetActions(s []string) + func (m *GrantMutation) SetConnectionID(s string) + func (m *GrantMutation) SetField(name string, value ent.Value) error + func (m *GrantMutation) SetOp(op Op) + func (m *GrantMutation) SetOwnerID(s string) + func (m *GrantMutation) SetPrincipalID(s string) + func (m *GrantMutation) SetPrincipalKind(s string) + func (m *GrantMutation) Type() string + func (m *GrantMutation) Where(ps ...predicate.Grant) + func (m *GrantMutation) WhereP(ps ...func(*sql.Selector)) + func (m GrantMutation) Client() *Client + func (m GrantMutation) Tx() (*Tx, error) + type GrantQuery struct + func (_q *GrantQuery) Aggregate(fns ...AggregateFunc) *GrantSelect + func (_q *GrantQuery) All(ctx context.Context) ([]*Grant, error) + func (_q *GrantQuery) AllX(ctx context.Context) []*Grant + func (_q *GrantQuery) Clone() *GrantQuery + func (_q *GrantQuery) Count(ctx context.Context) (int, error) + func (_q *GrantQuery) CountX(ctx context.Context) int + func (_q *GrantQuery) Exist(ctx context.Context) (bool, error) + func (_q *GrantQuery) ExistX(ctx context.Context) bool + func (_q *GrantQuery) First(ctx context.Context) (*Grant, error) + func (_q *GrantQuery) FirstID(ctx context.Context) (id int, err error) + func (_q *GrantQuery) FirstIDX(ctx context.Context) int + func (_q *GrantQuery) FirstX(ctx context.Context) *Grant + func (_q *GrantQuery) GroupBy(field string, fields ...string) *GrantGroupBy + func (_q *GrantQuery) IDs(ctx context.Context) (ids []int, err error) + func (_q *GrantQuery) IDsX(ctx context.Context) []int + func (_q *GrantQuery) Limit(limit int) *GrantQuery + func (_q *GrantQuery) Offset(offset int) *GrantQuery + func (_q *GrantQuery) Only(ctx context.Context) (*Grant, error) + func (_q *GrantQuery) OnlyID(ctx context.Context) (id int, err error) + func (_q *GrantQuery) OnlyIDX(ctx context.Context) int + func (_q *GrantQuery) OnlyX(ctx context.Context) *Grant + func (_q *GrantQuery) Order(o ...grant.OrderOption) *GrantQuery + func (_q *GrantQuery) Select(fields ...string) *GrantSelect + func (_q *GrantQuery) Unique(unique bool) *GrantQuery + func (_q *GrantQuery) Where(ps ...predicate.Grant) *GrantQuery + type GrantSelect struct + func (_s *GrantSelect) Aggregate(fns ...AggregateFunc) *GrantSelect + func (_s *GrantSelect) Scan(ctx context.Context, v any) error + func (s *GrantSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *GrantSelect) BoolX(ctx context.Context) bool + func (s *GrantSelect) Bools(ctx context.Context) ([]bool, error) + func (s *GrantSelect) BoolsX(ctx context.Context) []bool + func (s *GrantSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *GrantSelect) Float64X(ctx context.Context) float64 + func (s *GrantSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *GrantSelect) Float64sX(ctx context.Context) []float64 + func (s *GrantSelect) Int(ctx context.Context) (_ int, err error) + func (s *GrantSelect) IntX(ctx context.Context) int + func (s *GrantSelect) Ints(ctx context.Context) ([]int, error) + func (s *GrantSelect) IntsX(ctx context.Context) []int + func (s *GrantSelect) ScanX(ctx context.Context, v any) + func (s *GrantSelect) String(ctx context.Context) (_ string, err error) + func (s *GrantSelect) StringX(ctx context.Context) string + func (s *GrantSelect) Strings(ctx context.Context) ([]string, error) + func (s *GrantSelect) StringsX(ctx context.Context) []string + type GrantUpdate struct + func (_u *GrantUpdate) AppendActions(v []string) *GrantUpdate + func (_u *GrantUpdate) Exec(ctx context.Context) error + func (_u *GrantUpdate) ExecX(ctx context.Context) + func (_u *GrantUpdate) Mutation() *GrantMutation + func (_u *GrantUpdate) Save(ctx context.Context) (int, error) + func (_u *GrantUpdate) SaveX(ctx context.Context) int + func (_u *GrantUpdate) SetActions(v []string) *GrantUpdate + func (_u *GrantUpdate) Where(ps ...predicate.Grant) *GrantUpdate + type GrantUpdateOne struct + func (_u *GrantUpdateOne) AppendActions(v []string) *GrantUpdateOne + func (_u *GrantUpdateOne) Exec(ctx context.Context) error + func (_u *GrantUpdateOne) ExecX(ctx context.Context) + func (_u *GrantUpdateOne) Mutation() *GrantMutation + func (_u *GrantUpdateOne) Save(ctx context.Context) (*Grant, error) + func (_u *GrantUpdateOne) SaveX(ctx context.Context) *Grant + func (_u *GrantUpdateOne) Select(field string, fields ...string) *GrantUpdateOne + func (_u *GrantUpdateOne) SetActions(v []string) *GrantUpdateOne + func (_u *GrantUpdateOne) Where(ps ...predicate.Grant) *GrantUpdateOne + type Grants []*Grant + type Hook = ent.Hook + type InterceptFunc = ent.InterceptFunc + type Interceptor = ent.Interceptor + type Lease struct + ExpiresAt time.Time + ID int + Name string + Token string + func (_m *Lease) String() string + func (_m *Lease) Unwrap() *Lease + func (_m *Lease) Update() *LeaseUpdateOne + func (_m *Lease) Value(name string) (ent.Value, error) + type LeaseClient struct + func NewLeaseClient(c config) *LeaseClient + func (c *LeaseClient) Create() *LeaseCreate + func (c *LeaseClient) CreateBulk(builders ...*LeaseCreate) *LeaseCreateBulk + func (c *LeaseClient) Delete() *LeaseDelete + func (c *LeaseClient) DeleteOne(_m *Lease) *LeaseDeleteOne + func (c *LeaseClient) DeleteOneID(id int) *LeaseDeleteOne + func (c *LeaseClient) Get(ctx context.Context, id int) (*Lease, error) + func (c *LeaseClient) GetX(ctx context.Context, id int) *Lease + func (c *LeaseClient) Hooks() []Hook + func (c *LeaseClient) Intercept(interceptors ...Interceptor) + func (c *LeaseClient) Interceptors() []Interceptor + func (c *LeaseClient) MapCreateBulk(slice any, setFunc func(*LeaseCreate, int)) *LeaseCreateBulk + func (c *LeaseClient) Query() *LeaseQuery + func (c *LeaseClient) Update() *LeaseUpdate + func (c *LeaseClient) UpdateOne(_m *Lease) *LeaseUpdateOne + func (c *LeaseClient) UpdateOneID(id int) *LeaseUpdateOne + func (c *LeaseClient) Use(hooks ...Hook) + type LeaseCreate struct + func (_c *LeaseCreate) Exec(ctx context.Context) error + func (_c *LeaseCreate) ExecX(ctx context.Context) + func (_c *LeaseCreate) Mutation() *LeaseMutation + func (_c *LeaseCreate) Save(ctx context.Context) (*Lease, error) + func (_c *LeaseCreate) SaveX(ctx context.Context) *Lease + func (_c *LeaseCreate) SetExpiresAt(v time.Time) *LeaseCreate + func (_c *LeaseCreate) SetName(v string) *LeaseCreate + func (_c *LeaseCreate) SetToken(v string) *LeaseCreate + type LeaseCreateBulk struct + func (_c *LeaseCreateBulk) Exec(ctx context.Context) error + func (_c *LeaseCreateBulk) ExecX(ctx context.Context) + func (_c *LeaseCreateBulk) Save(ctx context.Context) ([]*Lease, error) + func (_c *LeaseCreateBulk) SaveX(ctx context.Context) []*Lease + type LeaseDelete struct + func (_d *LeaseDelete) Exec(ctx context.Context) (int, error) + func (_d *LeaseDelete) ExecX(ctx context.Context) int + func (_d *LeaseDelete) Where(ps ...predicate.Lease) *LeaseDelete + type LeaseDeleteOne struct + func (_d *LeaseDeleteOne) Exec(ctx context.Context) error + func (_d *LeaseDeleteOne) ExecX(ctx context.Context) + func (_d *LeaseDeleteOne) Where(ps ...predicate.Lease) *LeaseDeleteOne + type LeaseGroupBy struct + func (_g *LeaseGroupBy) Aggregate(fns ...AggregateFunc) *LeaseGroupBy + func (_g *LeaseGroupBy) Scan(ctx context.Context, v any) error + func (s *LeaseGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *LeaseGroupBy) BoolX(ctx context.Context) bool + func (s *LeaseGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *LeaseGroupBy) BoolsX(ctx context.Context) []bool + func (s *LeaseGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *LeaseGroupBy) Float64X(ctx context.Context) float64 + func (s *LeaseGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *LeaseGroupBy) Float64sX(ctx context.Context) []float64 + func (s *LeaseGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *LeaseGroupBy) IntX(ctx context.Context) int + func (s *LeaseGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *LeaseGroupBy) IntsX(ctx context.Context) []int + func (s *LeaseGroupBy) ScanX(ctx context.Context, v any) + func (s *LeaseGroupBy) String(ctx context.Context) (_ string, err error) + func (s *LeaseGroupBy) StringX(ctx context.Context) string + func (s *LeaseGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *LeaseGroupBy) StringsX(ctx context.Context) []string + type LeaseMutation struct + func (m *LeaseMutation) AddField(name string, value ent.Value) error + func (m *LeaseMutation) AddedEdges() []string + func (m *LeaseMutation) AddedField(name string) (ent.Value, bool) + func (m *LeaseMutation) AddedFields() []string + func (m *LeaseMutation) AddedIDs(name string) []ent.Value + func (m *LeaseMutation) ClearEdge(name string) error + func (m *LeaseMutation) ClearField(name string) error + func (m *LeaseMutation) ClearedEdges() []string + func (m *LeaseMutation) ClearedFields() []string + func (m *LeaseMutation) EdgeCleared(name string) bool + func (m *LeaseMutation) ExpiresAt() (r time.Time, exists bool) + func (m *LeaseMutation) Field(name string) (ent.Value, bool) + func (m *LeaseMutation) FieldCleared(name string) bool + func (m *LeaseMutation) Fields() []string + func (m *LeaseMutation) ID() (id int, exists bool) + func (m *LeaseMutation) IDs(ctx context.Context) ([]int, error) + func (m *LeaseMutation) Name() (r string, exists bool) + func (m *LeaseMutation) OldExpiresAt(ctx context.Context) (v time.Time, err error) + func (m *LeaseMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *LeaseMutation) OldName(ctx context.Context) (v string, err error) + func (m *LeaseMutation) OldToken(ctx context.Context) (v string, err error) + func (m *LeaseMutation) Op() Op + func (m *LeaseMutation) RemovedEdges() []string + func (m *LeaseMutation) RemovedIDs(name string) []ent.Value + func (m *LeaseMutation) ResetEdge(name string) error + func (m *LeaseMutation) ResetExpiresAt() + func (m *LeaseMutation) ResetField(name string) error + func (m *LeaseMutation) ResetName() + func (m *LeaseMutation) ResetToken() + func (m *LeaseMutation) SetExpiresAt(t time.Time) + func (m *LeaseMutation) SetField(name string, value ent.Value) error + func (m *LeaseMutation) SetName(s string) + func (m *LeaseMutation) SetOp(op Op) + func (m *LeaseMutation) SetToken(s string) + func (m *LeaseMutation) Token() (r string, exists bool) + func (m *LeaseMutation) Type() string + func (m *LeaseMutation) Where(ps ...predicate.Lease) + func (m *LeaseMutation) WhereP(ps ...func(*sql.Selector)) + func (m LeaseMutation) Client() *Client + func (m LeaseMutation) Tx() (*Tx, error) + type LeaseQuery struct + func (_q *LeaseQuery) Aggregate(fns ...AggregateFunc) *LeaseSelect + func (_q *LeaseQuery) All(ctx context.Context) ([]*Lease, error) + func (_q *LeaseQuery) AllX(ctx context.Context) []*Lease + func (_q *LeaseQuery) Clone() *LeaseQuery + func (_q *LeaseQuery) Count(ctx context.Context) (int, error) + func (_q *LeaseQuery) CountX(ctx context.Context) int + func (_q *LeaseQuery) Exist(ctx context.Context) (bool, error) + func (_q *LeaseQuery) ExistX(ctx context.Context) bool + func (_q *LeaseQuery) First(ctx context.Context) (*Lease, error) + func (_q *LeaseQuery) FirstID(ctx context.Context) (id int, err error) + func (_q *LeaseQuery) FirstIDX(ctx context.Context) int + func (_q *LeaseQuery) FirstX(ctx context.Context) *Lease + func (_q *LeaseQuery) GroupBy(field string, fields ...string) *LeaseGroupBy + func (_q *LeaseQuery) IDs(ctx context.Context) (ids []int, err error) + func (_q *LeaseQuery) IDsX(ctx context.Context) []int + func (_q *LeaseQuery) Limit(limit int) *LeaseQuery + func (_q *LeaseQuery) Offset(offset int) *LeaseQuery + func (_q *LeaseQuery) Only(ctx context.Context) (*Lease, error) + func (_q *LeaseQuery) OnlyID(ctx context.Context) (id int, err error) + func (_q *LeaseQuery) OnlyIDX(ctx context.Context) int + func (_q *LeaseQuery) OnlyX(ctx context.Context) *Lease + func (_q *LeaseQuery) Order(o ...lease.OrderOption) *LeaseQuery + func (_q *LeaseQuery) Select(fields ...string) *LeaseSelect + func (_q *LeaseQuery) Unique(unique bool) *LeaseQuery + func (_q *LeaseQuery) Where(ps ...predicate.Lease) *LeaseQuery + type LeaseSelect struct + func (_s *LeaseSelect) Aggregate(fns ...AggregateFunc) *LeaseSelect + func (_s *LeaseSelect) Scan(ctx context.Context, v any) error + func (s *LeaseSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *LeaseSelect) BoolX(ctx context.Context) bool + func (s *LeaseSelect) Bools(ctx context.Context) ([]bool, error) + func (s *LeaseSelect) BoolsX(ctx context.Context) []bool + func (s *LeaseSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *LeaseSelect) Float64X(ctx context.Context) float64 + func (s *LeaseSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *LeaseSelect) Float64sX(ctx context.Context) []float64 + func (s *LeaseSelect) Int(ctx context.Context) (_ int, err error) + func (s *LeaseSelect) IntX(ctx context.Context) int + func (s *LeaseSelect) Ints(ctx context.Context) ([]int, error) + func (s *LeaseSelect) IntsX(ctx context.Context) []int + func (s *LeaseSelect) ScanX(ctx context.Context, v any) + func (s *LeaseSelect) String(ctx context.Context) (_ string, err error) + func (s *LeaseSelect) StringX(ctx context.Context) string + func (s *LeaseSelect) Strings(ctx context.Context) ([]string, error) + func (s *LeaseSelect) StringsX(ctx context.Context) []string + type LeaseUpdate struct + func (_u *LeaseUpdate) Exec(ctx context.Context) error + func (_u *LeaseUpdate) ExecX(ctx context.Context) + func (_u *LeaseUpdate) Mutation() *LeaseMutation + func (_u *LeaseUpdate) Save(ctx context.Context) (int, error) + func (_u *LeaseUpdate) SaveX(ctx context.Context) int + func (_u *LeaseUpdate) SetExpiresAt(v time.Time) *LeaseUpdate + func (_u *LeaseUpdate) SetNillableExpiresAt(v *time.Time) *LeaseUpdate + func (_u *LeaseUpdate) SetNillableToken(v *string) *LeaseUpdate + func (_u *LeaseUpdate) SetToken(v string) *LeaseUpdate + func (_u *LeaseUpdate) Where(ps ...predicate.Lease) *LeaseUpdate + type LeaseUpdateOne struct + func (_u *LeaseUpdateOne) Exec(ctx context.Context) error + func (_u *LeaseUpdateOne) ExecX(ctx context.Context) + func (_u *LeaseUpdateOne) Mutation() *LeaseMutation + func (_u *LeaseUpdateOne) Save(ctx context.Context) (*Lease, error) + func (_u *LeaseUpdateOne) SaveX(ctx context.Context) *Lease + func (_u *LeaseUpdateOne) Select(field string, fields ...string) *LeaseUpdateOne + func (_u *LeaseUpdateOne) SetExpiresAt(v time.Time) *LeaseUpdateOne + func (_u *LeaseUpdateOne) SetNillableExpiresAt(v *time.Time) *LeaseUpdateOne + func (_u *LeaseUpdateOne) SetNillableToken(v *string) *LeaseUpdateOne + func (_u *LeaseUpdateOne) SetToken(v string) *LeaseUpdateOne + func (_u *LeaseUpdateOne) Where(ps ...predicate.Lease) *LeaseUpdateOne + type Leases []*Lease + type MutateFunc = ent.MutateFunc + type Mutation = ent.Mutation + type Mutator = ent.Mutator + type NotFoundError struct + func (e *NotFoundError) Error() string + type NotLoadedError struct + func (e *NotLoadedError) Error() string + type NotSingularError struct + func (e *NotSingularError) Error() string + type Op = ent.Op + type Option func(*config) + func Debug() Option + func Driver(driver dialect.Driver) Option + func Log(fn func(...any)) Option + type OrderFunc func(*sql.Selector) + type Policy = ent.Policy + type Querier = ent.Querier + type QuerierFunc = ent.QuerierFunc + type Query = ent.Query + type QueryContext = ent.QueryContext + type RollbackFunc func(context.Context, *Tx) error + func (f RollbackFunc) Rollback(ctx context.Context, tx *Tx) error + type RollbackHook func(Rollbacker) Rollbacker + type Rollbacker interface + Rollback func(context.Context, *Tx) error + type TraverseFunc = ent.TraverseFunc + type Traverser = ent.Traverser + type Tx struct + Binding *BindingClient + Connection *ConnectionClient + Credential *CredentialClient + Grant *GrantClient + Lease *LeaseClient + func TxFromContext(ctx context.Context) *Tx + func (tx *Tx) Client() *Client + func (tx *Tx) Commit() error + func (tx *Tx) OnCommit(f CommitHook) + func (tx *Tx) OnRollback(f RollbackHook) + func (tx *Tx) Rollback() error + type ValidationError struct + Name string + func (e *ValidationError) Error() string + func (e *ValidationError) Unwrap() error + type Value = ent.Value