imagetar

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	WriteStr(str string, args ...interface{}) error
}

type TarReader

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

func NewTarReader

func NewTarReader(path string) TarReader

func (TarReader) Read

func (r TarReader) Read() ([]imagedesc.ImageOrIndex, error)

type TarWriter

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

func NewTarWriter

func NewTarWriter(ids *imagedesc.ImageRefDescriptors, dstOpener func() (io.WriteCloser, error),
	opts TarWriterOpts, logger Logger) *TarWriter

func (*TarWriter) Write

func (w *TarWriter) Write() error

type TarWriterOpts

type TarWriterOpts struct {
	Concurrency int
}

Jump to

Keyboard shortcuts

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