Versions in this module Expand all Collapse all v1 v1.0.0 May 18, 2021 Changes in this version + var ErrSyncFail = errors.New("models: failed to synchronize data after insert") + var GorpMigrationColumns = struct{ ... } + var GorpMigrationRels = struct{} + var GorpMigrationWhere = struct{ ... } + var NodeWakeColumns = struct{ ... } + var NodeWakeRels = struct{} + var NodeWakeWhere = struct{ ... } + var TableNames = struct{ ... } + func AddGorpMigrationHook(hookPoint boil.HookPoint, gorpMigrationHook GorpMigrationHook) + func AddNodeWakeHook(hookPoint boil.HookPoint, nodeWakeHook NodeWakeHook) + func GorpMigrationExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error) + func GorpMigrations(mods ...qm.QueryMod) gorpMigrationQuery + func NewQuery(mods ...qm.QueryMod) *queries.Query + func NodeWakeExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error) + func NodeWakes(mods ...qm.QueryMod) nodeWakeQuery + type GorpMigration struct + AppliedAt null.Time + ID string + L gorpMigrationL + R *gorpMigrationR + func FindGorpMigration(ctx context.Context, exec boil.ContextExecutor, iD string, ...) (*GorpMigration, error) + func (o *GorpMigration) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *GorpMigration) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *GorpMigration) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *GorpMigration) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + type GorpMigrationHook func(context.Context, boil.ContextExecutor, *GorpMigration) error + type GorpMigrationSlice []*GorpMigration + func (o *GorpMigrationSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o GorpMigrationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o GorpMigrationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + type M map[string]interface + type NodeWake struct + CreatedAt time.Time + Done int64 + ID int64 + L nodeWakeL + MacAddress string + PoweredOn int64 + R *nodeWakeR + func FindNodeWake(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*NodeWake, error) + func (o *NodeWake) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *NodeWake) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *NodeWake) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *NodeWake) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + type NodeWakeHook func(context.Context, boil.ContextExecutor, *NodeWake) error + type NodeWakeSlice []*NodeWake + func (o *NodeWakeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o NodeWakeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o NodeWakeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)