cmd

package
v1.0.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2025 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KB = 1 << (10 * iota) // Bit shift each by 10
	MB
	GB
	TB
	PB
	EB
)

Enumerated constant for byte units

Variables

View Source
var ImagePruneBuildDate string = "N/a"
View Source
var ImagePruneCommit string = "N/a"
View Source
var ImagePruneVersion string = "v1.0.0-local.build"

Public variables for image-prune version

Functions

func CreateApp

func CreateApp() (*cobra.Command, *globalOptions)

createApp returns a cobra.Command, and the underlying globalOptions object, to be run or tested.

func IsNotFoundImageError

func IsNotFoundImageError(err error) bool

IsNotFoundImageError heuristically attempts to determine whether an error is saying the remote source couldn't find the image (as opposed to an authentication error, an I/O error etc.) TODO drive this into containers/image properly

Types

This section is empty.

Jump to

Keyboard shortcuts

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