Documentation ¶
Index ¶
- type Podman
- func (d Podman) ExtractFileSystem(imageTarPath string, outputTarPath string, imageName string) error
- func (d Podman) ExtractFileSystemContainer(containerId string, namespace string, outputTarPath string) error
- func (d Podman) ExtractImage(imageID, imageName, path string) error
- func (d Podman) GetFileSystemPathsForContainer(containerId string, namespace string) ([]byte, error)
- func (d Podman) GetImageID(imageName string) ([]byte, error)
- func (d Podman) GetSocket() string
- func (d Podman) Save(imageName, outputParam string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Podman ¶
type Podman struct {
// contains filtered or unexported fields
}
func (Podman) ExtractFileSystem ¶
func (d Podman) ExtractFileSystem(imageTarPath string, outputTarPath string, imageName string) error
ExtractFileSystem Extract the file system from tar of an image by creating a temporary dormant container instance
func (Podman) ExtractFileSystemContainer ¶
func (d Podman) ExtractFileSystemContainer(containerId string, namespace string, outputTarPath string) error
ExtractFileSystemContainer Extract the file system of an existing container to tar
func (Podman) ExtractImage ¶
ExtractImage creates the tarball out of image and extracts it
func (Podman) GetFileSystemPathsForContainer ¶
func (d Podman) GetFileSystemPathsForContainer(containerId string, namespace string) ([]byte, error)
ExtractFileSystemContainer Extract the file system of an existing container to tar
func (Podman) GetImageID ¶
GetImageID returns the image id
Click to show internal directories.
Click to hide internal directories.