initcmd

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2022 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