import "k8s.io/kubernetes/pkg/kubectl/cmd/convert"
convert.go import_known_versions.go
NewCmdConvert creates a command object for the generic "convert" action, which translates the config file into a given version.
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(ioStreams genericclioptions.IOStreams) *ConvertOptions
Complete collects information required to run Convert command from command line.
func (o *ConvertOptions) RunConvert() error
RunConvert implements the generic Convert command
Package convert imports 37 packages (graph) and is imported by 13 packages. Updated 2021-01-12. Refresh now. Tools for package owners.