Documentation ¶
Index ¶
Constants ¶
View Source
const ( FileIOType IOType = "file" LiveIOType IOType = "live" JSONFileType FileType = "json" YAMLFileType FileType = "yaml" )
Variables ¶
This section is empty.
Functions ¶
func SetCommandOptions ¶
func SetCommandOptions(c *CommandOptions) error
Types ¶
type CommandOptions ¶
type CommandOptions struct { Filename string `default:""` OutputFilename string `default:""` OutputFileType FileType `default:"YAMLFileType"` LiveDryRun bool `default:"false"` LiveNamespace string `default:""` LiveDC string `default:""` LiveKubeconfig string `default:""` IgnoreWarnings bool `default:"false"` Verbosity uint8 `default:"0"` // contains filtered or unexported fields }
var Options *CommandOptions
Click to show internal directories.
Click to hide internal directories.