gc

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GarbageCollector

type GarbageCollector struct {
	CoreURL string
	// contains filtered or unexported fields
}

GarbageCollector is the struct to run registry's garbage collection

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(params 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