Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeployer ¶
func NewDeployer( stemcellManagerFactory bmstemcell.ManagerFactory, vmManagerFactory bmvm.ManagerFactory, instanceManagerFactory bminstance.ManagerFactory, deploymentFactory Factory, eventLogger bmeventlog.EventLogger, logger boshlog.Logger, ) *deployer
Types ¶
type Deployer ¶
type Deployer interface { Deploy( bmcloud.Cloud, bmdeplmanifest.Manifest, bmstemcell.ExtractedStemcell, bminstallmanifest.Registry, bminstallmanifest.SSHTunnel, bmvm.Manager, bmblobstore.Blobstore, ) (Deployment, error) }
type Deployment ¶
type Deployment interface {
Delete(bmeventlog.Stage) error
}
func NewDeployment ¶
func NewDeployment( instances []bminstance.Instance, disks []bmdisk.Disk, stemcells []bmstemcell.CloudStemcell, pingTimeout time.Duration, pingDelay time.Duration, ) Deployment
type Factory ¶
type Factory interface { NewDeployment( []bminstance.Instance, []bmdisk.Disk, []bmstemcell.CloudStemcell, ) Deployment }
type Manager ¶
type Manager interface { FindCurrent() (deployment Deployment, found bool, err error) Cleanup(bmeventlog.Stage) error }
func NewManager ¶
func NewManager( instanceManager bminstance.Manager, diskManager bmdisk.Manager, stemcellManager bmstemcell.Manager, deploymentFactory Factory, ) Manager
type ManagerFactory ¶
type ManagerFactory interface {
NewManager(bmcloud.Cloud, bmac.AgentClient, bmblobstore.Blobstore) Manager
}
func NewManagerFactory ¶
func NewManagerFactory( vmManagerFactory bmvm.ManagerFactory, instanceManagerFactory bminstance.ManagerFactory, diskManagerFactory bmdisk.ManagerFactory, stemcellManagerFactory bmstemcell.ManagerFactory, deploymentFactory Factory, ) ManagerFactory
type Record ¶
type Record interface { IsDeployed(manifestPath string, release bmrel.Release, stemcell bmstemcell.ExtractedStemcell) (bool, error) Update(manifestPath string, release bmrel.Release) error }
func NewRecord ¶
func NewRecord( deploymentRepo bmconfig.DeploymentRepo, releaseRepo bmconfig.ReleaseRepo, stemcellRepo bmconfig.StemcellRepo, sha1Calculator bmcrypto.SHA1Calculator, ) Record
Source Files ¶
Click to show internal directories.
Click to hide internal directories.