Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory interface { NewInstance( jobName string, id int, vm bivm.VM, vmManager bivm.Manager, sshTunnelFactory bisshtunnel.Factory, blobstore biblobstore.Blobstore, logger boshlog.Logger, ) Instance }
func NewFactory ¶
func NewFactory( stateBuilderFactory biinstancestate.BuilderFactory, ) Factory
type Instance ¶
type Instance interface { JobName() string ID() int Disks() ([]bidisk.Disk, error) WaitUntilReady(biui.Stage) error UpdateDisks(bideplmanifest.Manifest, biui.Stage) ([]bidisk.Disk, error) UpdateJobs(bideplmanifest.Manifest, biui.Stage) error Delete( pingTimeout time.Duration, pingDelay time.Duration, skipDrain bool, stage biui.Stage, ) error Stop( pingTimeout time.Duration, pingDelay time.Duration, skipDrain bool, stage biui.Stage, ) error Start( update bideplmanifest.Update, pingTimeout time.Duration, pingDelay time.Duration, stage biui.Stage, ) error }
func NewInstance ¶
type Manager ¶
type Manager interface { FindCurrent() ([]Instance, error) Create( jobName string, id int, deploymentManifest bideplmanifest.Manifest, cloudStemcell bistemcell.CloudStemcell, diskCIDs []string, eventLoggerStage biui.Stage, ) (Instance, []bidisk.Disk, error) DeleteAll( pingTimeout time.Duration, pingDelay time.Duration, skipDrain bool, eventLoggerStage biui.Stage, ) error }
func NewManager ¶
type ManagerFactory ¶
type ManagerFactory interface {
NewManager(bicloud.Cloud, bivm.Manager, biblobstore.Blobstore) Manager
}
func NewManagerFactory ¶
func NewManagerFactory( sshTunnelFactory bisshtunnel.Factory, instanceFactory Factory, logger boshlog.Logger, ) ManagerFactory
Click to show internal directories.
Click to hide internal directories.