cleanup

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Notify added in v0.4.0

func Notify()

Notify prints a one-line, non-interactive warning when expired containers exist. It is safe to call before every command and never blocks or prompts.

func Remove added in v0.5.0

func Remove(c *database.Container) error

Remove stops and removes a single container, its volume, and its record. It is the non-interactive entry point used by `mkdb cleanup --yes`.

func RunInteractive

func RunInteractive(containers []*database.Container) error

RunInteractive prompts the user to select expired containers to extend or remove. It requires an interactive terminal.

Types

This section is empty.

Jump to

Keyboard shortcuts

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