instancecleaner

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InstanceCleaner

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

func New

func New(
	manager *cleanup.Manager,
	opts Opts,
	instanceRepo repositories.InstanceRepository,
	clock clockwork.Clock,
	metrics *metrics.Collector,
	logger *zerolog.Logger,
) InstanceCleaner

func (InstanceCleaner) Clean

func (c InstanceCleaner) Clean(ctx context.Context)

type Opts

type Opts struct {
	Retention time.Duration
}

Jump to

Keyboard shortcuts

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