Documentation
¶
Overview ¶
Package snapshotmaintenance provides helpers to run snapshot GC and low-level repository snapshotmaintenance.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrReadonly = errors.New("not running maintenance on read-only repository connection")
ErrReadonly indicates a failure when attempting to run maintenance on a read-only repository.
Functions ¶
func Run ¶
func Run(ctx context.Context, dr repo.DirectRepositoryWriter, mode maintenance.Mode, force bool, safety maintenance.SafetyParameters) error
Run runs the complete snapshot and repository maintenance.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.