job

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CleanupResult

type CleanupResult struct {
	SizeGain     int64
	ItemsRemoved int64
}

type Job

type Job struct {
	ID     cron.EntryID
	DryRun bool
	Policy config.Policy
	Atf    *artifactory.Client
	Cron   *cron.Cron
	Log    zerolog.Logger
	// contains filtered or unexported fields
}

Job holds job object

func (*Job) Run

func (j *Job) Run()

Run runs the job

Jump to

Keyboard shortcuts

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