importimage

package
v3.11.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2018 License: Apache-2.0 Imports: 17 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func (o *ImportImageOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL