reap

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reaper

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

Reaper is an object that does periodic cleanup

func NewReaper

NewReaper returns a Reaper object using the supplied dependencies

func (*Reaper) Reap

func (r *Reaper) Reap()

Reap is called periodically to do various cleanup tasks

type ReaperMetricsCollector

type ReaperMetricsCollector interface {
	Pruned(int)
	Reaped(string, string, models.QADestroyReason, error)
	EnvironmentCount(string, models.EnvironmentStatus, uint)
}

Jump to

Keyboard shortcuts

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