MCPcopy
hub / github.com/databasus/databasus / Registrar

Interface Registrar

agent/verification/internal/features/runner/interfaces.go:53–57  ·  view source on GitHub ↗

Registrar is the heartbeat registry seam: register before any container exists so the ID rides every heartbeat, and re-check the recorded abort set before any FAILED POST.

Source from the content-addressed store, hash-verified

51// exists so the ID rides every heartbeat, and re-check the recorded abort set
52// before any FAILED POST.
53type Registrar interface {
54 TrackVerification(id uuid.UUID, cancel context.CancelFunc)
55 UntrackVerification(id uuid.UUID)
56 IsAborted(id uuid.UUID) bool
57}
58
59type diskUsageProber interface {
60 GetDiskUsageBytes(ctx context.Context) (int64, error)

Callers 3

executeJobMethod · 0.65
executeJobMethod · 0.65

Implementers 2

fakeRegistraragent/verification/internal/features/r
Heartbeateragent/verification/internal/features/h

Calls

no outgoing calls

Tested by

no test coverage detected