Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IntegrityController ¶
type IntegrityController struct {
// contains filtered or unexported fields
}
IntegrityController represents an instance of the integrity controller
func NewIntegrityController ¶
func NewIntegrityController(repositories []*conf.Repository) *IntegrityController
NewIntegrityController creates a new IntegrityController
func (*IntegrityController) GetIntegrityReport ¶
func (c *IntegrityController) GetIntegrityReport(repositoryName string) (IntegrityReport, error)
GetIntegrityReport returns an integrity report
func (*IntegrityController) RunCheck ¶
func (c *IntegrityController) RunCheck(repository *conf.Repository) func()
RunCheck runs an integrity check
func (*IntegrityController) Start ¶
func (c *IntegrityController) Start() error
Start runs integrity checks in the background
type IntegrityReport ¶
IntegrityReport represents an integrity report
type RetentionController ¶
type RetentionController struct {
// contains filtered or unexported fields
}
RetentionController represents an instance of the retention controller
func NewRetentionController ¶
func NewRetentionController(repositories []*conf.Repository) *RetentionController
NewRetentionController creates a new retention controller
func (*RetentionController) GetRetentionReport ¶
func (c *RetentionController) GetRetentionReport(repositoryName string) (RetentionReport, error)
GetRetentionReport returns a retention report
func (*RetentionController) RunForget ¶
func (c *RetentionController) RunForget(repository *conf.Repository) func()
RunForget runs a forget action
func (*RetentionController) Start ¶
func (c *RetentionController) Start() error
Start applies retention policy periodically checks in the background
Click to show internal directories.
Click to hide internal directories.