Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompiledPackageRef ¶
type Installation ¶
type Installation interface { Target() Target Jobs() []InstalledJob }
func NewInstallation ¶
func NewInstallation( target Target, jobs []InstalledJob, manifest biinstallmanifest.Manifest, ) Installation
type InstalledJob ¶
type InstalledJob struct { RenderedJobRef Path string }
func NewInstalledJob ¶
func NewInstalledJob(ref RenderedJobRef, path string) InstalledJob
type Installer ¶
type Installer interface { Install(biinstallmanifest.Manifest, biui.Stage) (Installation, error) Cleanup(Installation) error }
func NewInstaller ¶
func NewInstaller( target Target, jobRenderer JobRenderer, jobResolver JobResolver, packageCompiler PackageCompiler, blobExtractor blobextract.Extractor, logger boshlog.Logger, ) Installer
type InstallerFactory ¶
func NewInstallerFactory ¶
func NewInstallerFactory( ui biui.UI, runner boshsys.CmdRunner, extractor boshcmd.Compressor, releaseJobResolver bideplrel.JobResolver, uuidGenerator boshuuid.Generator, logger boshlog.Logger, fs boshsys.FileSystem, digestCreateAlgorithms []boshcrypto.Algorithm, ) InstallerFactory
type JobRenderer ¶
type JobRenderer interface {
RenderAndUploadFrom(biinstallmanifest.Manifest, []bireljob.Job, biui.Stage) ([]RenderedJobRef, error)
}
func NewJobRenderer ¶
func NewJobRenderer( jobListRenderer bitemplate.JobListRenderer, compressor boshcmd.Compressor, blobstore boshblob.DigestBlobstore, ) JobRenderer
type JobResolver ¶
type JobResolver interface {
From(biinstallmanifest.Manifest) ([]bireljob.Job, error)
}
func NewJobResolver ¶
func NewJobResolver( releaseJobResolver bideplrel.JobResolver, ) JobResolver
type PackageCompiler ¶
func NewPackageCompiler ¶
func NewPackageCompiler( jobDependencyCompiler bistatejob.DependencyCompiler, fs boshsys.FileSystem, ) PackageCompiler
type ReleaseFetcher ¶
type ReleaseFetcher struct {
// contains filtered or unexported fields
}
func NewReleaseFetcher ¶
func NewReleaseFetcher( tarballProvider tarball.Provider, releaseReader boshrel.Reader, releaseManager ReleaseManager, ) ReleaseFetcher
func (ReleaseFetcher) DownloadAndExtract ¶
func (f ReleaseFetcher) DownloadAndExtract(releaseRef manifest.ReleaseRef, stage ui.Stage) error
type ReleaseManager ¶
type ReleaseManager interface { Add(boshrel.Release) List() []boshrel.Release Find(string) (boshrel.Release, bool) DeleteAll() error }
func NewReleaseManager ¶
func NewReleaseManager(logger boshlog.Logger) ReleaseManager
type RenderedJobRef ¶
func NewRenderedJobRef ¶
func NewRenderedJobRef(name, version, blobstoreID, sha1 string) RenderedJobRef
type Target ¶
type Target struct {
// contains filtered or unexported fields
}
func (Target) BlobstorePath ¶
func (Target) CompiledPackagedIndexPath ¶
func (Target) PackagesPath ¶
func (Target) TemplatesIndexPath ¶
type TargetProvider ¶
func NewTargetProvider ¶
func NewTargetProvider( deploymentStateService biconfig.DeploymentStateService, uuidGenerator boshuuid.Generator, installationsRootPath string, packageDir string, ) TargetProvider
type Uninstaller ¶
func NewUninstaller ¶
func NewUninstaller(fs boshsys.FileSystem, logger boshlog.Logger) Uninstaller
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
blobextractfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.