Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerTickerRunner ¶
type ControllerTickerRunner struct {
// contains filtered or unexported fields
}
func NewStorageControllerTickerRunner ¶
func NewStorageControllerTickerRunner( authDuration time.Duration) *ControllerTickerRunner
func (*ControllerTickerRunner) GetAuthBucketTicker ¶
func (c *ControllerTickerRunner) GetAuthBucketTicker() <-chan time.Time
func (*ControllerTickerRunner) Start ¶
func (c *ControllerTickerRunner) Start() error
type StorageController ¶
type StorageController struct { Runner StorageControllerRunner Arch archive.Archive ExpiredAuthDataPath string }
func NewStorageController ¶
func NewStorageController(storageControllerRunner StorageControllerRunner, arch archive.Archive) (StorageController, error)
type StorageControllerRunner ¶
StorageControllerRunner is the controller interface of data pruner jobs.
Click to show internal directories.
Click to hide internal directories.