Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CompiledPackageRecord ¶
type CompiledPackageRepo ¶
type CompiledPackageRepo interface { Save(bmrel.Package, CompiledPackageRecord) error Find(bmrel.Package) (CompiledPackageRecord, bool, error) }
func NewCompiledPackageRepo ¶
func NewCompiledPackageRepo(index bmindex.Index) CompiledPackageRepo
type DependencyAnalysis ¶
type DependencyAnalysis interface {
DeterminePackageCompilationOrder(release bmrel.Release) ([]*bmrel.Package, error)
}
func NewDependencyAnalysis ¶
func NewDependencyAnalysis() DependencyAnalysis
type PackageCompiler ¶
func NewPackageCompiler ¶
func NewPackageCompiler( runner boshsys.CmdRunner, packagesDir string, fileSystem boshsys.FileSystem, compressor boshcmd.Compressor, blobstore boshblob.Blobstore, compiledPackageRepo CompiledPackageRepo, packageInstaller PackageInstaller, ) PackageCompiler
type PackageInstaller ¶
func NewPackageInstaller ¶
func NewPackageInstaller(repo CompiledPackageRepo, blobExtractor bminstallblob.Extractor) PackageInstaller
type ReleaseCompiler ¶
type ReleaseCompiler interface {
Compile(release bmrel.Release, manifest bminstallmanifest.Manifest) error
}
func NewReleaseCompiler ¶
func NewReleaseCompiler( packagesCompiler ReleasePackagesCompiler, templatesCompiler bmtemcomp.TemplatesCompiler, logger boshlog.Logger, ) ReleaseCompiler
type ReleasePackagesCompiler ¶
func NewReleasePackagesCompiler ¶
func NewReleasePackagesCompiler( da DependencyAnalysis, packageCompiler PackageCompiler, eventLogger bmeventlog.EventLogger, timeService boshtime.Service, ) ReleasePackagesCompiler
Source Files ¶
Click to show internal directories.
Click to hide internal directories.