prune

package
v1.57.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package prune implements a 'devenv prune' command that allows developers to prune unused docker images from a running developer environment.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(log logrus.FieldLogger) *cli.Command

NewCmd returns a new prune command.

Types

type Options

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

Options is the options for the prune command.

func NewOptions

func NewOptions(log logrus.FieldLogger) *Options

NewOptions returns a new Options

func (*Options) Run

func (o *Options) Run(ctx context.Context) error

Run runs the prune command.

Jump to

Keyboard shortcuts

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