purge

package
v0.0.0-...-66c98c8 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	// contains filtered or unexported fields
}

Job defines the purge job

func (*Job) MaxCurrency

func (j *Job) MaxCurrency() uint

MaxCurrency is implementation of same method in Interface.

func (*Job) MaxFails

func (j *Job) MaxFails() uint

MaxFails is implementation of same method in Interface.

func (*Job) Run

func (j *Job) Run(ctx job.Context, params job.Parameters) error

Run the purge logic here.

func (*Job) ShouldRetry

func (j *Job) ShouldRetry() bool

ShouldRetry ...

func (*Job) Validate

func (j *Job) Validate(_ job.Parameters) error

Validate is implementation of same method in Interface.

Jump to

Keyboard shortcuts

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