image

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirImage

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

func NewDirImage

func NewDirImage(dirPath string, img regv1.Image, ui goui.UI) *DirImage

func (*DirImage) AsDirectory

func (i *DirImage) AsDirectory() error

type FileImage

type FileImage struct {
	v1.Image
	// contains filtered or unexported fields
}

func NewFileImage

func NewFileImage(path string, labels map[string]string) (*FileImage, error)

func (*FileImage) Remove

func (i *FileImage) Remove() error

type TarImage

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

func NewTarImage

func NewTarImage(files []string, excludePaths []string, infoLog io.Writer) *TarImage

func (*TarImage) AsFileImage

func (i *TarImage) AsFileImage(labels map[string]string) (*FileImage, error)

type UncompressedFileLayer

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

func (*UncompressedFileLayer) DiffID

func (ul *UncompressedFileLayer) DiffID() (regv1.Hash, error)

func (*UncompressedFileLayer) MediaType

func (ul *UncompressedFileLayer) MediaType() (regtypes.MediaType, error)

func (*UncompressedFileLayer) Uncompressed

func (ul *UncompressedFileLayer) Uncompressed() (io.ReadCloser, error)

Jump to

Keyboard shortcuts

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