prune

package
v0.0.0-...-3bfe646 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// DryRun specifies whether to show the actions without pruning
	DryRun bool
	// FieldLogger specifies the logger
	log.FieldLogger
	// Silent specifies the progress output stream
	Silent localenv.Silent
}

Config is the common pruner configuration

func (Config) PrintStepf

func (r Config) PrintStepf(format string, args ...interface{})

PrintStepf formats the specified message string to stdout

type Pruner

type Pruner interface {
	// Prune prunes unused resources
	Prune(context.Context) error
}

Pruner prunes unused resources

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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