Documentation
¶
Overview ¶
Package opsstate persists trust-critical operation completion heartbeats.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecordSuccess ¶
func RecordSuccess( ctx context.Context, db dbgen.DBTX, installationID int64, component string, operation string, ) error
RecordSuccess increments a durable success count and stamps it from the PostgreSQL clock. Callers that need the heartbeat atomic with their work pass it the transaction that commits that pass.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.