Versions in this module Expand all Collapse all v0 v0.1.0 Aug 19, 2026 Changes in this version + const FormatVersion + type Clock interface + Now func() time.Time + type Detail struct + Active bool + Attempt int + Operation Operation + ServerPhase string + Work *Work + type Operation string + const OperationAdmitting + const OperationBrief + const OperationConcurrentIndex + const OperationOptimistic + const OperationValidate + type Phase string + const PhaseFailed + const PhaseFinished + const PhasePending + const PhaseRunning + type Snapshot struct + Detail Detail + Elapsed time.Duration + FormatVersion int + Phase Phase + Step int + StepElapsed time.Duration + TotalSteps int + type Tracker struct + func NewTracker(clock Clock) (*Tracker, error) + func (t *Tracker) Finish(err error) + func (t *Tracker) Now() time.Time + func (t *Tracker) Progress(ctx context.Context) (Snapshot, error) + func (t *Tracker) SetAttempt(attempt int) + func (t *Tracker) SetConcurrentBuild(session dbconn.RowQuerier, pid uint32) + func (t *Tracker) Start(total int, operation Operation) + func (t *Tracker) StartStep(step int, operation Operation) + func (t *Tracker) StopConcurrentBuild() + type WallClock struct + func (WallClock) Now() time.Time + type Work struct + BlocksDone uint64 + BlocksTotal uint64 + BytesCopied uint64 + BytesTotal uint64 + RowsCopied uint64 + RowsTotal uint64 + TuplesDone uint64 + TuplesTotal uint64