Documentation ¶
Index ¶
- type AttachDiskMethod
- type CPI
- type CreateDiskMethod
- type CreateStemcellMethod
- type CreateVMMethod
- type DeleteDiskMethod
- type DeleteStemcellMethod
- type DeleteVMMethod
- type DetachDiskMethod
- type DockerOpts
- type DockerOptsTLS
- type Factory
- type FactoryOpts
- type GetDisksMethod
- type HasDiskMethod
- type HasVMMethod
- type InfoMethod
- type RebootVMMethod
- type SetVMMetadataMethod
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachDiskMethod ¶
type AttachDiskMethod struct {
// contains filtered or unexported fields
}
func NewAttachDiskMethod ¶
func NewAttachDiskMethod(vmFinder bvm.Finder, diskFinder bdisk.Finder) AttachDiskMethod
func (AttachDiskMethod) AttachDisk ¶
type CreateDiskMethod ¶
type CreateDiskMethod struct {
// contains filtered or unexported fields
}
func NewCreateDiskMethod ¶
func NewCreateDiskMethod(diskCreator bdisk.Creator) CreateDiskMethod
func (CreateDiskMethod) CreateDisk ¶
func (a CreateDiskMethod) CreateDisk( size int, _ apiv1.DiskCloudProps, vmCID *apiv1.VMCID) (apiv1.DiskCID, error)
type CreateStemcellMethod ¶
type CreateStemcellMethod struct {
// contains filtered or unexported fields
}
func NewCreateStemcellMethod ¶
func NewCreateStemcellMethod(stemcellImporter bstem.Importer) CreateStemcellMethod
func (CreateStemcellMethod) CreateStemcell ¶
func (a CreateStemcellMethod) CreateStemcell( imagePath string, _ apiv1.StemcellCloudProps) (apiv1.StemcellCID, error)
type CreateVMMethod ¶
type CreateVMMethod struct {
// contains filtered or unexported fields
}
func NewCreateVMMethod ¶
func NewCreateVMMethod(stemcellFinder bstem.Finder, vmCreator bvm.Creator) CreateVMMethod
type DeleteDiskMethod ¶
type DeleteDiskMethod struct {
// contains filtered or unexported fields
}
func NewDeleteDiskMethod ¶
func NewDeleteDiskMethod(diskFinder bdisk.Finder) DeleteDiskMethod
func (DeleteDiskMethod) DeleteDisk ¶
func (a DeleteDiskMethod) DeleteDisk(diskCID apiv1.DiskCID) error
type DeleteStemcellMethod ¶
type DeleteStemcellMethod struct {
// contains filtered or unexported fields
}
func NewDeleteStemcellMethod ¶
func NewDeleteStemcellMethod(stemcellFinder bstem.Finder) DeleteStemcellMethod
func (DeleteStemcellMethod) DeleteStemcell ¶
func (a DeleteStemcellMethod) DeleteStemcell(cid apiv1.StemcellCID) error
type DeleteVMMethod ¶
type DeleteVMMethod struct {
// contains filtered or unexported fields
}
func NewDeleteVMMethod ¶
func NewDeleteVMMethod(vmFinder bvm.Finder) DeleteVMMethod
type DetachDiskMethod ¶
type DetachDiskMethod struct {
// contains filtered or unexported fields
}
func NewDetachDiskMethod ¶
func NewDetachDiskMethod(vmFinder bvm.Finder, diskFinder bdisk.Finder) DetachDiskMethod
func (DetachDiskMethod) DetachDisk ¶
type DockerOpts ¶
type DockerOpts struct { Host string APIVersion string `json:"api_version"` TLS DockerOptsTLS }
func (DockerOpts) RequiresTLS ¶ added in v0.0.3
func (o DockerOpts) RequiresTLS() bool
func (DockerOpts) Validate ¶
func (o DockerOpts) Validate() error
type DockerOptsTLS ¶ added in v0.0.5
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func NewFactory( fs boshsys.FileSystem, uuidGen boshuuid.Generator, opts FactoryOpts, logger boshlog.Logger, ) Factory
type FactoryOpts ¶
type FactoryOpts struct { Docker DockerOpts Agent apiv1.AgentOptions }
func (FactoryOpts) Validate ¶
func (o FactoryOpts) Validate() error
type GetDisksMethod ¶
type GetDisksMethod struct {
// contains filtered or unexported fields
}
func NewGetDisksMethod ¶
func NewGetDisksMethod(vmFinder bvm.Finder) GetDisksMethod
type HasDiskMethod ¶
type HasDiskMethod struct {
// contains filtered or unexported fields
}
func NewHasDiskMethod ¶
func NewHasDiskMethod(diskFinder bdisk.Finder) HasDiskMethod
type HasVMMethod ¶
type HasVMMethod struct {
// contains filtered or unexported fields
}
func NewHasVMMethod ¶
func NewHasVMMethod(vmFinder bvm.Finder) HasVMMethod
type RebootVMMethod ¶
type RebootVMMethod struct{}
func NewRebootVMMethod ¶
func NewRebootVMMethod() RebootVMMethod
type SetVMMetadataMethod ¶
type SetVMMetadataMethod struct{}
func NewSetVMMetadataMethod ¶
func NewSetVMMetadataMethod() SetVMMetadataMethod
func (SetVMMetadataMethod) SetVMMetadata ¶
Click to show internal directories.
Click to hide internal directories.