Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAttacherDetacher ¶
type FakeAttacherDetacher struct { AttachVolumeCalled bool AttachedVolume *resource.Volume AttachedInstance *resource.Instance AttachmentError error DetachVolumeCalled bool DetachedVolume *resource.Volume DetachmentError error }
func (*FakeAttacherDetacher) AttachVolumeToInstance ¶
func (*FakeAttacherDetacher) DetachVolumeFromInstance ¶
func (f *FakeAttacherDetacher) DetachVolumeFromInstance(v *resource.Volume) error
type FakeDiskCreator ¶
type FakeDiskCreator struct { CreateVolumeCalled bool CreateVolumeLocation resource.Location CreateVolumeResult *resource.Volume CreateVolumeSize int64 CreateVolumeError error }
func (*FakeDiskCreator) CreateVolume ¶
type FakeDiskFinder ¶
type FakeDiskFinder struct { FindVolumeCalled bool FindVolumeID string FindVolumeResult *resource.Volume FindVolumeError error FindAllAttachedVolumesCalled bool FindAllAttachedInstanceID string FindAllAttachedResult []*resource.Volume FindAllAttachedError error }
func (*FakeDiskFinder) FindAllAttachedVolumes ¶
func (f *FakeDiskFinder) FindAllAttachedVolumes(instanceID string) ([]*resource.Volume, error)
func (*FakeDiskFinder) FindVolume ¶
func (f *FakeDiskFinder) FindVolume(volumeID string) (*resource.Volume, error)
type FakeDiskTerminator ¶
type FakeDiskTerminator struct { DeleteVolumeCalled bool DeleteVolumeError error DeleteVolumeID string }
func (*FakeDiskTerminator) DeleteVolume ¶
func (f *FakeDiskTerminator) DeleteVolume(volumeID string) error
Click to show internal directories.
Click to hide internal directories.