Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageLayerWriterFilter ¶
type ImageLayerWriterFilter struct {
// contains filtered or unexported fields
}
func NewImageLayerWriterCheck ¶
func NewImageLayerWriterCheck(includeNonDistributable bool) ImageLayerWriterFilter
func (ImageLayerWriterFilter) ShouldLayerBeIncluded ¶
func (f ImageLayerWriterFilter) ShouldLayerBeIncluded(layer regv1.Layer) (bool, error)
type TarReader ¶
type TarReader struct {
// contains filtered or unexported fields
}
func NewTarReader ¶
func (TarReader) PresentLayers ¶
PresentLayers retrieves all the layers that are present in a tar file
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, imageLayerWriterCheck ImageLayerWriterFilter, layersFromOtherSource []regv1.Layer) *TarWriter
NewTarWriter constructor returning a mechanism to write image refs / layers to a tarball on disk.
type TarWriterOpts ¶
type TarWriterOpts struct {
Concurrency int
}
Click to show internal directories.
Click to hide internal directories.