Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrExportOmit = fmt.Errorf("object is omitted")
Functions ¶
func NewCmdExport ¶
Types ¶
type DefaultExporter ¶
type DefaultExporter struct{}
func (*DefaultExporter) AddExportOptions ¶
func (e *DefaultExporter) AddExportOptions(flags *pflag.FlagSet)
type ExportOptions ¶
type ExportOptions struct { resource.FilenameOptions PrintFlags *genericclioptions.PrintFlags Exporter Exporter AsTemplateName string Exact bool Raw bool AllNamespaces bool Selector string OutputVersion string Args []string Builder *resource.Builder Namespace string RequireNamespace bool ClientConfig *rest.Config Printer printers.ResourcePrinter genericclioptions.IOStreams }
func NewExportOptions ¶
func NewExportOptions(streams genericclioptions.IOStreams) *ExportOptions
func (*ExportOptions) Complete ¶
func (o *ExportOptions) Complete(f kcmdutil.Factory, args []string) error
func (*ExportOptions) Run ¶
func (o *ExportOptions) Run() error
func (*ExportOptions) Validate ¶
func (o *ExportOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.