Versions in this module Expand all Collapse all v0 v0.19.1 Jan 26, 2025 v0.19.0 Jan 26, 2025 v0.18.1 Jan 12, 2025 v0.18.0 Jan 9, 2025 v0.17.0 Dec 17, 2024 v0.16.0 Dec 6, 2024 v0.15.1 Nov 25, 2024 v0.15.0 Nov 19, 2024 v0.14.1 Jul 10, 2024 v0.14.0 Jul 8, 2024 v0.13.0 Jul 2, 2024 v0.12.2 May 30, 2024 v0.12.1 May 24, 2024 v0.12.0 May 23, 2024 v0.11.1 May 22, 2024 v0.11.0 May 22, 2024 v0.10.0 May 7, 2024 v0.9.0 Jan 21, 2024 Changes in this version + const OpCreate + const OpDelete + const OpDeleteOne + const OpUpdate + const OpUpdateOne + const TypeGitCommit + const TypeOrganization + const TypeRepository + 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 Client struct + GitCommit *GitCommitClient + Organization *OrganizationClient + Repository *RepositoryClient + 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 ConstraintError struct + func (e *ConstraintError) Unwrap() error + func (e ConstraintError) Error() string + type GitCommit struct + AuthorID int64 + AuthorLogin string + Date time.Time + Edges GitCommitEdges + ID string + Message string + func (gc *GitCommit) QueryRepository() *RepositoryQuery + func (gc *GitCommit) String() string + func (gc *GitCommit) Unwrap() *GitCommit + func (gc *GitCommit) Update() *GitCommitUpdateOne + func (gc *GitCommit) Value(name string) (ent.Value, error) + type GitCommitClient struct + func NewGitCommitClient(c config) *GitCommitClient + func (c *GitCommitClient) Create() *GitCommitCreate + func (c *GitCommitClient) CreateBulk(builders ...*GitCommitCreate) *GitCommitCreateBulk + func (c *GitCommitClient) Delete() *GitCommitDelete + func (c *GitCommitClient) DeleteOne(gc *GitCommit) *GitCommitDeleteOne + func (c *GitCommitClient) DeleteOneID(id string) *GitCommitDeleteOne + func (c *GitCommitClient) Get(ctx context.Context, id string) (*GitCommit, error) + func (c *GitCommitClient) GetX(ctx context.Context, id string) *GitCommit + func (c *GitCommitClient) Hooks() []Hook + func (c *GitCommitClient) Intercept(interceptors ...Interceptor) + func (c *GitCommitClient) Interceptors() []Interceptor + func (c *GitCommitClient) MapCreateBulk(slice any, setFunc func(*GitCommitCreate, int)) *GitCommitCreateBulk + func (c *GitCommitClient) Query() *GitCommitQuery + func (c *GitCommitClient) QueryRepository(gc *GitCommit) *RepositoryQuery + func (c *GitCommitClient) Update() *GitCommitUpdate + func (c *GitCommitClient) UpdateOne(gc *GitCommit) *GitCommitUpdateOne + func (c *GitCommitClient) UpdateOneID(id string) *GitCommitUpdateOne + func (c *GitCommitClient) Use(hooks ...Hook) + type GitCommitCreate struct + func (gcc *GitCommitCreate) Exec(ctx context.Context) error + func (gcc *GitCommitCreate) ExecX(ctx context.Context) + func (gcc *GitCommitCreate) Mutation() *GitCommitMutation + func (gcc *GitCommitCreate) OnConflict(opts ...sql.ConflictOption) *GitCommitUpsertOne + func (gcc *GitCommitCreate) OnConflictColumns(columns ...string) *GitCommitUpsertOne + func (gcc *GitCommitCreate) Save(ctx context.Context) (*GitCommit, error) + func (gcc *GitCommitCreate) SaveX(ctx context.Context) *GitCommit + func (gcc *GitCommitCreate) SetAuthorID(i int64) *GitCommitCreate + func (gcc *GitCommitCreate) SetAuthorLogin(s string) *GitCommitCreate + func (gcc *GitCommitCreate) SetDate(t time.Time) *GitCommitCreate + func (gcc *GitCommitCreate) SetID(s string) *GitCommitCreate + func (gcc *GitCommitCreate) SetMessage(s string) *GitCommitCreate + func (gcc *GitCommitCreate) SetNillableRepositoryID(id *int64) *GitCommitCreate + func (gcc *GitCommitCreate) SetRepository(r *Repository) *GitCommitCreate + func (gcc *GitCommitCreate) SetRepositoryID(id int64) *GitCommitCreate + type GitCommitCreateBulk struct + func (gccb *GitCommitCreateBulk) Exec(ctx context.Context) error + func (gccb *GitCommitCreateBulk) ExecX(ctx context.Context) + func (gccb *GitCommitCreateBulk) OnConflict(opts ...sql.ConflictOption) *GitCommitUpsertBulk + func (gccb *GitCommitCreateBulk) OnConflictColumns(columns ...string) *GitCommitUpsertBulk + func (gccb *GitCommitCreateBulk) Save(ctx context.Context) ([]*GitCommit, error) + func (gccb *GitCommitCreateBulk) SaveX(ctx context.Context) []*GitCommit + type GitCommitDelete struct + func (gcd *GitCommitDelete) Exec(ctx context.Context) (int, error) + func (gcd *GitCommitDelete) ExecX(ctx context.Context) int + func (gcd *GitCommitDelete) Where(ps ...predicate.GitCommit) *GitCommitDelete + type GitCommitDeleteOne struct + func (gcdo *GitCommitDeleteOne) Exec(ctx context.Context) error + func (gcdo *GitCommitDeleteOne) ExecX(ctx context.Context) + func (gcdo *GitCommitDeleteOne) Where(ps ...predicate.GitCommit) *GitCommitDeleteOne + type GitCommitEdges struct + Repository *Repository + func (e GitCommitEdges) RepositoryOrErr() (*Repository, error) + type GitCommitGroupBy struct + func (gcgb *GitCommitGroupBy) Aggregate(fns ...AggregateFunc) *GitCommitGroupBy + func (gcgb *GitCommitGroupBy) Scan(ctx context.Context, v any) error + func (s *GitCommitGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *GitCommitGroupBy) BoolX(ctx context.Context) bool + func (s *GitCommitGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *GitCommitGroupBy) BoolsX(ctx context.Context) []bool + func (s *GitCommitGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *GitCommitGroupBy) Float64X(ctx context.Context) float64 + func (s *GitCommitGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *GitCommitGroupBy) Float64sX(ctx context.Context) []float64 + func (s *GitCommitGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *GitCommitGroupBy) IntX(ctx context.Context) int + func (s *GitCommitGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *GitCommitGroupBy) IntsX(ctx context.Context) []int + func (s *GitCommitGroupBy) ScanX(ctx context.Context, v any) + func (s *GitCommitGroupBy) String(ctx context.Context) (_ string, err error) + func (s *GitCommitGroupBy) StringX(ctx context.Context) string + func (s *GitCommitGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *GitCommitGroupBy) StringsX(ctx context.Context) []string + type GitCommitMutation struct + func (m *GitCommitMutation) AddAuthorID(i int64) + func (m *GitCommitMutation) AddField(name string, value ent.Value) error + func (m *GitCommitMutation) AddedAuthorID() (r int64, exists bool) + func (m *GitCommitMutation) AddedEdges() []string + func (m *GitCommitMutation) AddedField(name string) (ent.Value, bool) + func (m *GitCommitMutation) AddedFields() []string + func (m *GitCommitMutation) AddedIDs(name string) []ent.Value + func (m *GitCommitMutation) AuthorID() (r int64, exists bool) + func (m *GitCommitMutation) AuthorLogin() (r string, exists bool) + func (m *GitCommitMutation) ClearEdge(name string) error + func (m *GitCommitMutation) ClearField(name string) error + func (m *GitCommitMutation) ClearRepository() + func (m *GitCommitMutation) ClearedEdges() []string + func (m *GitCommitMutation) ClearedFields() []string + func (m *GitCommitMutation) Date() (r time.Time, exists bool) + func (m *GitCommitMutation) EdgeCleared(name string) bool + func (m *GitCommitMutation) Field(name string) (ent.Value, bool) + func (m *GitCommitMutation) FieldCleared(name string) bool + func (m *GitCommitMutation) Fields() []string + func (m *GitCommitMutation) ID() (id string, exists bool) + func (m *GitCommitMutation) IDs(ctx context.Context) ([]string, error) + func (m *GitCommitMutation) Message() (r string, exists bool) + func (m *GitCommitMutation) OldAuthorID(ctx context.Context) (v int64, err error) + func (m *GitCommitMutation) OldAuthorLogin(ctx context.Context) (v string, err error) + func (m *GitCommitMutation) OldDate(ctx context.Context) (v time.Time, err error) + func (m *GitCommitMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *GitCommitMutation) OldMessage(ctx context.Context) (v string, err error) + func (m *GitCommitMutation) Op() Op + func (m *GitCommitMutation) RemovedEdges() []string + func (m *GitCommitMutation) RemovedIDs(name string) []ent.Value + func (m *GitCommitMutation) RepositoryCleared() bool + func (m *GitCommitMutation) RepositoryID() (id int64, exists bool) + func (m *GitCommitMutation) RepositoryIDs() (ids []int64) + func (m *GitCommitMutation) ResetAuthorID() + func (m *GitCommitMutation) ResetAuthorLogin() + func (m *GitCommitMutation) ResetDate() + func (m *GitCommitMutation) ResetEdge(name string) error + func (m *GitCommitMutation) ResetField(name string) error + func (m *GitCommitMutation) ResetMessage() + func (m *GitCommitMutation) ResetRepository() + func (m *GitCommitMutation) SetAuthorID(i int64) + func (m *GitCommitMutation) SetAuthorLogin(s string) + func (m *GitCommitMutation) SetDate(t time.Time) + func (m *GitCommitMutation) SetField(name string, value ent.Value) error + func (m *GitCommitMutation) SetID(id string) + func (m *GitCommitMutation) SetMessage(s string) + func (m *GitCommitMutation) SetOp(op Op) + func (m *GitCommitMutation) SetRepositoryID(id int64) + func (m *GitCommitMutation) Type() string + func (m *GitCommitMutation) Where(ps ...predicate.GitCommit) + func (m *GitCommitMutation) WhereP(ps ...func(*sql.Selector)) + func (m GitCommitMutation) Client() *Client + func (m GitCommitMutation) Tx() (*Tx, error) + type GitCommitQuery struct + func (gcq *GitCommitQuery) Aggregate(fns ...AggregateFunc) *GitCommitSelect + func (gcq *GitCommitQuery) All(ctx context.Context) ([]*GitCommit, error) + func (gcq *GitCommitQuery) AllX(ctx context.Context) []*GitCommit + func (gcq *GitCommitQuery) Clone() *GitCommitQuery + func (gcq *GitCommitQuery) Count(ctx context.Context) (int, error) + func (gcq *GitCommitQuery) CountX(ctx context.Context) int + func (gcq *GitCommitQuery) Exist(ctx context.Context) (bool, error) + func (gcq *GitCommitQuery) ExistX(ctx context.Context) bool + func (gcq *GitCommitQuery) First(ctx context.Context) (*GitCommit, error) + func (gcq *GitCommitQuery) FirstID(ctx context.Context) (id string, err error) + func (gcq *GitCommitQuery) FirstIDX(ctx context.Context) string + func (gcq *GitCommitQuery) FirstX(ctx context.Context) *GitCommit + func (gcq *GitCommitQuery) GroupBy(field string, fields ...string) *GitCommitGroupBy + func (gcq *GitCommitQuery) IDs(ctx context.Context) (ids []string, err error) + func (gcq *GitCommitQuery) IDsX(ctx context.Context) []string + func (gcq *GitCommitQuery) Limit(limit int) *GitCommitQuery + func (gcq *GitCommitQuery) Offset(offset int) *GitCommitQuery + func (gcq *GitCommitQuery) Only(ctx context.Context) (*GitCommit, error) + func (gcq *GitCommitQuery) OnlyID(ctx context.Context) (id string, err error) + func (gcq *GitCommitQuery) OnlyIDX(ctx context.Context) string + func (gcq *GitCommitQuery) OnlyX(ctx context.Context) *GitCommit + func (gcq *GitCommitQuery) Order(o ...gitcommit.OrderOption) *GitCommitQuery + func (gcq *GitCommitQuery) QueryRepository() *RepositoryQuery + func (gcq *GitCommitQuery) Select(fields ...string) *GitCommitSelect + func (gcq *GitCommitQuery) Unique(unique bool) *GitCommitQuery + func (gcq *GitCommitQuery) Where(ps ...predicate.GitCommit) *GitCommitQuery + func (gcq *GitCommitQuery) WithRepository(opts ...func(*RepositoryQuery)) *GitCommitQuery + type GitCommitSelect struct + func (gcs *GitCommitSelect) Aggregate(fns ...AggregateFunc) *GitCommitSelect + func (gcs *GitCommitSelect) Scan(ctx context.Context, v any) error + func (s *GitCommitSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *GitCommitSelect) BoolX(ctx context.Context) bool + func (s *GitCommitSelect) Bools(ctx context.Context) ([]bool, error) + func (s *GitCommitSelect) BoolsX(ctx context.Context) []bool + func (s *GitCommitSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *GitCommitSelect) Float64X(ctx context.Context) float64 + func (s *GitCommitSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *GitCommitSelect) Float64sX(ctx context.Context) []float64 + func (s *GitCommitSelect) Int(ctx context.Context) (_ int, err error) + func (s *GitCommitSelect) IntX(ctx context.Context) int + func (s *GitCommitSelect) Ints(ctx context.Context) ([]int, error) + func (s *GitCommitSelect) IntsX(ctx context.Context) []int + func (s *GitCommitSelect) ScanX(ctx context.Context, v any) + func (s *GitCommitSelect) String(ctx context.Context) (_ string, err error) + func (s *GitCommitSelect) StringX(ctx context.Context) string + func (s *GitCommitSelect) Strings(ctx context.Context) ([]string, error) + func (s *GitCommitSelect) StringsX(ctx context.Context) []string + type GitCommitUpdate struct + func (gcu *GitCommitUpdate) AddAuthorID(i int64) *GitCommitUpdate + func (gcu *GitCommitUpdate) ClearRepository() *GitCommitUpdate + func (gcu *GitCommitUpdate) Exec(ctx context.Context) error + func (gcu *GitCommitUpdate) ExecX(ctx context.Context) + func (gcu *GitCommitUpdate) Mutation() *GitCommitMutation + func (gcu *GitCommitUpdate) Save(ctx context.Context) (int, error) + func (gcu *GitCommitUpdate) SaveX(ctx context.Context) int + func (gcu *GitCommitUpdate) SetAuthorID(i int64) *GitCommitUpdate + func (gcu *GitCommitUpdate) SetAuthorLogin(s string) *GitCommitUpdate + func (gcu *GitCommitUpdate) SetDate(t time.Time) *GitCommitUpdate + func (gcu *GitCommitUpdate) SetMessage(s string) *GitCommitUpdate + func (gcu *GitCommitUpdate) SetNillableAuthorID(i *int64) *GitCommitUpdate + func (gcu *GitCommitUpdate) SetNillableAuthorLogin(s *string) *GitCommitUpdate + func (gcu *GitCommitUpdate) SetNillableDate(t *time.Time) *GitCommitUpdate + func (gcu *GitCommitUpdate) SetNillableMessage(s *string) *GitCommitUpdate + func (gcu *GitCommitUpdate) SetNillableRepositoryID(id *int64) *GitCommitUpdate + func (gcu *GitCommitUpdate) SetRepository(r *Repository) *GitCommitUpdate + func (gcu *GitCommitUpdate) SetRepositoryID(id int64) *GitCommitUpdate + func (gcu *GitCommitUpdate) Where(ps ...predicate.GitCommit) *GitCommitUpdate + type GitCommitUpdateOne struct + func (gcuo *GitCommitUpdateOne) AddAuthorID(i int64) *GitCommitUpdateOne + func (gcuo *GitCommitUpdateOne) ClearRepository() *GitCommitUpdateOne + func (gcuo *GitCommitUpdateOne) Exec(ctx context.Context) error + func (gcuo *GitCommitUpdateOne) ExecX(ctx context.Context) + func (gcuo *GitCommitUpdateOne) Mutation() *GitCommitMutation + func (gcuo *GitCommitUpdateOne) Save(ctx context.Context) (*GitCommit, error) + func (gcuo *GitCommitUpdateOne) SaveX(ctx context.Context) *GitCommit + func (gcuo *GitCommitUpdateOne) Select(field string, fields ...string) *GitCommitUpdateOne + func (gcuo *GitCommitUpdateOne) SetAuthorID(i int64) *GitCommitUpdateOne + func (gcuo *GitCommitUpdateOne) SetAuthorLogin(s string) *GitCommitUpdateOne + func (gcuo *GitCommitUpdateOne) SetDate(t time.Time) *GitCommitUpdateOne + func (gcuo *GitCommitUpdateOne) SetMessage(s string) *GitCommitUpdateOne + func (gcuo *GitCommitUpdateOne) SetNillableAuthorID(i *int64) *GitCommitUpdateOne + func (gcuo *GitCommitUpdateOne) SetNillableAuthorLogin(s *string) *GitCommitUpdateOne + func (gcuo *GitCommitUpdateOne) SetNillableDate(t *time.Time) *GitCommitUpdateOne + func (gcuo *GitCommitUpdateOne) SetNillableMessage(s *string) *GitCommitUpdateOne + func (gcuo *GitCommitUpdateOne) SetNillableRepositoryID(id *int64) *GitCommitUpdateOne + func (gcuo *GitCommitUpdateOne) SetRepository(r *Repository) *GitCommitUpdateOne + func (gcuo *GitCommitUpdateOne) SetRepositoryID(id int64) *GitCommitUpdateOne + func (gcuo *GitCommitUpdateOne) Where(ps ...predicate.GitCommit) *GitCommitUpdateOne + type GitCommitUpsert struct + func (u *GitCommitUpsert) AddAuthorID(v int64) *GitCommitUpsert + func (u *GitCommitUpsert) SetAuthorID(v int64) *GitCommitUpsert + func (u *GitCommitUpsert) SetAuthorLogin(v string) *GitCommitUpsert + func (u *GitCommitUpsert) SetDate(v time.Time) *GitCommitUpsert + func (u *GitCommitUpsert) SetMessage(v string) *GitCommitUpsert + func (u *GitCommitUpsert) UpdateAuthorID() *GitCommitUpsert + func (u *GitCommitUpsert) UpdateAuthorLogin() *GitCommitUpsert + func (u *GitCommitUpsert) UpdateDate() *GitCommitUpsert + func (u *GitCommitUpsert) UpdateMessage() *GitCommitUpsert + type GitCommitUpsertBulk struct + func (u *GitCommitUpsertBulk) AddAuthorID(v int64) *GitCommitUpsertBulk + func (u *GitCommitUpsertBulk) DoNothing() *GitCommitUpsertBulk + func (u *GitCommitUpsertBulk) Exec(ctx context.Context) error + func (u *GitCommitUpsertBulk) ExecX(ctx context.Context) + func (u *GitCommitUpsertBulk) Ignore() *GitCommitUpsertBulk + func (u *GitCommitUpsertBulk) SetAuthorID(v int64) *GitCommitUpsertBulk + func (u *GitCommitUpsertBulk) SetAuthorLogin(v string) *GitCommitUpsertBulk + func (u *GitCommitUpsertBulk) SetDate(v time.Time) *GitCommitUpsertBulk + func (u *GitCommitUpsertBulk) SetMessage(v string) *GitCommitUpsertBulk + func (u *GitCommitUpsertBulk) Update(set func(*GitCommitUpsert)) *GitCommitUpsertBulk + func (u *GitCommitUpsertBulk) UpdateAuthorID() *GitCommitUpsertBulk + func (u *GitCommitUpsertBulk) UpdateAuthorLogin() *GitCommitUpsertBulk + func (u *GitCommitUpsertBulk) UpdateDate() *GitCommitUpsertBulk + func (u *GitCommitUpsertBulk) UpdateMessage() *GitCommitUpsertBulk + func (u *GitCommitUpsertBulk) UpdateNewValues() *GitCommitUpsertBulk + type GitCommitUpsertOne struct + func (u *GitCommitUpsertOne) AddAuthorID(v int64) *GitCommitUpsertOne + func (u *GitCommitUpsertOne) DoNothing() *GitCommitUpsertOne + func (u *GitCommitUpsertOne) Exec(ctx context.Context) error + func (u *GitCommitUpsertOne) ExecX(ctx context.Context) + func (u *GitCommitUpsertOne) ID(ctx context.Context) (id string, err error) + func (u *GitCommitUpsertOne) IDX(ctx context.Context) string + func (u *GitCommitUpsertOne) Ignore() *GitCommitUpsertOne + func (u *GitCommitUpsertOne) SetAuthorID(v int64) *GitCommitUpsertOne + func (u *GitCommitUpsertOne) SetAuthorLogin(v string) *GitCommitUpsertOne + func (u *GitCommitUpsertOne) SetDate(v time.Time) *GitCommitUpsertOne + func (u *GitCommitUpsertOne) SetMessage(v string) *GitCommitUpsertOne + func (u *GitCommitUpsertOne) Update(set func(*GitCommitUpsert)) *GitCommitUpsertOne + func (u *GitCommitUpsertOne) UpdateAuthorID() *GitCommitUpsertOne + func (u *GitCommitUpsertOne) UpdateAuthorLogin() *GitCommitUpsertOne + func (u *GitCommitUpsertOne) UpdateDate() *GitCommitUpsertOne + func (u *GitCommitUpsertOne) UpdateMessage() *GitCommitUpsertOne + func (u *GitCommitUpsertOne) UpdateNewValues() *GitCommitUpsertOne + type GitCommits []*GitCommit + type Hook = ent.Hook + type InterceptFunc = ent.InterceptFunc + type Interceptor = ent.Interceptor + 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 Organization struct + Edges OrganizationEdges + HTMLURL string + ID int64 + Name string + func (o *Organization) NamedRepositories(name string) ([]*Repository, error) + func (o *Organization) QueryRepositories() *RepositoryQuery + func (o *Organization) String() string + func (o *Organization) Unwrap() *Organization + func (o *Organization) Update() *OrganizationUpdateOne + func (o *Organization) Value(name string) (ent.Value, error) + type OrganizationClient struct + func NewOrganizationClient(c config) *OrganizationClient + func (c *OrganizationClient) Create() *OrganizationCreate + func (c *OrganizationClient) CreateBulk(builders ...*OrganizationCreate) *OrganizationCreateBulk + func (c *OrganizationClient) Delete() *OrganizationDelete + func (c *OrganizationClient) DeleteOne(o *Organization) *OrganizationDeleteOne + func (c *OrganizationClient) DeleteOneID(id int64) *OrganizationDeleteOne + func (c *OrganizationClient) Get(ctx context.Context, id int64) (*Organization, error) + func (c *OrganizationClient) GetX(ctx context.Context, id int64) *Organization + func (c *OrganizationClient) Hooks() []Hook + func (c *OrganizationClient) Intercept(interceptors ...Interceptor) + func (c *OrganizationClient) Interceptors() []Interceptor + func (c *OrganizationClient) MapCreateBulk(slice any, setFunc func(*OrganizationCreate, int)) *OrganizationCreateBulk + func (c *OrganizationClient) Query() *OrganizationQuery + func (c *OrganizationClient) QueryRepositories(o *Organization) *RepositoryQuery + func (c *OrganizationClient) Update() *OrganizationUpdate + func (c *OrganizationClient) UpdateOne(o *Organization) *OrganizationUpdateOne + func (c *OrganizationClient) UpdateOneID(id int64) *OrganizationUpdateOne + func (c *OrganizationClient) Use(hooks ...Hook) + type OrganizationCreate struct + func (oc *OrganizationCreate) AddRepositories(r ...*Repository) *OrganizationCreate + func (oc *OrganizationCreate) AddRepositoryIDs(ids ...int64) *OrganizationCreate + func (oc *OrganizationCreate) Exec(ctx context.Context) error + func (oc *OrganizationCreate) ExecX(ctx context.Context) + func (oc *OrganizationCreate) Mutation() *OrganizationMutation + func (oc *OrganizationCreate) OnConflict(opts ...sql.ConflictOption) *OrganizationUpsertOne + func (oc *OrganizationCreate) OnConflictColumns(columns ...string) *OrganizationUpsertOne + func (oc *OrganizationCreate) Save(ctx context.Context) (*Organization, error) + func (oc *OrganizationCreate) SaveX(ctx context.Context) *Organization + func (oc *OrganizationCreate) SetHTMLURL(s string) *OrganizationCreate + func (oc *OrganizationCreate) SetID(i int64) *OrganizationCreate + func (oc *OrganizationCreate) SetName(s string) *OrganizationCreate + func (oc *OrganizationCreate) SetNillableHTMLURL(s *string) *OrganizationCreate + type OrganizationCreateBulk struct + func (ocb *OrganizationCreateBulk) Exec(ctx context.Context) error + func (ocb *OrganizationCreateBulk) ExecX(ctx context.Context) + func (ocb *OrganizationCreateBulk) OnConflict(opts ...sql.ConflictOption) *OrganizationUpsertBulk + func (ocb *OrganizationCreateBulk) OnConflictColumns(columns ...string) *OrganizationUpsertBulk + func (ocb *OrganizationCreateBulk) Save(ctx context.Context) ([]*Organization, error) + func (ocb *OrganizationCreateBulk) SaveX(ctx context.Context) []*Organization + type OrganizationDelete struct + func (od *OrganizationDelete) Exec(ctx context.Context) (int, error) + func (od *OrganizationDelete) ExecX(ctx context.Context) int + func (od *OrganizationDelete) Where(ps ...predicate.Organization) *OrganizationDelete + type OrganizationDeleteOne struct + func (odo *OrganizationDeleteOne) Exec(ctx context.Context) error + func (odo *OrganizationDeleteOne) ExecX(ctx context.Context) + func (odo *OrganizationDeleteOne) Where(ps ...predicate.Organization) *OrganizationDeleteOne + type OrganizationEdges struct + Repositories []*Repository + func (e OrganizationEdges) RepositoriesOrErr() ([]*Repository, error) + type OrganizationGroupBy struct + func (ogb *OrganizationGroupBy) Aggregate(fns ...AggregateFunc) *OrganizationGroupBy + func (ogb *OrganizationGroupBy) Scan(ctx context.Context, v any) error + func (s *OrganizationGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *OrganizationGroupBy) BoolX(ctx context.Context) bool + func (s *OrganizationGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *OrganizationGroupBy) BoolsX(ctx context.Context) []bool + func (s *OrganizationGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *OrganizationGroupBy) Float64X(ctx context.Context) float64 + func (s *OrganizationGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *OrganizationGroupBy) Float64sX(ctx context.Context) []float64 + func (s *OrganizationGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *OrganizationGroupBy) IntX(ctx context.Context) int + func (s *OrganizationGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *OrganizationGroupBy) IntsX(ctx context.Context) []int + func (s *OrganizationGroupBy) ScanX(ctx context.Context, v any) + func (s *OrganizationGroupBy) String(ctx context.Context) (_ string, err error) + func (s *OrganizationGroupBy) StringX(ctx context.Context) string + func (s *OrganizationGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *OrganizationGroupBy) StringsX(ctx context.Context) []string + type OrganizationMutation struct + func (m *OrganizationMutation) AddField(name string, value ent.Value) error + func (m *OrganizationMutation) AddRepositoryIDs(ids ...int64) + func (m *OrganizationMutation) AddedEdges() []string + func (m *OrganizationMutation) AddedField(name string) (ent.Value, bool) + func (m *OrganizationMutation) AddedFields() []string + func (m *OrganizationMutation) AddedIDs(name string) []ent.Value + func (m *OrganizationMutation) ClearEdge(name string) error + func (m *OrganizationMutation) ClearField(name string) error + func (m *OrganizationMutation) ClearHTMLURL() + func (m *OrganizationMutation) ClearRepositories() + func (m *OrganizationMutation) ClearedEdges() []string + func (m *OrganizationMutation) ClearedFields() []string + func (m *OrganizationMutation) EdgeCleared(name string) bool + func (m *OrganizationMutation) Field(name string) (ent.Value, bool) + func (m *OrganizationMutation) FieldCleared(name string) bool + func (m *OrganizationMutation) Fields() []string + func (m *OrganizationMutation) HTMLURL() (r string, exists bool) + func (m *OrganizationMutation) HTMLURLCleared() bool + func (m *OrganizationMutation) ID() (id int64, exists bool) + func (m *OrganizationMutation) IDs(ctx context.Context) ([]int64, error) + func (m *OrganizationMutation) Name() (r string, exists bool) + func (m *OrganizationMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *OrganizationMutation) OldHTMLURL(ctx context.Context) (v string, err error) + func (m *OrganizationMutation) OldName(ctx context.Context) (v string, err error) + func (m *OrganizationMutation) Op() Op + func (m *OrganizationMutation) RemoveRepositoryIDs(ids ...int64) + func (m *OrganizationMutation) RemovedEdges() []string + func (m *OrganizationMutation) RemovedIDs(name string) []ent.Value + func (m *OrganizationMutation) RemovedRepositoriesIDs() (ids []int64) + func (m *OrganizationMutation) RepositoriesCleared() bool + func (m *OrganizationMutation) RepositoriesIDs() (ids []int64) + func (m *OrganizationMutation) ResetEdge(name string) error + func (m *OrganizationMutation) ResetField(name string) error + func (m *OrganizationMutation) ResetHTMLURL() + func (m *OrganizationMutation) ResetName() + func (m *OrganizationMutation) ResetRepositories() + func (m *OrganizationMutation) SetField(name string, value ent.Value) error + func (m *OrganizationMutation) SetHTMLURL(s string) + func (m *OrganizationMutation) SetID(id int64) + func (m *OrganizationMutation) SetName(s string) + func (m *OrganizationMutation) SetOp(op Op) + func (m *OrganizationMutation) Type() string + func (m *OrganizationMutation) Where(ps ...predicate.Organization) + func (m *OrganizationMutation) WhereP(ps ...func(*sql.Selector)) + func (m OrganizationMutation) Client() *Client + func (m OrganizationMutation) Tx() (*Tx, error) + type OrganizationQuery struct + func (oq *OrganizationQuery) Aggregate(fns ...AggregateFunc) *OrganizationSelect + func (oq *OrganizationQuery) All(ctx context.Context) ([]*Organization, error) + func (oq *OrganizationQuery) AllX(ctx context.Context) []*Organization + func (oq *OrganizationQuery) Clone() *OrganizationQuery + func (oq *OrganizationQuery) Count(ctx context.Context) (int, error) + func (oq *OrganizationQuery) CountX(ctx context.Context) int + func (oq *OrganizationQuery) Exist(ctx context.Context) (bool, error) + func (oq *OrganizationQuery) ExistX(ctx context.Context) bool + func (oq *OrganizationQuery) First(ctx context.Context) (*Organization, error) + func (oq *OrganizationQuery) FirstID(ctx context.Context) (id int64, err error) + func (oq *OrganizationQuery) FirstIDX(ctx context.Context) int64 + func (oq *OrganizationQuery) FirstX(ctx context.Context) *Organization + func (oq *OrganizationQuery) GroupBy(field string, fields ...string) *OrganizationGroupBy + func (oq *OrganizationQuery) IDs(ctx context.Context) (ids []int64, err error) + func (oq *OrganizationQuery) IDsX(ctx context.Context) []int64 + func (oq *OrganizationQuery) Limit(limit int) *OrganizationQuery + func (oq *OrganizationQuery) Offset(offset int) *OrganizationQuery + func (oq *OrganizationQuery) Only(ctx context.Context) (*Organization, error) + func (oq *OrganizationQuery) OnlyID(ctx context.Context) (id int64, err error) + func (oq *OrganizationQuery) OnlyIDX(ctx context.Context) int64 + func (oq *OrganizationQuery) OnlyX(ctx context.Context) *Organization + func (oq *OrganizationQuery) Order(o ...organization.OrderOption) *OrganizationQuery + func (oq *OrganizationQuery) QueryRepositories() *RepositoryQuery + func (oq *OrganizationQuery) Select(fields ...string) *OrganizationSelect + func (oq *OrganizationQuery) Unique(unique bool) *OrganizationQuery + func (oq *OrganizationQuery) Where(ps ...predicate.Organization) *OrganizationQuery + func (oq *OrganizationQuery) WithNamedRepositories(name string, opts ...func(*RepositoryQuery)) *OrganizationQuery + func (oq *OrganizationQuery) WithRepositories(opts ...func(*RepositoryQuery)) *OrganizationQuery + type OrganizationSelect struct + func (os *OrganizationSelect) Aggregate(fns ...AggregateFunc) *OrganizationSelect + func (os *OrganizationSelect) Scan(ctx context.Context, v any) error + func (s *OrganizationSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *OrganizationSelect) BoolX(ctx context.Context) bool + func (s *OrganizationSelect) Bools(ctx context.Context) ([]bool, error) + func (s *OrganizationSelect) BoolsX(ctx context.Context) []bool + func (s *OrganizationSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *OrganizationSelect) Float64X(ctx context.Context) float64 + func (s *OrganizationSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *OrganizationSelect) Float64sX(ctx context.Context) []float64 + func (s *OrganizationSelect) Int(ctx context.Context) (_ int, err error) + func (s *OrganizationSelect) IntX(ctx context.Context) int + func (s *OrganizationSelect) Ints(ctx context.Context) ([]int, error) + func (s *OrganizationSelect) IntsX(ctx context.Context) []int + func (s *OrganizationSelect) ScanX(ctx context.Context, v any) + func (s *OrganizationSelect) String(ctx context.Context) (_ string, err error) + func (s *OrganizationSelect) StringX(ctx context.Context) string + func (s *OrganizationSelect) Strings(ctx context.Context) ([]string, error) + func (s *OrganizationSelect) StringsX(ctx context.Context) []string + type OrganizationUpdate struct + func (ou *OrganizationUpdate) AddRepositories(r ...*Repository) *OrganizationUpdate + func (ou *OrganizationUpdate) AddRepositoryIDs(ids ...int64) *OrganizationUpdate + func (ou *OrganizationUpdate) ClearHTMLURL() *OrganizationUpdate + func (ou *OrganizationUpdate) ClearRepositories() *OrganizationUpdate + func (ou *OrganizationUpdate) Exec(ctx context.Context) error + func (ou *OrganizationUpdate) ExecX(ctx context.Context) + func (ou *OrganizationUpdate) Mutation() *OrganizationMutation + func (ou *OrganizationUpdate) RemoveRepositories(r ...*Repository) *OrganizationUpdate + func (ou *OrganizationUpdate) RemoveRepositoryIDs(ids ...int64) *OrganizationUpdate + func (ou *OrganizationUpdate) Save(ctx context.Context) (int, error) + func (ou *OrganizationUpdate) SaveX(ctx context.Context) int + func (ou *OrganizationUpdate) SetHTMLURL(s string) *OrganizationUpdate + func (ou *OrganizationUpdate) SetName(s string) *OrganizationUpdate + func (ou *OrganizationUpdate) SetNillableHTMLURL(s *string) *OrganizationUpdate + func (ou *OrganizationUpdate) SetNillableName(s *string) *OrganizationUpdate + func (ou *OrganizationUpdate) Where(ps ...predicate.Organization) *OrganizationUpdate + type OrganizationUpdateOne struct + func (ouo *OrganizationUpdateOne) AddRepositories(r ...*Repository) *OrganizationUpdateOne + func (ouo *OrganizationUpdateOne) AddRepositoryIDs(ids ...int64) *OrganizationUpdateOne + func (ouo *OrganizationUpdateOne) ClearHTMLURL() *OrganizationUpdateOne + func (ouo *OrganizationUpdateOne) ClearRepositories() *OrganizationUpdateOne + func (ouo *OrganizationUpdateOne) Exec(ctx context.Context) error + func (ouo *OrganizationUpdateOne) ExecX(ctx context.Context) + func (ouo *OrganizationUpdateOne) Mutation() *OrganizationMutation + func (ouo *OrganizationUpdateOne) RemoveRepositories(r ...*Repository) *OrganizationUpdateOne + func (ouo *OrganizationUpdateOne) RemoveRepositoryIDs(ids ...int64) *OrganizationUpdateOne + func (ouo *OrganizationUpdateOne) Save(ctx context.Context) (*Organization, error) + func (ouo *OrganizationUpdateOne) SaveX(ctx context.Context) *Organization + func (ouo *OrganizationUpdateOne) Select(field string, fields ...string) *OrganizationUpdateOne + func (ouo *OrganizationUpdateOne) SetHTMLURL(s string) *OrganizationUpdateOne + func (ouo *OrganizationUpdateOne) SetName(s string) *OrganizationUpdateOne + func (ouo *OrganizationUpdateOne) SetNillableHTMLURL(s *string) *OrganizationUpdateOne + func (ouo *OrganizationUpdateOne) SetNillableName(s *string) *OrganizationUpdateOne + func (ouo *OrganizationUpdateOne) Where(ps ...predicate.Organization) *OrganizationUpdateOne + type OrganizationUpsert struct + func (u *OrganizationUpsert) ClearHTMLURL() *OrganizationUpsert + func (u *OrganizationUpsert) SetHTMLURL(v string) *OrganizationUpsert + func (u *OrganizationUpsert) SetName(v string) *OrganizationUpsert + func (u *OrganizationUpsert) UpdateHTMLURL() *OrganizationUpsert + func (u *OrganizationUpsert) UpdateName() *OrganizationUpsert + type OrganizationUpsertBulk struct + func (u *OrganizationUpsertBulk) ClearHTMLURL() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) DoNothing() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) Exec(ctx context.Context) error + func (u *OrganizationUpsertBulk) ExecX(ctx context.Context) + func (u *OrganizationUpsertBulk) Ignore() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) SetHTMLURL(v string) *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) SetName(v string) *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) Update(set func(*OrganizationUpsert)) *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) UpdateHTMLURL() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) UpdateName() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) UpdateNewValues() *OrganizationUpsertBulk + type OrganizationUpsertOne struct + func (u *OrganizationUpsertOne) ClearHTMLURL() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) DoNothing() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) Exec(ctx context.Context) error + func (u *OrganizationUpsertOne) ExecX(ctx context.Context) + func (u *OrganizationUpsertOne) ID(ctx context.Context) (id int64, err error) + func (u *OrganizationUpsertOne) IDX(ctx context.Context) int64 + func (u *OrganizationUpsertOne) Ignore() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) SetHTMLURL(v string) *OrganizationUpsertOne + func (u *OrganizationUpsertOne) SetName(v string) *OrganizationUpsertOne + func (u *OrganizationUpsertOne) Update(set func(*OrganizationUpsert)) *OrganizationUpsertOne + func (u *OrganizationUpsertOne) UpdateHTMLURL() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) UpdateName() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) UpdateNewValues() *OrganizationUpsertOne + type Organizations []*Organization + type Policy = ent.Policy + type Querier = ent.Querier + type QuerierFunc = ent.QuerierFunc + type Query = ent.Query + type QueryContext = ent.QueryContext + type Repositories []*Repository + type Repository struct + Description string + Edges RepositoryEdges + FullName string + HTMLURL string + ID int64 + LastEventAt time.Time + LastPushedAt time.Time + Name string + func (r *Repository) NamedCommits(name string) ([]*GitCommit, error) + func (r *Repository) QueryCommits() *GitCommitQuery + func (r *Repository) QueryOrganization() *OrganizationQuery + func (r *Repository) String() string + func (r *Repository) Unwrap() *Repository + func (r *Repository) Update() *RepositoryUpdateOne + func (r *Repository) Value(name string) (ent.Value, error) + type RepositoryClient struct + func NewRepositoryClient(c config) *RepositoryClient + func (c *RepositoryClient) Create() *RepositoryCreate + func (c *RepositoryClient) CreateBulk(builders ...*RepositoryCreate) *RepositoryCreateBulk + func (c *RepositoryClient) Delete() *RepositoryDelete + func (c *RepositoryClient) DeleteOne(r *Repository) *RepositoryDeleteOne + func (c *RepositoryClient) DeleteOneID(id int64) *RepositoryDeleteOne + func (c *RepositoryClient) Get(ctx context.Context, id int64) (*Repository, error) + func (c *RepositoryClient) GetX(ctx context.Context, id int64) *Repository + func (c *RepositoryClient) Hooks() []Hook + func (c *RepositoryClient) Intercept(interceptors ...Interceptor) + func (c *RepositoryClient) Interceptors() []Interceptor + func (c *RepositoryClient) MapCreateBulk(slice any, setFunc func(*RepositoryCreate, int)) *RepositoryCreateBulk + func (c *RepositoryClient) Query() *RepositoryQuery + func (c *RepositoryClient) QueryCommits(r *Repository) *GitCommitQuery + func (c *RepositoryClient) QueryOrganization(r *Repository) *OrganizationQuery + func (c *RepositoryClient) Update() *RepositoryUpdate + func (c *RepositoryClient) UpdateOne(r *Repository) *RepositoryUpdateOne + func (c *RepositoryClient) UpdateOneID(id int64) *RepositoryUpdateOne + func (c *RepositoryClient) Use(hooks ...Hook) + type RepositoryCreate struct + func (rc *RepositoryCreate) AddCommitIDs(ids ...string) *RepositoryCreate + func (rc *RepositoryCreate) AddCommits(g ...*GitCommit) *RepositoryCreate + func (rc *RepositoryCreate) Exec(ctx context.Context) error + func (rc *RepositoryCreate) ExecX(ctx context.Context) + func (rc *RepositoryCreate) Mutation() *RepositoryMutation + func (rc *RepositoryCreate) OnConflict(opts ...sql.ConflictOption) *RepositoryUpsertOne + func (rc *RepositoryCreate) OnConflictColumns(columns ...string) *RepositoryUpsertOne + func (rc *RepositoryCreate) Save(ctx context.Context) (*Repository, error) + func (rc *RepositoryCreate) SaveX(ctx context.Context) *Repository + func (rc *RepositoryCreate) SetDescription(s string) *RepositoryCreate + func (rc *RepositoryCreate) SetFullName(s string) *RepositoryCreate + func (rc *RepositoryCreate) SetHTMLURL(s string) *RepositoryCreate + func (rc *RepositoryCreate) SetID(i int64) *RepositoryCreate + func (rc *RepositoryCreate) SetLastEventAt(t time.Time) *RepositoryCreate + func (rc *RepositoryCreate) SetLastPushedAt(t time.Time) *RepositoryCreate + func (rc *RepositoryCreate) SetName(s string) *RepositoryCreate + func (rc *RepositoryCreate) SetNillableDescription(s *string) *RepositoryCreate + func (rc *RepositoryCreate) SetNillableHTMLURL(s *string) *RepositoryCreate + func (rc *RepositoryCreate) SetNillableLastEventAt(t *time.Time) *RepositoryCreate + func (rc *RepositoryCreate) SetNillableLastPushedAt(t *time.Time) *RepositoryCreate + func (rc *RepositoryCreate) SetNillableOrganizationID(id *int64) *RepositoryCreate + func (rc *RepositoryCreate) SetOrganization(o *Organization) *RepositoryCreate + func (rc *RepositoryCreate) SetOrganizationID(id int64) *RepositoryCreate + type RepositoryCreateBulk struct + func (rcb *RepositoryCreateBulk) Exec(ctx context.Context) error + func (rcb *RepositoryCreateBulk) ExecX(ctx context.Context) + func (rcb *RepositoryCreateBulk) OnConflict(opts ...sql.ConflictOption) *RepositoryUpsertBulk + func (rcb *RepositoryCreateBulk) OnConflictColumns(columns ...string) *RepositoryUpsertBulk + func (rcb *RepositoryCreateBulk) Save(ctx context.Context) ([]*Repository, error) + func (rcb *RepositoryCreateBulk) SaveX(ctx context.Context) []*Repository + type RepositoryDelete struct + func (rd *RepositoryDelete) Exec(ctx context.Context) (int, error) + func (rd *RepositoryDelete) ExecX(ctx context.Context) int + func (rd *RepositoryDelete) Where(ps ...predicate.Repository) *RepositoryDelete + type RepositoryDeleteOne struct + func (rdo *RepositoryDeleteOne) Exec(ctx context.Context) error + func (rdo *RepositoryDeleteOne) ExecX(ctx context.Context) + func (rdo *RepositoryDeleteOne) Where(ps ...predicate.Repository) *RepositoryDeleteOne + type RepositoryEdges struct + Commits []*GitCommit + Organization *Organization + func (e RepositoryEdges) CommitsOrErr() ([]*GitCommit, error) + func (e RepositoryEdges) OrganizationOrErr() (*Organization, error) + type RepositoryGroupBy struct + func (rgb *RepositoryGroupBy) Aggregate(fns ...AggregateFunc) *RepositoryGroupBy + func (rgb *RepositoryGroupBy) Scan(ctx context.Context, v any) error + func (s *RepositoryGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *RepositoryGroupBy) BoolX(ctx context.Context) bool + func (s *RepositoryGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *RepositoryGroupBy) BoolsX(ctx context.Context) []bool + func (s *RepositoryGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *RepositoryGroupBy) Float64X(ctx context.Context) float64 + func (s *RepositoryGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *RepositoryGroupBy) Float64sX(ctx context.Context) []float64 + func (s *RepositoryGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *RepositoryGroupBy) IntX(ctx context.Context) int + func (s *RepositoryGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *RepositoryGroupBy) IntsX(ctx context.Context) []int + func (s *RepositoryGroupBy) ScanX(ctx context.Context, v any) + func (s *RepositoryGroupBy) String(ctx context.Context) (_ string, err error) + func (s *RepositoryGroupBy) StringX(ctx context.Context) string + func (s *RepositoryGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *RepositoryGroupBy) StringsX(ctx context.Context) []string + type RepositoryMutation struct + func (m *RepositoryMutation) AddCommitIDs(ids ...string) + func (m *RepositoryMutation) AddField(name string, value ent.Value) error + func (m *RepositoryMutation) AddedEdges() []string + func (m *RepositoryMutation) AddedField(name string) (ent.Value, bool) + func (m *RepositoryMutation) AddedFields() []string + func (m *RepositoryMutation) AddedIDs(name string) []ent.Value + func (m *RepositoryMutation) ClearCommits() + func (m *RepositoryMutation) ClearEdge(name string) error + func (m *RepositoryMutation) ClearField(name string) error + func (m *RepositoryMutation) ClearHTMLURL() + func (m *RepositoryMutation) ClearLastEventAt() + func (m *RepositoryMutation) ClearLastPushedAt() + func (m *RepositoryMutation) ClearOrganization() + func (m *RepositoryMutation) ClearedEdges() []string + func (m *RepositoryMutation) ClearedFields() []string + func (m *RepositoryMutation) CommitsCleared() bool + func (m *RepositoryMutation) CommitsIDs() (ids []string) + func (m *RepositoryMutation) Description() (r string, exists bool) + func (m *RepositoryMutation) EdgeCleared(name string) bool + func (m *RepositoryMutation) Field(name string) (ent.Value, bool) + func (m *RepositoryMutation) FieldCleared(name string) bool + func (m *RepositoryMutation) Fields() []string + func (m *RepositoryMutation) FullName() (r string, exists bool) + func (m *RepositoryMutation) HTMLURL() (r string, exists bool) + func (m *RepositoryMutation) HTMLURLCleared() bool + func (m *RepositoryMutation) ID() (id int64, exists bool) + func (m *RepositoryMutation) IDs(ctx context.Context) ([]int64, error) + func (m *RepositoryMutation) LastEventAt() (r time.Time, exists bool) + func (m *RepositoryMutation) LastEventAtCleared() bool + func (m *RepositoryMutation) LastPushedAt() (r time.Time, exists bool) + func (m *RepositoryMutation) LastPushedAtCleared() bool + func (m *RepositoryMutation) Name() (r string, exists bool) + func (m *RepositoryMutation) OldDescription(ctx context.Context) (v string, err error) + func (m *RepositoryMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *RepositoryMutation) OldFullName(ctx context.Context) (v string, err error) + func (m *RepositoryMutation) OldHTMLURL(ctx context.Context) (v string, err error) + func (m *RepositoryMutation) OldLastEventAt(ctx context.Context) (v time.Time, err error) + func (m *RepositoryMutation) OldLastPushedAt(ctx context.Context) (v time.Time, err error) + func (m *RepositoryMutation) OldName(ctx context.Context) (v string, err error) + func (m *RepositoryMutation) Op() Op + func (m *RepositoryMutation) OrganizationCleared() bool + func (m *RepositoryMutation) OrganizationID() (id int64, exists bool) + func (m *RepositoryMutation) OrganizationIDs() (ids []int64) + func (m *RepositoryMutation) RemoveCommitIDs(ids ...string) + func (m *RepositoryMutation) RemovedCommitsIDs() (ids []string) + func (m *RepositoryMutation) RemovedEdges() []string + func (m *RepositoryMutation) RemovedIDs(name string) []ent.Value + func (m *RepositoryMutation) ResetCommits() + func (m *RepositoryMutation) ResetDescription() + func (m *RepositoryMutation) ResetEdge(name string) error + func (m *RepositoryMutation) ResetField(name string) error + func (m *RepositoryMutation) ResetFullName() + func (m *RepositoryMutation) ResetHTMLURL() + func (m *RepositoryMutation) ResetLastEventAt() + func (m *RepositoryMutation) ResetLastPushedAt() + func (m *RepositoryMutation) ResetName() + func (m *RepositoryMutation) ResetOrganization() + func (m *RepositoryMutation) SetDescription(s string) + func (m *RepositoryMutation) SetField(name string, value ent.Value) error + func (m *RepositoryMutation) SetFullName(s string) + func (m *RepositoryMutation) SetHTMLURL(s string) + func (m *RepositoryMutation) SetID(id int64) + func (m *RepositoryMutation) SetLastEventAt(t time.Time) + func (m *RepositoryMutation) SetLastPushedAt(t time.Time) + func (m *RepositoryMutation) SetName(s string) + func (m *RepositoryMutation) SetOp(op Op) + func (m *RepositoryMutation) SetOrganizationID(id int64) + func (m *RepositoryMutation) Type() string + func (m *RepositoryMutation) Where(ps ...predicate.Repository) + func (m *RepositoryMutation) WhereP(ps ...func(*sql.Selector)) + func (m RepositoryMutation) Client() *Client + func (m RepositoryMutation) Tx() (*Tx, error) + type RepositoryQuery struct + func (rq *RepositoryQuery) Aggregate(fns ...AggregateFunc) *RepositorySelect + func (rq *RepositoryQuery) All(ctx context.Context) ([]*Repository, error) + func (rq *RepositoryQuery) AllX(ctx context.Context) []*Repository + func (rq *RepositoryQuery) Clone() *RepositoryQuery + func (rq *RepositoryQuery) Count(ctx context.Context) (int, error) + func (rq *RepositoryQuery) CountX(ctx context.Context) int + func (rq *RepositoryQuery) Exist(ctx context.Context) (bool, error) + func (rq *RepositoryQuery) ExistX(ctx context.Context) bool + func (rq *RepositoryQuery) First(ctx context.Context) (*Repository, error) + func (rq *RepositoryQuery) FirstID(ctx context.Context) (id int64, err error) + func (rq *RepositoryQuery) FirstIDX(ctx context.Context) int64 + func (rq *RepositoryQuery) FirstX(ctx context.Context) *Repository + func (rq *RepositoryQuery) GroupBy(field string, fields ...string) *RepositoryGroupBy + func (rq *RepositoryQuery) IDs(ctx context.Context) (ids []int64, err error) + func (rq *RepositoryQuery) IDsX(ctx context.Context) []int64 + func (rq *RepositoryQuery) Limit(limit int) *RepositoryQuery + func (rq *RepositoryQuery) Offset(offset int) *RepositoryQuery + func (rq *RepositoryQuery) Only(ctx context.Context) (*Repository, error) + func (rq *RepositoryQuery) OnlyID(ctx context.Context) (id int64, err error) + func (rq *RepositoryQuery) OnlyIDX(ctx context.Context) int64 + func (rq *RepositoryQuery) OnlyX(ctx context.Context) *Repository + func (rq *RepositoryQuery) Order(o ...repository.OrderOption) *RepositoryQuery + func (rq *RepositoryQuery) QueryCommits() *GitCommitQuery + func (rq *RepositoryQuery) QueryOrganization() *OrganizationQuery + func (rq *RepositoryQuery) Select(fields ...string) *RepositorySelect + func (rq *RepositoryQuery) Unique(unique bool) *RepositoryQuery + func (rq *RepositoryQuery) Where(ps ...predicate.Repository) *RepositoryQuery + func (rq *RepositoryQuery) WithCommits(opts ...func(*GitCommitQuery)) *RepositoryQuery + func (rq *RepositoryQuery) WithNamedCommits(name string, opts ...func(*GitCommitQuery)) *RepositoryQuery + func (rq *RepositoryQuery) WithOrganization(opts ...func(*OrganizationQuery)) *RepositoryQuery + type RepositorySelect struct + func (rs *RepositorySelect) Aggregate(fns ...AggregateFunc) *RepositorySelect + func (rs *RepositorySelect) Scan(ctx context.Context, v any) error + func (s *RepositorySelect) Bool(ctx context.Context) (_ bool, err error) + func (s *RepositorySelect) BoolX(ctx context.Context) bool + func (s *RepositorySelect) Bools(ctx context.Context) ([]bool, error) + func (s *RepositorySelect) BoolsX(ctx context.Context) []bool + func (s *RepositorySelect) Float64(ctx context.Context) (_ float64, err error) + func (s *RepositorySelect) Float64X(ctx context.Context) float64 + func (s *RepositorySelect) Float64s(ctx context.Context) ([]float64, error) + func (s *RepositorySelect) Float64sX(ctx context.Context) []float64 + func (s *RepositorySelect) Int(ctx context.Context) (_ int, err error) + func (s *RepositorySelect) IntX(ctx context.Context) int + func (s *RepositorySelect) Ints(ctx context.Context) ([]int, error) + func (s *RepositorySelect) IntsX(ctx context.Context) []int + func (s *RepositorySelect) ScanX(ctx context.Context, v any) + func (s *RepositorySelect) String(ctx context.Context) (_ string, err error) + func (s *RepositorySelect) StringX(ctx context.Context) string + func (s *RepositorySelect) Strings(ctx context.Context) ([]string, error) + func (s *RepositorySelect) StringsX(ctx context.Context) []string + type RepositoryUpdate struct + func (ru *RepositoryUpdate) AddCommitIDs(ids ...string) *RepositoryUpdate + func (ru *RepositoryUpdate) AddCommits(g ...*GitCommit) *RepositoryUpdate + func (ru *RepositoryUpdate) ClearCommits() *RepositoryUpdate + func (ru *RepositoryUpdate) ClearHTMLURL() *RepositoryUpdate + func (ru *RepositoryUpdate) ClearLastEventAt() *RepositoryUpdate + func (ru *RepositoryUpdate) ClearLastPushedAt() *RepositoryUpdate + func (ru *RepositoryUpdate) ClearOrganization() *RepositoryUpdate + func (ru *RepositoryUpdate) Exec(ctx context.Context) error + func (ru *RepositoryUpdate) ExecX(ctx context.Context) + func (ru *RepositoryUpdate) Mutation() *RepositoryMutation + func (ru *RepositoryUpdate) RemoveCommitIDs(ids ...string) *RepositoryUpdate + func (ru *RepositoryUpdate) RemoveCommits(g ...*GitCommit) *RepositoryUpdate + func (ru *RepositoryUpdate) Save(ctx context.Context) (int, error) + func (ru *RepositoryUpdate) SaveX(ctx context.Context) int + func (ru *RepositoryUpdate) SetDescription(s string) *RepositoryUpdate + func (ru *RepositoryUpdate) SetFullName(s string) *RepositoryUpdate + func (ru *RepositoryUpdate) SetHTMLURL(s string) *RepositoryUpdate + func (ru *RepositoryUpdate) SetLastEventAt(t time.Time) *RepositoryUpdate + func (ru *RepositoryUpdate) SetLastPushedAt(t time.Time) *RepositoryUpdate + func (ru *RepositoryUpdate) SetName(s string) *RepositoryUpdate + func (ru *RepositoryUpdate) SetNillableDescription(s *string) *RepositoryUpdate + func (ru *RepositoryUpdate) SetNillableFullName(s *string) *RepositoryUpdate + func (ru *RepositoryUpdate) SetNillableHTMLURL(s *string) *RepositoryUpdate + func (ru *RepositoryUpdate) SetNillableLastEventAt(t *time.Time) *RepositoryUpdate + func (ru *RepositoryUpdate) SetNillableLastPushedAt(t *time.Time) *RepositoryUpdate + func (ru *RepositoryUpdate) SetNillableName(s *string) *RepositoryUpdate + func (ru *RepositoryUpdate) SetNillableOrganizationID(id *int64) *RepositoryUpdate + func (ru *RepositoryUpdate) SetOrganization(o *Organization) *RepositoryUpdate + func (ru *RepositoryUpdate) SetOrganizationID(id int64) *RepositoryUpdate + func (ru *RepositoryUpdate) Where(ps ...predicate.Repository) *RepositoryUpdate + type RepositoryUpdateOne struct + func (ruo *RepositoryUpdateOne) AddCommitIDs(ids ...string) *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) AddCommits(g ...*GitCommit) *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) ClearCommits() *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) ClearHTMLURL() *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) ClearLastEventAt() *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) ClearLastPushedAt() *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) ClearOrganization() *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) Exec(ctx context.Context) error + func (ruo *RepositoryUpdateOne) ExecX(ctx context.Context) + func (ruo *RepositoryUpdateOne) Mutation() *RepositoryMutation + func (ruo *RepositoryUpdateOne) RemoveCommitIDs(ids ...string) *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) RemoveCommits(g ...*GitCommit) *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) Save(ctx context.Context) (*Repository, error) + func (ruo *RepositoryUpdateOne) SaveX(ctx context.Context) *Repository + func (ruo *RepositoryUpdateOne) Select(field string, fields ...string) *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) SetDescription(s string) *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) SetFullName(s string) *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) SetHTMLURL(s string) *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) SetLastEventAt(t time.Time) *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) SetLastPushedAt(t time.Time) *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) SetName(s string) *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) SetNillableDescription(s *string) *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) SetNillableFullName(s *string) *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) SetNillableHTMLURL(s *string) *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) SetNillableLastEventAt(t *time.Time) *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) SetNillableLastPushedAt(t *time.Time) *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) SetNillableName(s *string) *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) SetNillableOrganizationID(id *int64) *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) SetOrganization(o *Organization) *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) SetOrganizationID(id int64) *RepositoryUpdateOne + func (ruo *RepositoryUpdateOne) Where(ps ...predicate.Repository) *RepositoryUpdateOne + type RepositoryUpsert struct + func (u *RepositoryUpsert) ClearHTMLURL() *RepositoryUpsert + func (u *RepositoryUpsert) ClearLastEventAt() *RepositoryUpsert + func (u *RepositoryUpsert) ClearLastPushedAt() *RepositoryUpsert + func (u *RepositoryUpsert) SetDescription(v string) *RepositoryUpsert + func (u *RepositoryUpsert) SetFullName(v string) *RepositoryUpsert + func (u *RepositoryUpsert) SetHTMLURL(v string) *RepositoryUpsert + func (u *RepositoryUpsert) SetLastEventAt(v time.Time) *RepositoryUpsert + func (u *RepositoryUpsert) SetLastPushedAt(v time.Time) *RepositoryUpsert + func (u *RepositoryUpsert) SetName(v string) *RepositoryUpsert + func (u *RepositoryUpsert) UpdateDescription() *RepositoryUpsert + func (u *RepositoryUpsert) UpdateFullName() *RepositoryUpsert + func (u *RepositoryUpsert) UpdateHTMLURL() *RepositoryUpsert + func (u *RepositoryUpsert) UpdateLastEventAt() *RepositoryUpsert + func (u *RepositoryUpsert) UpdateLastPushedAt() *RepositoryUpsert + func (u *RepositoryUpsert) UpdateName() *RepositoryUpsert + type RepositoryUpsertBulk struct + func (u *RepositoryUpsertBulk) ClearHTMLURL() *RepositoryUpsertBulk + func (u *RepositoryUpsertBulk) ClearLastEventAt() *RepositoryUpsertBulk + func (u *RepositoryUpsertBulk) ClearLastPushedAt() *RepositoryUpsertBulk + func (u *RepositoryUpsertBulk) DoNothing() *RepositoryUpsertBulk + func (u *RepositoryUpsertBulk) Exec(ctx context.Context) error + func (u *RepositoryUpsertBulk) ExecX(ctx context.Context) + func (u *RepositoryUpsertBulk) Ignore() *RepositoryUpsertBulk + func (u *RepositoryUpsertBulk) SetDescription(v string) *RepositoryUpsertBulk + func (u *RepositoryUpsertBulk) SetFullName(v string) *RepositoryUpsertBulk + func (u *RepositoryUpsertBulk) SetHTMLURL(v string) *RepositoryUpsertBulk + func (u *RepositoryUpsertBulk) SetLastEventAt(v time.Time) *RepositoryUpsertBulk + func (u *RepositoryUpsertBulk) SetLastPushedAt(v time.Time) *RepositoryUpsertBulk + func (u *RepositoryUpsertBulk) SetName(v string) *RepositoryUpsertBulk + func (u *RepositoryUpsertBulk) Update(set func(*RepositoryUpsert)) *RepositoryUpsertBulk + func (u *RepositoryUpsertBulk) UpdateDescription() *RepositoryUpsertBulk + func (u *RepositoryUpsertBulk) UpdateFullName() *RepositoryUpsertBulk + func (u *RepositoryUpsertBulk) UpdateHTMLURL() *RepositoryUpsertBulk + func (u *RepositoryUpsertBulk) UpdateLastEventAt() *RepositoryUpsertBulk + func (u *RepositoryUpsertBulk) UpdateLastPushedAt() *RepositoryUpsertBulk + func (u *RepositoryUpsertBulk) UpdateName() *RepositoryUpsertBulk + func (u *RepositoryUpsertBulk) UpdateNewValues() *RepositoryUpsertBulk + type RepositoryUpsertOne struct + func (u *RepositoryUpsertOne) ClearHTMLURL() *RepositoryUpsertOne + func (u *RepositoryUpsertOne) ClearLastEventAt() *RepositoryUpsertOne + func (u *RepositoryUpsertOne) ClearLastPushedAt() *RepositoryUpsertOne + func (u *RepositoryUpsertOne) DoNothing() *RepositoryUpsertOne + func (u *RepositoryUpsertOne) Exec(ctx context.Context) error + func (u *RepositoryUpsertOne) ExecX(ctx context.Context) + func (u *RepositoryUpsertOne) ID(ctx context.Context) (id int64, err error) + func (u *RepositoryUpsertOne) IDX(ctx context.Context) int64 + func (u *RepositoryUpsertOne) Ignore() *RepositoryUpsertOne + func (u *RepositoryUpsertOne) SetDescription(v string) *RepositoryUpsertOne + func (u *RepositoryUpsertOne) SetFullName(v string) *RepositoryUpsertOne + func (u *RepositoryUpsertOne) SetHTMLURL(v string) *RepositoryUpsertOne + func (u *RepositoryUpsertOne) SetLastEventAt(v time.Time) *RepositoryUpsertOne + func (u *RepositoryUpsertOne) SetLastPushedAt(v time.Time) *RepositoryUpsertOne + func (u *RepositoryUpsertOne) SetName(v string) *RepositoryUpsertOne + func (u *RepositoryUpsertOne) Update(set func(*RepositoryUpsert)) *RepositoryUpsertOne + func (u *RepositoryUpsertOne) UpdateDescription() *RepositoryUpsertOne + func (u *RepositoryUpsertOne) UpdateFullName() *RepositoryUpsertOne + func (u *RepositoryUpsertOne) UpdateHTMLURL() *RepositoryUpsertOne + func (u *RepositoryUpsertOne) UpdateLastEventAt() *RepositoryUpsertOne + func (u *RepositoryUpsertOne) UpdateLastPushedAt() *RepositoryUpsertOne + func (u *RepositoryUpsertOne) UpdateName() *RepositoryUpsertOne + func (u *RepositoryUpsertOne) UpdateNewValues() *RepositoryUpsertOne + 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 + GitCommit *GitCommitClient + Organization *OrganizationClient + Repository *RepositoryClient + 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