cmd

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2019 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultCommand

func NewDefaultCommand(cmd func(f util.Factory, ioStreams util.IOStreams) *cobra.Command) *cobra.Command

NewDefaultCommand is used for creating commands from the standard NewXCommand functions

func NewDefaultRedskyctlCommand

func NewDefaultRedskyctlCommand() *cobra.Command

func NewRedskyctlCommand

func NewRedskyctlCommand(in io.Reader, out, err io.Writer) *cobra.Command

func NewVersionCommand

func NewVersionCommand(f cmdutil.Factory, ioStreams cmdutil.IOStreams) *cobra.Command

Types

type VersionOptions

type VersionOptions struct {
	SetupToolsImage bool

	cmdutil.IOStreams
	// contains filtered or unexported fields
}

func NewVersionOptions

func NewVersionOptions(ioStreams cmdutil.IOStreams) *VersionOptions

func (*VersionOptions) Complete

func (o *VersionOptions) Complete(f cmdutil.Factory, cmd *cobra.Command) error

func (*VersionOptions) Run

func (o *VersionOptions) Run() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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