Versions in this module Expand all Collapse all v1 v1.0.0 Mar 13, 2025 Changes in this version + const OpCreate + const OpDelete + const OpDeleteOne + const OpUpdate + const OpUpdateOne + const TypeAgent + const TypeBlobber + const TypeChat + const TypeCommand + const TypeCredential + const TypeListener + const TypeMessage + const TypeOperator + const TypePki + const TypeTask + 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 Agent struct + Arch shared.AgentArch + Caps uint32 + Color uint32 + CreatedAt time.Time + DeletedAt time.Time + Domain string + Edges AgentEdges + ExtIP types.Inet + First time.Time + Hostname string + ID uint32 + IntIP types.Inet + Jitter uint8 + Last time.Time + ListenerID int64 + Note string + Os shared.AgentOs + OsMeta string + Pid int64 + Privileged bool + ProcessName string + Sleep uint32 + UpdatedAt time.Time + Username string + func (a *Agent) QueryCommand() *CommandQuery + func (a *Agent) QueryListener() *ListenerQuery + func (a *Agent) QueryTask() *TaskQuery + func (a *Agent) String() string + func (a *Agent) Unwrap() *Agent + func (a *Agent) Update() *AgentUpdateOne + func (a *Agent) Value(name string) (ent.Value, error) + type AgentClient struct + func NewAgentClient(c config) *AgentClient + func (c *AgentClient) Create() *AgentCreate + func (c *AgentClient) CreateBulk(builders ...*AgentCreate) *AgentCreateBulk + func (c *AgentClient) Delete() *AgentDelete + func (c *AgentClient) DeleteOne(a *Agent) *AgentDeleteOne + func (c *AgentClient) DeleteOneID(id uint32) *AgentDeleteOne + func (c *AgentClient) Get(ctx context.Context, id uint32) (*Agent, error) + func (c *AgentClient) GetX(ctx context.Context, id uint32) *Agent + func (c *AgentClient) Hooks() []Hook + func (c *AgentClient) Intercept(interceptors ...Interceptor) + func (c *AgentClient) Interceptors() []Interceptor + func (c *AgentClient) MapCreateBulk(slice any, setFunc func(*AgentCreate, int)) *AgentCreateBulk + func (c *AgentClient) Query() *AgentQuery + func (c *AgentClient) QueryCommand(a *Agent) *CommandQuery + func (c *AgentClient) QueryListener(a *Agent) *ListenerQuery + func (c *AgentClient) QueryTask(a *Agent) *TaskQuery + func (c *AgentClient) Update() *AgentUpdate + func (c *AgentClient) UpdateOne(a *Agent) *AgentUpdateOne + func (c *AgentClient) UpdateOneID(id uint32) *AgentUpdateOne + func (c *AgentClient) Use(hooks ...Hook) + type AgentCreate struct + func (ac *AgentCreate) AddCommand(c ...*Command) *AgentCreate + func (ac *AgentCreate) AddCommandIDs(ids ...int64) *AgentCreate + func (ac *AgentCreate) AddTask(t ...*Task) *AgentCreate + func (ac *AgentCreate) AddTaskIDs(ids ...int64) *AgentCreate + func (ac *AgentCreate) Exec(ctx context.Context) error + func (ac *AgentCreate) ExecX(ctx context.Context) + func (ac *AgentCreate) Mutation() *AgentMutation + func (ac *AgentCreate) Save(ctx context.Context) (*Agent, error) + func (ac *AgentCreate) SaveX(ctx context.Context) *Agent + func (ac *AgentCreate) SetArch(sa shared.AgentArch) *AgentCreate + func (ac *AgentCreate) SetCaps(u uint32) *AgentCreate + func (ac *AgentCreate) SetColor(u uint32) *AgentCreate + func (ac *AgentCreate) SetCreatedAt(t time.Time) *AgentCreate + func (ac *AgentCreate) SetDeletedAt(t time.Time) *AgentCreate + func (ac *AgentCreate) SetDomain(s string) *AgentCreate + func (ac *AgentCreate) SetExtIP(t types.Inet) *AgentCreate + func (ac *AgentCreate) SetFirst(t time.Time) *AgentCreate + func (ac *AgentCreate) SetHostname(s string) *AgentCreate + func (ac *AgentCreate) SetID(u uint32) *AgentCreate + func (ac *AgentCreate) SetIntIP(t types.Inet) *AgentCreate + func (ac *AgentCreate) SetJitter(u uint8) *AgentCreate + func (ac *AgentCreate) SetLast(t time.Time) *AgentCreate + func (ac *AgentCreate) SetListener(l *Listener) *AgentCreate + func (ac *AgentCreate) SetListenerID(i int64) *AgentCreate + func (ac *AgentCreate) SetNillableColor(u *uint32) *AgentCreate + func (ac *AgentCreate) SetNillableCreatedAt(t *time.Time) *AgentCreate + func (ac *AgentCreate) SetNillableDeletedAt(t *time.Time) *AgentCreate + func (ac *AgentCreate) SetNillableDomain(s *string) *AgentCreate + func (ac *AgentCreate) SetNillableExtIP(t *types.Inet) *AgentCreate + func (ac *AgentCreate) SetNillableFirst(t *time.Time) *AgentCreate + func (ac *AgentCreate) SetNillableHostname(s *string) *AgentCreate + func (ac *AgentCreate) SetNillableIntIP(t *types.Inet) *AgentCreate + func (ac *AgentCreate) SetNillableLast(t *time.Time) *AgentCreate + func (ac *AgentCreate) SetNillableNote(s *string) *AgentCreate + func (ac *AgentCreate) SetNillableOsMeta(s *string) *AgentCreate + func (ac *AgentCreate) SetNillablePid(i *int64) *AgentCreate + func (ac *AgentCreate) SetNillablePrivileged(b *bool) *AgentCreate + func (ac *AgentCreate) SetNillableProcessName(s *string) *AgentCreate + func (ac *AgentCreate) SetNillableUpdatedAt(t *time.Time) *AgentCreate + func (ac *AgentCreate) SetNillableUsername(s *string) *AgentCreate + func (ac *AgentCreate) SetNote(s string) *AgentCreate + func (ac *AgentCreate) SetOs(so shared.AgentOs) *AgentCreate + func (ac *AgentCreate) SetOsMeta(s string) *AgentCreate + func (ac *AgentCreate) SetPid(i int64) *AgentCreate + func (ac *AgentCreate) SetPrivileged(b bool) *AgentCreate + func (ac *AgentCreate) SetProcessName(s string) *AgentCreate + func (ac *AgentCreate) SetSleep(u uint32) *AgentCreate + func (ac *AgentCreate) SetUpdatedAt(t time.Time) *AgentCreate + func (ac *AgentCreate) SetUsername(s string) *AgentCreate + type AgentCreateBulk struct + func (acb *AgentCreateBulk) Exec(ctx context.Context) error + func (acb *AgentCreateBulk) ExecX(ctx context.Context) + func (acb *AgentCreateBulk) Save(ctx context.Context) ([]*Agent, error) + func (acb *AgentCreateBulk) SaveX(ctx context.Context) []*Agent + type AgentDelete struct + func (ad *AgentDelete) Exec(ctx context.Context) (int, error) + func (ad *AgentDelete) ExecX(ctx context.Context) int + func (ad *AgentDelete) Where(ps ...predicate.Agent) *AgentDelete + type AgentDeleteOne struct + func (ado *AgentDeleteOne) Exec(ctx context.Context) error + func (ado *AgentDeleteOne) ExecX(ctx context.Context) + func (ado *AgentDeleteOne) Where(ps ...predicate.Agent) *AgentDeleteOne + type AgentEdges struct + Command []*Command + Listener *Listener + Task []*Task + func (e AgentEdges) CommandOrErr() ([]*Command, error) + func (e AgentEdges) ListenerOrErr() (*Listener, error) + func (e AgentEdges) TaskOrErr() ([]*Task, error) + type AgentGroupBy struct + func (agb *AgentGroupBy) Aggregate(fns ...AggregateFunc) *AgentGroupBy + func (agb *AgentGroupBy) Scan(ctx context.Context, v any) error + func (s *AgentGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *AgentGroupBy) BoolX(ctx context.Context) bool + func (s *AgentGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *AgentGroupBy) BoolsX(ctx context.Context) []bool + func (s *AgentGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *AgentGroupBy) Float64X(ctx context.Context) float64 + func (s *AgentGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *AgentGroupBy) Float64sX(ctx context.Context) []float64 + func (s *AgentGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *AgentGroupBy) IntX(ctx context.Context) int + func (s *AgentGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *AgentGroupBy) IntsX(ctx context.Context) []int + func (s *AgentGroupBy) ScanX(ctx context.Context, v any) + func (s *AgentGroupBy) String(ctx context.Context) (_ string, err error) + func (s *AgentGroupBy) StringX(ctx context.Context) string + func (s *AgentGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *AgentGroupBy) StringsX(ctx context.Context) []string + type AgentMutation struct + func (m *AgentMutation) AddCaps(u int32) + func (m *AgentMutation) AddColor(u int32) + func (m *AgentMutation) AddCommandIDs(ids ...int64) + func (m *AgentMutation) AddField(name string, value ent.Value) error + func (m *AgentMutation) AddJitter(u int8) + func (m *AgentMutation) AddPid(i int64) + func (m *AgentMutation) AddSleep(u int32) + func (m *AgentMutation) AddTaskIDs(ids ...int64) + func (m *AgentMutation) AddedCaps() (r int32, exists bool) + func (m *AgentMutation) AddedColor() (r int32, exists bool) + func (m *AgentMutation) AddedEdges() []string + func (m *AgentMutation) AddedField(name string) (ent.Value, bool) + func (m *AgentMutation) AddedFields() []string + func (m *AgentMutation) AddedIDs(name string) []ent.Value + func (m *AgentMutation) AddedJitter() (r int8, exists bool) + func (m *AgentMutation) AddedPid() (r int64, exists bool) + func (m *AgentMutation) AddedSleep() (r int32, exists bool) + func (m *AgentMutation) Arch() (r shared.AgentArch, exists bool) + func (m *AgentMutation) Caps() (r uint32, exists bool) + func (m *AgentMutation) ClearCommand() + func (m *AgentMutation) ClearDeletedAt() + func (m *AgentMutation) ClearDomain() + func (m *AgentMutation) ClearEdge(name string) error + func (m *AgentMutation) ClearExtIP() + func (m *AgentMutation) ClearField(name string) error + func (m *AgentMutation) ClearHostname() + func (m *AgentMutation) ClearIntIP() + func (m *AgentMutation) ClearListener() + func (m *AgentMutation) ClearNote() + func (m *AgentMutation) ClearOsMeta() + func (m *AgentMutation) ClearPid() + func (m *AgentMutation) ClearPrivileged() + func (m *AgentMutation) ClearProcessName() + func (m *AgentMutation) ClearTask() + func (m *AgentMutation) ClearUsername() + func (m *AgentMutation) ClearedEdges() []string + func (m *AgentMutation) ClearedFields() []string + func (m *AgentMutation) Color() (r uint32, exists bool) + func (m *AgentMutation) CommandCleared() bool + func (m *AgentMutation) CommandIDs() (ids []int64) + func (m *AgentMutation) CreatedAt() (r time.Time, exists bool) + func (m *AgentMutation) DeletedAt() (r time.Time, exists bool) + func (m *AgentMutation) DeletedAtCleared() bool + func (m *AgentMutation) Domain() (r string, exists bool) + func (m *AgentMutation) DomainCleared() bool + func (m *AgentMutation) EdgeCleared(name string) bool + func (m *AgentMutation) ExtIP() (r types.Inet, exists bool) + func (m *AgentMutation) ExtIPCleared() bool + func (m *AgentMutation) Field(name string) (ent.Value, bool) + func (m *AgentMutation) FieldCleared(name string) bool + func (m *AgentMutation) Fields() []string + func (m *AgentMutation) First() (r time.Time, exists bool) + func (m *AgentMutation) Hostname() (r string, exists bool) + func (m *AgentMutation) HostnameCleared() bool + func (m *AgentMutation) ID() (id uint32, exists bool) + func (m *AgentMutation) IDs(ctx context.Context) ([]uint32, error) + func (m *AgentMutation) IntIP() (r types.Inet, exists bool) + func (m *AgentMutation) IntIPCleared() bool + func (m *AgentMutation) Jitter() (r uint8, exists bool) + func (m *AgentMutation) Last() (r time.Time, exists bool) + func (m *AgentMutation) ListenerCleared() bool + func (m *AgentMutation) ListenerID() (r int64, exists bool) + func (m *AgentMutation) ListenerIDs() (ids []int64) + func (m *AgentMutation) Note() (r string, exists bool) + func (m *AgentMutation) NoteCleared() bool + func (m *AgentMutation) OldArch(ctx context.Context) (v shared.AgentArch, err error) + func (m *AgentMutation) OldCaps(ctx context.Context) (v uint32, err error) + func (m *AgentMutation) OldColor(ctx context.Context) (v uint32, err error) + func (m *AgentMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *AgentMutation) OldDeletedAt(ctx context.Context) (v time.Time, err error) + func (m *AgentMutation) OldDomain(ctx context.Context) (v string, err error) + func (m *AgentMutation) OldExtIP(ctx context.Context) (v types.Inet, err error) + func (m *AgentMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *AgentMutation) OldFirst(ctx context.Context) (v time.Time, err error) + func (m *AgentMutation) OldHostname(ctx context.Context) (v string, err error) + func (m *AgentMutation) OldIntIP(ctx context.Context) (v types.Inet, err error) + func (m *AgentMutation) OldJitter(ctx context.Context) (v uint8, err error) + func (m *AgentMutation) OldLast(ctx context.Context) (v time.Time, err error) + func (m *AgentMutation) OldListenerID(ctx context.Context) (v int64, err error) + func (m *AgentMutation) OldNote(ctx context.Context) (v string, err error) + func (m *AgentMutation) OldOs(ctx context.Context) (v shared.AgentOs, err error) + func (m *AgentMutation) OldOsMeta(ctx context.Context) (v string, err error) + func (m *AgentMutation) OldPid(ctx context.Context) (v int64, err error) + func (m *AgentMutation) OldPrivileged(ctx context.Context) (v bool, err error) + func (m *AgentMutation) OldProcessName(ctx context.Context) (v string, err error) + func (m *AgentMutation) OldSleep(ctx context.Context) (v uint32, err error) + func (m *AgentMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *AgentMutation) OldUsername(ctx context.Context) (v string, err error) + func (m *AgentMutation) Op() Op + func (m *AgentMutation) Os() (r shared.AgentOs, exists bool) + func (m *AgentMutation) OsMeta() (r string, exists bool) + func (m *AgentMutation) OsMetaCleared() bool + func (m *AgentMutation) Pid() (r int64, exists bool) + func (m *AgentMutation) PidCleared() bool + func (m *AgentMutation) Privileged() (r bool, exists bool) + func (m *AgentMutation) PrivilegedCleared() bool + func (m *AgentMutation) ProcessName() (r string, exists bool) + func (m *AgentMutation) ProcessNameCleared() bool + func (m *AgentMutation) RemoveCommandIDs(ids ...int64) + func (m *AgentMutation) RemoveTaskIDs(ids ...int64) + func (m *AgentMutation) RemovedCommandIDs() (ids []int64) + func (m *AgentMutation) RemovedEdges() []string + func (m *AgentMutation) RemovedIDs(name string) []ent.Value + func (m *AgentMutation) RemovedTaskIDs() (ids []int64) + func (m *AgentMutation) ResetArch() + func (m *AgentMutation) ResetCaps() + func (m *AgentMutation) ResetColor() + func (m *AgentMutation) ResetCommand() + func (m *AgentMutation) ResetCreatedAt() + func (m *AgentMutation) ResetDeletedAt() + func (m *AgentMutation) ResetDomain() + func (m *AgentMutation) ResetEdge(name string) error + func (m *AgentMutation) ResetExtIP() + func (m *AgentMutation) ResetField(name string) error + func (m *AgentMutation) ResetFirst() + func (m *AgentMutation) ResetHostname() + func (m *AgentMutation) ResetIntIP() + func (m *AgentMutation) ResetJitter() + func (m *AgentMutation) ResetLast() + func (m *AgentMutation) ResetListener() + func (m *AgentMutation) ResetListenerID() + func (m *AgentMutation) ResetNote() + func (m *AgentMutation) ResetOs() + func (m *AgentMutation) ResetOsMeta() + func (m *AgentMutation) ResetPid() + func (m *AgentMutation) ResetPrivileged() + func (m *AgentMutation) ResetProcessName() + func (m *AgentMutation) ResetSleep() + func (m *AgentMutation) ResetTask() + func (m *AgentMutation) ResetUpdatedAt() + func (m *AgentMutation) ResetUsername() + func (m *AgentMutation) SetArch(sa shared.AgentArch) + func (m *AgentMutation) SetCaps(u uint32) + func (m *AgentMutation) SetColor(u uint32) + func (m *AgentMutation) SetCreatedAt(t time.Time) + func (m *AgentMutation) SetDeletedAt(t time.Time) + func (m *AgentMutation) SetDomain(s string) + func (m *AgentMutation) SetExtIP(t types.Inet) + func (m *AgentMutation) SetField(name string, value ent.Value) error + func (m *AgentMutation) SetFirst(t time.Time) + func (m *AgentMutation) SetHostname(s string) + func (m *AgentMutation) SetID(id uint32) + func (m *AgentMutation) SetIntIP(t types.Inet) + func (m *AgentMutation) SetJitter(u uint8) + func (m *AgentMutation) SetLast(t time.Time) + func (m *AgentMutation) SetListenerID(i int64) + func (m *AgentMutation) SetNote(s string) + func (m *AgentMutation) SetOp(op Op) + func (m *AgentMutation) SetOs(so shared.AgentOs) + func (m *AgentMutation) SetOsMeta(s string) + func (m *AgentMutation) SetPid(i int64) + func (m *AgentMutation) SetPrivileged(b bool) + func (m *AgentMutation) SetProcessName(s string) + func (m *AgentMutation) SetSleep(u uint32) + func (m *AgentMutation) SetUpdatedAt(t time.Time) + func (m *AgentMutation) SetUsername(s string) + func (m *AgentMutation) Sleep() (r uint32, exists bool) + func (m *AgentMutation) TaskCleared() bool + func (m *AgentMutation) TaskIDs() (ids []int64) + func (m *AgentMutation) Type() string + func (m *AgentMutation) UpdatedAt() (r time.Time, exists bool) + func (m *AgentMutation) Username() (r string, exists bool) + func (m *AgentMutation) UsernameCleared() bool + func (m *AgentMutation) Where(ps ...predicate.Agent) + func (m *AgentMutation) WhereP(ps ...func(*sql.Selector)) + func (m AgentMutation) Client() *Client + func (m AgentMutation) Tx() (*Tx, error) + type AgentQuery struct + func (aq *AgentQuery) Aggregate(fns ...AggregateFunc) *AgentSelect + func (aq *AgentQuery) All(ctx context.Context) ([]*Agent, error) + func (aq *AgentQuery) AllX(ctx context.Context) []*Agent + func (aq *AgentQuery) Clone() *AgentQuery + func (aq *AgentQuery) Count(ctx context.Context) (int, error) + func (aq *AgentQuery) CountX(ctx context.Context) int + func (aq *AgentQuery) Exist(ctx context.Context) (bool, error) + func (aq *AgentQuery) ExistX(ctx context.Context) bool + func (aq *AgentQuery) First(ctx context.Context) (*Agent, error) + func (aq *AgentQuery) FirstID(ctx context.Context) (id uint32, err error) + func (aq *AgentQuery) FirstIDX(ctx context.Context) uint32 + func (aq *AgentQuery) FirstX(ctx context.Context) *Agent + func (aq *AgentQuery) ForShare(opts ...sql.LockOption) *AgentQuery + func (aq *AgentQuery) ForUpdate(opts ...sql.LockOption) *AgentQuery + func (aq *AgentQuery) GroupBy(field string, fields ...string) *AgentGroupBy + func (aq *AgentQuery) IDs(ctx context.Context) (ids []uint32, err error) + func (aq *AgentQuery) IDsX(ctx context.Context) []uint32 + func (aq *AgentQuery) Limit(limit int) *AgentQuery + func (aq *AgentQuery) Offset(offset int) *AgentQuery + func (aq *AgentQuery) Only(ctx context.Context) (*Agent, error) + func (aq *AgentQuery) OnlyID(ctx context.Context) (id uint32, err error) + func (aq *AgentQuery) OnlyIDX(ctx context.Context) uint32 + func (aq *AgentQuery) OnlyX(ctx context.Context) *Agent + func (aq *AgentQuery) Order(o ...agent.OrderOption) *AgentQuery + func (aq *AgentQuery) QueryCommand() *CommandQuery + func (aq *AgentQuery) QueryListener() *ListenerQuery + func (aq *AgentQuery) QueryTask() *TaskQuery + func (aq *AgentQuery) Select(fields ...string) *AgentSelect + func (aq *AgentQuery) Unique(unique bool) *AgentQuery + func (aq *AgentQuery) Where(ps ...predicate.Agent) *AgentQuery + func (aq *AgentQuery) WithCommand(opts ...func(*CommandQuery)) *AgentQuery + func (aq *AgentQuery) WithListener(opts ...func(*ListenerQuery)) *AgentQuery + func (aq *AgentQuery) WithTask(opts ...func(*TaskQuery)) *AgentQuery + type AgentSelect struct + func (as *AgentSelect) Aggregate(fns ...AggregateFunc) *AgentSelect + func (as *AgentSelect) Scan(ctx context.Context, v any) error + func (s *AgentSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *AgentSelect) BoolX(ctx context.Context) bool + func (s *AgentSelect) Bools(ctx context.Context) ([]bool, error) + func (s *AgentSelect) BoolsX(ctx context.Context) []bool + func (s *AgentSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *AgentSelect) Float64X(ctx context.Context) float64 + func (s *AgentSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *AgentSelect) Float64sX(ctx context.Context) []float64 + func (s *AgentSelect) Int(ctx context.Context) (_ int, err error) + func (s *AgentSelect) IntX(ctx context.Context) int + func (s *AgentSelect) Ints(ctx context.Context) ([]int, error) + func (s *AgentSelect) IntsX(ctx context.Context) []int + func (s *AgentSelect) ScanX(ctx context.Context, v any) + func (s *AgentSelect) String(ctx context.Context) (_ string, err error) + func (s *AgentSelect) StringX(ctx context.Context) string + func (s *AgentSelect) Strings(ctx context.Context) ([]string, error) + func (s *AgentSelect) StringsX(ctx context.Context) []string + type AgentUpdate struct + func (au *AgentUpdate) AddCaps(u int32) *AgentUpdate + func (au *AgentUpdate) AddColor(u int32) *AgentUpdate + func (au *AgentUpdate) AddCommand(c ...*Command) *AgentUpdate + func (au *AgentUpdate) AddCommandIDs(ids ...int64) *AgentUpdate + func (au *AgentUpdate) AddJitter(u int8) *AgentUpdate + func (au *AgentUpdate) AddPid(i int64) *AgentUpdate + func (au *AgentUpdate) AddSleep(u int32) *AgentUpdate + func (au *AgentUpdate) AddTask(t ...*Task) *AgentUpdate + func (au *AgentUpdate) AddTaskIDs(ids ...int64) *AgentUpdate + func (au *AgentUpdate) ClearCommand() *AgentUpdate + func (au *AgentUpdate) ClearDeletedAt() *AgentUpdate + func (au *AgentUpdate) ClearDomain() *AgentUpdate + func (au *AgentUpdate) ClearExtIP() *AgentUpdate + func (au *AgentUpdate) ClearHostname() *AgentUpdate + func (au *AgentUpdate) ClearIntIP() *AgentUpdate + func (au *AgentUpdate) ClearListener() *AgentUpdate + func (au *AgentUpdate) ClearNote() *AgentUpdate + func (au *AgentUpdate) ClearOsMeta() *AgentUpdate + func (au *AgentUpdate) ClearPid() *AgentUpdate + func (au *AgentUpdate) ClearPrivileged() *AgentUpdate + func (au *AgentUpdate) ClearProcessName() *AgentUpdate + func (au *AgentUpdate) ClearTask() *AgentUpdate + func (au *AgentUpdate) ClearUsername() *AgentUpdate + func (au *AgentUpdate) Exec(ctx context.Context) error + func (au *AgentUpdate) ExecX(ctx context.Context) + func (au *AgentUpdate) Mutation() *AgentMutation + func (au *AgentUpdate) RemoveCommand(c ...*Command) *AgentUpdate + func (au *AgentUpdate) RemoveCommandIDs(ids ...int64) *AgentUpdate + func (au *AgentUpdate) RemoveTask(t ...*Task) *AgentUpdate + func (au *AgentUpdate) RemoveTaskIDs(ids ...int64) *AgentUpdate + func (au *AgentUpdate) Save(ctx context.Context) (int, error) + func (au *AgentUpdate) SaveX(ctx context.Context) int + func (au *AgentUpdate) SetArch(sa shared.AgentArch) *AgentUpdate + func (au *AgentUpdate) SetCaps(u uint32) *AgentUpdate + func (au *AgentUpdate) SetColor(u uint32) *AgentUpdate + func (au *AgentUpdate) SetDeletedAt(t time.Time) *AgentUpdate + func (au *AgentUpdate) SetDomain(s string) *AgentUpdate + func (au *AgentUpdate) SetExtIP(t types.Inet) *AgentUpdate + func (au *AgentUpdate) SetFirst(t time.Time) *AgentUpdate + func (au *AgentUpdate) SetHostname(s string) *AgentUpdate + func (au *AgentUpdate) SetIntIP(t types.Inet) *AgentUpdate + func (au *AgentUpdate) SetJitter(u uint8) *AgentUpdate + func (au *AgentUpdate) SetLast(t time.Time) *AgentUpdate + func (au *AgentUpdate) SetListener(l *Listener) *AgentUpdate + func (au *AgentUpdate) SetListenerID(i int64) *AgentUpdate + func (au *AgentUpdate) SetNillableArch(sa *shared.AgentArch) *AgentUpdate + func (au *AgentUpdate) SetNillableCaps(u *uint32) *AgentUpdate + func (au *AgentUpdate) SetNillableColor(u *uint32) *AgentUpdate + func (au *AgentUpdate) SetNillableDeletedAt(t *time.Time) *AgentUpdate + func (au *AgentUpdate) SetNillableDomain(s *string) *AgentUpdate + func (au *AgentUpdate) SetNillableExtIP(t *types.Inet) *AgentUpdate + func (au *AgentUpdate) SetNillableFirst(t *time.Time) *AgentUpdate + func (au *AgentUpdate) SetNillableHostname(s *string) *AgentUpdate + func (au *AgentUpdate) SetNillableIntIP(t *types.Inet) *AgentUpdate + func (au *AgentUpdate) SetNillableJitter(u *uint8) *AgentUpdate + func (au *AgentUpdate) SetNillableLast(t *time.Time) *AgentUpdate + func (au *AgentUpdate) SetNillableListenerID(i *int64) *AgentUpdate + func (au *AgentUpdate) SetNillableNote(s *string) *AgentUpdate + func (au *AgentUpdate) SetNillableOs(so *shared.AgentOs) *AgentUpdate + func (au *AgentUpdate) SetNillableOsMeta(s *string) *AgentUpdate + func (au *AgentUpdate) SetNillablePid(i *int64) *AgentUpdate + func (au *AgentUpdate) SetNillablePrivileged(b *bool) *AgentUpdate + func (au *AgentUpdate) SetNillableProcessName(s *string) *AgentUpdate + func (au *AgentUpdate) SetNillableSleep(u *uint32) *AgentUpdate + func (au *AgentUpdate) SetNillableUsername(s *string) *AgentUpdate + func (au *AgentUpdate) SetNote(s string) *AgentUpdate + func (au *AgentUpdate) SetOs(so shared.AgentOs) *AgentUpdate + func (au *AgentUpdate) SetOsMeta(s string) *AgentUpdate + func (au *AgentUpdate) SetPid(i int64) *AgentUpdate + func (au *AgentUpdate) SetPrivileged(b bool) *AgentUpdate + func (au *AgentUpdate) SetProcessName(s string) *AgentUpdate + func (au *AgentUpdate) SetSleep(u uint32) *AgentUpdate + func (au *AgentUpdate) SetUpdatedAt(t time.Time) *AgentUpdate + func (au *AgentUpdate) SetUsername(s string) *AgentUpdate + func (au *AgentUpdate) Where(ps ...predicate.Agent) *AgentUpdate + type AgentUpdateOne struct + func (auo *AgentUpdateOne) AddCaps(u int32) *AgentUpdateOne + func (auo *AgentUpdateOne) AddColor(u int32) *AgentUpdateOne + func (auo *AgentUpdateOne) AddCommand(c ...*Command) *AgentUpdateOne + func (auo *AgentUpdateOne) AddCommandIDs(ids ...int64) *AgentUpdateOne + func (auo *AgentUpdateOne) AddJitter(u int8) *AgentUpdateOne + func (auo *AgentUpdateOne) AddPid(i int64) *AgentUpdateOne + func (auo *AgentUpdateOne) AddSleep(u int32) *AgentUpdateOne + func (auo *AgentUpdateOne) AddTask(t ...*Task) *AgentUpdateOne + func (auo *AgentUpdateOne) AddTaskIDs(ids ...int64) *AgentUpdateOne + func (auo *AgentUpdateOne) ClearCommand() *AgentUpdateOne + func (auo *AgentUpdateOne) ClearDeletedAt() *AgentUpdateOne + func (auo *AgentUpdateOne) ClearDomain() *AgentUpdateOne + func (auo *AgentUpdateOne) ClearExtIP() *AgentUpdateOne + func (auo *AgentUpdateOne) ClearHostname() *AgentUpdateOne + func (auo *AgentUpdateOne) ClearIntIP() *AgentUpdateOne + func (auo *AgentUpdateOne) ClearListener() *AgentUpdateOne + func (auo *AgentUpdateOne) ClearNote() *AgentUpdateOne + func (auo *AgentUpdateOne) ClearOsMeta() *AgentUpdateOne + func (auo *AgentUpdateOne) ClearPid() *AgentUpdateOne + func (auo *AgentUpdateOne) ClearPrivileged() *AgentUpdateOne + func (auo *AgentUpdateOne) ClearProcessName() *AgentUpdateOne + func (auo *AgentUpdateOne) ClearTask() *AgentUpdateOne + func (auo *AgentUpdateOne) ClearUsername() *AgentUpdateOne + func (auo *AgentUpdateOne) Exec(ctx context.Context) error + func (auo *AgentUpdateOne) ExecX(ctx context.Context) + func (auo *AgentUpdateOne) Mutation() *AgentMutation + func (auo *AgentUpdateOne) RemoveCommand(c ...*Command) *AgentUpdateOne + func (auo *AgentUpdateOne) RemoveCommandIDs(ids ...int64) *AgentUpdateOne + func (auo *AgentUpdateOne) RemoveTask(t ...*Task) *AgentUpdateOne + func (auo *AgentUpdateOne) RemoveTaskIDs(ids ...int64) *AgentUpdateOne + func (auo *AgentUpdateOne) Save(ctx context.Context) (*Agent, error) + func (auo *AgentUpdateOne) SaveX(ctx context.Context) *Agent + func (auo *AgentUpdateOne) Select(field string, fields ...string) *AgentUpdateOne + func (auo *AgentUpdateOne) SetArch(sa shared.AgentArch) *AgentUpdateOne + func (auo *AgentUpdateOne) SetCaps(u uint32) *AgentUpdateOne + func (auo *AgentUpdateOne) SetColor(u uint32) *AgentUpdateOne + func (auo *AgentUpdateOne) SetDeletedAt(t time.Time) *AgentUpdateOne + func (auo *AgentUpdateOne) SetDomain(s string) *AgentUpdateOne + func (auo *AgentUpdateOne) SetExtIP(t types.Inet) *AgentUpdateOne + func (auo *AgentUpdateOne) SetFirst(t time.Time) *AgentUpdateOne + func (auo *AgentUpdateOne) SetHostname(s string) *AgentUpdateOne + func (auo *AgentUpdateOne) SetIntIP(t types.Inet) *AgentUpdateOne + func (auo *AgentUpdateOne) SetJitter(u uint8) *AgentUpdateOne + func (auo *AgentUpdateOne) SetLast(t time.Time) *AgentUpdateOne + func (auo *AgentUpdateOne) SetListener(l *Listener) *AgentUpdateOne + func (auo *AgentUpdateOne) SetListenerID(i int64) *AgentUpdateOne + func (auo *AgentUpdateOne) SetNillableArch(sa *shared.AgentArch) *AgentUpdateOne + func (auo *AgentUpdateOne) SetNillableCaps(u *uint32) *AgentUpdateOne + func (auo *AgentUpdateOne) SetNillableColor(u *uint32) *AgentUpdateOne + func (auo *AgentUpdateOne) SetNillableDeletedAt(t *time.Time) *AgentUpdateOne + func (auo *AgentUpdateOne) SetNillableDomain(s *string) *AgentUpdateOne + func (auo *AgentUpdateOne) SetNillableExtIP(t *types.Inet) *AgentUpdateOne + func (auo *AgentUpdateOne) SetNillableFirst(t *time.Time) *AgentUpdateOne + func (auo *AgentUpdateOne) SetNillableHostname(s *string) *AgentUpdateOne + func (auo *AgentUpdateOne) SetNillableIntIP(t *types.Inet) *AgentUpdateOne + func (auo *AgentUpdateOne) SetNillableJitter(u *uint8) *AgentUpdateOne + func (auo *AgentUpdateOne) SetNillableLast(t *time.Time) *AgentUpdateOne + func (auo *AgentUpdateOne) SetNillableListenerID(i *int64) *AgentUpdateOne + func (auo *AgentUpdateOne) SetNillableNote(s *string) *AgentUpdateOne + func (auo *AgentUpdateOne) SetNillableOs(so *shared.AgentOs) *AgentUpdateOne + func (auo *AgentUpdateOne) SetNillableOsMeta(s *string) *AgentUpdateOne + func (auo *AgentUpdateOne) SetNillablePid(i *int64) *AgentUpdateOne + func (auo *AgentUpdateOne) SetNillablePrivileged(b *bool) *AgentUpdateOne + func (auo *AgentUpdateOne) SetNillableProcessName(s *string) *AgentUpdateOne + func (auo *AgentUpdateOne) SetNillableSleep(u *uint32) *AgentUpdateOne + func (auo *AgentUpdateOne) SetNillableUsername(s *string) *AgentUpdateOne + func (auo *AgentUpdateOne) SetNote(s string) *AgentUpdateOne + func (auo *AgentUpdateOne) SetOs(so shared.AgentOs) *AgentUpdateOne + func (auo *AgentUpdateOne) SetOsMeta(s string) *AgentUpdateOne + func (auo *AgentUpdateOne) SetPid(i int64) *AgentUpdateOne + func (auo *AgentUpdateOne) SetPrivileged(b bool) *AgentUpdateOne + func (auo *AgentUpdateOne) SetProcessName(s string) *AgentUpdateOne + func (auo *AgentUpdateOne) SetSleep(u uint32) *AgentUpdateOne + func (auo *AgentUpdateOne) SetUpdatedAt(t time.Time) *AgentUpdateOne + func (auo *AgentUpdateOne) SetUsername(s string) *AgentUpdateOne + func (auo *AgentUpdateOne) Where(ps ...predicate.Agent) *AgentUpdateOne + type Agents []*Agent + 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 Blobber struct + Blob []byte + CreatedAt time.Time + DeletedAt time.Time + Edges BlobberEdges + Hash []byte + ID int + Size int + UpdatedAt time.Time + func (b *Blobber) QueryTaskArgs() *TaskQuery + func (b *Blobber) QueryTaskOutput() *TaskQuery + func (b *Blobber) String() string + func (b *Blobber) Unwrap() *Blobber + func (b *Blobber) Update() *BlobberUpdateOne + func (b *Blobber) Value(name string) (ent.Value, error) + type BlobberClient struct + func NewBlobberClient(c config) *BlobberClient + func (c *BlobberClient) Create() *BlobberCreate + func (c *BlobberClient) CreateBulk(builders ...*BlobberCreate) *BlobberCreateBulk + func (c *BlobberClient) Delete() *BlobberDelete + func (c *BlobberClient) DeleteOne(b *Blobber) *BlobberDeleteOne + func (c *BlobberClient) DeleteOneID(id int) *BlobberDeleteOne + func (c *BlobberClient) Get(ctx context.Context, id int) (*Blobber, error) + func (c *BlobberClient) GetX(ctx context.Context, id int) *Blobber + func (c *BlobberClient) Hooks() []Hook + func (c *BlobberClient) Intercept(interceptors ...Interceptor) + func (c *BlobberClient) Interceptors() []Interceptor + func (c *BlobberClient) MapCreateBulk(slice any, setFunc func(*BlobberCreate, int)) *BlobberCreateBulk + func (c *BlobberClient) Query() *BlobberQuery + func (c *BlobberClient) QueryTaskArgs(b *Blobber) *TaskQuery + func (c *BlobberClient) QueryTaskOutput(b *Blobber) *TaskQuery + func (c *BlobberClient) Update() *BlobberUpdate + func (c *BlobberClient) UpdateOne(b *Blobber) *BlobberUpdateOne + func (c *BlobberClient) UpdateOneID(id int) *BlobberUpdateOne + func (c *BlobberClient) Use(hooks ...Hook) + type BlobberCreate struct + func (bc *BlobberCreate) AddTaskArgIDs(ids ...int64) *BlobberCreate + func (bc *BlobberCreate) AddTaskArgs(t ...*Task) *BlobberCreate + func (bc *BlobberCreate) AddTaskOutput(t ...*Task) *BlobberCreate + func (bc *BlobberCreate) AddTaskOutputIDs(ids ...int64) *BlobberCreate + func (bc *BlobberCreate) Exec(ctx context.Context) error + func (bc *BlobberCreate) ExecX(ctx context.Context) + func (bc *BlobberCreate) Mutation() *BlobberMutation + func (bc *BlobberCreate) Save(ctx context.Context) (*Blobber, error) + func (bc *BlobberCreate) SaveX(ctx context.Context) *Blobber + func (bc *BlobberCreate) SetBlob(b []byte) *BlobberCreate + func (bc *BlobberCreate) SetCreatedAt(t time.Time) *BlobberCreate + func (bc *BlobberCreate) SetDeletedAt(t time.Time) *BlobberCreate + func (bc *BlobberCreate) SetHash(b []byte) *BlobberCreate + func (bc *BlobberCreate) SetNillableCreatedAt(t *time.Time) *BlobberCreate + func (bc *BlobberCreate) SetNillableDeletedAt(t *time.Time) *BlobberCreate + func (bc *BlobberCreate) SetNillableUpdatedAt(t *time.Time) *BlobberCreate + func (bc *BlobberCreate) SetSize(i int) *BlobberCreate + func (bc *BlobberCreate) SetUpdatedAt(t time.Time) *BlobberCreate + type BlobberCreateBulk struct + func (bcb *BlobberCreateBulk) Exec(ctx context.Context) error + func (bcb *BlobberCreateBulk) ExecX(ctx context.Context) + func (bcb *BlobberCreateBulk) Save(ctx context.Context) ([]*Blobber, error) + func (bcb *BlobberCreateBulk) SaveX(ctx context.Context) []*Blobber + type BlobberDelete struct + func (bd *BlobberDelete) Exec(ctx context.Context) (int, error) + func (bd *BlobberDelete) ExecX(ctx context.Context) int + func (bd *BlobberDelete) Where(ps ...predicate.Blobber) *BlobberDelete + type BlobberDeleteOne struct + func (bdo *BlobberDeleteOne) Exec(ctx context.Context) error + func (bdo *BlobberDeleteOne) ExecX(ctx context.Context) + func (bdo *BlobberDeleteOne) Where(ps ...predicate.Blobber) *BlobberDeleteOne + type BlobberEdges struct + TaskArgs []*Task + TaskOutput []*Task + func (e BlobberEdges) TaskArgsOrErr() ([]*Task, error) + func (e BlobberEdges) TaskOutputOrErr() ([]*Task, error) + type BlobberGroupBy struct + func (bgb *BlobberGroupBy) Aggregate(fns ...AggregateFunc) *BlobberGroupBy + func (bgb *BlobberGroupBy) Scan(ctx context.Context, v any) error + func (s *BlobberGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *BlobberGroupBy) BoolX(ctx context.Context) bool + func (s *BlobberGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *BlobberGroupBy) BoolsX(ctx context.Context) []bool + func (s *BlobberGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *BlobberGroupBy) Float64X(ctx context.Context) float64 + func (s *BlobberGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *BlobberGroupBy) Float64sX(ctx context.Context) []float64 + func (s *BlobberGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *BlobberGroupBy) IntX(ctx context.Context) int + func (s *BlobberGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *BlobberGroupBy) IntsX(ctx context.Context) []int + func (s *BlobberGroupBy) ScanX(ctx context.Context, v any) + func (s *BlobberGroupBy) String(ctx context.Context) (_ string, err error) + func (s *BlobberGroupBy) StringX(ctx context.Context) string + func (s *BlobberGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *BlobberGroupBy) StringsX(ctx context.Context) []string + type BlobberMutation struct + func (m *BlobberMutation) AddField(name string, value ent.Value) error + func (m *BlobberMutation) AddSize(i int) + func (m *BlobberMutation) AddTaskArgIDs(ids ...int64) + func (m *BlobberMutation) AddTaskOutputIDs(ids ...int64) + func (m *BlobberMutation) AddedEdges() []string + func (m *BlobberMutation) AddedField(name string) (ent.Value, bool) + func (m *BlobberMutation) AddedFields() []string + func (m *BlobberMutation) AddedIDs(name string) []ent.Value + func (m *BlobberMutation) AddedSize() (r int, exists bool) + func (m *BlobberMutation) Blob() (r []byte, exists bool) + func (m *BlobberMutation) ClearDeletedAt() + func (m *BlobberMutation) ClearEdge(name string) error + func (m *BlobberMutation) ClearField(name string) error + func (m *BlobberMutation) ClearTaskArgs() + func (m *BlobberMutation) ClearTaskOutput() + func (m *BlobberMutation) ClearedEdges() []string + func (m *BlobberMutation) ClearedFields() []string + func (m *BlobberMutation) CreatedAt() (r time.Time, exists bool) + func (m *BlobberMutation) DeletedAt() (r time.Time, exists bool) + func (m *BlobberMutation) DeletedAtCleared() bool + func (m *BlobberMutation) EdgeCleared(name string) bool + func (m *BlobberMutation) Field(name string) (ent.Value, bool) + func (m *BlobberMutation) FieldCleared(name string) bool + func (m *BlobberMutation) Fields() []string + func (m *BlobberMutation) Hash() (r []byte, exists bool) + func (m *BlobberMutation) ID() (id int, exists bool) + func (m *BlobberMutation) IDs(ctx context.Context) ([]int, error) + func (m *BlobberMutation) OldBlob(ctx context.Context) (v []byte, err error) + func (m *BlobberMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *BlobberMutation) OldDeletedAt(ctx context.Context) (v time.Time, err error) + func (m *BlobberMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *BlobberMutation) OldHash(ctx context.Context) (v []byte, err error) + func (m *BlobberMutation) OldSize(ctx context.Context) (v int, err error) + func (m *BlobberMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *BlobberMutation) Op() Op + func (m *BlobberMutation) RemoveTaskArgIDs(ids ...int64) + func (m *BlobberMutation) RemoveTaskOutputIDs(ids ...int64) + func (m *BlobberMutation) RemovedEdges() []string + func (m *BlobberMutation) RemovedIDs(name string) []ent.Value + func (m *BlobberMutation) RemovedTaskArgsIDs() (ids []int64) + func (m *BlobberMutation) RemovedTaskOutputIDs() (ids []int64) + func (m *BlobberMutation) ResetBlob() + func (m *BlobberMutation) ResetCreatedAt() + func (m *BlobberMutation) ResetDeletedAt() + func (m *BlobberMutation) ResetEdge(name string) error + func (m *BlobberMutation) ResetField(name string) error + func (m *BlobberMutation) ResetHash() + func (m *BlobberMutation) ResetSize() + func (m *BlobberMutation) ResetTaskArgs() + func (m *BlobberMutation) ResetTaskOutput() + func (m *BlobberMutation) ResetUpdatedAt() + func (m *BlobberMutation) SetBlob(b []byte) + func (m *BlobberMutation) SetCreatedAt(t time.Time) + func (m *BlobberMutation) SetDeletedAt(t time.Time) + func (m *BlobberMutation) SetField(name string, value ent.Value) error + func (m *BlobberMutation) SetHash(b []byte) + func (m *BlobberMutation) SetOp(op Op) + func (m *BlobberMutation) SetSize(i int) + func (m *BlobberMutation) SetUpdatedAt(t time.Time) + func (m *BlobberMutation) Size() (r int, exists bool) + func (m *BlobberMutation) TaskArgsCleared() bool + func (m *BlobberMutation) TaskArgsIDs() (ids []int64) + func (m *BlobberMutation) TaskOutputCleared() bool + func (m *BlobberMutation) TaskOutputIDs() (ids []int64) + func (m *BlobberMutation) Type() string + func (m *BlobberMutation) UpdatedAt() (r time.Time, exists bool) + func (m *BlobberMutation) Where(ps ...predicate.Blobber) + func (m *BlobberMutation) WhereP(ps ...func(*sql.Selector)) + func (m BlobberMutation) Client() *Client + func (m BlobberMutation) Tx() (*Tx, error) + type BlobberQuery struct + func (bq *BlobberQuery) Aggregate(fns ...AggregateFunc) *BlobberSelect + func (bq *BlobberQuery) All(ctx context.Context) ([]*Blobber, error) + func (bq *BlobberQuery) AllX(ctx context.Context) []*Blobber + func (bq *BlobberQuery) Clone() *BlobberQuery + func (bq *BlobberQuery) Count(ctx context.Context) (int, error) + func (bq *BlobberQuery) CountX(ctx context.Context) int + func (bq *BlobberQuery) Exist(ctx context.Context) (bool, error) + func (bq *BlobberQuery) ExistX(ctx context.Context) bool + func (bq *BlobberQuery) First(ctx context.Context) (*Blobber, error) + func (bq *BlobberQuery) FirstID(ctx context.Context) (id int, err error) + func (bq *BlobberQuery) FirstIDX(ctx context.Context) int + func (bq *BlobberQuery) FirstX(ctx context.Context) *Blobber + func (bq *BlobberQuery) ForShare(opts ...sql.LockOption) *BlobberQuery + func (bq *BlobberQuery) ForUpdate(opts ...sql.LockOption) *BlobberQuery + func (bq *BlobberQuery) GroupBy(field string, fields ...string) *BlobberGroupBy + func (bq *BlobberQuery) IDs(ctx context.Context) (ids []int, err error) + func (bq *BlobberQuery) IDsX(ctx context.Context) []int + func (bq *BlobberQuery) Limit(limit int) *BlobberQuery + func (bq *BlobberQuery) Offset(offset int) *BlobberQuery + func (bq *BlobberQuery) Only(ctx context.Context) (*Blobber, error) + func (bq *BlobberQuery) OnlyID(ctx context.Context) (id int, err error) + func (bq *BlobberQuery) OnlyIDX(ctx context.Context) int + func (bq *BlobberQuery) OnlyX(ctx context.Context) *Blobber + func (bq *BlobberQuery) Order(o ...blobber.OrderOption) *BlobberQuery + func (bq *BlobberQuery) QueryTaskArgs() *TaskQuery + func (bq *BlobberQuery) QueryTaskOutput() *TaskQuery + func (bq *BlobberQuery) Select(fields ...string) *BlobberSelect + func (bq *BlobberQuery) Unique(unique bool) *BlobberQuery + func (bq *BlobberQuery) Where(ps ...predicate.Blobber) *BlobberQuery + func (bq *BlobberQuery) WithTaskArgs(opts ...func(*TaskQuery)) *BlobberQuery + func (bq *BlobberQuery) WithTaskOutput(opts ...func(*TaskQuery)) *BlobberQuery + type BlobberSelect struct + func (bs *BlobberSelect) Aggregate(fns ...AggregateFunc) *BlobberSelect + func (bs *BlobberSelect) Scan(ctx context.Context, v any) error + func (s *BlobberSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *BlobberSelect) BoolX(ctx context.Context) bool + func (s *BlobberSelect) Bools(ctx context.Context) ([]bool, error) + func (s *BlobberSelect) BoolsX(ctx context.Context) []bool + func (s *BlobberSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *BlobberSelect) Float64X(ctx context.Context) float64 + func (s *BlobberSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *BlobberSelect) Float64sX(ctx context.Context) []float64 + func (s *BlobberSelect) Int(ctx context.Context) (_ int, err error) + func (s *BlobberSelect) IntX(ctx context.Context) int + func (s *BlobberSelect) Ints(ctx context.Context) ([]int, error) + func (s *BlobberSelect) IntsX(ctx context.Context) []int + func (s *BlobberSelect) ScanX(ctx context.Context, v any) + func (s *BlobberSelect) String(ctx context.Context) (_ string, err error) + func (s *BlobberSelect) StringX(ctx context.Context) string + func (s *BlobberSelect) Strings(ctx context.Context) ([]string, error) + func (s *BlobberSelect) StringsX(ctx context.Context) []string + type BlobberUpdate struct + func (bu *BlobberUpdate) AddSize(i int) *BlobberUpdate + func (bu *BlobberUpdate) AddTaskArgIDs(ids ...int64) *BlobberUpdate + func (bu *BlobberUpdate) AddTaskArgs(t ...*Task) *BlobberUpdate + func (bu *BlobberUpdate) AddTaskOutput(t ...*Task) *BlobberUpdate + func (bu *BlobberUpdate) AddTaskOutputIDs(ids ...int64) *BlobberUpdate + func (bu *BlobberUpdate) ClearDeletedAt() *BlobberUpdate + func (bu *BlobberUpdate) ClearTaskArgs() *BlobberUpdate + func (bu *BlobberUpdate) ClearTaskOutput() *BlobberUpdate + func (bu *BlobberUpdate) Exec(ctx context.Context) error + func (bu *BlobberUpdate) ExecX(ctx context.Context) + func (bu *BlobberUpdate) Mutation() *BlobberMutation + func (bu *BlobberUpdate) RemoveTaskArgIDs(ids ...int64) *BlobberUpdate + func (bu *BlobberUpdate) RemoveTaskArgs(t ...*Task) *BlobberUpdate + func (bu *BlobberUpdate) RemoveTaskOutput(t ...*Task) *BlobberUpdate + func (bu *BlobberUpdate) RemoveTaskOutputIDs(ids ...int64) *BlobberUpdate + func (bu *BlobberUpdate) Save(ctx context.Context) (int, error) + func (bu *BlobberUpdate) SaveX(ctx context.Context) int + func (bu *BlobberUpdate) SetBlob(b []byte) *BlobberUpdate + func (bu *BlobberUpdate) SetDeletedAt(t time.Time) *BlobberUpdate + func (bu *BlobberUpdate) SetHash(b []byte) *BlobberUpdate + func (bu *BlobberUpdate) SetNillableDeletedAt(t *time.Time) *BlobberUpdate + func (bu *BlobberUpdate) SetNillableSize(i *int) *BlobberUpdate + func (bu *BlobberUpdate) SetSize(i int) *BlobberUpdate + func (bu *BlobberUpdate) SetUpdatedAt(t time.Time) *BlobberUpdate + func (bu *BlobberUpdate) Where(ps ...predicate.Blobber) *BlobberUpdate + type BlobberUpdateOne struct + func (buo *BlobberUpdateOne) AddSize(i int) *BlobberUpdateOne + func (buo *BlobberUpdateOne) AddTaskArgIDs(ids ...int64) *BlobberUpdateOne + func (buo *BlobberUpdateOne) AddTaskArgs(t ...*Task) *BlobberUpdateOne + func (buo *BlobberUpdateOne) AddTaskOutput(t ...*Task) *BlobberUpdateOne + func (buo *BlobberUpdateOne) AddTaskOutputIDs(ids ...int64) *BlobberUpdateOne + func (buo *BlobberUpdateOne) ClearDeletedAt() *BlobberUpdateOne + func (buo *BlobberUpdateOne) ClearTaskArgs() *BlobberUpdateOne + func (buo *BlobberUpdateOne) ClearTaskOutput() *BlobberUpdateOne + func (buo *BlobberUpdateOne) Exec(ctx context.Context) error + func (buo *BlobberUpdateOne) ExecX(ctx context.Context) + func (buo *BlobberUpdateOne) Mutation() *BlobberMutation + func (buo *BlobberUpdateOne) RemoveTaskArgIDs(ids ...int64) *BlobberUpdateOne + func (buo *BlobberUpdateOne) RemoveTaskArgs(t ...*Task) *BlobberUpdateOne + func (buo *BlobberUpdateOne) RemoveTaskOutput(t ...*Task) *BlobberUpdateOne + func (buo *BlobberUpdateOne) RemoveTaskOutputIDs(ids ...int64) *BlobberUpdateOne + func (buo *BlobberUpdateOne) Save(ctx context.Context) (*Blobber, error) + func (buo *BlobberUpdateOne) SaveX(ctx context.Context) *Blobber + func (buo *BlobberUpdateOne) Select(field string, fields ...string) *BlobberUpdateOne + func (buo *BlobberUpdateOne) SetBlob(b []byte) *BlobberUpdateOne + func (buo *BlobberUpdateOne) SetDeletedAt(t time.Time) *BlobberUpdateOne + func (buo *BlobberUpdateOne) SetHash(b []byte) *BlobberUpdateOne + func (buo *BlobberUpdateOne) SetNillableDeletedAt(t *time.Time) *BlobberUpdateOne + func (buo *BlobberUpdateOne) SetNillableSize(i *int) *BlobberUpdateOne + func (buo *BlobberUpdateOne) SetSize(i int) *BlobberUpdateOne + func (buo *BlobberUpdateOne) SetUpdatedAt(t time.Time) *BlobberUpdateOne + func (buo *BlobberUpdateOne) Where(ps ...predicate.Blobber) *BlobberUpdateOne + type Blobbers []*Blobber + type Chat struct + AuthorID int64 + CreatedAt time.Time + Edges ChatEdges + ID int + IsServer bool + Message string + func (c *Chat) QueryOperator() *OperatorQuery + func (c *Chat) String() string + func (c *Chat) Unwrap() *Chat + func (c *Chat) Update() *ChatUpdateOne + func (c *Chat) Value(name string) (ent.Value, error) + type ChatClient struct + func NewChatClient(c config) *ChatClient + func (c *ChatClient) Create() *ChatCreate + func (c *ChatClient) CreateBulk(builders ...*ChatCreate) *ChatCreateBulk + func (c *ChatClient) Delete() *ChatDelete + func (c *ChatClient) DeleteOne(ch *Chat) *ChatDeleteOne + func (c *ChatClient) DeleteOneID(id int) *ChatDeleteOne + func (c *ChatClient) Get(ctx context.Context, id int) (*Chat, error) + func (c *ChatClient) GetX(ctx context.Context, id int) *Chat + func (c *ChatClient) Hooks() []Hook + func (c *ChatClient) Intercept(interceptors ...Interceptor) + func (c *ChatClient) Interceptors() []Interceptor + func (c *ChatClient) MapCreateBulk(slice any, setFunc func(*ChatCreate, int)) *ChatCreateBulk + func (c *ChatClient) Query() *ChatQuery + func (c *ChatClient) QueryOperator(ch *Chat) *OperatorQuery + func (c *ChatClient) Update() *ChatUpdate + func (c *ChatClient) UpdateOne(ch *Chat) *ChatUpdateOne + func (c *ChatClient) UpdateOneID(id int) *ChatUpdateOne + func (c *ChatClient) Use(hooks ...Hook) + type ChatCreate struct + func (cc *ChatCreate) Exec(ctx context.Context) error + func (cc *ChatCreate) ExecX(ctx context.Context) + func (cc *ChatCreate) Mutation() *ChatMutation + func (cc *ChatCreate) Save(ctx context.Context) (*Chat, error) + func (cc *ChatCreate) SaveX(ctx context.Context) *Chat + func (cc *ChatCreate) SetAuthorID(i int64) *ChatCreate + func (cc *ChatCreate) SetCreatedAt(t time.Time) *ChatCreate + func (cc *ChatCreate) SetIsServer(b bool) *ChatCreate + func (cc *ChatCreate) SetMessage(s string) *ChatCreate + func (cc *ChatCreate) SetNillableAuthorID(i *int64) *ChatCreate + func (cc *ChatCreate) SetNillableCreatedAt(t *time.Time) *ChatCreate + func (cc *ChatCreate) SetNillableIsServer(b *bool) *ChatCreate + func (cc *ChatCreate) SetNillableOperatorID(id *int64) *ChatCreate + func (cc *ChatCreate) SetOperator(o *Operator) *ChatCreate + func (cc *ChatCreate) SetOperatorID(id int64) *ChatCreate + type ChatCreateBulk struct + func (ccb *ChatCreateBulk) Exec(ctx context.Context) error + func (ccb *ChatCreateBulk) ExecX(ctx context.Context) + func (ccb *ChatCreateBulk) Save(ctx context.Context) ([]*Chat, error) + func (ccb *ChatCreateBulk) SaveX(ctx context.Context) []*Chat + type ChatDelete struct + func (cd *ChatDelete) Exec(ctx context.Context) (int, error) + func (cd *ChatDelete) ExecX(ctx context.Context) int + func (cd *ChatDelete) Where(ps ...predicate.Chat) *ChatDelete + type ChatDeleteOne struct + func (cdo *ChatDeleteOne) Exec(ctx context.Context) error + func (cdo *ChatDeleteOne) ExecX(ctx context.Context) + func (cdo *ChatDeleteOne) Where(ps ...predicate.Chat) *ChatDeleteOne + type ChatEdges struct + Operator *Operator + func (e ChatEdges) OperatorOrErr() (*Operator, error) + type ChatGroupBy struct + func (cgb *ChatGroupBy) Aggregate(fns ...AggregateFunc) *ChatGroupBy + func (cgb *ChatGroupBy) Scan(ctx context.Context, v any) error + func (s *ChatGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *ChatGroupBy) BoolX(ctx context.Context) bool + func (s *ChatGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *ChatGroupBy) BoolsX(ctx context.Context) []bool + func (s *ChatGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *ChatGroupBy) Float64X(ctx context.Context) float64 + func (s *ChatGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *ChatGroupBy) Float64sX(ctx context.Context) []float64 + func (s *ChatGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *ChatGroupBy) IntX(ctx context.Context) int + func (s *ChatGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *ChatGroupBy) IntsX(ctx context.Context) []int + func (s *ChatGroupBy) ScanX(ctx context.Context, v any) + func (s *ChatGroupBy) String(ctx context.Context) (_ string, err error) + func (s *ChatGroupBy) StringX(ctx context.Context) string + func (s *ChatGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *ChatGroupBy) StringsX(ctx context.Context) []string + type ChatMutation struct + func (m *ChatMutation) AddField(name string, value ent.Value) error + func (m *ChatMutation) AddedEdges() []string + func (m *ChatMutation) AddedField(name string) (ent.Value, bool) + func (m *ChatMutation) AddedFields() []string + func (m *ChatMutation) AddedIDs(name string) []ent.Value + func (m *ChatMutation) AuthorID() (r int64, exists bool) + func (m *ChatMutation) AuthorIDCleared() bool + func (m *ChatMutation) ClearAuthorID() + func (m *ChatMutation) ClearEdge(name string) error + func (m *ChatMutation) ClearField(name string) error + func (m *ChatMutation) ClearOperator() + func (m *ChatMutation) ClearedEdges() []string + func (m *ChatMutation) ClearedFields() []string + func (m *ChatMutation) CreatedAt() (r time.Time, exists bool) + func (m *ChatMutation) EdgeCleared(name string) bool + func (m *ChatMutation) Field(name string) (ent.Value, bool) + func (m *ChatMutation) FieldCleared(name string) bool + func (m *ChatMutation) Fields() []string + func (m *ChatMutation) ID() (id int, exists bool) + func (m *ChatMutation) IDs(ctx context.Context) ([]int, error) + func (m *ChatMutation) IsServer() (r bool, exists bool) + func (m *ChatMutation) Message() (r string, exists bool) + func (m *ChatMutation) OldAuthorID(ctx context.Context) (v int64, err error) + func (m *ChatMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *ChatMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *ChatMutation) OldIsServer(ctx context.Context) (v bool, err error) + func (m *ChatMutation) OldMessage(ctx context.Context) (v string, err error) + func (m *ChatMutation) Op() Op + func (m *ChatMutation) OperatorCleared() bool + func (m *ChatMutation) OperatorID() (id int64, exists bool) + func (m *ChatMutation) OperatorIDs() (ids []int64) + func (m *ChatMutation) RemovedEdges() []string + func (m *ChatMutation) RemovedIDs(name string) []ent.Value + func (m *ChatMutation) ResetAuthorID() + func (m *ChatMutation) ResetCreatedAt() + func (m *ChatMutation) ResetEdge(name string) error + func (m *ChatMutation) ResetField(name string) error + func (m *ChatMutation) ResetIsServer() + func (m *ChatMutation) ResetMessage() + func (m *ChatMutation) ResetOperator() + func (m *ChatMutation) SetAuthorID(i int64) + func (m *ChatMutation) SetCreatedAt(t time.Time) + func (m *ChatMutation) SetField(name string, value ent.Value) error + func (m *ChatMutation) SetIsServer(b bool) + func (m *ChatMutation) SetMessage(s string) + func (m *ChatMutation) SetOp(op Op) + func (m *ChatMutation) SetOperatorID(id int64) + func (m *ChatMutation) Type() string + func (m *ChatMutation) Where(ps ...predicate.Chat) + func (m *ChatMutation) WhereP(ps ...func(*sql.Selector)) + func (m ChatMutation) Client() *Client + func (m ChatMutation) Tx() (*Tx, error) + type ChatQuery struct + func (cq *ChatQuery) Aggregate(fns ...AggregateFunc) *ChatSelect + func (cq *ChatQuery) All(ctx context.Context) ([]*Chat, error) + func (cq *ChatQuery) AllX(ctx context.Context) []*Chat + func (cq *ChatQuery) Clone() *ChatQuery + func (cq *ChatQuery) Count(ctx context.Context) (int, error) + func (cq *ChatQuery) CountX(ctx context.Context) int + func (cq *ChatQuery) Exist(ctx context.Context) (bool, error) + func (cq *ChatQuery) ExistX(ctx context.Context) bool + func (cq *ChatQuery) First(ctx context.Context) (*Chat, error) + func (cq *ChatQuery) FirstID(ctx context.Context) (id int, err error) + func (cq *ChatQuery) FirstIDX(ctx context.Context) int + func (cq *ChatQuery) FirstX(ctx context.Context) *Chat + func (cq *ChatQuery) ForShare(opts ...sql.LockOption) *ChatQuery + func (cq *ChatQuery) ForUpdate(opts ...sql.LockOption) *ChatQuery + func (cq *ChatQuery) GroupBy(field string, fields ...string) *ChatGroupBy + func (cq *ChatQuery) IDs(ctx context.Context) (ids []int, err error) + func (cq *ChatQuery) IDsX(ctx context.Context) []int + func (cq *ChatQuery) Limit(limit int) *ChatQuery + func (cq *ChatQuery) Offset(offset int) *ChatQuery + func (cq *ChatQuery) Only(ctx context.Context) (*Chat, error) + func (cq *ChatQuery) OnlyID(ctx context.Context) (id int, err error) + func (cq *ChatQuery) OnlyIDX(ctx context.Context) int + func (cq *ChatQuery) OnlyX(ctx context.Context) *Chat + func (cq *ChatQuery) Order(o ...chat.OrderOption) *ChatQuery + func (cq *ChatQuery) QueryOperator() *OperatorQuery + func (cq *ChatQuery) Select(fields ...string) *ChatSelect + func (cq *ChatQuery) Unique(unique bool) *ChatQuery + func (cq *ChatQuery) Where(ps ...predicate.Chat) *ChatQuery + func (cq *ChatQuery) WithOperator(opts ...func(*OperatorQuery)) *ChatQuery + type ChatSelect struct + func (cs *ChatSelect) Aggregate(fns ...AggregateFunc) *ChatSelect + func (cs *ChatSelect) Scan(ctx context.Context, v any) error + func (s *ChatSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *ChatSelect) BoolX(ctx context.Context) bool + func (s *ChatSelect) Bools(ctx context.Context) ([]bool, error) + func (s *ChatSelect) BoolsX(ctx context.Context) []bool + func (s *ChatSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *ChatSelect) Float64X(ctx context.Context) float64 + func (s *ChatSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *ChatSelect) Float64sX(ctx context.Context) []float64 + func (s *ChatSelect) Int(ctx context.Context) (_ int, err error) + func (s *ChatSelect) IntX(ctx context.Context) int + func (s *ChatSelect) Ints(ctx context.Context) ([]int, error) + func (s *ChatSelect) IntsX(ctx context.Context) []int + func (s *ChatSelect) ScanX(ctx context.Context, v any) + func (s *ChatSelect) String(ctx context.Context) (_ string, err error) + func (s *ChatSelect) StringX(ctx context.Context) string + func (s *ChatSelect) Strings(ctx context.Context) ([]string, error) + func (s *ChatSelect) StringsX(ctx context.Context) []string + type ChatUpdate struct + func (cu *ChatUpdate) ClearAuthorID() *ChatUpdate + func (cu *ChatUpdate) ClearOperator() *ChatUpdate + func (cu *ChatUpdate) Exec(ctx context.Context) error + func (cu *ChatUpdate) ExecX(ctx context.Context) + func (cu *ChatUpdate) Mutation() *ChatMutation + func (cu *ChatUpdate) Save(ctx context.Context) (int, error) + func (cu *ChatUpdate) SaveX(ctx context.Context) int + func (cu *ChatUpdate) SetAuthorID(i int64) *ChatUpdate + func (cu *ChatUpdate) SetIsServer(b bool) *ChatUpdate + func (cu *ChatUpdate) SetMessage(s string) *ChatUpdate + func (cu *ChatUpdate) SetNillableAuthorID(i *int64) *ChatUpdate + func (cu *ChatUpdate) SetNillableIsServer(b *bool) *ChatUpdate + func (cu *ChatUpdate) SetNillableMessage(s *string) *ChatUpdate + func (cu *ChatUpdate) SetNillableOperatorID(id *int64) *ChatUpdate + func (cu *ChatUpdate) SetOperator(o *Operator) *ChatUpdate + func (cu *ChatUpdate) SetOperatorID(id int64) *ChatUpdate + func (cu *ChatUpdate) Where(ps ...predicate.Chat) *ChatUpdate + type ChatUpdateOne struct + func (cuo *ChatUpdateOne) ClearAuthorID() *ChatUpdateOne + func (cuo *ChatUpdateOne) ClearOperator() *ChatUpdateOne + func (cuo *ChatUpdateOne) Exec(ctx context.Context) error + func (cuo *ChatUpdateOne) ExecX(ctx context.Context) + func (cuo *ChatUpdateOne) Mutation() *ChatMutation + func (cuo *ChatUpdateOne) Save(ctx context.Context) (*Chat, error) + func (cuo *ChatUpdateOne) SaveX(ctx context.Context) *Chat + func (cuo *ChatUpdateOne) Select(field string, fields ...string) *ChatUpdateOne + func (cuo *ChatUpdateOne) SetAuthorID(i int64) *ChatUpdateOne + func (cuo *ChatUpdateOne) SetIsServer(b bool) *ChatUpdateOne + func (cuo *ChatUpdateOne) SetMessage(s string) *ChatUpdateOne + func (cuo *ChatUpdateOne) SetNillableAuthorID(i *int64) *ChatUpdateOne + func (cuo *ChatUpdateOne) SetNillableIsServer(b *bool) *ChatUpdateOne + func (cuo *ChatUpdateOne) SetNillableMessage(s *string) *ChatUpdateOne + func (cuo *ChatUpdateOne) SetNillableOperatorID(id *int64) *ChatUpdateOne + func (cuo *ChatUpdateOne) SetOperator(o *Operator) *ChatUpdateOne + func (cuo *ChatUpdateOne) SetOperatorID(id int64) *ChatUpdateOne + func (cuo *ChatUpdateOne) Where(ps ...predicate.Chat) *ChatUpdateOne + type Chats []*Chat + type Client struct + Agent *AgentClient + Blobber *BlobberClient + Chat *ChatClient + Command *CommandClient + Credential *CredentialClient + Listener *ListenerClient + Message *MessageClient + Operator *OperatorClient + Pki *PkiClient + Schema *migrate.Schema + Task *TaskClient + 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 Command struct + AgentID uint32 + AuthorID int64 + ClosedAt time.Time + Cmd string + CreatedAt time.Time + Edges CommandEdges + ID int64 + Visible bool + func (c *Command) QueryAgent() *AgentQuery + func (c *Command) QueryMessage() *MessageQuery + func (c *Command) QueryOperator() *OperatorQuery + func (c *Command) QueryTask() *TaskQuery + func (c *Command) String() string + func (c *Command) Unwrap() *Command + func (c *Command) Update() *CommandUpdateOne + func (c *Command) Value(name string) (ent.Value, error) + type CommandClient struct + func NewCommandClient(c config) *CommandClient + func (c *CommandClient) Create() *CommandCreate + func (c *CommandClient) CreateBulk(builders ...*CommandCreate) *CommandCreateBulk + func (c *CommandClient) Delete() *CommandDelete + func (c *CommandClient) DeleteOne(co *Command) *CommandDeleteOne + func (c *CommandClient) DeleteOneID(id int64) *CommandDeleteOne + func (c *CommandClient) Get(ctx context.Context, id int64) (*Command, error) + func (c *CommandClient) GetX(ctx context.Context, id int64) *Command + func (c *CommandClient) Hooks() []Hook + func (c *CommandClient) Intercept(interceptors ...Interceptor) + func (c *CommandClient) Interceptors() []Interceptor + func (c *CommandClient) MapCreateBulk(slice any, setFunc func(*CommandCreate, int)) *CommandCreateBulk + func (c *CommandClient) Query() *CommandQuery + func (c *CommandClient) QueryAgent(co *Command) *AgentQuery + func (c *CommandClient) QueryMessage(co *Command) *MessageQuery + func (c *CommandClient) QueryOperator(co *Command) *OperatorQuery + func (c *CommandClient) QueryTask(co *Command) *TaskQuery + func (c *CommandClient) Update() *CommandUpdate + func (c *CommandClient) UpdateOne(co *Command) *CommandUpdateOne + func (c *CommandClient) UpdateOneID(id int64) *CommandUpdateOne + func (c *CommandClient) Use(hooks ...Hook) + type CommandCreate struct + func (cc *CommandCreate) AddMessage(m ...*Message) *CommandCreate + func (cc *CommandCreate) AddMessageIDs(ids ...int) *CommandCreate + func (cc *CommandCreate) AddTask(t ...*Task) *CommandCreate + func (cc *CommandCreate) AddTaskIDs(ids ...int64) *CommandCreate + func (cc *CommandCreate) Exec(ctx context.Context) error + func (cc *CommandCreate) ExecX(ctx context.Context) + func (cc *CommandCreate) Mutation() *CommandMutation + func (cc *CommandCreate) Save(ctx context.Context) (*Command, error) + func (cc *CommandCreate) SaveX(ctx context.Context) *Command + func (cc *CommandCreate) SetAgent(a *Agent) *CommandCreate + func (cc *CommandCreate) SetAgentID(u uint32) *CommandCreate + func (cc *CommandCreate) SetAuthorID(i int64) *CommandCreate + func (cc *CommandCreate) SetClosedAt(t time.Time) *CommandCreate + func (cc *CommandCreate) SetCmd(s string) *CommandCreate + func (cc *CommandCreate) SetCreatedAt(t time.Time) *CommandCreate + func (cc *CommandCreate) SetID(i int64) *CommandCreate + func (cc *CommandCreate) SetNillableClosedAt(t *time.Time) *CommandCreate + func (cc *CommandCreate) SetNillableCreatedAt(t *time.Time) *CommandCreate + func (cc *CommandCreate) SetOperator(o *Operator) *CommandCreate + func (cc *CommandCreate) SetOperatorID(id int64) *CommandCreate + func (cc *CommandCreate) SetVisible(b bool) *CommandCreate + type CommandCreateBulk struct + func (ccb *CommandCreateBulk) Exec(ctx context.Context) error + func (ccb *CommandCreateBulk) ExecX(ctx context.Context) + func (ccb *CommandCreateBulk) Save(ctx context.Context) ([]*Command, error) + func (ccb *CommandCreateBulk) SaveX(ctx context.Context) []*Command + type CommandDelete struct + func (cd *CommandDelete) Exec(ctx context.Context) (int, error) + func (cd *CommandDelete) ExecX(ctx context.Context) int + func (cd *CommandDelete) Where(ps ...predicate.Command) *CommandDelete + type CommandDeleteOne struct + func (cdo *CommandDeleteOne) Exec(ctx context.Context) error + func (cdo *CommandDeleteOne) ExecX(ctx context.Context) + func (cdo *CommandDeleteOne) Where(ps ...predicate.Command) *CommandDeleteOne + type CommandEdges struct + Agent *Agent + Message []*Message + Operator *Operator + Task []*Task + func (e CommandEdges) AgentOrErr() (*Agent, error) + func (e CommandEdges) MessageOrErr() ([]*Message, error) + func (e CommandEdges) OperatorOrErr() (*Operator, error) + func (e CommandEdges) TaskOrErr() ([]*Task, error) + type CommandGroupBy struct + func (cgb *CommandGroupBy) Aggregate(fns ...AggregateFunc) *CommandGroupBy + func (cgb *CommandGroupBy) Scan(ctx context.Context, v any) error + func (s *CommandGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *CommandGroupBy) BoolX(ctx context.Context) bool + func (s *CommandGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *CommandGroupBy) BoolsX(ctx context.Context) []bool + func (s *CommandGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *CommandGroupBy) Float64X(ctx context.Context) float64 + func (s *CommandGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *CommandGroupBy) Float64sX(ctx context.Context) []float64 + func (s *CommandGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *CommandGroupBy) IntX(ctx context.Context) int + func (s *CommandGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *CommandGroupBy) IntsX(ctx context.Context) []int + func (s *CommandGroupBy) ScanX(ctx context.Context, v any) + func (s *CommandGroupBy) String(ctx context.Context) (_ string, err error) + func (s *CommandGroupBy) StringX(ctx context.Context) string + func (s *CommandGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *CommandGroupBy) StringsX(ctx context.Context) []string + type CommandMutation struct + func (m *CommandMutation) AddField(name string, value ent.Value) error + func (m *CommandMutation) AddMessageIDs(ids ...int) + func (m *CommandMutation) AddTaskIDs(ids ...int64) + func (m *CommandMutation) AddedEdges() []string + func (m *CommandMutation) AddedField(name string) (ent.Value, bool) + func (m *CommandMutation) AddedFields() []string + func (m *CommandMutation) AddedIDs(name string) []ent.Value + func (m *CommandMutation) AgentCleared() bool + func (m *CommandMutation) AgentID() (r uint32, exists bool) + func (m *CommandMutation) AgentIDs() (ids []uint32) + func (m *CommandMutation) AuthorID() (r int64, exists bool) + func (m *CommandMutation) ClearAgent() + func (m *CommandMutation) ClearClosedAt() + func (m *CommandMutation) ClearEdge(name string) error + func (m *CommandMutation) ClearField(name string) error + func (m *CommandMutation) ClearMessage() + func (m *CommandMutation) ClearOperator() + func (m *CommandMutation) ClearTask() + func (m *CommandMutation) ClearedEdges() []string + func (m *CommandMutation) ClearedFields() []string + func (m *CommandMutation) ClosedAt() (r time.Time, exists bool) + func (m *CommandMutation) ClosedAtCleared() bool + func (m *CommandMutation) Cmd() (r string, exists bool) + func (m *CommandMutation) CreatedAt() (r time.Time, exists bool) + func (m *CommandMutation) EdgeCleared(name string) bool + func (m *CommandMutation) Field(name string) (ent.Value, bool) + func (m *CommandMutation) FieldCleared(name string) bool + func (m *CommandMutation) Fields() []string + func (m *CommandMutation) ID() (id int64, exists bool) + func (m *CommandMutation) IDs(ctx context.Context) ([]int64, error) + func (m *CommandMutation) MessageCleared() bool + func (m *CommandMutation) MessageIDs() (ids []int) + func (m *CommandMutation) OldAgentID(ctx context.Context) (v uint32, err error) + func (m *CommandMutation) OldAuthorID(ctx context.Context) (v int64, err error) + func (m *CommandMutation) OldClosedAt(ctx context.Context) (v time.Time, err error) + func (m *CommandMutation) OldCmd(ctx context.Context) (v string, err error) + func (m *CommandMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *CommandMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *CommandMutation) OldVisible(ctx context.Context) (v bool, err error) + func (m *CommandMutation) Op() Op + func (m *CommandMutation) OperatorCleared() bool + func (m *CommandMutation) OperatorID() (id int64, exists bool) + func (m *CommandMutation) OperatorIDs() (ids []int64) + func (m *CommandMutation) RemoveMessageIDs(ids ...int) + func (m *CommandMutation) RemoveTaskIDs(ids ...int64) + func (m *CommandMutation) RemovedEdges() []string + func (m *CommandMutation) RemovedIDs(name string) []ent.Value + func (m *CommandMutation) RemovedMessageIDs() (ids []int) + func (m *CommandMutation) RemovedTaskIDs() (ids []int64) + func (m *CommandMutation) ResetAgent() + func (m *CommandMutation) ResetAgentID() + func (m *CommandMutation) ResetAuthorID() + func (m *CommandMutation) ResetClosedAt() + func (m *CommandMutation) ResetCmd() + func (m *CommandMutation) ResetCreatedAt() + func (m *CommandMutation) ResetEdge(name string) error + func (m *CommandMutation) ResetField(name string) error + func (m *CommandMutation) ResetMessage() + func (m *CommandMutation) ResetOperator() + func (m *CommandMutation) ResetTask() + func (m *CommandMutation) ResetVisible() + func (m *CommandMutation) SetAgentID(u uint32) + func (m *CommandMutation) SetAuthorID(i int64) + func (m *CommandMutation) SetClosedAt(t time.Time) + func (m *CommandMutation) SetCmd(s string) + func (m *CommandMutation) SetCreatedAt(t time.Time) + func (m *CommandMutation) SetField(name string, value ent.Value) error + func (m *CommandMutation) SetID(id int64) + func (m *CommandMutation) SetOp(op Op) + func (m *CommandMutation) SetOperatorID(id int64) + func (m *CommandMutation) SetVisible(b bool) + func (m *CommandMutation) TaskCleared() bool + func (m *CommandMutation) TaskIDs() (ids []int64) + func (m *CommandMutation) Type() string + func (m *CommandMutation) Visible() (r bool, exists bool) + func (m *CommandMutation) Where(ps ...predicate.Command) + func (m *CommandMutation) WhereP(ps ...func(*sql.Selector)) + func (m CommandMutation) Client() *Client + func (m CommandMutation) Tx() (*Tx, error) + type CommandQuery struct + func (cq *CommandQuery) Aggregate(fns ...AggregateFunc) *CommandSelect + func (cq *CommandQuery) All(ctx context.Context) ([]*Command, error) + func (cq *CommandQuery) AllX(ctx context.Context) []*Command + func (cq *CommandQuery) Clone() *CommandQuery + func (cq *CommandQuery) Count(ctx context.Context) (int, error) + func (cq *CommandQuery) CountX(ctx context.Context) int + func (cq *CommandQuery) Exist(ctx context.Context) (bool, error) + func (cq *CommandQuery) ExistX(ctx context.Context) bool + func (cq *CommandQuery) First(ctx context.Context) (*Command, error) + func (cq *CommandQuery) FirstID(ctx context.Context) (id int64, err error) + func (cq *CommandQuery) FirstIDX(ctx context.Context) int64 + func (cq *CommandQuery) FirstX(ctx context.Context) *Command + func (cq *CommandQuery) ForShare(opts ...sql.LockOption) *CommandQuery + func (cq *CommandQuery) ForUpdate(opts ...sql.LockOption) *CommandQuery + func (cq *CommandQuery) GroupBy(field string, fields ...string) *CommandGroupBy + func (cq *CommandQuery) IDs(ctx context.Context) (ids []int64, err error) + func (cq *CommandQuery) IDsX(ctx context.Context) []int64 + func (cq *CommandQuery) Limit(limit int) *CommandQuery + func (cq *CommandQuery) Offset(offset int) *CommandQuery + func (cq *CommandQuery) Only(ctx context.Context) (*Command, error) + func (cq *CommandQuery) OnlyID(ctx context.Context) (id int64, err error) + func (cq *CommandQuery) OnlyIDX(ctx context.Context) int64 + func (cq *CommandQuery) OnlyX(ctx context.Context) *Command + func (cq *CommandQuery) Order(o ...command.OrderOption) *CommandQuery + func (cq *CommandQuery) QueryAgent() *AgentQuery + func (cq *CommandQuery) QueryMessage() *MessageQuery + func (cq *CommandQuery) QueryOperator() *OperatorQuery + func (cq *CommandQuery) QueryTask() *TaskQuery + func (cq *CommandQuery) Select(fields ...string) *CommandSelect + func (cq *CommandQuery) Unique(unique bool) *CommandQuery + func (cq *CommandQuery) Where(ps ...predicate.Command) *CommandQuery + func (cq *CommandQuery) WithAgent(opts ...func(*AgentQuery)) *CommandQuery + func (cq *CommandQuery) WithMessage(opts ...func(*MessageQuery)) *CommandQuery + func (cq *CommandQuery) WithOperator(opts ...func(*OperatorQuery)) *CommandQuery + func (cq *CommandQuery) WithTask(opts ...func(*TaskQuery)) *CommandQuery + type CommandSelect struct + func (cs *CommandSelect) Aggregate(fns ...AggregateFunc) *CommandSelect + func (cs *CommandSelect) Scan(ctx context.Context, v any) error + func (s *CommandSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *CommandSelect) BoolX(ctx context.Context) bool + func (s *CommandSelect) Bools(ctx context.Context) ([]bool, error) + func (s *CommandSelect) BoolsX(ctx context.Context) []bool + func (s *CommandSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *CommandSelect) Float64X(ctx context.Context) float64 + func (s *CommandSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *CommandSelect) Float64sX(ctx context.Context) []float64 + func (s *CommandSelect) Int(ctx context.Context) (_ int, err error) + func (s *CommandSelect) IntX(ctx context.Context) int + func (s *CommandSelect) Ints(ctx context.Context) ([]int, error) + func (s *CommandSelect) IntsX(ctx context.Context) []int + func (s *CommandSelect) ScanX(ctx context.Context, v any) + func (s *CommandSelect) String(ctx context.Context) (_ string, err error) + func (s *CommandSelect) StringX(ctx context.Context) string + func (s *CommandSelect) Strings(ctx context.Context) ([]string, error) + func (s *CommandSelect) StringsX(ctx context.Context) []string + type CommandUpdate struct + func (cu *CommandUpdate) AddMessage(m ...*Message) *CommandUpdate + func (cu *CommandUpdate) AddMessageIDs(ids ...int) *CommandUpdate + func (cu *CommandUpdate) AddTask(t ...*Task) *CommandUpdate + func (cu *CommandUpdate) AddTaskIDs(ids ...int64) *CommandUpdate + func (cu *CommandUpdate) ClearAgent() *CommandUpdate + func (cu *CommandUpdate) ClearClosedAt() *CommandUpdate + func (cu *CommandUpdate) ClearMessage() *CommandUpdate + func (cu *CommandUpdate) ClearOperator() *CommandUpdate + func (cu *CommandUpdate) ClearTask() *CommandUpdate + func (cu *CommandUpdate) Exec(ctx context.Context) error + func (cu *CommandUpdate) ExecX(ctx context.Context) + func (cu *CommandUpdate) Mutation() *CommandMutation + func (cu *CommandUpdate) RemoveMessage(m ...*Message) *CommandUpdate + func (cu *CommandUpdate) RemoveMessageIDs(ids ...int) *CommandUpdate + func (cu *CommandUpdate) RemoveTask(t ...*Task) *CommandUpdate + func (cu *CommandUpdate) RemoveTaskIDs(ids ...int64) *CommandUpdate + func (cu *CommandUpdate) Save(ctx context.Context) (int, error) + func (cu *CommandUpdate) SaveX(ctx context.Context) int + func (cu *CommandUpdate) SetAgent(a *Agent) *CommandUpdate + func (cu *CommandUpdate) SetAgentID(u uint32) *CommandUpdate + func (cu *CommandUpdate) SetAuthorID(i int64) *CommandUpdate + func (cu *CommandUpdate) SetClosedAt(t time.Time) *CommandUpdate + func (cu *CommandUpdate) SetCmd(s string) *CommandUpdate + func (cu *CommandUpdate) SetCreatedAt(t time.Time) *CommandUpdate + func (cu *CommandUpdate) SetNillableAgentID(u *uint32) *CommandUpdate + func (cu *CommandUpdate) SetNillableAuthorID(i *int64) *CommandUpdate + func (cu *CommandUpdate) SetNillableClosedAt(t *time.Time) *CommandUpdate + func (cu *CommandUpdate) SetNillableCmd(s *string) *CommandUpdate + func (cu *CommandUpdate) SetNillableCreatedAt(t *time.Time) *CommandUpdate + func (cu *CommandUpdate) SetNillableVisible(b *bool) *CommandUpdate + func (cu *CommandUpdate) SetOperator(o *Operator) *CommandUpdate + func (cu *CommandUpdate) SetOperatorID(id int64) *CommandUpdate + func (cu *CommandUpdate) SetVisible(b bool) *CommandUpdate + func (cu *CommandUpdate) Where(ps ...predicate.Command) *CommandUpdate + type CommandUpdateOne struct + func (cuo *CommandUpdateOne) AddMessage(m ...*Message) *CommandUpdateOne + func (cuo *CommandUpdateOne) AddMessageIDs(ids ...int) *CommandUpdateOne + func (cuo *CommandUpdateOne) AddTask(t ...*Task) *CommandUpdateOne + func (cuo *CommandUpdateOne) AddTaskIDs(ids ...int64) *CommandUpdateOne + func (cuo *CommandUpdateOne) ClearAgent() *CommandUpdateOne + func (cuo *CommandUpdateOne) ClearClosedAt() *CommandUpdateOne + func (cuo *CommandUpdateOne) ClearMessage() *CommandUpdateOne + func (cuo *CommandUpdateOne) ClearOperator() *CommandUpdateOne + func (cuo *CommandUpdateOne) ClearTask() *CommandUpdateOne + func (cuo *CommandUpdateOne) Exec(ctx context.Context) error + func (cuo *CommandUpdateOne) ExecX(ctx context.Context) + func (cuo *CommandUpdateOne) Mutation() *CommandMutation + func (cuo *CommandUpdateOne) RemoveMessage(m ...*Message) *CommandUpdateOne + func (cuo *CommandUpdateOne) RemoveMessageIDs(ids ...int) *CommandUpdateOne + func (cuo *CommandUpdateOne) RemoveTask(t ...*Task) *CommandUpdateOne + func (cuo *CommandUpdateOne) RemoveTaskIDs(ids ...int64) *CommandUpdateOne + func (cuo *CommandUpdateOne) Save(ctx context.Context) (*Command, error) + func (cuo *CommandUpdateOne) SaveX(ctx context.Context) *Command + func (cuo *CommandUpdateOne) Select(field string, fields ...string) *CommandUpdateOne + func (cuo *CommandUpdateOne) SetAgent(a *Agent) *CommandUpdateOne + func (cuo *CommandUpdateOne) SetAgentID(u uint32) *CommandUpdateOne + func (cuo *CommandUpdateOne) SetAuthorID(i int64) *CommandUpdateOne + func (cuo *CommandUpdateOne) SetClosedAt(t time.Time) *CommandUpdateOne + func (cuo *CommandUpdateOne) SetCmd(s string) *CommandUpdateOne + func (cuo *CommandUpdateOne) SetCreatedAt(t time.Time) *CommandUpdateOne + func (cuo *CommandUpdateOne) SetNillableAgentID(u *uint32) *CommandUpdateOne + func (cuo *CommandUpdateOne) SetNillableAuthorID(i *int64) *CommandUpdateOne + func (cuo *CommandUpdateOne) SetNillableClosedAt(t *time.Time) *CommandUpdateOne + func (cuo *CommandUpdateOne) SetNillableCmd(s *string) *CommandUpdateOne + func (cuo *CommandUpdateOne) SetNillableCreatedAt(t *time.Time) *CommandUpdateOne + func (cuo *CommandUpdateOne) SetNillableVisible(b *bool) *CommandUpdateOne + func (cuo *CommandUpdateOne) SetOperator(o *Operator) *CommandUpdateOne + func (cuo *CommandUpdateOne) SetOperatorID(id int64) *CommandUpdateOne + func (cuo *CommandUpdateOne) SetVisible(b bool) *CommandUpdateOne + func (cuo *CommandUpdateOne) Where(ps ...predicate.Command) *CommandUpdateOne + type Commands []*Command + 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 Credential struct + Color uint32 + CreatedAt time.Time + DeletedAt time.Time + Host string + ID int64 + Note string + Realm string + Secret string + UpdatedAt time.Time + Username string + func (c *Credential) String() string + func (c *Credential) Unwrap() *Credential + func (c *Credential) Update() *CredentialUpdateOne + func (c *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(cr *Credential) *CredentialDeleteOne + func (c *CredentialClient) DeleteOneID(id int64) *CredentialDeleteOne + func (c *CredentialClient) Get(ctx context.Context, id int64) (*Credential, error) + func (c *CredentialClient) GetX(ctx context.Context, id int64) *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(cr *Credential) *CredentialUpdateOne + func (c *CredentialClient) UpdateOneID(id int64) *CredentialUpdateOne + func (c *CredentialClient) Use(hooks ...Hook) + type CredentialCreate struct + func (cc *CredentialCreate) Exec(ctx context.Context) error + func (cc *CredentialCreate) ExecX(ctx context.Context) + func (cc *CredentialCreate) Mutation() *CredentialMutation + func (cc *CredentialCreate) Save(ctx context.Context) (*Credential, error) + func (cc *CredentialCreate) SaveX(ctx context.Context) *Credential + func (cc *CredentialCreate) SetColor(u uint32) *CredentialCreate + func (cc *CredentialCreate) SetCreatedAt(t time.Time) *CredentialCreate + func (cc *CredentialCreate) SetDeletedAt(t time.Time) *CredentialCreate + func (cc *CredentialCreate) SetHost(s string) *CredentialCreate + func (cc *CredentialCreate) SetID(i int64) *CredentialCreate + func (cc *CredentialCreate) SetNillableColor(u *uint32) *CredentialCreate + func (cc *CredentialCreate) SetNillableCreatedAt(t *time.Time) *CredentialCreate + func (cc *CredentialCreate) SetNillableDeletedAt(t *time.Time) *CredentialCreate + func (cc *CredentialCreate) SetNillableHost(s *string) *CredentialCreate + func (cc *CredentialCreate) SetNillableNote(s *string) *CredentialCreate + func (cc *CredentialCreate) SetNillableRealm(s *string) *CredentialCreate + func (cc *CredentialCreate) SetNillableSecret(s *string) *CredentialCreate + func (cc *CredentialCreate) SetNillableUpdatedAt(t *time.Time) *CredentialCreate + func (cc *CredentialCreate) SetNillableUsername(s *string) *CredentialCreate + func (cc *CredentialCreate) SetNote(s string) *CredentialCreate + func (cc *CredentialCreate) SetRealm(s string) *CredentialCreate + func (cc *CredentialCreate) SetSecret(s string) *CredentialCreate + func (cc *CredentialCreate) SetUpdatedAt(t time.Time) *CredentialCreate + func (cc *CredentialCreate) SetUsername(s string) *CredentialCreate + type CredentialCreateBulk struct + func (ccb *CredentialCreateBulk) Exec(ctx context.Context) error + func (ccb *CredentialCreateBulk) ExecX(ctx context.Context) + func (ccb *CredentialCreateBulk) Save(ctx context.Context) ([]*Credential, error) + func (ccb *CredentialCreateBulk) SaveX(ctx context.Context) []*Credential + type CredentialDelete struct + func (cd *CredentialDelete) Exec(ctx context.Context) (int, error) + func (cd *CredentialDelete) ExecX(ctx context.Context) int + func (cd *CredentialDelete) Where(ps ...predicate.Credential) *CredentialDelete + type CredentialDeleteOne struct + func (cdo *CredentialDeleteOne) Exec(ctx context.Context) error + func (cdo *CredentialDeleteOne) ExecX(ctx context.Context) + func (cdo *CredentialDeleteOne) Where(ps ...predicate.Credential) *CredentialDeleteOne + type CredentialGroupBy struct + func (cgb *CredentialGroupBy) Aggregate(fns ...AggregateFunc) *CredentialGroupBy + func (cgb *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) AddColor(u int32) + func (m *CredentialMutation) AddField(name string, value ent.Value) error + func (m *CredentialMutation) AddedColor() (r int32, exists bool) + 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) ClearDeletedAt() + func (m *CredentialMutation) ClearEdge(name string) error + func (m *CredentialMutation) ClearField(name string) error + func (m *CredentialMutation) ClearHost() + func (m *CredentialMutation) ClearNote() + func (m *CredentialMutation) ClearRealm() + func (m *CredentialMutation) ClearSecret() + func (m *CredentialMutation) ClearUsername() + func (m *CredentialMutation) ClearedEdges() []string + func (m *CredentialMutation) ClearedFields() []string + func (m *CredentialMutation) Color() (r uint32, exists bool) + func (m *CredentialMutation) CreatedAt() (r time.Time, exists bool) + func (m *CredentialMutation) DeletedAt() (r time.Time, exists bool) + func (m *CredentialMutation) DeletedAtCleared() bool + func (m *CredentialMutation) EdgeCleared(name string) 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) Host() (r string, exists bool) + func (m *CredentialMutation) HostCleared() bool + func (m *CredentialMutation) ID() (id int64, exists bool) + func (m *CredentialMutation) IDs(ctx context.Context) ([]int64, error) + func (m *CredentialMutation) Note() (r string, exists bool) + func (m *CredentialMutation) NoteCleared() bool + func (m *CredentialMutation) OldColor(ctx context.Context) (v uint32, err error) + func (m *CredentialMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *CredentialMutation) OldDeletedAt(ctx context.Context) (v time.Time, err error) + func (m *CredentialMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *CredentialMutation) OldHost(ctx context.Context) (v string, err error) + func (m *CredentialMutation) OldNote(ctx context.Context) (v string, err error) + func (m *CredentialMutation) OldRealm(ctx context.Context) (v string, err error) + func (m *CredentialMutation) OldSecret(ctx context.Context) (v string, err error) + func (m *CredentialMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *CredentialMutation) OldUsername(ctx context.Context) (v string, err error) + func (m *CredentialMutation) Op() Op + func (m *CredentialMutation) Realm() (r string, exists bool) + func (m *CredentialMutation) RealmCleared() bool + func (m *CredentialMutation) RemovedEdges() []string + func (m *CredentialMutation) RemovedIDs(name string) []ent.Value + func (m *CredentialMutation) ResetColor() + func (m *CredentialMutation) ResetCreatedAt() + func (m *CredentialMutation) ResetDeletedAt() + func (m *CredentialMutation) ResetEdge(name string) error + func (m *CredentialMutation) ResetField(name string) error + func (m *CredentialMutation) ResetHost() + func (m *CredentialMutation) ResetNote() + func (m *CredentialMutation) ResetRealm() + func (m *CredentialMutation) ResetSecret() + func (m *CredentialMutation) ResetUpdatedAt() + func (m *CredentialMutation) ResetUsername() + func (m *CredentialMutation) Secret() (r string, exists bool) + func (m *CredentialMutation) SecretCleared() bool + func (m *CredentialMutation) SetColor(u uint32) + func (m *CredentialMutation) SetCreatedAt(t time.Time) + func (m *CredentialMutation) SetDeletedAt(t time.Time) + func (m *CredentialMutation) SetField(name string, value ent.Value) error + func (m *CredentialMutation) SetHost(s string) + func (m *CredentialMutation) SetID(id int64) + func (m *CredentialMutation) SetNote(s string) + func (m *CredentialMutation) SetOp(op Op) + func (m *CredentialMutation) SetRealm(s string) + func (m *CredentialMutation) SetSecret(s string) + func (m *CredentialMutation) SetUpdatedAt(t time.Time) + func (m *CredentialMutation) SetUsername(s string) + func (m *CredentialMutation) Type() string + func (m *CredentialMutation) UpdatedAt() (r time.Time, exists bool) + func (m *CredentialMutation) Username() (r string, exists bool) + func (m *CredentialMutation) UsernameCleared() 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 (cq *CredentialQuery) Aggregate(fns ...AggregateFunc) *CredentialSelect + func (cq *CredentialQuery) All(ctx context.Context) ([]*Credential, error) + func (cq *CredentialQuery) AllX(ctx context.Context) []*Credential + func (cq *CredentialQuery) Clone() *CredentialQuery + func (cq *CredentialQuery) Count(ctx context.Context) (int, error) + func (cq *CredentialQuery) CountX(ctx context.Context) int + func (cq *CredentialQuery) Exist(ctx context.Context) (bool, error) + func (cq *CredentialQuery) ExistX(ctx context.Context) bool + func (cq *CredentialQuery) First(ctx context.Context) (*Credential, error) + func (cq *CredentialQuery) FirstID(ctx context.Context) (id int64, err error) + func (cq *CredentialQuery) FirstIDX(ctx context.Context) int64 + func (cq *CredentialQuery) FirstX(ctx context.Context) *Credential + func (cq *CredentialQuery) ForShare(opts ...sql.LockOption) *CredentialQuery + func (cq *CredentialQuery) ForUpdate(opts ...sql.LockOption) *CredentialQuery + func (cq *CredentialQuery) GroupBy(field string, fields ...string) *CredentialGroupBy + func (cq *CredentialQuery) IDs(ctx context.Context) (ids []int64, err error) + func (cq *CredentialQuery) IDsX(ctx context.Context) []int64 + func (cq *CredentialQuery) Limit(limit int) *CredentialQuery + func (cq *CredentialQuery) Offset(offset int) *CredentialQuery + func (cq *CredentialQuery) Only(ctx context.Context) (*Credential, error) + func (cq *CredentialQuery) OnlyID(ctx context.Context) (id int64, err error) + func (cq *CredentialQuery) OnlyIDX(ctx context.Context) int64 + func (cq *CredentialQuery) OnlyX(ctx context.Context) *Credential + func (cq *CredentialQuery) Order(o ...credential.OrderOption) *CredentialQuery + func (cq *CredentialQuery) Select(fields ...string) *CredentialSelect + func (cq *CredentialQuery) Unique(unique bool) *CredentialQuery + func (cq *CredentialQuery) Where(ps ...predicate.Credential) *CredentialQuery + type CredentialSelect struct + func (cs *CredentialSelect) Aggregate(fns ...AggregateFunc) *CredentialSelect + func (cs *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 (cu *CredentialUpdate) AddColor(u int32) *CredentialUpdate + func (cu *CredentialUpdate) ClearDeletedAt() *CredentialUpdate + func (cu *CredentialUpdate) ClearHost() *CredentialUpdate + func (cu *CredentialUpdate) ClearNote() *CredentialUpdate + func (cu *CredentialUpdate) ClearRealm() *CredentialUpdate + func (cu *CredentialUpdate) ClearSecret() *CredentialUpdate + func (cu *CredentialUpdate) ClearUsername() *CredentialUpdate + func (cu *CredentialUpdate) Exec(ctx context.Context) error + func (cu *CredentialUpdate) ExecX(ctx context.Context) + func (cu *CredentialUpdate) Mutation() *CredentialMutation + func (cu *CredentialUpdate) Save(ctx context.Context) (int, error) + func (cu *CredentialUpdate) SaveX(ctx context.Context) int + func (cu *CredentialUpdate) SetColor(u uint32) *CredentialUpdate + func (cu *CredentialUpdate) SetDeletedAt(t time.Time) *CredentialUpdate + func (cu *CredentialUpdate) SetHost(s string) *CredentialUpdate + func (cu *CredentialUpdate) SetNillableColor(u *uint32) *CredentialUpdate + func (cu *CredentialUpdate) SetNillableDeletedAt(t *time.Time) *CredentialUpdate + func (cu *CredentialUpdate) SetNillableHost(s *string) *CredentialUpdate + func (cu *CredentialUpdate) SetNillableNote(s *string) *CredentialUpdate + func (cu *CredentialUpdate) SetNillableRealm(s *string) *CredentialUpdate + func (cu *CredentialUpdate) SetNillableSecret(s *string) *CredentialUpdate + func (cu *CredentialUpdate) SetNillableUsername(s *string) *CredentialUpdate + func (cu *CredentialUpdate) SetNote(s string) *CredentialUpdate + func (cu *CredentialUpdate) SetRealm(s string) *CredentialUpdate + func (cu *CredentialUpdate) SetSecret(s string) *CredentialUpdate + func (cu *CredentialUpdate) SetUpdatedAt(t time.Time) *CredentialUpdate + func (cu *CredentialUpdate) SetUsername(s string) *CredentialUpdate + func (cu *CredentialUpdate) Where(ps ...predicate.Credential) *CredentialUpdate + type CredentialUpdateOne struct + func (cuo *CredentialUpdateOne) AddColor(u int32) *CredentialUpdateOne + func (cuo *CredentialUpdateOne) ClearDeletedAt() *CredentialUpdateOne + func (cuo *CredentialUpdateOne) ClearHost() *CredentialUpdateOne + func (cuo *CredentialUpdateOne) ClearNote() *CredentialUpdateOne + func (cuo *CredentialUpdateOne) ClearRealm() *CredentialUpdateOne + func (cuo *CredentialUpdateOne) ClearSecret() *CredentialUpdateOne + func (cuo *CredentialUpdateOne) ClearUsername() *CredentialUpdateOne + func (cuo *CredentialUpdateOne) Exec(ctx context.Context) error + func (cuo *CredentialUpdateOne) ExecX(ctx context.Context) + func (cuo *CredentialUpdateOne) Mutation() *CredentialMutation + func (cuo *CredentialUpdateOne) Save(ctx context.Context) (*Credential, error) + func (cuo *CredentialUpdateOne) SaveX(ctx context.Context) *Credential + func (cuo *CredentialUpdateOne) Select(field string, fields ...string) *CredentialUpdateOne + func (cuo *CredentialUpdateOne) SetColor(u uint32) *CredentialUpdateOne + func (cuo *CredentialUpdateOne) SetDeletedAt(t time.Time) *CredentialUpdateOne + func (cuo *CredentialUpdateOne) SetHost(s string) *CredentialUpdateOne + func (cuo *CredentialUpdateOne) SetNillableColor(u *uint32) *CredentialUpdateOne + func (cuo *CredentialUpdateOne) SetNillableDeletedAt(t *time.Time) *CredentialUpdateOne + func (cuo *CredentialUpdateOne) SetNillableHost(s *string) *CredentialUpdateOne + func (cuo *CredentialUpdateOne) SetNillableNote(s *string) *CredentialUpdateOne + func (cuo *CredentialUpdateOne) SetNillableRealm(s *string) *CredentialUpdateOne + func (cuo *CredentialUpdateOne) SetNillableSecret(s *string) *CredentialUpdateOne + func (cuo *CredentialUpdateOne) SetNillableUsername(s *string) *CredentialUpdateOne + func (cuo *CredentialUpdateOne) SetNote(s string) *CredentialUpdateOne + func (cuo *CredentialUpdateOne) SetRealm(s string) *CredentialUpdateOne + func (cuo *CredentialUpdateOne) SetSecret(s string) *CredentialUpdateOne + func (cuo *CredentialUpdateOne) SetUpdatedAt(t time.Time) *CredentialUpdateOne + func (cuo *CredentialUpdateOne) SetUsername(s string) *CredentialUpdateOne + func (cuo *CredentialUpdateOne) Where(ps ...predicate.Credential) *CredentialUpdateOne + type Credentials []*Credential + type Hook = ent.Hook + type InterceptFunc = ent.InterceptFunc + type Interceptor = ent.Interceptor + type Listener struct + Color uint32 + CreatedAt time.Time + DeletedAt time.Time + Edges ListenerEdges + ID int64 + IP types.Inet + Last time.Time + Name string + Note string + Port uint16 + Token string + UpdatedAt time.Time + func (l *Listener) QueryAgent() *AgentQuery + func (l *Listener) String() string + func (l *Listener) Unwrap() *Listener + func (l *Listener) Update() *ListenerUpdateOne + func (l *Listener) Value(name string) (ent.Value, error) + type ListenerClient struct + func NewListenerClient(c config) *ListenerClient + func (c *ListenerClient) Create() *ListenerCreate + func (c *ListenerClient) CreateBulk(builders ...*ListenerCreate) *ListenerCreateBulk + func (c *ListenerClient) Delete() *ListenerDelete + func (c *ListenerClient) DeleteOne(l *Listener) *ListenerDeleteOne + func (c *ListenerClient) DeleteOneID(id int64) *ListenerDeleteOne + func (c *ListenerClient) Get(ctx context.Context, id int64) (*Listener, error) + func (c *ListenerClient) GetX(ctx context.Context, id int64) *Listener + func (c *ListenerClient) Hooks() []Hook + func (c *ListenerClient) Intercept(interceptors ...Interceptor) + func (c *ListenerClient) Interceptors() []Interceptor + func (c *ListenerClient) MapCreateBulk(slice any, setFunc func(*ListenerCreate, int)) *ListenerCreateBulk + func (c *ListenerClient) Query() *ListenerQuery + func (c *ListenerClient) QueryAgent(l *Listener) *AgentQuery + func (c *ListenerClient) Update() *ListenerUpdate + func (c *ListenerClient) UpdateOne(l *Listener) *ListenerUpdateOne + func (c *ListenerClient) UpdateOneID(id int64) *ListenerUpdateOne + func (c *ListenerClient) Use(hooks ...Hook) + type ListenerCreate struct + func (lc *ListenerCreate) AddAgent(a ...*Agent) *ListenerCreate + func (lc *ListenerCreate) AddAgentIDs(ids ...uint32) *ListenerCreate + func (lc *ListenerCreate) Exec(ctx context.Context) error + func (lc *ListenerCreate) ExecX(ctx context.Context) + func (lc *ListenerCreate) Mutation() *ListenerMutation + func (lc *ListenerCreate) Save(ctx context.Context) (*Listener, error) + func (lc *ListenerCreate) SaveX(ctx context.Context) *Listener + func (lc *ListenerCreate) SetColor(u uint32) *ListenerCreate + func (lc *ListenerCreate) SetCreatedAt(t time.Time) *ListenerCreate + func (lc *ListenerCreate) SetDeletedAt(t time.Time) *ListenerCreate + func (lc *ListenerCreate) SetID(i int64) *ListenerCreate + func (lc *ListenerCreate) SetIP(t types.Inet) *ListenerCreate + func (lc *ListenerCreate) SetLast(t time.Time) *ListenerCreate + func (lc *ListenerCreate) SetName(s string) *ListenerCreate + func (lc *ListenerCreate) SetNillableColor(u *uint32) *ListenerCreate + func (lc *ListenerCreate) SetNillableCreatedAt(t *time.Time) *ListenerCreate + func (lc *ListenerCreate) SetNillableDeletedAt(t *time.Time) *ListenerCreate + func (lc *ListenerCreate) SetNillableIP(t *types.Inet) *ListenerCreate + func (lc *ListenerCreate) SetNillableLast(t *time.Time) *ListenerCreate + func (lc *ListenerCreate) SetNillableName(s *string) *ListenerCreate + func (lc *ListenerCreate) SetNillableNote(s *string) *ListenerCreate + func (lc *ListenerCreate) SetNillablePort(u *uint16) *ListenerCreate + func (lc *ListenerCreate) SetNillableToken(s *string) *ListenerCreate + func (lc *ListenerCreate) SetNillableUpdatedAt(t *time.Time) *ListenerCreate + func (lc *ListenerCreate) SetNote(s string) *ListenerCreate + func (lc *ListenerCreate) SetPort(u uint16) *ListenerCreate + func (lc *ListenerCreate) SetToken(s string) *ListenerCreate + func (lc *ListenerCreate) SetUpdatedAt(t time.Time) *ListenerCreate + type ListenerCreateBulk struct + func (lcb *ListenerCreateBulk) Exec(ctx context.Context) error + func (lcb *ListenerCreateBulk) ExecX(ctx context.Context) + func (lcb *ListenerCreateBulk) Save(ctx context.Context) ([]*Listener, error) + func (lcb *ListenerCreateBulk) SaveX(ctx context.Context) []*Listener + type ListenerDelete struct + func (ld *ListenerDelete) Exec(ctx context.Context) (int, error) + func (ld *ListenerDelete) ExecX(ctx context.Context) int + func (ld *ListenerDelete) Where(ps ...predicate.Listener) *ListenerDelete + type ListenerDeleteOne struct + func (ldo *ListenerDeleteOne) Exec(ctx context.Context) error + func (ldo *ListenerDeleteOne) ExecX(ctx context.Context) + func (ldo *ListenerDeleteOne) Where(ps ...predicate.Listener) *ListenerDeleteOne + type ListenerEdges struct + Agent []*Agent + func (e ListenerEdges) AgentOrErr() ([]*Agent, error) + type ListenerGroupBy struct + func (lgb *ListenerGroupBy) Aggregate(fns ...AggregateFunc) *ListenerGroupBy + func (lgb *ListenerGroupBy) Scan(ctx context.Context, v any) error + func (s *ListenerGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *ListenerGroupBy) BoolX(ctx context.Context) bool + func (s *ListenerGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *ListenerGroupBy) BoolsX(ctx context.Context) []bool + func (s *ListenerGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *ListenerGroupBy) Float64X(ctx context.Context) float64 + func (s *ListenerGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *ListenerGroupBy) Float64sX(ctx context.Context) []float64 + func (s *ListenerGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *ListenerGroupBy) IntX(ctx context.Context) int + func (s *ListenerGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *ListenerGroupBy) IntsX(ctx context.Context) []int + func (s *ListenerGroupBy) ScanX(ctx context.Context, v any) + func (s *ListenerGroupBy) String(ctx context.Context) (_ string, err error) + func (s *ListenerGroupBy) StringX(ctx context.Context) string + func (s *ListenerGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *ListenerGroupBy) StringsX(ctx context.Context) []string + type ListenerMutation struct + func (m *ListenerMutation) AddAgentIDs(ids ...uint32) + func (m *ListenerMutation) AddColor(u int32) + func (m *ListenerMutation) AddField(name string, value ent.Value) error + func (m *ListenerMutation) AddPort(u int16) + func (m *ListenerMutation) AddedColor() (r int32, exists bool) + func (m *ListenerMutation) AddedEdges() []string + func (m *ListenerMutation) AddedField(name string) (ent.Value, bool) + func (m *ListenerMutation) AddedFields() []string + func (m *ListenerMutation) AddedIDs(name string) []ent.Value + func (m *ListenerMutation) AddedPort() (r int16, exists bool) + func (m *ListenerMutation) AgentCleared() bool + func (m *ListenerMutation) AgentIDs() (ids []uint32) + func (m *ListenerMutation) ClearAgent() + func (m *ListenerMutation) ClearDeletedAt() + func (m *ListenerMutation) ClearEdge(name string) error + func (m *ListenerMutation) ClearField(name string) error + func (m *ListenerMutation) ClearIP() + func (m *ListenerMutation) ClearName() + func (m *ListenerMutation) ClearNote() + func (m *ListenerMutation) ClearPort() + func (m *ListenerMutation) ClearToken() + func (m *ListenerMutation) ClearedEdges() []string + func (m *ListenerMutation) ClearedFields() []string + func (m *ListenerMutation) Color() (r uint32, exists bool) + func (m *ListenerMutation) CreatedAt() (r time.Time, exists bool) + func (m *ListenerMutation) DeletedAt() (r time.Time, exists bool) + func (m *ListenerMutation) DeletedAtCleared() bool + func (m *ListenerMutation) EdgeCleared(name string) bool + func (m *ListenerMutation) Field(name string) (ent.Value, bool) + func (m *ListenerMutation) FieldCleared(name string) bool + func (m *ListenerMutation) Fields() []string + func (m *ListenerMutation) ID() (id int64, exists bool) + func (m *ListenerMutation) IDs(ctx context.Context) ([]int64, error) + func (m *ListenerMutation) IP() (r types.Inet, exists bool) + func (m *ListenerMutation) IPCleared() bool + func (m *ListenerMutation) Last() (r time.Time, exists bool) + func (m *ListenerMutation) Name() (r string, exists bool) + func (m *ListenerMutation) NameCleared() bool + func (m *ListenerMutation) Note() (r string, exists bool) + func (m *ListenerMutation) NoteCleared() bool + func (m *ListenerMutation) OldColor(ctx context.Context) (v uint32, err error) + func (m *ListenerMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *ListenerMutation) OldDeletedAt(ctx context.Context) (v time.Time, err error) + func (m *ListenerMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *ListenerMutation) OldIP(ctx context.Context) (v types.Inet, err error) + func (m *ListenerMutation) OldLast(ctx context.Context) (v time.Time, err error) + func (m *ListenerMutation) OldName(ctx context.Context) (v string, err error) + func (m *ListenerMutation) OldNote(ctx context.Context) (v string, err error) + func (m *ListenerMutation) OldPort(ctx context.Context) (v uint16, err error) + func (m *ListenerMutation) OldToken(ctx context.Context) (v string, err error) + func (m *ListenerMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *ListenerMutation) Op() Op + func (m *ListenerMutation) Port() (r uint16, exists bool) + func (m *ListenerMutation) PortCleared() bool + func (m *ListenerMutation) RemoveAgentIDs(ids ...uint32) + func (m *ListenerMutation) RemovedAgentIDs() (ids []uint32) + func (m *ListenerMutation) RemovedEdges() []string + func (m *ListenerMutation) RemovedIDs(name string) []ent.Value + func (m *ListenerMutation) ResetAgent() + func (m *ListenerMutation) ResetColor() + func (m *ListenerMutation) ResetCreatedAt() + func (m *ListenerMutation) ResetDeletedAt() + func (m *ListenerMutation) ResetEdge(name string) error + func (m *ListenerMutation) ResetField(name string) error + func (m *ListenerMutation) ResetIP() + func (m *ListenerMutation) ResetLast() + func (m *ListenerMutation) ResetName() + func (m *ListenerMutation) ResetNote() + func (m *ListenerMutation) ResetPort() + func (m *ListenerMutation) ResetToken() + func (m *ListenerMutation) ResetUpdatedAt() + func (m *ListenerMutation) SetColor(u uint32) + func (m *ListenerMutation) SetCreatedAt(t time.Time) + func (m *ListenerMutation) SetDeletedAt(t time.Time) + func (m *ListenerMutation) SetField(name string, value ent.Value) error + func (m *ListenerMutation) SetID(id int64) + func (m *ListenerMutation) SetIP(t types.Inet) + func (m *ListenerMutation) SetLast(t time.Time) + func (m *ListenerMutation) SetName(s string) + func (m *ListenerMutation) SetNote(s string) + func (m *ListenerMutation) SetOp(op Op) + func (m *ListenerMutation) SetPort(u uint16) + func (m *ListenerMutation) SetToken(s string) + func (m *ListenerMutation) SetUpdatedAt(t time.Time) + func (m *ListenerMutation) Token() (r string, exists bool) + func (m *ListenerMutation) TokenCleared() bool + func (m *ListenerMutation) Type() string + func (m *ListenerMutation) UpdatedAt() (r time.Time, exists bool) + func (m *ListenerMutation) Where(ps ...predicate.Listener) + func (m *ListenerMutation) WhereP(ps ...func(*sql.Selector)) + func (m ListenerMutation) Client() *Client + func (m ListenerMutation) Tx() (*Tx, error) + type ListenerQuery struct + func (lq *ListenerQuery) Aggregate(fns ...AggregateFunc) *ListenerSelect + func (lq *ListenerQuery) All(ctx context.Context) ([]*Listener, error) + func (lq *ListenerQuery) AllX(ctx context.Context) []*Listener + func (lq *ListenerQuery) Clone() *ListenerQuery + func (lq *ListenerQuery) Count(ctx context.Context) (int, error) + func (lq *ListenerQuery) CountX(ctx context.Context) int + func (lq *ListenerQuery) Exist(ctx context.Context) (bool, error) + func (lq *ListenerQuery) ExistX(ctx context.Context) bool + func (lq *ListenerQuery) First(ctx context.Context) (*Listener, error) + func (lq *ListenerQuery) FirstID(ctx context.Context) (id int64, err error) + func (lq *ListenerQuery) FirstIDX(ctx context.Context) int64 + func (lq *ListenerQuery) FirstX(ctx context.Context) *Listener + func (lq *ListenerQuery) ForShare(opts ...sql.LockOption) *ListenerQuery + func (lq *ListenerQuery) ForUpdate(opts ...sql.LockOption) *ListenerQuery + func (lq *ListenerQuery) GroupBy(field string, fields ...string) *ListenerGroupBy + func (lq *ListenerQuery) IDs(ctx context.Context) (ids []int64, err error) + func (lq *ListenerQuery) IDsX(ctx context.Context) []int64 + func (lq *ListenerQuery) Limit(limit int) *ListenerQuery + func (lq *ListenerQuery) Offset(offset int) *ListenerQuery + func (lq *ListenerQuery) Only(ctx context.Context) (*Listener, error) + func (lq *ListenerQuery) OnlyID(ctx context.Context) (id int64, err error) + func (lq *ListenerQuery) OnlyIDX(ctx context.Context) int64 + func (lq *ListenerQuery) OnlyX(ctx context.Context) *Listener + func (lq *ListenerQuery) Order(o ...listener.OrderOption) *ListenerQuery + func (lq *ListenerQuery) QueryAgent() *AgentQuery + func (lq *ListenerQuery) Select(fields ...string) *ListenerSelect + func (lq *ListenerQuery) Unique(unique bool) *ListenerQuery + func (lq *ListenerQuery) Where(ps ...predicate.Listener) *ListenerQuery + func (lq *ListenerQuery) WithAgent(opts ...func(*AgentQuery)) *ListenerQuery + type ListenerSelect struct + func (ls *ListenerSelect) Aggregate(fns ...AggregateFunc) *ListenerSelect + func (ls *ListenerSelect) Scan(ctx context.Context, v any) error + func (s *ListenerSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *ListenerSelect) BoolX(ctx context.Context) bool + func (s *ListenerSelect) Bools(ctx context.Context) ([]bool, error) + func (s *ListenerSelect) BoolsX(ctx context.Context) []bool + func (s *ListenerSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *ListenerSelect) Float64X(ctx context.Context) float64 + func (s *ListenerSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *ListenerSelect) Float64sX(ctx context.Context) []float64 + func (s *ListenerSelect) Int(ctx context.Context) (_ int, err error) + func (s *ListenerSelect) IntX(ctx context.Context) int + func (s *ListenerSelect) Ints(ctx context.Context) ([]int, error) + func (s *ListenerSelect) IntsX(ctx context.Context) []int + func (s *ListenerSelect) ScanX(ctx context.Context, v any) + func (s *ListenerSelect) String(ctx context.Context) (_ string, err error) + func (s *ListenerSelect) StringX(ctx context.Context) string + func (s *ListenerSelect) Strings(ctx context.Context) ([]string, error) + func (s *ListenerSelect) StringsX(ctx context.Context) []string + type ListenerUpdate struct + func (lu *ListenerUpdate) AddAgent(a ...*Agent) *ListenerUpdate + func (lu *ListenerUpdate) AddAgentIDs(ids ...uint32) *ListenerUpdate + func (lu *ListenerUpdate) AddColor(u int32) *ListenerUpdate + func (lu *ListenerUpdate) AddPort(u int16) *ListenerUpdate + func (lu *ListenerUpdate) ClearAgent() *ListenerUpdate + func (lu *ListenerUpdate) ClearDeletedAt() *ListenerUpdate + func (lu *ListenerUpdate) ClearIP() *ListenerUpdate + func (lu *ListenerUpdate) ClearName() *ListenerUpdate + func (lu *ListenerUpdate) ClearNote() *ListenerUpdate + func (lu *ListenerUpdate) ClearPort() *ListenerUpdate + func (lu *ListenerUpdate) ClearToken() *ListenerUpdate + func (lu *ListenerUpdate) Exec(ctx context.Context) error + func (lu *ListenerUpdate) ExecX(ctx context.Context) + func (lu *ListenerUpdate) Mutation() *ListenerMutation + func (lu *ListenerUpdate) RemoveAgent(a ...*Agent) *ListenerUpdate + func (lu *ListenerUpdate) RemoveAgentIDs(ids ...uint32) *ListenerUpdate + func (lu *ListenerUpdate) Save(ctx context.Context) (int, error) + func (lu *ListenerUpdate) SaveX(ctx context.Context) int + func (lu *ListenerUpdate) SetColor(u uint32) *ListenerUpdate + func (lu *ListenerUpdate) SetDeletedAt(t time.Time) *ListenerUpdate + func (lu *ListenerUpdate) SetIP(t types.Inet) *ListenerUpdate + func (lu *ListenerUpdate) SetLast(t time.Time) *ListenerUpdate + func (lu *ListenerUpdate) SetName(s string) *ListenerUpdate + func (lu *ListenerUpdate) SetNillableColor(u *uint32) *ListenerUpdate + func (lu *ListenerUpdate) SetNillableDeletedAt(t *time.Time) *ListenerUpdate + func (lu *ListenerUpdate) SetNillableIP(t *types.Inet) *ListenerUpdate + func (lu *ListenerUpdate) SetNillableLast(t *time.Time) *ListenerUpdate + func (lu *ListenerUpdate) SetNillableName(s *string) *ListenerUpdate + func (lu *ListenerUpdate) SetNillableNote(s *string) *ListenerUpdate + func (lu *ListenerUpdate) SetNillablePort(u *uint16) *ListenerUpdate + func (lu *ListenerUpdate) SetNillableToken(s *string) *ListenerUpdate + func (lu *ListenerUpdate) SetNote(s string) *ListenerUpdate + func (lu *ListenerUpdate) SetPort(u uint16) *ListenerUpdate + func (lu *ListenerUpdate) SetToken(s string) *ListenerUpdate + func (lu *ListenerUpdate) SetUpdatedAt(t time.Time) *ListenerUpdate + func (lu *ListenerUpdate) Where(ps ...predicate.Listener) *ListenerUpdate + type ListenerUpdateOne struct + func (luo *ListenerUpdateOne) AddAgent(a ...*Agent) *ListenerUpdateOne + func (luo *ListenerUpdateOne) AddAgentIDs(ids ...uint32) *ListenerUpdateOne + func (luo *ListenerUpdateOne) AddColor(u int32) *ListenerUpdateOne + func (luo *ListenerUpdateOne) AddPort(u int16) *ListenerUpdateOne + func (luo *ListenerUpdateOne) ClearAgent() *ListenerUpdateOne + func (luo *ListenerUpdateOne) ClearDeletedAt() *ListenerUpdateOne + func (luo *ListenerUpdateOne) ClearIP() *ListenerUpdateOne + func (luo *ListenerUpdateOne) ClearName() *ListenerUpdateOne + func (luo *ListenerUpdateOne) ClearNote() *ListenerUpdateOne + func (luo *ListenerUpdateOne) ClearPort() *ListenerUpdateOne + func (luo *ListenerUpdateOne) ClearToken() *ListenerUpdateOne + func (luo *ListenerUpdateOne) Exec(ctx context.Context) error + func (luo *ListenerUpdateOne) ExecX(ctx context.Context) + func (luo *ListenerUpdateOne) Mutation() *ListenerMutation + func (luo *ListenerUpdateOne) RemoveAgent(a ...*Agent) *ListenerUpdateOne + func (luo *ListenerUpdateOne) RemoveAgentIDs(ids ...uint32) *ListenerUpdateOne + func (luo *ListenerUpdateOne) Save(ctx context.Context) (*Listener, error) + func (luo *ListenerUpdateOne) SaveX(ctx context.Context) *Listener + func (luo *ListenerUpdateOne) Select(field string, fields ...string) *ListenerUpdateOne + func (luo *ListenerUpdateOne) SetColor(u uint32) *ListenerUpdateOne + func (luo *ListenerUpdateOne) SetDeletedAt(t time.Time) *ListenerUpdateOne + func (luo *ListenerUpdateOne) SetIP(t types.Inet) *ListenerUpdateOne + func (luo *ListenerUpdateOne) SetLast(t time.Time) *ListenerUpdateOne + func (luo *ListenerUpdateOne) SetName(s string) *ListenerUpdateOne + func (luo *ListenerUpdateOne) SetNillableColor(u *uint32) *ListenerUpdateOne + func (luo *ListenerUpdateOne) SetNillableDeletedAt(t *time.Time) *ListenerUpdateOne + func (luo *ListenerUpdateOne) SetNillableIP(t *types.Inet) *ListenerUpdateOne + func (luo *ListenerUpdateOne) SetNillableLast(t *time.Time) *ListenerUpdateOne + func (luo *ListenerUpdateOne) SetNillableName(s *string) *ListenerUpdateOne + func (luo *ListenerUpdateOne) SetNillableNote(s *string) *ListenerUpdateOne + func (luo *ListenerUpdateOne) SetNillablePort(u *uint16) *ListenerUpdateOne + func (luo *ListenerUpdateOne) SetNillableToken(s *string) *ListenerUpdateOne + func (luo *ListenerUpdateOne) SetNote(s string) *ListenerUpdateOne + func (luo *ListenerUpdateOne) SetPort(u uint16) *ListenerUpdateOne + func (luo *ListenerUpdateOne) SetToken(s string) *ListenerUpdateOne + func (luo *ListenerUpdateOne) SetUpdatedAt(t time.Time) *ListenerUpdateOne + func (luo *ListenerUpdateOne) Where(ps ...predicate.Listener) *ListenerUpdateOne + type Listeners []*Listener + type Message struct + CommandID int64 + CreatedAt time.Time + Edges MessageEdges + ID int + Message string + Type shared.TaskMessage + func (m *Message) QueryCommand() *CommandQuery + func (m *Message) String() string + func (m *Message) Unwrap() *Message + func (m *Message) Update() *MessageUpdateOne + func (m *Message) Value(name string) (ent.Value, error) + type MessageClient struct + func NewMessageClient(c config) *MessageClient + func (c *MessageClient) Create() *MessageCreate + func (c *MessageClient) CreateBulk(builders ...*MessageCreate) *MessageCreateBulk + func (c *MessageClient) Delete() *MessageDelete + func (c *MessageClient) DeleteOne(m *Message) *MessageDeleteOne + func (c *MessageClient) DeleteOneID(id int) *MessageDeleteOne + func (c *MessageClient) Get(ctx context.Context, id int) (*Message, error) + func (c *MessageClient) GetX(ctx context.Context, id int) *Message + func (c *MessageClient) Hooks() []Hook + func (c *MessageClient) Intercept(interceptors ...Interceptor) + func (c *MessageClient) Interceptors() []Interceptor + func (c *MessageClient) MapCreateBulk(slice any, setFunc func(*MessageCreate, int)) *MessageCreateBulk + func (c *MessageClient) Query() *MessageQuery + func (c *MessageClient) QueryCommand(m *Message) *CommandQuery + func (c *MessageClient) Update() *MessageUpdate + func (c *MessageClient) UpdateOne(m *Message) *MessageUpdateOne + func (c *MessageClient) UpdateOneID(id int) *MessageUpdateOne + func (c *MessageClient) Use(hooks ...Hook) + type MessageCreate struct + func (mc *MessageCreate) Exec(ctx context.Context) error + func (mc *MessageCreate) ExecX(ctx context.Context) + func (mc *MessageCreate) Mutation() *MessageMutation + func (mc *MessageCreate) Save(ctx context.Context) (*Message, error) + func (mc *MessageCreate) SaveX(ctx context.Context) *Message + func (mc *MessageCreate) SetCommand(c *Command) *MessageCreate + func (mc *MessageCreate) SetCommandID(i int64) *MessageCreate + func (mc *MessageCreate) SetCreatedAt(t time.Time) *MessageCreate + func (mc *MessageCreate) SetMessage(s string) *MessageCreate + func (mc *MessageCreate) SetNillableCreatedAt(t *time.Time) *MessageCreate + func (mc *MessageCreate) SetType(sm shared.TaskMessage) *MessageCreate + type MessageCreateBulk struct + func (mcb *MessageCreateBulk) Exec(ctx context.Context) error + func (mcb *MessageCreateBulk) ExecX(ctx context.Context) + func (mcb *MessageCreateBulk) Save(ctx context.Context) ([]*Message, error) + func (mcb *MessageCreateBulk) SaveX(ctx context.Context) []*Message + type MessageDelete struct + func (md *MessageDelete) Exec(ctx context.Context) (int, error) + func (md *MessageDelete) ExecX(ctx context.Context) int + func (md *MessageDelete) Where(ps ...predicate.Message) *MessageDelete + type MessageDeleteOne struct + func (mdo *MessageDeleteOne) Exec(ctx context.Context) error + func (mdo *MessageDeleteOne) ExecX(ctx context.Context) + func (mdo *MessageDeleteOne) Where(ps ...predicate.Message) *MessageDeleteOne + type MessageEdges struct + Command *Command + func (e MessageEdges) CommandOrErr() (*Command, error) + type MessageGroupBy struct + func (mgb *MessageGroupBy) Aggregate(fns ...AggregateFunc) *MessageGroupBy + func (mgb *MessageGroupBy) Scan(ctx context.Context, v any) error + func (s *MessageGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *MessageGroupBy) BoolX(ctx context.Context) bool + func (s *MessageGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *MessageGroupBy) BoolsX(ctx context.Context) []bool + func (s *MessageGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *MessageGroupBy) Float64X(ctx context.Context) float64 + func (s *MessageGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *MessageGroupBy) Float64sX(ctx context.Context) []float64 + func (s *MessageGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *MessageGroupBy) IntX(ctx context.Context) int + func (s *MessageGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *MessageGroupBy) IntsX(ctx context.Context) []int + func (s *MessageGroupBy) ScanX(ctx context.Context, v any) + func (s *MessageGroupBy) String(ctx context.Context) (_ string, err error) + func (s *MessageGroupBy) StringX(ctx context.Context) string + func (s *MessageGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *MessageGroupBy) StringsX(ctx context.Context) []string + type MessageMutation struct + func (m *MessageMutation) AddField(name string, value ent.Value) error + func (m *MessageMutation) AddedEdges() []string + func (m *MessageMutation) AddedField(name string) (ent.Value, bool) + func (m *MessageMutation) AddedFields() []string + func (m *MessageMutation) AddedIDs(name string) []ent.Value + func (m *MessageMutation) ClearCommand() + func (m *MessageMutation) ClearEdge(name string) error + func (m *MessageMutation) ClearField(name string) error + func (m *MessageMutation) ClearedEdges() []string + func (m *MessageMutation) ClearedFields() []string + func (m *MessageMutation) CommandCleared() bool + func (m *MessageMutation) CommandID() (r int64, exists bool) + func (m *MessageMutation) CommandIDs() (ids []int64) + func (m *MessageMutation) CreatedAt() (r time.Time, exists bool) + func (m *MessageMutation) EdgeCleared(name string) bool + func (m *MessageMutation) Field(name string) (ent.Value, bool) + func (m *MessageMutation) FieldCleared(name string) bool + func (m *MessageMutation) Fields() []string + func (m *MessageMutation) GetType() (r shared.TaskMessage, exists bool) + func (m *MessageMutation) ID() (id int, exists bool) + func (m *MessageMutation) IDs(ctx context.Context) ([]int, error) + func (m *MessageMutation) Message() (r string, exists bool) + func (m *MessageMutation) OldCommandID(ctx context.Context) (v int64, err error) + func (m *MessageMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *MessageMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *MessageMutation) OldMessage(ctx context.Context) (v string, err error) + func (m *MessageMutation) OldType(ctx context.Context) (v shared.TaskMessage, err error) + func (m *MessageMutation) Op() Op + func (m *MessageMutation) RemovedEdges() []string + func (m *MessageMutation) RemovedIDs(name string) []ent.Value + func (m *MessageMutation) ResetCommand() + func (m *MessageMutation) ResetCommandID() + func (m *MessageMutation) ResetCreatedAt() + func (m *MessageMutation) ResetEdge(name string) error + func (m *MessageMutation) ResetField(name string) error + func (m *MessageMutation) ResetMessage() + func (m *MessageMutation) ResetType() + func (m *MessageMutation) SetCommandID(i int64) + func (m *MessageMutation) SetCreatedAt(t time.Time) + func (m *MessageMutation) SetField(name string, value ent.Value) error + func (m *MessageMutation) SetMessage(s string) + func (m *MessageMutation) SetOp(op Op) + func (m *MessageMutation) SetType(sm shared.TaskMessage) + func (m *MessageMutation) Type() string + func (m *MessageMutation) Where(ps ...predicate.Message) + func (m *MessageMutation) WhereP(ps ...func(*sql.Selector)) + func (m MessageMutation) Client() *Client + func (m MessageMutation) Tx() (*Tx, error) + type MessageQuery struct + func (mq *MessageQuery) Aggregate(fns ...AggregateFunc) *MessageSelect + func (mq *MessageQuery) All(ctx context.Context) ([]*Message, error) + func (mq *MessageQuery) AllX(ctx context.Context) []*Message + func (mq *MessageQuery) Clone() *MessageQuery + func (mq *MessageQuery) Count(ctx context.Context) (int, error) + func (mq *MessageQuery) CountX(ctx context.Context) int + func (mq *MessageQuery) Exist(ctx context.Context) (bool, error) + func (mq *MessageQuery) ExistX(ctx context.Context) bool + func (mq *MessageQuery) First(ctx context.Context) (*Message, error) + func (mq *MessageQuery) FirstID(ctx context.Context) (id int, err error) + func (mq *MessageQuery) FirstIDX(ctx context.Context) int + func (mq *MessageQuery) FirstX(ctx context.Context) *Message + func (mq *MessageQuery) ForShare(opts ...sql.LockOption) *MessageQuery + func (mq *MessageQuery) ForUpdate(opts ...sql.LockOption) *MessageQuery + func (mq *MessageQuery) GroupBy(field string, fields ...string) *MessageGroupBy + func (mq *MessageQuery) IDs(ctx context.Context) (ids []int, err error) + func (mq *MessageQuery) IDsX(ctx context.Context) []int + func (mq *MessageQuery) Limit(limit int) *MessageQuery + func (mq *MessageQuery) Offset(offset int) *MessageQuery + func (mq *MessageQuery) Only(ctx context.Context) (*Message, error) + func (mq *MessageQuery) OnlyID(ctx context.Context) (id int, err error) + func (mq *MessageQuery) OnlyIDX(ctx context.Context) int + func (mq *MessageQuery) OnlyX(ctx context.Context) *Message + func (mq *MessageQuery) Order(o ...message.OrderOption) *MessageQuery + func (mq *MessageQuery) QueryCommand() *CommandQuery + func (mq *MessageQuery) Select(fields ...string) *MessageSelect + func (mq *MessageQuery) Unique(unique bool) *MessageQuery + func (mq *MessageQuery) Where(ps ...predicate.Message) *MessageQuery + func (mq *MessageQuery) WithCommand(opts ...func(*CommandQuery)) *MessageQuery + type MessageSelect struct + func (ms *MessageSelect) Aggregate(fns ...AggregateFunc) *MessageSelect + func (ms *MessageSelect) Scan(ctx context.Context, v any) error + func (s *MessageSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *MessageSelect) BoolX(ctx context.Context) bool + func (s *MessageSelect) Bools(ctx context.Context) ([]bool, error) + func (s *MessageSelect) BoolsX(ctx context.Context) []bool + func (s *MessageSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *MessageSelect) Float64X(ctx context.Context) float64 + func (s *MessageSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *MessageSelect) Float64sX(ctx context.Context) []float64 + func (s *MessageSelect) Int(ctx context.Context) (_ int, err error) + func (s *MessageSelect) IntX(ctx context.Context) int + func (s *MessageSelect) Ints(ctx context.Context) ([]int, error) + func (s *MessageSelect) IntsX(ctx context.Context) []int + func (s *MessageSelect) ScanX(ctx context.Context, v any) + func (s *MessageSelect) String(ctx context.Context) (_ string, err error) + func (s *MessageSelect) StringX(ctx context.Context) string + func (s *MessageSelect) Strings(ctx context.Context) ([]string, error) + func (s *MessageSelect) StringsX(ctx context.Context) []string + type MessageUpdate struct + func (mu *MessageUpdate) ClearCommand() *MessageUpdate + func (mu *MessageUpdate) Exec(ctx context.Context) error + func (mu *MessageUpdate) ExecX(ctx context.Context) + func (mu *MessageUpdate) Mutation() *MessageMutation + func (mu *MessageUpdate) Save(ctx context.Context) (int, error) + func (mu *MessageUpdate) SaveX(ctx context.Context) int + func (mu *MessageUpdate) SetCommand(c *Command) *MessageUpdate + func (mu *MessageUpdate) SetCommandID(i int64) *MessageUpdate + func (mu *MessageUpdate) SetCreatedAt(t time.Time) *MessageUpdate + func (mu *MessageUpdate) SetMessage(s string) *MessageUpdate + func (mu *MessageUpdate) SetNillableCommandID(i *int64) *MessageUpdate + func (mu *MessageUpdate) SetNillableCreatedAt(t *time.Time) *MessageUpdate + func (mu *MessageUpdate) SetNillableMessage(s *string) *MessageUpdate + func (mu *MessageUpdate) SetNillableType(sm *shared.TaskMessage) *MessageUpdate + func (mu *MessageUpdate) SetType(sm shared.TaskMessage) *MessageUpdate + func (mu *MessageUpdate) Where(ps ...predicate.Message) *MessageUpdate + type MessageUpdateOne struct + func (muo *MessageUpdateOne) ClearCommand() *MessageUpdateOne + func (muo *MessageUpdateOne) Exec(ctx context.Context) error + func (muo *MessageUpdateOne) ExecX(ctx context.Context) + func (muo *MessageUpdateOne) Mutation() *MessageMutation + func (muo *MessageUpdateOne) Save(ctx context.Context) (*Message, error) + func (muo *MessageUpdateOne) SaveX(ctx context.Context) *Message + func (muo *MessageUpdateOne) Select(field string, fields ...string) *MessageUpdateOne + func (muo *MessageUpdateOne) SetCommand(c *Command) *MessageUpdateOne + func (muo *MessageUpdateOne) SetCommandID(i int64) *MessageUpdateOne + func (muo *MessageUpdateOne) SetCreatedAt(t time.Time) *MessageUpdateOne + func (muo *MessageUpdateOne) SetMessage(s string) *MessageUpdateOne + func (muo *MessageUpdateOne) SetNillableCommandID(i *int64) *MessageUpdateOne + func (muo *MessageUpdateOne) SetNillableCreatedAt(t *time.Time) *MessageUpdateOne + func (muo *MessageUpdateOne) SetNillableMessage(s *string) *MessageUpdateOne + func (muo *MessageUpdateOne) SetNillableType(sm *shared.TaskMessage) *MessageUpdateOne + func (muo *MessageUpdateOne) SetType(sm shared.TaskMessage) *MessageUpdateOne + func (muo *MessageUpdateOne) Where(ps ...predicate.Message) *MessageUpdateOne + type Messages []*Message + 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 Operator struct + Color uint32 + CreatedAt time.Time + DeletedAt time.Time + Edges OperatorEdges + ID int64 + Last time.Time + Token string + UpdatedAt time.Time + Username string + func (o *Operator) QueryChat() *ChatQuery + func (o *Operator) QueryCommand() *CommandQuery + func (o *Operator) String() string + func (o *Operator) Unwrap() *Operator + func (o *Operator) Update() *OperatorUpdateOne + func (o *Operator) Value(name string) (ent.Value, error) + type OperatorClient struct + func NewOperatorClient(c config) *OperatorClient + func (c *OperatorClient) Create() *OperatorCreate + func (c *OperatorClient) CreateBulk(builders ...*OperatorCreate) *OperatorCreateBulk + func (c *OperatorClient) Delete() *OperatorDelete + func (c *OperatorClient) DeleteOne(o *Operator) *OperatorDeleteOne + func (c *OperatorClient) DeleteOneID(id int64) *OperatorDeleteOne + func (c *OperatorClient) Get(ctx context.Context, id int64) (*Operator, error) + func (c *OperatorClient) GetX(ctx context.Context, id int64) *Operator + func (c *OperatorClient) Hooks() []Hook + func (c *OperatorClient) Intercept(interceptors ...Interceptor) + func (c *OperatorClient) Interceptors() []Interceptor + func (c *OperatorClient) MapCreateBulk(slice any, setFunc func(*OperatorCreate, int)) *OperatorCreateBulk + func (c *OperatorClient) Query() *OperatorQuery + func (c *OperatorClient) QueryChat(o *Operator) *ChatQuery + func (c *OperatorClient) QueryCommand(o *Operator) *CommandQuery + func (c *OperatorClient) Update() *OperatorUpdate + func (c *OperatorClient) UpdateOne(o *Operator) *OperatorUpdateOne + func (c *OperatorClient) UpdateOneID(id int64) *OperatorUpdateOne + func (c *OperatorClient) Use(hooks ...Hook) + type OperatorCreate struct + func (oc *OperatorCreate) AddChat(c ...*Chat) *OperatorCreate + func (oc *OperatorCreate) AddChatIDs(ids ...int) *OperatorCreate + func (oc *OperatorCreate) AddCommand(c ...*Command) *OperatorCreate + func (oc *OperatorCreate) AddCommandIDs(ids ...int64) *OperatorCreate + func (oc *OperatorCreate) Exec(ctx context.Context) error + func (oc *OperatorCreate) ExecX(ctx context.Context) + func (oc *OperatorCreate) Mutation() *OperatorMutation + func (oc *OperatorCreate) Save(ctx context.Context) (*Operator, error) + func (oc *OperatorCreate) SaveX(ctx context.Context) *Operator + func (oc *OperatorCreate) SetColor(u uint32) *OperatorCreate + func (oc *OperatorCreate) SetCreatedAt(t time.Time) *OperatorCreate + func (oc *OperatorCreate) SetDeletedAt(t time.Time) *OperatorCreate + func (oc *OperatorCreate) SetID(i int64) *OperatorCreate + func (oc *OperatorCreate) SetLast(t time.Time) *OperatorCreate + func (oc *OperatorCreate) SetNillableColor(u *uint32) *OperatorCreate + func (oc *OperatorCreate) SetNillableCreatedAt(t *time.Time) *OperatorCreate + func (oc *OperatorCreate) SetNillableDeletedAt(t *time.Time) *OperatorCreate + func (oc *OperatorCreate) SetNillableLast(t *time.Time) *OperatorCreate + func (oc *OperatorCreate) SetNillableToken(s *string) *OperatorCreate + func (oc *OperatorCreate) SetNillableUpdatedAt(t *time.Time) *OperatorCreate + func (oc *OperatorCreate) SetToken(s string) *OperatorCreate + func (oc *OperatorCreate) SetUpdatedAt(t time.Time) *OperatorCreate + func (oc *OperatorCreate) SetUsername(s string) *OperatorCreate + type OperatorCreateBulk struct + func (ocb *OperatorCreateBulk) Exec(ctx context.Context) error + func (ocb *OperatorCreateBulk) ExecX(ctx context.Context) + func (ocb *OperatorCreateBulk) Save(ctx context.Context) ([]*Operator, error) + func (ocb *OperatorCreateBulk) SaveX(ctx context.Context) []*Operator + type OperatorDelete struct + func (od *OperatorDelete) Exec(ctx context.Context) (int, error) + func (od *OperatorDelete) ExecX(ctx context.Context) int + func (od *OperatorDelete) Where(ps ...predicate.Operator) *OperatorDelete + type OperatorDeleteOne struct + func (odo *OperatorDeleteOne) Exec(ctx context.Context) error + func (odo *OperatorDeleteOne) ExecX(ctx context.Context) + func (odo *OperatorDeleteOne) Where(ps ...predicate.Operator) *OperatorDeleteOne + type OperatorEdges struct + Chat []*Chat + Command []*Command + func (e OperatorEdges) ChatOrErr() ([]*Chat, error) + func (e OperatorEdges) CommandOrErr() ([]*Command, error) + type OperatorGroupBy struct + func (ogb *OperatorGroupBy) Aggregate(fns ...AggregateFunc) *OperatorGroupBy + func (ogb *OperatorGroupBy) Scan(ctx context.Context, v any) error + func (s *OperatorGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *OperatorGroupBy) BoolX(ctx context.Context) bool + func (s *OperatorGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *OperatorGroupBy) BoolsX(ctx context.Context) []bool + func (s *OperatorGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *OperatorGroupBy) Float64X(ctx context.Context) float64 + func (s *OperatorGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *OperatorGroupBy) Float64sX(ctx context.Context) []float64 + func (s *OperatorGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *OperatorGroupBy) IntX(ctx context.Context) int + func (s *OperatorGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *OperatorGroupBy) IntsX(ctx context.Context) []int + func (s *OperatorGroupBy) ScanX(ctx context.Context, v any) + func (s *OperatorGroupBy) String(ctx context.Context) (_ string, err error) + func (s *OperatorGroupBy) StringX(ctx context.Context) string + func (s *OperatorGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *OperatorGroupBy) StringsX(ctx context.Context) []string + type OperatorMutation struct + func (m *OperatorMutation) AddChatIDs(ids ...int) + func (m *OperatorMutation) AddColor(u int32) + func (m *OperatorMutation) AddCommandIDs(ids ...int64) + func (m *OperatorMutation) AddField(name string, value ent.Value) error + func (m *OperatorMutation) AddedColor() (r int32, exists bool) + func (m *OperatorMutation) AddedEdges() []string + func (m *OperatorMutation) AddedField(name string) (ent.Value, bool) + func (m *OperatorMutation) AddedFields() []string + func (m *OperatorMutation) AddedIDs(name string) []ent.Value + func (m *OperatorMutation) ChatCleared() bool + func (m *OperatorMutation) ChatIDs() (ids []int) + func (m *OperatorMutation) ClearChat() + func (m *OperatorMutation) ClearCommand() + func (m *OperatorMutation) ClearDeletedAt() + func (m *OperatorMutation) ClearEdge(name string) error + func (m *OperatorMutation) ClearField(name string) error + func (m *OperatorMutation) ClearToken() + func (m *OperatorMutation) ClearedEdges() []string + func (m *OperatorMutation) ClearedFields() []string + func (m *OperatorMutation) Color() (r uint32, exists bool) + func (m *OperatorMutation) CommandCleared() bool + func (m *OperatorMutation) CommandIDs() (ids []int64) + func (m *OperatorMutation) CreatedAt() (r time.Time, exists bool) + func (m *OperatorMutation) DeletedAt() (r time.Time, exists bool) + func (m *OperatorMutation) DeletedAtCleared() bool + func (m *OperatorMutation) EdgeCleared(name string) bool + func (m *OperatorMutation) Field(name string) (ent.Value, bool) + func (m *OperatorMutation) FieldCleared(name string) bool + func (m *OperatorMutation) Fields() []string + func (m *OperatorMutation) ID() (id int64, exists bool) + func (m *OperatorMutation) IDs(ctx context.Context) ([]int64, error) + func (m *OperatorMutation) Last() (r time.Time, exists bool) + func (m *OperatorMutation) OldColor(ctx context.Context) (v uint32, err error) + func (m *OperatorMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *OperatorMutation) OldDeletedAt(ctx context.Context) (v time.Time, err error) + func (m *OperatorMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *OperatorMutation) OldLast(ctx context.Context) (v time.Time, err error) + func (m *OperatorMutation) OldToken(ctx context.Context) (v string, err error) + func (m *OperatorMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *OperatorMutation) OldUsername(ctx context.Context) (v string, err error) + func (m *OperatorMutation) Op() Op + func (m *OperatorMutation) RemoveChatIDs(ids ...int) + func (m *OperatorMutation) RemoveCommandIDs(ids ...int64) + func (m *OperatorMutation) RemovedChatIDs() (ids []int) + func (m *OperatorMutation) RemovedCommandIDs() (ids []int64) + func (m *OperatorMutation) RemovedEdges() []string + func (m *OperatorMutation) RemovedIDs(name string) []ent.Value + func (m *OperatorMutation) ResetChat() + func (m *OperatorMutation) ResetColor() + func (m *OperatorMutation) ResetCommand() + func (m *OperatorMutation) ResetCreatedAt() + func (m *OperatorMutation) ResetDeletedAt() + func (m *OperatorMutation) ResetEdge(name string) error + func (m *OperatorMutation) ResetField(name string) error + func (m *OperatorMutation) ResetLast() + func (m *OperatorMutation) ResetToken() + func (m *OperatorMutation) ResetUpdatedAt() + func (m *OperatorMutation) ResetUsername() + func (m *OperatorMutation) SetColor(u uint32) + func (m *OperatorMutation) SetCreatedAt(t time.Time) + func (m *OperatorMutation) SetDeletedAt(t time.Time) + func (m *OperatorMutation) SetField(name string, value ent.Value) error + func (m *OperatorMutation) SetID(id int64) + func (m *OperatorMutation) SetLast(t time.Time) + func (m *OperatorMutation) SetOp(op Op) + func (m *OperatorMutation) SetToken(s string) + func (m *OperatorMutation) SetUpdatedAt(t time.Time) + func (m *OperatorMutation) SetUsername(s string) + func (m *OperatorMutation) Token() (r string, exists bool) + func (m *OperatorMutation) TokenCleared() bool + func (m *OperatorMutation) Type() string + func (m *OperatorMutation) UpdatedAt() (r time.Time, exists bool) + func (m *OperatorMutation) Username() (r string, exists bool) + func (m *OperatorMutation) Where(ps ...predicate.Operator) + func (m *OperatorMutation) WhereP(ps ...func(*sql.Selector)) + func (m OperatorMutation) Client() *Client + func (m OperatorMutation) Tx() (*Tx, error) + type OperatorQuery struct + func (oq *OperatorQuery) Aggregate(fns ...AggregateFunc) *OperatorSelect + func (oq *OperatorQuery) All(ctx context.Context) ([]*Operator, error) + func (oq *OperatorQuery) AllX(ctx context.Context) []*Operator + func (oq *OperatorQuery) Clone() *OperatorQuery + func (oq *OperatorQuery) Count(ctx context.Context) (int, error) + func (oq *OperatorQuery) CountX(ctx context.Context) int + func (oq *OperatorQuery) Exist(ctx context.Context) (bool, error) + func (oq *OperatorQuery) ExistX(ctx context.Context) bool + func (oq *OperatorQuery) First(ctx context.Context) (*Operator, error) + func (oq *OperatorQuery) FirstID(ctx context.Context) (id int64, err error) + func (oq *OperatorQuery) FirstIDX(ctx context.Context) int64 + func (oq *OperatorQuery) FirstX(ctx context.Context) *Operator + func (oq *OperatorQuery) ForShare(opts ...sql.LockOption) *OperatorQuery + func (oq *OperatorQuery) ForUpdate(opts ...sql.LockOption) *OperatorQuery + func (oq *OperatorQuery) GroupBy(field string, fields ...string) *OperatorGroupBy + func (oq *OperatorQuery) IDs(ctx context.Context) (ids []int64, err error) + func (oq *OperatorQuery) IDsX(ctx context.Context) []int64 + func (oq *OperatorQuery) Limit(limit int) *OperatorQuery + func (oq *OperatorQuery) Offset(offset int) *OperatorQuery + func (oq *OperatorQuery) Only(ctx context.Context) (*Operator, error) + func (oq *OperatorQuery) OnlyID(ctx context.Context) (id int64, err error) + func (oq *OperatorQuery) OnlyIDX(ctx context.Context) int64 + func (oq *OperatorQuery) OnlyX(ctx context.Context) *Operator + func (oq *OperatorQuery) Order(o ...operator.OrderOption) *OperatorQuery + func (oq *OperatorQuery) QueryChat() *ChatQuery + func (oq *OperatorQuery) QueryCommand() *CommandQuery + func (oq *OperatorQuery) Select(fields ...string) *OperatorSelect + func (oq *OperatorQuery) Unique(unique bool) *OperatorQuery + func (oq *OperatorQuery) Where(ps ...predicate.Operator) *OperatorQuery + func (oq *OperatorQuery) WithChat(opts ...func(*ChatQuery)) *OperatorQuery + func (oq *OperatorQuery) WithCommand(opts ...func(*CommandQuery)) *OperatorQuery + type OperatorSelect struct + func (os *OperatorSelect) Aggregate(fns ...AggregateFunc) *OperatorSelect + func (os *OperatorSelect) Scan(ctx context.Context, v any) error + func (s *OperatorSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *OperatorSelect) BoolX(ctx context.Context) bool + func (s *OperatorSelect) Bools(ctx context.Context) ([]bool, error) + func (s *OperatorSelect) BoolsX(ctx context.Context) []bool + func (s *OperatorSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *OperatorSelect) Float64X(ctx context.Context) float64 + func (s *OperatorSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *OperatorSelect) Float64sX(ctx context.Context) []float64 + func (s *OperatorSelect) Int(ctx context.Context) (_ int, err error) + func (s *OperatorSelect) IntX(ctx context.Context) int + func (s *OperatorSelect) Ints(ctx context.Context) ([]int, error) + func (s *OperatorSelect) IntsX(ctx context.Context) []int + func (s *OperatorSelect) ScanX(ctx context.Context, v any) + func (s *OperatorSelect) String(ctx context.Context) (_ string, err error) + func (s *OperatorSelect) StringX(ctx context.Context) string + func (s *OperatorSelect) Strings(ctx context.Context) ([]string, error) + func (s *OperatorSelect) StringsX(ctx context.Context) []string + type OperatorUpdate struct + func (ou *OperatorUpdate) AddChat(c ...*Chat) *OperatorUpdate + func (ou *OperatorUpdate) AddChatIDs(ids ...int) *OperatorUpdate + func (ou *OperatorUpdate) AddColor(u int32) *OperatorUpdate + func (ou *OperatorUpdate) AddCommand(c ...*Command) *OperatorUpdate + func (ou *OperatorUpdate) AddCommandIDs(ids ...int64) *OperatorUpdate + func (ou *OperatorUpdate) ClearChat() *OperatorUpdate + func (ou *OperatorUpdate) ClearCommand() *OperatorUpdate + func (ou *OperatorUpdate) ClearDeletedAt() *OperatorUpdate + func (ou *OperatorUpdate) ClearToken() *OperatorUpdate + func (ou *OperatorUpdate) Exec(ctx context.Context) error + func (ou *OperatorUpdate) ExecX(ctx context.Context) + func (ou *OperatorUpdate) Mutation() *OperatorMutation + func (ou *OperatorUpdate) RemoveChat(c ...*Chat) *OperatorUpdate + func (ou *OperatorUpdate) RemoveChatIDs(ids ...int) *OperatorUpdate + func (ou *OperatorUpdate) RemoveCommand(c ...*Command) *OperatorUpdate + func (ou *OperatorUpdate) RemoveCommandIDs(ids ...int64) *OperatorUpdate + func (ou *OperatorUpdate) Save(ctx context.Context) (int, error) + func (ou *OperatorUpdate) SaveX(ctx context.Context) int + func (ou *OperatorUpdate) SetColor(u uint32) *OperatorUpdate + func (ou *OperatorUpdate) SetDeletedAt(t time.Time) *OperatorUpdate + func (ou *OperatorUpdate) SetLast(t time.Time) *OperatorUpdate + func (ou *OperatorUpdate) SetNillableColor(u *uint32) *OperatorUpdate + func (ou *OperatorUpdate) SetNillableDeletedAt(t *time.Time) *OperatorUpdate + func (ou *OperatorUpdate) SetNillableLast(t *time.Time) *OperatorUpdate + func (ou *OperatorUpdate) SetNillableToken(s *string) *OperatorUpdate + func (ou *OperatorUpdate) SetNillableUsername(s *string) *OperatorUpdate + func (ou *OperatorUpdate) SetToken(s string) *OperatorUpdate + func (ou *OperatorUpdate) SetUpdatedAt(t time.Time) *OperatorUpdate + func (ou *OperatorUpdate) SetUsername(s string) *OperatorUpdate + func (ou *OperatorUpdate) Where(ps ...predicate.Operator) *OperatorUpdate + type OperatorUpdateOne struct + func (ouo *OperatorUpdateOne) AddChat(c ...*Chat) *OperatorUpdateOne + func (ouo *OperatorUpdateOne) AddChatIDs(ids ...int) *OperatorUpdateOne + func (ouo *OperatorUpdateOne) AddColor(u int32) *OperatorUpdateOne + func (ouo *OperatorUpdateOne) AddCommand(c ...*Command) *OperatorUpdateOne + func (ouo *OperatorUpdateOne) AddCommandIDs(ids ...int64) *OperatorUpdateOne + func (ouo *OperatorUpdateOne) ClearChat() *OperatorUpdateOne + func (ouo *OperatorUpdateOne) ClearCommand() *OperatorUpdateOne + func (ouo *OperatorUpdateOne) ClearDeletedAt() *OperatorUpdateOne + func (ouo *OperatorUpdateOne) ClearToken() *OperatorUpdateOne + func (ouo *OperatorUpdateOne) Exec(ctx context.Context) error + func (ouo *OperatorUpdateOne) ExecX(ctx context.Context) + func (ouo *OperatorUpdateOne) Mutation() *OperatorMutation + func (ouo *OperatorUpdateOne) RemoveChat(c ...*Chat) *OperatorUpdateOne + func (ouo *OperatorUpdateOne) RemoveChatIDs(ids ...int) *OperatorUpdateOne + func (ouo *OperatorUpdateOne) RemoveCommand(c ...*Command) *OperatorUpdateOne + func (ouo *OperatorUpdateOne) RemoveCommandIDs(ids ...int64) *OperatorUpdateOne + func (ouo *OperatorUpdateOne) Save(ctx context.Context) (*Operator, error) + func (ouo *OperatorUpdateOne) SaveX(ctx context.Context) *Operator + func (ouo *OperatorUpdateOne) Select(field string, fields ...string) *OperatorUpdateOne + func (ouo *OperatorUpdateOne) SetColor(u uint32) *OperatorUpdateOne + func (ouo *OperatorUpdateOne) SetDeletedAt(t time.Time) *OperatorUpdateOne + func (ouo *OperatorUpdateOne) SetLast(t time.Time) *OperatorUpdateOne + func (ouo *OperatorUpdateOne) SetNillableColor(u *uint32) *OperatorUpdateOne + func (ouo *OperatorUpdateOne) SetNillableDeletedAt(t *time.Time) *OperatorUpdateOne + func (ouo *OperatorUpdateOne) SetNillableLast(t *time.Time) *OperatorUpdateOne + func (ouo *OperatorUpdateOne) SetNillableToken(s *string) *OperatorUpdateOne + func (ouo *OperatorUpdateOne) SetNillableUsername(s *string) *OperatorUpdateOne + func (ouo *OperatorUpdateOne) SetToken(s string) *OperatorUpdateOne + func (ouo *OperatorUpdateOne) SetUpdatedAt(t time.Time) *OperatorUpdateOne + func (ouo *OperatorUpdateOne) SetUsername(s string) *OperatorUpdateOne + func (ouo *OperatorUpdateOne) Where(ps ...predicate.Operator) *OperatorUpdateOne + type Operators []*Operator + 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 Pki struct + Cert []byte + CreatedAt time.Time + DeletedAt time.Time + ID int + Key []byte + Type pki.Type + UpdatedAt time.Time + func (pk *Pki) String() string + func (pk *Pki) Unwrap() *Pki + func (pk *Pki) Update() *PkiUpdateOne + func (pk *Pki) Value(name string) (ent.Value, error) + type PkiClient struct + func NewPkiClient(c config) *PkiClient + func (c *PkiClient) Create() *PkiCreate + func (c *PkiClient) CreateBulk(builders ...*PkiCreate) *PkiCreateBulk + func (c *PkiClient) Delete() *PkiDelete + func (c *PkiClient) DeleteOne(pk *Pki) *PkiDeleteOne + func (c *PkiClient) DeleteOneID(id int) *PkiDeleteOne + func (c *PkiClient) Get(ctx context.Context, id int) (*Pki, error) + func (c *PkiClient) GetX(ctx context.Context, id int) *Pki + func (c *PkiClient) Hooks() []Hook + func (c *PkiClient) Intercept(interceptors ...Interceptor) + func (c *PkiClient) Interceptors() []Interceptor + func (c *PkiClient) MapCreateBulk(slice any, setFunc func(*PkiCreate, int)) *PkiCreateBulk + func (c *PkiClient) Query() *PkiQuery + func (c *PkiClient) Update() *PkiUpdate + func (c *PkiClient) UpdateOne(pk *Pki) *PkiUpdateOne + func (c *PkiClient) UpdateOneID(id int) *PkiUpdateOne + func (c *PkiClient) Use(hooks ...Hook) + type PkiCreate struct + func (pc *PkiCreate) Exec(ctx context.Context) error + func (pc *PkiCreate) ExecX(ctx context.Context) + func (pc *PkiCreate) Mutation() *PkiMutation + func (pc *PkiCreate) Save(ctx context.Context) (*Pki, error) + func (pc *PkiCreate) SaveX(ctx context.Context) *Pki + func (pc *PkiCreate) SetCert(b []byte) *PkiCreate + func (pc *PkiCreate) SetCreatedAt(t time.Time) *PkiCreate + func (pc *PkiCreate) SetDeletedAt(t time.Time) *PkiCreate + func (pc *PkiCreate) SetKey(b []byte) *PkiCreate + func (pc *PkiCreate) SetNillableCreatedAt(t *time.Time) *PkiCreate + func (pc *PkiCreate) SetNillableDeletedAt(t *time.Time) *PkiCreate + func (pc *PkiCreate) SetNillableUpdatedAt(t *time.Time) *PkiCreate + func (pc *PkiCreate) SetType(pk pki.Type) *PkiCreate + func (pc *PkiCreate) SetUpdatedAt(t time.Time) *PkiCreate + type PkiCreateBulk struct + func (pcb *PkiCreateBulk) Exec(ctx context.Context) error + func (pcb *PkiCreateBulk) ExecX(ctx context.Context) + func (pcb *PkiCreateBulk) Save(ctx context.Context) ([]*Pki, error) + func (pcb *PkiCreateBulk) SaveX(ctx context.Context) []*Pki + type PkiDelete struct + func (pd *PkiDelete) Exec(ctx context.Context) (int, error) + func (pd *PkiDelete) ExecX(ctx context.Context) int + func (pd *PkiDelete) Where(ps ...predicate.Pki) *PkiDelete + type PkiDeleteOne struct + func (pdo *PkiDeleteOne) Exec(ctx context.Context) error + func (pdo *PkiDeleteOne) ExecX(ctx context.Context) + func (pdo *PkiDeleteOne) Where(ps ...predicate.Pki) *PkiDeleteOne + type PkiGroupBy struct + func (pgb *PkiGroupBy) Aggregate(fns ...AggregateFunc) *PkiGroupBy + func (pgb *PkiGroupBy) Scan(ctx context.Context, v any) error + func (s *PkiGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *PkiGroupBy) BoolX(ctx context.Context) bool + func (s *PkiGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *PkiGroupBy) BoolsX(ctx context.Context) []bool + func (s *PkiGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *PkiGroupBy) Float64X(ctx context.Context) float64 + func (s *PkiGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *PkiGroupBy) Float64sX(ctx context.Context) []float64 + func (s *PkiGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *PkiGroupBy) IntX(ctx context.Context) int + func (s *PkiGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *PkiGroupBy) IntsX(ctx context.Context) []int + func (s *PkiGroupBy) ScanX(ctx context.Context, v any) + func (s *PkiGroupBy) String(ctx context.Context) (_ string, err error) + func (s *PkiGroupBy) StringX(ctx context.Context) string + func (s *PkiGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *PkiGroupBy) StringsX(ctx context.Context) []string + type PkiMutation struct + func (m *PkiMutation) AddField(name string, value ent.Value) error + func (m *PkiMutation) AddedEdges() []string + func (m *PkiMutation) AddedField(name string) (ent.Value, bool) + func (m *PkiMutation) AddedFields() []string + func (m *PkiMutation) AddedIDs(name string) []ent.Value + func (m *PkiMutation) Cert() (r []byte, exists bool) + func (m *PkiMutation) ClearDeletedAt() + func (m *PkiMutation) ClearEdge(name string) error + func (m *PkiMutation) ClearField(name string) error + func (m *PkiMutation) ClearedEdges() []string + func (m *PkiMutation) ClearedFields() []string + func (m *PkiMutation) CreatedAt() (r time.Time, exists bool) + func (m *PkiMutation) DeletedAt() (r time.Time, exists bool) + func (m *PkiMutation) DeletedAtCleared() bool + func (m *PkiMutation) EdgeCleared(name string) bool + func (m *PkiMutation) Field(name string) (ent.Value, bool) + func (m *PkiMutation) FieldCleared(name string) bool + func (m *PkiMutation) Fields() []string + func (m *PkiMutation) GetType() (r pki.Type, exists bool) + func (m *PkiMutation) ID() (id int, exists bool) + func (m *PkiMutation) IDs(ctx context.Context) ([]int, error) + func (m *PkiMutation) Key() (r []byte, exists bool) + func (m *PkiMutation) OldCert(ctx context.Context) (v []byte, err error) + func (m *PkiMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *PkiMutation) OldDeletedAt(ctx context.Context) (v time.Time, err error) + func (m *PkiMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *PkiMutation) OldKey(ctx context.Context) (v []byte, err error) + func (m *PkiMutation) OldType(ctx context.Context) (v pki.Type, err error) + func (m *PkiMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *PkiMutation) Op() Op + func (m *PkiMutation) RemovedEdges() []string + func (m *PkiMutation) RemovedIDs(name string) []ent.Value + func (m *PkiMutation) ResetCert() + func (m *PkiMutation) ResetCreatedAt() + func (m *PkiMutation) ResetDeletedAt() + func (m *PkiMutation) ResetEdge(name string) error + func (m *PkiMutation) ResetField(name string) error + func (m *PkiMutation) ResetKey() + func (m *PkiMutation) ResetType() + func (m *PkiMutation) ResetUpdatedAt() + func (m *PkiMutation) SetCert(b []byte) + func (m *PkiMutation) SetCreatedAt(t time.Time) + func (m *PkiMutation) SetDeletedAt(t time.Time) + func (m *PkiMutation) SetField(name string, value ent.Value) error + func (m *PkiMutation) SetKey(b []byte) + func (m *PkiMutation) SetOp(op Op) + func (m *PkiMutation) SetType(pk pki.Type) + func (m *PkiMutation) SetUpdatedAt(t time.Time) + func (m *PkiMutation) Type() string + func (m *PkiMutation) UpdatedAt() (r time.Time, exists bool) + func (m *PkiMutation) Where(ps ...predicate.Pki) + func (m *PkiMutation) WhereP(ps ...func(*sql.Selector)) + func (m PkiMutation) Client() *Client + func (m PkiMutation) Tx() (*Tx, error) + type PkiQuery struct + func (pq *PkiQuery) Aggregate(fns ...AggregateFunc) *PkiSelect + func (pq *PkiQuery) All(ctx context.Context) ([]*Pki, error) + func (pq *PkiQuery) AllX(ctx context.Context) []*Pki + func (pq *PkiQuery) Clone() *PkiQuery + func (pq *PkiQuery) Count(ctx context.Context) (int, error) + func (pq *PkiQuery) CountX(ctx context.Context) int + func (pq *PkiQuery) Exist(ctx context.Context) (bool, error) + func (pq *PkiQuery) ExistX(ctx context.Context) bool + func (pq *PkiQuery) First(ctx context.Context) (*Pki, error) + func (pq *PkiQuery) FirstID(ctx context.Context) (id int, err error) + func (pq *PkiQuery) FirstIDX(ctx context.Context) int + func (pq *PkiQuery) FirstX(ctx context.Context) *Pki + func (pq *PkiQuery) ForShare(opts ...sql.LockOption) *PkiQuery + func (pq *PkiQuery) ForUpdate(opts ...sql.LockOption) *PkiQuery + func (pq *PkiQuery) GroupBy(field string, fields ...string) *PkiGroupBy + func (pq *PkiQuery) IDs(ctx context.Context) (ids []int, err error) + func (pq *PkiQuery) IDsX(ctx context.Context) []int + func (pq *PkiQuery) Limit(limit int) *PkiQuery + func (pq *PkiQuery) Offset(offset int) *PkiQuery + func (pq *PkiQuery) Only(ctx context.Context) (*Pki, error) + func (pq *PkiQuery) OnlyID(ctx context.Context) (id int, err error) + func (pq *PkiQuery) OnlyIDX(ctx context.Context) int + func (pq *PkiQuery) OnlyX(ctx context.Context) *Pki + func (pq *PkiQuery) Order(o ...pki.OrderOption) *PkiQuery + func (pq *PkiQuery) Select(fields ...string) *PkiSelect + func (pq *PkiQuery) Unique(unique bool) *PkiQuery + func (pq *PkiQuery) Where(ps ...predicate.Pki) *PkiQuery + type PkiSelect struct + func (ps *PkiSelect) Aggregate(fns ...AggregateFunc) *PkiSelect + func (ps *PkiSelect) Scan(ctx context.Context, v any) error + func (s *PkiSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *PkiSelect) BoolX(ctx context.Context) bool + func (s *PkiSelect) Bools(ctx context.Context) ([]bool, error) + func (s *PkiSelect) BoolsX(ctx context.Context) []bool + func (s *PkiSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *PkiSelect) Float64X(ctx context.Context) float64 + func (s *PkiSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *PkiSelect) Float64sX(ctx context.Context) []float64 + func (s *PkiSelect) Int(ctx context.Context) (_ int, err error) + func (s *PkiSelect) IntX(ctx context.Context) int + func (s *PkiSelect) Ints(ctx context.Context) ([]int, error) + func (s *PkiSelect) IntsX(ctx context.Context) []int + func (s *PkiSelect) ScanX(ctx context.Context, v any) + func (s *PkiSelect) String(ctx context.Context) (_ string, err error) + func (s *PkiSelect) StringX(ctx context.Context) string + func (s *PkiSelect) Strings(ctx context.Context) ([]string, error) + func (s *PkiSelect) StringsX(ctx context.Context) []string + type PkiUpdate struct + func (pu *PkiUpdate) ClearDeletedAt() *PkiUpdate + func (pu *PkiUpdate) Exec(ctx context.Context) error + func (pu *PkiUpdate) ExecX(ctx context.Context) + func (pu *PkiUpdate) Mutation() *PkiMutation + func (pu *PkiUpdate) Save(ctx context.Context) (int, error) + func (pu *PkiUpdate) SaveX(ctx context.Context) int + func (pu *PkiUpdate) SetCert(b []byte) *PkiUpdate + func (pu *PkiUpdate) SetDeletedAt(t time.Time) *PkiUpdate + func (pu *PkiUpdate) SetKey(b []byte) *PkiUpdate + func (pu *PkiUpdate) SetNillableDeletedAt(t *time.Time) *PkiUpdate + func (pu *PkiUpdate) SetNillableType(pk *pki.Type) *PkiUpdate + func (pu *PkiUpdate) SetType(pk pki.Type) *PkiUpdate + func (pu *PkiUpdate) SetUpdatedAt(t time.Time) *PkiUpdate + func (pu *PkiUpdate) Where(ps ...predicate.Pki) *PkiUpdate + type PkiUpdateOne struct + func (puo *PkiUpdateOne) ClearDeletedAt() *PkiUpdateOne + func (puo *PkiUpdateOne) Exec(ctx context.Context) error + func (puo *PkiUpdateOne) ExecX(ctx context.Context) + func (puo *PkiUpdateOne) Mutation() *PkiMutation + func (puo *PkiUpdateOne) Save(ctx context.Context) (*Pki, error) + func (puo *PkiUpdateOne) SaveX(ctx context.Context) *Pki + func (puo *PkiUpdateOne) Select(field string, fields ...string) *PkiUpdateOne + func (puo *PkiUpdateOne) SetCert(b []byte) *PkiUpdateOne + func (puo *PkiUpdateOne) SetDeletedAt(t time.Time) *PkiUpdateOne + func (puo *PkiUpdateOne) SetKey(b []byte) *PkiUpdateOne + func (puo *PkiUpdateOne) SetNillableDeletedAt(t *time.Time) *PkiUpdateOne + func (puo *PkiUpdateOne) SetNillableType(pk *pki.Type) *PkiUpdateOne + func (puo *PkiUpdateOne) SetType(pk pki.Type) *PkiUpdateOne + func (puo *PkiUpdateOne) SetUpdatedAt(t time.Time) *PkiUpdateOne + func (puo *PkiUpdateOne) Where(ps ...predicate.Pki) *PkiUpdateOne + type Pkis []*Pki + 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 Task struct + AgentID uint32 + ArgsID int + Cap shared.Capability + CommandID int64 + CreatedAt time.Time + DoneAt time.Time + Edges TaskEdges + ID int64 + OutputBig bool + OutputID int + PushedAt time.Time + Status shared.TaskStatus + func (t *Task) QueryAgent() *AgentQuery + func (t *Task) QueryBlobberArgs() *BlobberQuery + func (t *Task) QueryBlobberOutput() *BlobberQuery + func (t *Task) QueryCommand() *CommandQuery + func (t *Task) String() string + func (t *Task) Unwrap() *Task + func (t *Task) Update() *TaskUpdateOne + func (t *Task) Value(name string) (ent.Value, error) + type TaskClient struct + func NewTaskClient(c config) *TaskClient + func (c *TaskClient) Create() *TaskCreate + func (c *TaskClient) CreateBulk(builders ...*TaskCreate) *TaskCreateBulk + func (c *TaskClient) Delete() *TaskDelete + func (c *TaskClient) DeleteOne(t *Task) *TaskDeleteOne + func (c *TaskClient) DeleteOneID(id int64) *TaskDeleteOne + func (c *TaskClient) Get(ctx context.Context, id int64) (*Task, error) + func (c *TaskClient) GetX(ctx context.Context, id int64) *Task + func (c *TaskClient) Hooks() []Hook + func (c *TaskClient) Intercept(interceptors ...Interceptor) + func (c *TaskClient) Interceptors() []Interceptor + func (c *TaskClient) MapCreateBulk(slice any, setFunc func(*TaskCreate, int)) *TaskCreateBulk + func (c *TaskClient) Query() *TaskQuery + func (c *TaskClient) QueryAgent(t *Task) *AgentQuery + func (c *TaskClient) QueryBlobberArgs(t *Task) *BlobberQuery + func (c *TaskClient) QueryBlobberOutput(t *Task) *BlobberQuery + func (c *TaskClient) QueryCommand(t *Task) *CommandQuery + func (c *TaskClient) Update() *TaskUpdate + func (c *TaskClient) UpdateOne(t *Task) *TaskUpdateOne + func (c *TaskClient) UpdateOneID(id int64) *TaskUpdateOne + func (c *TaskClient) Use(hooks ...Hook) + type TaskCreate struct + func (tc *TaskCreate) Exec(ctx context.Context) error + func (tc *TaskCreate) ExecX(ctx context.Context) + func (tc *TaskCreate) Mutation() *TaskMutation + func (tc *TaskCreate) Save(ctx context.Context) (*Task, error) + func (tc *TaskCreate) SaveX(ctx context.Context) *Task + func (tc *TaskCreate) SetAgent(a *Agent) *TaskCreate + func (tc *TaskCreate) SetAgentID(u uint32) *TaskCreate + func (tc *TaskCreate) SetArgsID(i int) *TaskCreate + func (tc *TaskCreate) SetBlobberArgs(b *Blobber) *TaskCreate + func (tc *TaskCreate) SetBlobberArgsID(id int) *TaskCreate + func (tc *TaskCreate) SetBlobberOutput(b *Blobber) *TaskCreate + func (tc *TaskCreate) SetBlobberOutputID(id int) *TaskCreate + func (tc *TaskCreate) SetCap(s shared.Capability) *TaskCreate + func (tc *TaskCreate) SetCommand(c *Command) *TaskCreate + func (tc *TaskCreate) SetCommandID(i int64) *TaskCreate + func (tc *TaskCreate) SetCreatedAt(t time.Time) *TaskCreate + func (tc *TaskCreate) SetDoneAt(t time.Time) *TaskCreate + func (tc *TaskCreate) SetID(i int64) *TaskCreate + func (tc *TaskCreate) SetNillableBlobberOutputID(id *int) *TaskCreate + func (tc *TaskCreate) SetNillableCreatedAt(t *time.Time) *TaskCreate + func (tc *TaskCreate) SetNillableDoneAt(t *time.Time) *TaskCreate + func (tc *TaskCreate) SetNillableOutputBig(b *bool) *TaskCreate + func (tc *TaskCreate) SetNillableOutputID(i *int) *TaskCreate + func (tc *TaskCreate) SetNillablePushedAt(t *time.Time) *TaskCreate + func (tc *TaskCreate) SetOutputBig(b bool) *TaskCreate + func (tc *TaskCreate) SetOutputID(i int) *TaskCreate + func (tc *TaskCreate) SetPushedAt(t time.Time) *TaskCreate + func (tc *TaskCreate) SetStatus(ss shared.TaskStatus) *TaskCreate + type TaskCreateBulk struct + func (tcb *TaskCreateBulk) Exec(ctx context.Context) error + func (tcb *TaskCreateBulk) ExecX(ctx context.Context) + func (tcb *TaskCreateBulk) Save(ctx context.Context) ([]*Task, error) + func (tcb *TaskCreateBulk) SaveX(ctx context.Context) []*Task + type TaskDelete struct + func (td *TaskDelete) Exec(ctx context.Context) (int, error) + func (td *TaskDelete) ExecX(ctx context.Context) int + func (td *TaskDelete) Where(ps ...predicate.Task) *TaskDelete + type TaskDeleteOne struct + func (tdo *TaskDeleteOne) Exec(ctx context.Context) error + func (tdo *TaskDeleteOne) ExecX(ctx context.Context) + func (tdo *TaskDeleteOne) Where(ps ...predicate.Task) *TaskDeleteOne + type TaskEdges struct + Agent *Agent + BlobberArgs *Blobber + BlobberOutput *Blobber + Command *Command + func (e TaskEdges) AgentOrErr() (*Agent, error) + func (e TaskEdges) BlobberArgsOrErr() (*Blobber, error) + func (e TaskEdges) BlobberOutputOrErr() (*Blobber, error) + func (e TaskEdges) CommandOrErr() (*Command, error) + type TaskGroupBy struct + func (s *TaskGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *TaskGroupBy) BoolX(ctx context.Context) bool + func (s *TaskGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *TaskGroupBy) BoolsX(ctx context.Context) []bool + func (s *TaskGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *TaskGroupBy) Float64X(ctx context.Context) float64 + func (s *TaskGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *TaskGroupBy) Float64sX(ctx context.Context) []float64 + func (s *TaskGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *TaskGroupBy) IntX(ctx context.Context) int + func (s *TaskGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *TaskGroupBy) IntsX(ctx context.Context) []int + func (s *TaskGroupBy) ScanX(ctx context.Context, v any) + func (s *TaskGroupBy) String(ctx context.Context) (_ string, err error) + func (s *TaskGroupBy) StringX(ctx context.Context) string + func (s *TaskGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *TaskGroupBy) StringsX(ctx context.Context) []string + func (tgb *TaskGroupBy) Aggregate(fns ...AggregateFunc) *TaskGroupBy + func (tgb *TaskGroupBy) Scan(ctx context.Context, v any) error + type TaskMutation struct + func (m *TaskMutation) AddField(name string, value ent.Value) error + func (m *TaskMutation) AddedEdges() []string + func (m *TaskMutation) AddedField(name string) (ent.Value, bool) + func (m *TaskMutation) AddedFields() []string + func (m *TaskMutation) AddedIDs(name string) []ent.Value + func (m *TaskMutation) AgentCleared() bool + func (m *TaskMutation) AgentID() (r uint32, exists bool) + func (m *TaskMutation) AgentIDs() (ids []uint32) + func (m *TaskMutation) ArgsID() (r int, exists bool) + func (m *TaskMutation) BlobberArgsCleared() bool + func (m *TaskMutation) BlobberArgsID() (id int, exists bool) + func (m *TaskMutation) BlobberArgsIDs() (ids []int) + func (m *TaskMutation) BlobberOutputCleared() bool + func (m *TaskMutation) BlobberOutputID() (id int, exists bool) + func (m *TaskMutation) BlobberOutputIDs() (ids []int) + func (m *TaskMutation) Cap() (r shared.Capability, exists bool) + func (m *TaskMutation) ClearAgent() + func (m *TaskMutation) ClearBlobberArgs() + func (m *TaskMutation) ClearBlobberOutput() + func (m *TaskMutation) ClearCommand() + func (m *TaskMutation) ClearDoneAt() + func (m *TaskMutation) ClearEdge(name string) error + func (m *TaskMutation) ClearField(name string) error + func (m *TaskMutation) ClearOutputBig() + func (m *TaskMutation) ClearOutputID() + func (m *TaskMutation) ClearPushedAt() + func (m *TaskMutation) ClearedEdges() []string + func (m *TaskMutation) ClearedFields() []string + func (m *TaskMutation) CommandCleared() bool + func (m *TaskMutation) CommandID() (r int64, exists bool) + func (m *TaskMutation) CommandIDs() (ids []int64) + func (m *TaskMutation) CreatedAt() (r time.Time, exists bool) + func (m *TaskMutation) DoneAt() (r time.Time, exists bool) + func (m *TaskMutation) DoneAtCleared() bool + func (m *TaskMutation) EdgeCleared(name string) bool + func (m *TaskMutation) Field(name string) (ent.Value, bool) + func (m *TaskMutation) FieldCleared(name string) bool + func (m *TaskMutation) Fields() []string + func (m *TaskMutation) ID() (id int64, exists bool) + func (m *TaskMutation) IDs(ctx context.Context) ([]int64, error) + func (m *TaskMutation) OldAgentID(ctx context.Context) (v uint32, err error) + func (m *TaskMutation) OldArgsID(ctx context.Context) (v int, err error) + func (m *TaskMutation) OldCap(ctx context.Context) (v shared.Capability, err error) + func (m *TaskMutation) OldCommandID(ctx context.Context) (v int64, err error) + func (m *TaskMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *TaskMutation) OldDoneAt(ctx context.Context) (v time.Time, err error) + func (m *TaskMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *TaskMutation) OldOutputBig(ctx context.Context) (v bool, err error) + func (m *TaskMutation) OldOutputID(ctx context.Context) (v int, err error) + func (m *TaskMutation) OldPushedAt(ctx context.Context) (v time.Time, err error) + func (m *TaskMutation) OldStatus(ctx context.Context) (v shared.TaskStatus, err error) + func (m *TaskMutation) Op() Op + func (m *TaskMutation) OutputBig() (r bool, exists bool) + func (m *TaskMutation) OutputBigCleared() bool + func (m *TaskMutation) OutputID() (r int, exists bool) + func (m *TaskMutation) OutputIDCleared() bool + func (m *TaskMutation) PushedAt() (r time.Time, exists bool) + func (m *TaskMutation) PushedAtCleared() bool + func (m *TaskMutation) RemovedEdges() []string + func (m *TaskMutation) RemovedIDs(name string) []ent.Value + func (m *TaskMutation) ResetAgent() + func (m *TaskMutation) ResetAgentID() + func (m *TaskMutation) ResetArgsID() + func (m *TaskMutation) ResetBlobberArgs() + func (m *TaskMutation) ResetBlobberOutput() + func (m *TaskMutation) ResetCap() + func (m *TaskMutation) ResetCommand() + func (m *TaskMutation) ResetCommandID() + func (m *TaskMutation) ResetCreatedAt() + func (m *TaskMutation) ResetDoneAt() + func (m *TaskMutation) ResetEdge(name string) error + func (m *TaskMutation) ResetField(name string) error + func (m *TaskMutation) ResetOutputBig() + func (m *TaskMutation) ResetOutputID() + func (m *TaskMutation) ResetPushedAt() + func (m *TaskMutation) ResetStatus() + func (m *TaskMutation) SetAgentID(u uint32) + func (m *TaskMutation) SetArgsID(i int) + func (m *TaskMutation) SetBlobberArgsID(id int) + func (m *TaskMutation) SetBlobberOutputID(id int) + func (m *TaskMutation) SetCap(s shared.Capability) + func (m *TaskMutation) SetCommandID(i int64) + func (m *TaskMutation) SetCreatedAt(t time.Time) + func (m *TaskMutation) SetDoneAt(t time.Time) + func (m *TaskMutation) SetField(name string, value ent.Value) error + func (m *TaskMutation) SetID(id int64) + func (m *TaskMutation) SetOp(op Op) + func (m *TaskMutation) SetOutputBig(b bool) + func (m *TaskMutation) SetOutputID(i int) + func (m *TaskMutation) SetPushedAt(t time.Time) + func (m *TaskMutation) SetStatus(ss shared.TaskStatus) + func (m *TaskMutation) Status() (r shared.TaskStatus, exists bool) + func (m *TaskMutation) Type() string + func (m *TaskMutation) Where(ps ...predicate.Task) + func (m *TaskMutation) WhereP(ps ...func(*sql.Selector)) + func (m TaskMutation) Client() *Client + func (m TaskMutation) Tx() (*Tx, error) + type TaskQuery struct + func (tq *TaskQuery) Aggregate(fns ...AggregateFunc) *TaskSelect + func (tq *TaskQuery) All(ctx context.Context) ([]*Task, error) + func (tq *TaskQuery) AllX(ctx context.Context) []*Task + func (tq *TaskQuery) Clone() *TaskQuery + func (tq *TaskQuery) Count(ctx context.Context) (int, error) + func (tq *TaskQuery) CountX(ctx context.Context) int + func (tq *TaskQuery) Exist(ctx context.Context) (bool, error) + func (tq *TaskQuery) ExistX(ctx context.Context) bool + func (tq *TaskQuery) First(ctx context.Context) (*Task, error) + func (tq *TaskQuery) FirstID(ctx context.Context) (id int64, err error) + func (tq *TaskQuery) FirstIDX(ctx context.Context) int64 + func (tq *TaskQuery) FirstX(ctx context.Context) *Task + func (tq *TaskQuery) ForShare(opts ...sql.LockOption) *TaskQuery + func (tq *TaskQuery) ForUpdate(opts ...sql.LockOption) *TaskQuery + func (tq *TaskQuery) GroupBy(field string, fields ...string) *TaskGroupBy + func (tq *TaskQuery) IDs(ctx context.Context) (ids []int64, err error) + func (tq *TaskQuery) IDsX(ctx context.Context) []int64 + func (tq *TaskQuery) Limit(limit int) *TaskQuery + func (tq *TaskQuery) Offset(offset int) *TaskQuery + func (tq *TaskQuery) Only(ctx context.Context) (*Task, error) + func (tq *TaskQuery) OnlyID(ctx context.Context) (id int64, err error) + func (tq *TaskQuery) OnlyIDX(ctx context.Context) int64 + func (tq *TaskQuery) OnlyX(ctx context.Context) *Task + func (tq *TaskQuery) Order(o ...task.OrderOption) *TaskQuery + func (tq *TaskQuery) QueryAgent() *AgentQuery + func (tq *TaskQuery) QueryBlobberArgs() *BlobberQuery + func (tq *TaskQuery) QueryBlobberOutput() *BlobberQuery + func (tq *TaskQuery) QueryCommand() *CommandQuery + func (tq *TaskQuery) Select(fields ...string) *TaskSelect + func (tq *TaskQuery) Unique(unique bool) *TaskQuery + func (tq *TaskQuery) Where(ps ...predicate.Task) *TaskQuery + func (tq *TaskQuery) WithAgent(opts ...func(*AgentQuery)) *TaskQuery + func (tq *TaskQuery) WithBlobberArgs(opts ...func(*BlobberQuery)) *TaskQuery + func (tq *TaskQuery) WithBlobberOutput(opts ...func(*BlobberQuery)) *TaskQuery + func (tq *TaskQuery) WithCommand(opts ...func(*CommandQuery)) *TaskQuery + type TaskSelect struct + func (s *TaskSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *TaskSelect) BoolX(ctx context.Context) bool + func (s *TaskSelect) Bools(ctx context.Context) ([]bool, error) + func (s *TaskSelect) BoolsX(ctx context.Context) []bool + func (s *TaskSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *TaskSelect) Float64X(ctx context.Context) float64 + func (s *TaskSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *TaskSelect) Float64sX(ctx context.Context) []float64 + func (s *TaskSelect) Int(ctx context.Context) (_ int, err error) + func (s *TaskSelect) IntX(ctx context.Context) int + func (s *TaskSelect) Ints(ctx context.Context) ([]int, error) + func (s *TaskSelect) IntsX(ctx context.Context) []int + func (s *TaskSelect) ScanX(ctx context.Context, v any) + func (s *TaskSelect) String(ctx context.Context) (_ string, err error) + func (s *TaskSelect) StringX(ctx context.Context) string + func (s *TaskSelect) Strings(ctx context.Context) ([]string, error) + func (s *TaskSelect) StringsX(ctx context.Context) []string + func (ts *TaskSelect) Aggregate(fns ...AggregateFunc) *TaskSelect + func (ts *TaskSelect) Scan(ctx context.Context, v any) error + type TaskUpdate struct + func (tu *TaskUpdate) ClearAgent() *TaskUpdate + func (tu *TaskUpdate) ClearBlobberArgs() *TaskUpdate + func (tu *TaskUpdate) ClearBlobberOutput() *TaskUpdate + func (tu *TaskUpdate) ClearCommand() *TaskUpdate + func (tu *TaskUpdate) ClearDoneAt() *TaskUpdate + func (tu *TaskUpdate) ClearOutputBig() *TaskUpdate + func (tu *TaskUpdate) ClearOutputID() *TaskUpdate + func (tu *TaskUpdate) ClearPushedAt() *TaskUpdate + func (tu *TaskUpdate) Exec(ctx context.Context) error + func (tu *TaskUpdate) ExecX(ctx context.Context) + func (tu *TaskUpdate) Mutation() *TaskMutation + func (tu *TaskUpdate) Save(ctx context.Context) (int, error) + func (tu *TaskUpdate) SaveX(ctx context.Context) int + func (tu *TaskUpdate) SetAgent(a *Agent) *TaskUpdate + func (tu *TaskUpdate) SetAgentID(u uint32) *TaskUpdate + func (tu *TaskUpdate) SetArgsID(i int) *TaskUpdate + func (tu *TaskUpdate) SetBlobberArgs(b *Blobber) *TaskUpdate + func (tu *TaskUpdate) SetBlobberArgsID(id int) *TaskUpdate + func (tu *TaskUpdate) SetBlobberOutput(b *Blobber) *TaskUpdate + func (tu *TaskUpdate) SetBlobberOutputID(id int) *TaskUpdate + func (tu *TaskUpdate) SetCap(s shared.Capability) *TaskUpdate + func (tu *TaskUpdate) SetCommand(c *Command) *TaskUpdate + func (tu *TaskUpdate) SetCommandID(i int64) *TaskUpdate + func (tu *TaskUpdate) SetCreatedAt(t time.Time) *TaskUpdate + func (tu *TaskUpdate) SetDoneAt(t time.Time) *TaskUpdate + func (tu *TaskUpdate) SetNillableAgentID(u *uint32) *TaskUpdate + func (tu *TaskUpdate) SetNillableArgsID(i *int) *TaskUpdate + func (tu *TaskUpdate) SetNillableBlobberOutputID(id *int) *TaskUpdate + func (tu *TaskUpdate) SetNillableCap(s *shared.Capability) *TaskUpdate + func (tu *TaskUpdate) SetNillableCommandID(i *int64) *TaskUpdate + func (tu *TaskUpdate) SetNillableCreatedAt(t *time.Time) *TaskUpdate + func (tu *TaskUpdate) SetNillableDoneAt(t *time.Time) *TaskUpdate + func (tu *TaskUpdate) SetNillableOutputBig(b *bool) *TaskUpdate + func (tu *TaskUpdate) SetNillableOutputID(i *int) *TaskUpdate + func (tu *TaskUpdate) SetNillablePushedAt(t *time.Time) *TaskUpdate + func (tu *TaskUpdate) SetNillableStatus(ss *shared.TaskStatus) *TaskUpdate + func (tu *TaskUpdate) SetOutputBig(b bool) *TaskUpdate + func (tu *TaskUpdate) SetOutputID(i int) *TaskUpdate + func (tu *TaskUpdate) SetPushedAt(t time.Time) *TaskUpdate + func (tu *TaskUpdate) SetStatus(ss shared.TaskStatus) *TaskUpdate + func (tu *TaskUpdate) Where(ps ...predicate.Task) *TaskUpdate + type TaskUpdateOne struct + func (tuo *TaskUpdateOne) ClearAgent() *TaskUpdateOne + func (tuo *TaskUpdateOne) ClearBlobberArgs() *TaskUpdateOne + func (tuo *TaskUpdateOne) ClearBlobberOutput() *TaskUpdateOne + func (tuo *TaskUpdateOne) ClearCommand() *TaskUpdateOne + func (tuo *TaskUpdateOne) ClearDoneAt() *TaskUpdateOne + func (tuo *TaskUpdateOne) ClearOutputBig() *TaskUpdateOne + func (tuo *TaskUpdateOne) ClearOutputID() *TaskUpdateOne + func (tuo *TaskUpdateOne) ClearPushedAt() *TaskUpdateOne + func (tuo *TaskUpdateOne) Exec(ctx context.Context) error + func (tuo *TaskUpdateOne) ExecX(ctx context.Context) + func (tuo *TaskUpdateOne) Mutation() *TaskMutation + func (tuo *TaskUpdateOne) Save(ctx context.Context) (*Task, error) + func (tuo *TaskUpdateOne) SaveX(ctx context.Context) *Task + func (tuo *TaskUpdateOne) Select(field string, fields ...string) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetAgent(a *Agent) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetAgentID(u uint32) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetArgsID(i int) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetBlobberArgs(b *Blobber) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetBlobberArgsID(id int) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetBlobberOutput(b *Blobber) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetBlobberOutputID(id int) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetCap(s shared.Capability) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetCommand(c *Command) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetCommandID(i int64) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetCreatedAt(t time.Time) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetDoneAt(t time.Time) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetNillableAgentID(u *uint32) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetNillableArgsID(i *int) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetNillableBlobberOutputID(id *int) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetNillableCap(s *shared.Capability) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetNillableCommandID(i *int64) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetNillableCreatedAt(t *time.Time) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetNillableDoneAt(t *time.Time) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetNillableOutputBig(b *bool) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetNillableOutputID(i *int) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetNillablePushedAt(t *time.Time) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetNillableStatus(ss *shared.TaskStatus) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetOutputBig(b bool) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetOutputID(i int) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetPushedAt(t time.Time) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetStatus(ss shared.TaskStatus) *TaskUpdateOne + func (tuo *TaskUpdateOne) Where(ps ...predicate.Task) *TaskUpdateOne + type Tasks []*Task + type TraverseFunc = ent.TraverseFunc + type Traverser = ent.Traverser + type Tx struct + Agent *AgentClient + Blobber *BlobberClient + Chat *ChatClient + Command *CommandClient + Credential *CredentialClient + Listener *ListenerClient + Message *MessageClient + Operator *OperatorClient + Pki *PkiClient + Task *TaskClient + 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