Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageImporter ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func New ¶
func New(workDir string, podman Podman, baseImageBuilder BaseResolverImageBuilder, overrideMountsPath, arch string) *Resolver
func (*Resolver) Resolve ¶
func (r *Resolver) Resolve(packages *image.Packages, localRPMConfig *image.LocalRPMConfig, outputDir string) (rpmDirPath string, pkgList []string, err error)
Resolve resolves all dependencies for the provided pacakges and rpms. It then outputs the set of resolved rpms to a directory (located in the provdied 'outputDir') from which an RPM repository can be created.
Returns the full path to the created directory, the package/rpm names for which dependency resolution has been done, or an error if one has occurred.
Parameters: - packages - pacakge configuration
- localRPMConfig - configuration for locally provided RPMs
- outputDir - directory in which the resolver will create a directory containing the resolved rpms.
type TarballImageBuilder ¶
type TarballImageBuilder struct {
// contains filtered or unexported fields
}
func NewTarballBuilder ¶
func NewTarballBuilder(workDir, imgPath, imgType, arch string, importer ImageImporter) *TarballImageBuilder
func (*TarballImageBuilder) Build ¶
func (t *TarballImageBuilder) Build() (string, error)
Click to show internal directories.
Click to hide internal directories.