Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdImportImage ¶
func NewCmdImportImage(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
NewCmdImportImage implements the OpenShift cli import-image command.
Types ¶
type ImportImageOptions ¶
type ImportImageOptions struct { PrintFlags *genericclioptions.PrintFlags ToPrinter func(string) (printers.ResourcePrinter, error) // user set values From string Confirm bool All bool Scheduled bool Insecure bool InsecureFlagProvided bool DryRun bool // internal values Namespace string Name string Tag string Target string ReferencePolicy string genericclioptions.IOStreams // contains filtered or unexported fields }
ImageImportOptions contains all the necessary information to perform an import.
func NewImportImageOptions ¶
func NewImportImageOptions(name string, streams genericclioptions.IOStreams) *ImportImageOptions
func (*ImportImageOptions) Complete ¶
Complete turns a partially defined ImportImageOptions into a solvent structure which can be validated and used for aa import.
func (*ImportImageOptions) Run ¶
func (o *ImportImageOptions) Run() error
Run contains all the necessary functionality for the OpenShift cli import-image command.
func (*ImportImageOptions) Validate ¶
func (o *ImportImageOptions) Validate() error
Validate ensures that a ImportImageOptions is valid and can be used to execute an import.
Click to show internal directories.
Click to hide internal directories.