gc

package
v0.0.0-...-969384c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 24 Imported by: 30

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL