Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(ctx context.Context, logger slog.Logger, db database.Store, vals *codersdk.DeploymentValues, clk quartz.Clock) io.Closer
New creates a new periodically purging database instance. It is the caller's responsibility to call Close on the returned instance.
This is for cleaning up old, unused resources from the database that take up space.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.