Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployer ¶
type Deployer interface { Deploy( cloud bicloud.Cloud, deploymentManifest bideplmanifest.Manifest, cloudStemcell bistemcell.CloudStemcell, vmManager bivm.Manager, blobstore biblobstore.Blobstore, skipDrain bool, diskCIDs []string, deployStage biui.Stage, ) (Deployment, error) }
func NewDeployer ¶
func NewDeployer( vmManagerFactory bivm.ManagerFactory, instanceManagerFactory biinstance.ManagerFactory, deploymentFactory Factory, logger boshlog.Logger, ) Deployer
type Deployment ¶
type Deployment interface { Delete(bool, biui.Stage) error Stop(bool, biui.Stage) error Start(biui.Stage, bideplmanifest.Update) error }
func NewDeployment ¶
func NewDeployment( instances []biinstance.Instance, disks []bidisk.Disk, stemcells []bistemcell.CloudStemcell, pingTimeout time.Duration, pingDelay time.Duration, ) Deployment
type Factory ¶
type Factory interface { NewDeployment( []biinstance.Instance, []bidisk.Disk, []bistemcell.CloudStemcell, ) Deployment }
type Manager ¶
type Manager interface { FindCurrent() (deployment Deployment, found bool, err error) Cleanup(biui.Stage) error }
func NewManager ¶
func NewManager( instanceManager biinstance.Manager, diskManager bidisk.Manager, stemcellManager bistemcell.Manager, deploymentFactory Factory, ) Manager
type ManagerFactory ¶
type ManagerFactory interface {
NewManager(bicloud.Cloud, biagentclient.AgentClient, biblobstore.Blobstore) Manager
}
func NewManagerFactory ¶
func NewManagerFactory( vmManagerFactory bivm.ManagerFactory, instanceManagerFactory biinstance.ManagerFactory, diskManagerFactory bidisk.ManagerFactory, stemcellManagerFactory bistemcell.ManagerFactory, deploymentFactory Factory, ) ManagerFactory
type Record ¶
type Record interface { IsDeployed(manifestSHA string, releases []birel.Release, stemcell bistemcell.ExtractedStemcell) (bool, error) Clear() error Update(manifestSHA string, releases []birel.Release) error }
func NewRecord ¶
func NewRecord( deploymentRepo biconfig.DeploymentRepo, releaseRepo biconfig.ReleaseRepo, stemcellRepo biconfig.StemcellRepo, ) Record
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
mocks
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. |
state/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
manifestfakes
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. |
templatefakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
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.