image

package
v0.0.0-...-01eeb61 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRemoteImage

func GetRemoteImage(ctx context.Context, ref name.Reference, option types.DockerOption) (v1.Image, extender, error)

Types

type Image

type Image struct {
	// contains filtered or unexported fields
}

func NewDockerImage

func NewDockerImage(ctx context.Context, imageName string, option types.DockerOption) (Image, func(), error)

func (Image) ConfigBlob

func (img Image) ConfigBlob() ([]byte, error)

func (Image) ID

func (img Image) ID() (string, error)

func (Image) LayerByDiffID

func (img Image) LayerByDiffID(h v1.Hash) (v1.Layer, error)

func (Image) LayerIDs

func (img Image) LayerIDs() ([]string, error)

func (Image) Name

func (img Image) Name() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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