cmd

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdDfi added in v0.1.2

func NewCmdDfi(streams genericclioptions.IOStreams, version, commit, date string) *cobra.Command

NewCmdDf is a cobra command wrapping

Types

type DfiOptions

type DfiOptions struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

DfiOptions is struct of df options

func NewDfiOptions added in v0.1.2

func NewDfiOptions(streams genericclioptions.IOStreams) *DfiOptions

NewDfOptions is an instance of DfOptions

func (*DfiOptions) Prepare added in v0.1.2

func (o *DfiOptions) Prepare() error

Prepare sets client

func (*DfiOptions) Run

func (o *DfiOptions) Run(args []string) error

Run printing disk usage of images

func (*DfiOptions) Validate

func (o *DfiOptions) Validate() error

Validate ensures that all required arguments and flag values are provided

Jump to

Keyboard shortcuts

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