preview

package
v0.36.0-flux.11 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

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

Types

type Runner

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

Runner encapsulates data necessary to run the preview command.

func GetRunner

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

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