Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extractor ¶
type Extractor struct {
// contains filtered or unexported fields
}
func NewExtractor ¶
func NewExtractor(imageRepo *ImageRepo, manifestParser *ManifestParser, imageConfigParser *ImageConfigParser, layerReformatter *layer.LayerReformatter) *Extractor
func (*Extractor) ExtractLayerToPath ¶
func (e *Extractor) ExtractLayerToPath(imagePath, imageTarballLayerPath, layerPath string, extractorOptions *ExtractorOptions) error
func (*Extractor) GetImageLayerInfos ¶
type ExtractorOptions ¶
type ExtractorOptions struct {
StripPax bool
}
type ImageConfigParser ¶
type ImageConfigParser struct{}
func NewImageConfigParser ¶
func NewImageConfigParser() *ImageConfigParser
func (*ImageConfigParser) HistoryCommands ¶
func (p *ImageConfigParser) HistoryCommands(imageConfigBuffer *bytes.Buffer) ([]string, error)
type ImageRepo ¶
type ImageRepo struct {
// contains filtered or unexported fields
}
func NewImageRepo ¶
func NewImageRepo() *ImageRepo
type ManifestParser ¶
type ManifestParser struct{}
func NewManifestParser ¶
func NewManifestParser() *ManifestParser
func (*ManifestParser) ImageConfigFilename ¶
func (p *ManifestParser) ImageConfigFilename(manifestBuffer *bytes.Buffer) (string, error)
func (*ManifestParser) LayerPaths ¶
func (p *ManifestParser) LayerPaths(manifestBuffer *bytes.Buffer) ([]string, error)
Click to show internal directories.
Click to hide internal directories.