extract

package
v3.11.0-0.18.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2018 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(name string, streams genericclioptions.IOStreams) *cobra.Command

New creates a new command

Types

type LayerFilter

type LayerFilter interface {
	Filter(layers []distribution.Descriptor) ([]distribution.Descriptor, error)
}

func NewPositionLayerFilter

func NewPositionLayerFilter(at int32) LayerFilter

type Mapping

type Mapping struct {
	Image    string
	ImageRef imagereference.DockerImageReference

	LayerFilter LayerFilter

	From string
	To   string
}

type Options

type Options struct {
	Mappings []Mapping

	Paths []string

	OnlyFiles bool

	FilterOptions imagemanifest.FilterOptions

	MaxPerRegistry int

	DryRun   bool
	Insecure bool

	genericclioptions.IOStreams

	ImageMetadataCallback func(m *Mapping, dgst digest.Digest, imageConfig *docker10.DockerImageConfig)
}

func NewOptions

func NewOptions(streams genericclioptions.IOStreams) *Options

func (*Options) Complete

func (o *Options) Complete(cmd *cobra.Command, args []string) error

func (*Options) Run

func (o *Options) Run() error

Jump to

Keyboard shortcuts

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