Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdConvert ¶
NewCmdConvert creates a command object for the generic "convert" action, which translates the config file into a given version.
Types ¶
type ConvertOptions ¶
type ConvertOptions struct { PrintFlags *genericclioptions.PrintFlags Printer printers.ResourcePrinter OutputVersion string Namespace string resource.FilenameOptions genericclioptions.IOStreams // contains filtered or unexported fields }
ConvertOptions have the data required to perform the convert operation
func NewConvertOptions ¶
func NewConvertOptions(ioStreams genericclioptions.IOStreams) *ConvertOptions
func (*ConvertOptions) Complete ¶
Complete collects information required to run Convert command from command line.
func (*ConvertOptions) RunConvert ¶
func (o *ConvertOptions) RunConvert() error
RunConvert implements the generic Convert command
Click to show internal directories.
Click to hide internal directories.