cmd

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version string

Functions

func NewDockerDesktopCommand added in v0.2.0

func NewDockerDesktopCommand() *cobra.Command

func NewRootCommand

func NewRootCommand() *cobra.Command

Types

type ApplyOptions

func NewApplyOptions

func NewApplyOptions() *ApplyOptions

func (*ApplyOptions) Command

func (o *ApplyOptions) Command() *cobra.Command

func (*ApplyOptions) Run

func (o *ApplyOptions) Run(cmd *cobra.Command, args []string)

type DeleteOptions

type DeleteOptions struct {
	*genericclioptions.PrintFlags
	*genericclioptions.FileNameFlags
	genericclioptions.IOStreams

	IgnoreNotFound bool
	Filenames      []string
	// contains filtered or unexported fields
}

func NewDeleteOptions

func NewDeleteOptions() *DeleteOptions

func (*DeleteOptions) Command

func (o *DeleteOptions) Command() *cobra.Command

func (*DeleteOptions) Run

func (o *DeleteOptions) Run(cmd *cobra.Command, args []string)

type GetOptions

type GetOptions struct {
	*genericclioptions.PrintFlags
	genericclioptions.IOStreams
	StartTime      time.Time
	IgnoreNotFound bool
	FieldSelector  string
}

func NewGetOptions

func NewGetOptions() *GetOptions

func (*GetOptions) Command

func (o *GetOptions) Command() *cobra.Command

func (*GetOptions) OutputFlagSpecified

func (o *GetOptions) OutputFlagSpecified() bool

func (*GetOptions) Print

func (o *GetOptions) Print(obj runtime.Object) error

func (*GetOptions) Run

func (o *GetOptions) Run(cmd *cobra.Command, args []string)

func (*GetOptions) ToPrinter

func (o *GetOptions) ToPrinter() (printers.ResourcePrinter, error)

Jump to

Keyboard shortcuts

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