preview

package
v0.28.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2022 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command added in v0.28.0

Command creates the Runner, returning the cobra command associated with it.

Types

type Runner added in v0.28.0

type Runner struct {
	Command *cobra.Command
	// contains filtered or unexported fields
}

Runner encapsulates data necessary to run the preview command.

func GetRunner added in v0.28.0

func GetRunner(factory cmdutil.Factory, invFactory inventory.ClientFactory,
	loader manifestreader.ManifestLoader, ioStreams genericclioptions.IOStreams) *Runner

GetRunner creates and returns the Runner which stores the cobra command.

func (*Runner) RunE added in v0.28.0

func (r *Runner) RunE(cmd *cobra.Command, args []string) error

RunE is the function run from the cobra command.

Jump to

Keyboard shortcuts

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