garbagecollection

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	// CollectGarbage deletes backups according to the configured retention strategy.
	CollectGarbage(ctx context.Context) error
}

func NewManager

func NewManager(clientSet ecosystem.Interface, namespace string, strategyName string) Manager

NewManager creates an instance of a Manager capable of deleting old backups.

Jump to

Keyboard shortcuts

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