Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
Worker performs a periodic cleanup of old snapshots. It cleans snapshots of all instances, not just itself.
func New ¶
func New(name string, st simpleblob.Interface, cc config.Cleanup, logger logrus.FieldLogger) *Worker
func (*Worker) GetCommitted ¶
GetCommitted retrieves the snapshot time of the last snapshot loaded by instance that was subsequently incorporated in one of our own snapshots. If no snapshot was loaded for this instance, it will return a zero time.
Click to show internal directories.
Click to hide internal directories.