Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdInit ¶
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.
Click to show internal directories.
Click to hide internal directories.