image

package
v0.0.0-...-da6a0aa Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

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

func NewArchiveImage

func NewArchiveImage(fileName string) (Image, error)

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) Manifest

func (img Image) Manifest() (v1.Manifest, error)

func (Image) Name

func (img Image) Name() string

Directories

Path Synopsis
ecr
gcr

Jump to

Keyboard shortcuts

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