Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Disk ¶
type Disk interface {
CID() string
NeedsMigration(newSize int, newCloudProperties biproperty.Map) bool
Delete() error
}
type Manager ¶
type Manager interface {
FindCurrent() ([]Disk, error)
Create(bideplmanifest.DiskPool, string) (Disk, error)
FindUnused() ([]Disk, error)
DeleteUnused(biui.Stage) error
}
func NewManager ¶
func NewManager(
cloud bicloud.Cloud,
diskRepo biconfig.DiskRepo,
logger boshlog.Logger,
) Manager
type ManagerFactory ¶
type ManagerFactory interface {
NewManager(bicloud.Cloud) Manager
}
func NewManagerFactory ¶
func NewManagerFactory(
diskRepo biconfig.DiskRepo,
logger boshlog.Logger,
) ManagerFactory
Click to show internal directories.
Click to hide internal directories.