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 { // 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.
Click to show internal directories.
Click to hide internal directories.