initcmd

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdInit

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

NewCmdInit returns the cobra command for the init command.

Types

type InitRunner added in v0.20.2

type InitRunner struct {
	Command     *cobra.Command
	InitOptions *config.InitOptions
}

InitRunner encapsulates the structures for the init command.

func GetInitRunner added in v0.20.2

func GetInitRunner(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *InitRunner

GetInitRunner builds and returns the InitRunner. Connects the InitOptions.Run to the cobra command.

Jump to

Keyboard shortcuts

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