version

package
v1.9.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(o *Options) *cobra.Command

NewCommand creates a new command for reporting version information

Types

type Options

type Options struct {
	// Config is the Red Sky Configuration
	Config *config.RedSkyConfig
	// ExperimentsAPI is used to interact with the Red Sky Experiments API
	ExperimentsAPI experimentsv1alpha1.API
	// IOStreams are used to access the standard process streams
	commander.IOStreams

	// Product is the current product name
	Product string
	// ShowSetupToolsImage toggles the setup tools image information
	ShowSetupToolsImage bool
	// ShowControllerImage toggles the controller image information
	ShowControllerImage bool
	// Debug enables error logging
	Debug bool
}

Options is the configuration for reporting version information

Jump to

Keyboard shortcuts

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