Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseImage ¶
type BaseImage struct {
// contains filtered or unexported fields
}
func New ¶
func New(imgPath string, apkIndexPath string, arch types.Architecture, materizalizedApkIndexPath string) (*BaseImage, error)
New creates an instance of BaseImage base on provided parameters:
- imgPath: path to the directory containing OCI layout of the image.
- apkIndexPath: path to the directory containing per arch APKINDEX files representing installed file of the base image.
- arch: architecture of the base image.
- materializedApkIndexPath: path where the auxiliary APKINDEX of the base image will be written to in order to resolve packages.
func (*BaseImage) APKIndexPath ¶
func (*BaseImage) InstalledPackages ¶
func (baseImg *BaseImage) InstalledPackages() []*apk.InstalledPackage
Click to show internal directories.
Click to hide internal directories.