clean

package
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidManager = errors.New("invalid image manager")
)

Functions

This section is empty.

Types

type Case

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

func NewCase

func NewCase(mng Cleaner) (*Case, error)

func (*Case) Exec

func (c *Case) Exec(ctx context.Context) error

func (*Case) WithForce

func (c *Case) WithForce(force bool) *Case

type Cleaner

type Cleaner interface {
	RemoveImage(ctx context.Context, name string, force bool) error
	BuilderPrune(ctx context.Context, all bool) error
}

Jump to

Keyboard shortcuts

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