Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HousekeeperRun ¶
type HousekeeperRun struct {
bun.BaseModel `bun:"table:aux_housekeeper_run"`
coremodels.Model
// ModelName specifies the name of the model processed by the
// housekeeper.
ModelName string `bun:"model_name,notnull"`
// StartedAt specifies when the housekeeper started processing stale
// records.
StartedAt time.Time `bun:"started_at,notnull"`
// CompletedAt specifies when the housekeeper completed processing stale
// records.
CompletedAt time.Time `bun:"completed_at,notnull"`
// Count specifies the number of stale records that were cleaned up by
// the housekeeper.
Count int64 `bun:"count,notnull"`
}
HousekeeperRun represents a single run of the housekeeper.
Click to show internal directories.
Click to hide internal directories.