gc

package
v0.0.0-...-977965f Latest Latest
Warning

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

Go to latest
Published: May 28, 2019 License: Apache-2.0 Imports: 14 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 env.JobContext, params map[string]interface{}) 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 map[string]interface{}) 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