Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Installation ¶
type Installation interface { Target() Target Job() biinstalljob.InstalledJob WithRunningRegistry(boshlog.Logger, biui.Stage, func() error) error StartRegistry() error StopRegistry() error }
func NewInstallation ¶
func NewInstallation( target Target, job biinstalljob.InstalledJob, manifest biinstallmanifest.Manifest, registryServerManager biregistry.ServerManager, ) Installation
type Installer ¶
type Installer interface {
InstallPackagesAndJobs(biinstallmanifest.Manifest, biui.Stage) (Installation, error)
}
func NewInstaller ¶
func NewInstaller( target Target, jobRenderer JobRenderer, jobResolver JobResolver, packageCompiler PackageCompiler, packagesPath string, packageInstaller biinstallpkg.Installer, jobInstaller biinstalljob.Installer, registryServerManager biregistry.ServerManager, logger boshlog.Logger, ) Installer
type InstallerFactory ¶
func NewInstallerFactory ¶
func NewInstallerFactory( targetProvider TargetProvider, ui biui.UI, fs boshsys.FileSystem, runner boshsys.CmdRunner, extractor boshcmd.Compressor, releaseJobResolver bideplrel.JobResolver, uuidGenerator boshuuid.Generator, registryServerManager biregistry.ServerManager, logger boshlog.Logger, ) InstallerFactory
type JobRenderer ¶ added in v0.0.46
type JobRenderer interface {
RenderAndUploadFrom(biinstallmanifest.Manifest, []bireljob.Job, biui.Stage) ([]biinstalljob.RenderedJobRef, error)
}
func NewJobRenderer ¶ added in v0.0.46
func NewJobRenderer( jobListRenderer bitemplate.JobListRenderer, compressor boshcmd.Compressor, blobstore boshblob.Blobstore, templatesRepo bitemplate.TemplatesRepo, ) JobRenderer
type JobResolver ¶ added in v0.0.46
type JobResolver interface {
From(biinstallmanifest.Manifest) ([]bireljob.Job, error)
}
func NewJobResolver ¶ added in v0.0.46
func NewJobResolver( releaseJobResolver bideplrel.JobResolver, ) JobResolver
type PackageCompiler ¶ added in v0.0.46
type PackageCompiler interface {
For([]bireljob.Job, string, biui.Stage) ([]biinstallpkg.CompiledPackageRef, error)
}
func NewPackageCompiler ¶ added in v0.0.46
func NewPackageCompiler( jobDependencyCompiler bistatejob.DependencyCompiler, fs boshsys.FileSystem, ) PackageCompiler
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, ) TargetProvider
type Uninstaller ¶ added in v0.0.42
func NewUninstaller ¶ added in v0.0.42
func NewUninstaller(fs boshsys.FileSystem, logger boshlog.Logger) Uninstaller
Source Files ¶
Click to show internal directories.
Click to hide internal directories.