rpmssnapshot

package
v0.0.0-...-4cb4cf9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SnapshotGenerator

type SnapshotGenerator struct {
	// contains filtered or unexported fields
}

func New

func New(buildDirPath, workerTarPath, specsDirPath string) (newSnapshotGenerator *SnapshotGenerator, err error)

New creates a new snapshot generator. If the chroot is created successfully, the caller is responsible for calling CleanUp().

func (*SnapshotGenerator) CleanUp

func (s *SnapshotGenerator) CleanUp() error

CleanUp tears down the chroot

func (*SnapshotGenerator) GenerateSnapshot

func (s *SnapshotGenerator) GenerateSnapshot(outputFilePath, distTag string) (err error)

GenerateSnapshot generates a snapshot of all packages built from the specs inside the input directory.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL