installation

package
v0.0.35 Latest Latest
Warning

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

Go to latest
Published: May 21, 2015 License: Apache-2.0 Imports: 22 Imported by: 0

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 {
	Install(biinstallmanifest.Manifest, biui.Stage) (Installation, error)
}

func NewInstaller

func NewInstaller(
	target Target,
	fs boshsys.FileSystem,
	stateBuilder biinstallstate.Builder,
	packagesPath string,
	packageInstaller biinstallpkg.Installer,
	jobInstaller biinstalljob.Installer,
	registryServerManager biregistry.ServerManager,
	logger boshlog.Logger,
) Installer

type InstallerFactory

type InstallerFactory interface {
	NewInstaller() (Installer, error)
}

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 Target

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

func NewTarget

func NewTarget(path string) Target

func (Target) BlobstorePath

func (t Target) BlobstorePath() string

func (Target) CompiledPackagedIndexPath

func (t Target) CompiledPackagedIndexPath() string

func (Target) JobsPath

func (t Target) JobsPath() string

func (Target) PackagesPath

func (t Target) PackagesPath() string

func (Target) Path

func (t Target) Path() string

func (Target) TemplatesIndexPath

func (t Target) TemplatesIndexPath() string

type TargetProvider

type TargetProvider interface {
	NewTarget() (Target, error)
}

func NewTargetProvider

func NewTargetProvider(
	deploymentStateService biconfig.DeploymentStateService,
	uuidGenerator boshuuid.Generator,
	installationsRootPath string,
) TargetProvider

Directories

Path Synopsis
job
pkg

Jump to

Keyboard shortcuts

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