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(biinstallmanifest.Registry, biinstallmanifest.SSHTunnel, biui.Stage) error UpdateDisks(bideplmanifest.Manifest, biui.Stage) ([]bidisk.Disk, error) UpdateJobs(bideplmanifest.Manifest, biui.Stage) error Delete( 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, registryConfig biinstallmanifest.Registry, sshTunnelConfig biinstallmanifest.SSHTunnel, eventLoggerStage biui.Stage, ) (Instance, []bidisk.Disk, error) DeleteAll( pingTimeout time.Duration, pingDelay time.Duration, 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.