cmd

package
v0.0.0-...-833298b Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: MIT Imports: 23 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

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