cmd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2019 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdFree

func NewCmdFree(f cmdutil.Factory, streams genericclioptions.IOStreams, version, commit, date string) *cobra.Command

NewCmdFree is a cobra command wrapping

Types

type FreeOptions

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

FreeOptions is struct of df options

func NewFreeOptions

func NewFreeOptions(streams genericclioptions.IOStreams) *FreeOptions

NewFreeOptions is an instance of FreeOptions

func (*FreeOptions) Complete added in v0.2.0

func (o *FreeOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error

Complete prepares k8s clients

func (*FreeOptions) Run

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

Run printing disk usage of images

func (*FreeOptions) Validate

func (o *FreeOptions) 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