Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GarbageCollector ¶
type GarbageCollector struct {
// contains filtered or unexported fields
}
GarbageCollector is the struct to run registry's garbage collection
func (*GarbageCollector) MaxCurrency ¶
func (gc *GarbageCollector) MaxCurrency() uint
MaxCurrency is implementation of same method in Interface.
func (*GarbageCollector) MaxFails ¶
func (gc *GarbageCollector) MaxFails() uint
MaxFails implements the interface in job/Interface
func (*GarbageCollector) Run ¶
func (gc *GarbageCollector) Run(ctx job.Context, params job.Parameters) error
Run implements the interface in job/Interface
func (*GarbageCollector) ShouldRetry ¶
func (gc *GarbageCollector) ShouldRetry() bool
ShouldRetry implements the interface in job/Interface
func (*GarbageCollector) Validate ¶
func (gc *GarbageCollector) Validate(_ job.Parameters) error
Validate implements the interface in job/Interface
Click to show internal directories.
Click to hide internal directories.