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 ¶
createApp returns a cobra.Command, and the underlying globalOptions object, to be run or tested.
func IsNotFoundImageError ¶
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.
Click to show internal directories.
Click to hide internal directories.