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 ¶
NewDirImage given an OCI Image representation creates a struct that will allow that image to be extracted into the provided directory
func (*DirImage) AsDirectory ¶
AsDirectory extracts the OCI image to the provided location in disk
type Logger ¶
type Logger interface {
Logf(msg string, args ...interface{})
}
Logger used to print messages
type TarImage ¶
type TarImage struct {
// contains filtered or unexported fields
}
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)
Click to show internal directories.
Click to hide internal directories.