cmd

package
v2.0.8+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OutputFileNameArg                = "output-file"
	SystemNameArg                    = "system-name"
	NamespaceNameArg                 = "namespace-name"
	NoCACertificatesFilterArg        = "no-ca-certificates"
	NoDefaultsFilterArg              = "no-defaults"
	NoMemoryFilterArg                = "no-memory"
	NoProcessorFilterArg             = "no-processors"
	NoInterfaceDefaultsFilterArg     = "no-interface-defaults"
	NoServiceParametersFilterArg     = "no-service-parameters"
	NoSysVgFilterArg                 = "no-sys-vg"
	NormalizeInterfaceNamesFilterArg = "normalize-interfaces"
	NormalizeInterfaceMTUFilterArg   = "normalize-mtu"
	NormalizeConsoleFilterArg        = "normalize-console"
	MinimalConfigFilterArg           = "minimal-config"
)

Variables

View Source
var GitBranch string
View Source
var GitHead string
View Source
var GitLastTag string

Version info variables are set in the Makefile

Functions

func CollectCmdRun

func CollectCmdRun(cmd *cobra.Command, args []string)

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func VersionCmdRun

func VersionCmdRun(cmd *cobra.Command, args []string)

func VersionToString

func VersionToString() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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