cmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Rev represents the revision. When built via CI, this is replaced with Git
	// SHA1 by the linker.
	Rev string = "HEAD"
	// Ver represents the version. When built via CI, this is replaced with Git
	// tag it's built with.
	Ver string = "development version"
)

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type ByCreated

type ByCreated []types.ImageSummary

ByCreated implements sort.Interface for []types.ImageSummary based on the Created field (newest first)

func (ByCreated) Len

func (b ByCreated) Len() int

func (ByCreated) Less

func (b ByCreated) Less(i, j int) bool

func (ByCreated) Swap

func (b ByCreated) Swap(i, j int)

Jump to

Keyboard shortcuts

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