Documentation ¶
Index ¶
- type ReplicationDriver
- func (_m *ReplicationDriver) CreateReplication(opt *proto.CreateReplicationOpts) (*model.ReplicationSpec, error)
- func (_m *ReplicationDriver) DeleteReplication(opt *proto.DeleteReplicationOpts) error
- func (_m *ReplicationDriver) DisableReplication(opt *proto.DisableReplicationOpts) error
- func (_m *ReplicationDriver) EnableReplication(opt *proto.EnableReplicationOpts) error
- func (_m *ReplicationDriver) FailoverReplication(opt *proto.FailoverReplicationOpts) error
- func (_m *ReplicationDriver) Setup() error
- func (_m *ReplicationDriver) Unset() error
- type VolumeDriver
- func (_m *VolumeDriver) CreateSnapshot(opt *proto.CreateVolumeSnapshotOpts) (*model.VolumeSnapshotSpec, error)
- func (_m *VolumeDriver) CreateVolume(opt *proto.CreateVolumeOpts) (*model.VolumeSpec, error)
- func (_m *VolumeDriver) CreateVolumeGroup(opt *proto.CreateVolumeGroupOpts) (*model.VolumeGroupSpec, error)
- func (_m *VolumeDriver) DeleteSnapshot(opt *proto.DeleteVolumeSnapshotOpts) error
- func (_m *VolumeDriver) DeleteVolume(opt *proto.DeleteVolumeOpts) error
- func (_m *VolumeDriver) DeleteVolumeGroup(opt *proto.DeleteVolumeGroupOpts) error
- func (_m *VolumeDriver) ExtendVolume(opt *proto.ExtendVolumeOpts) (*model.VolumeSpec, error)
- func (_m *VolumeDriver) InitializeConnection(opt *proto.CreateVolumeAttachmentOpts) (*model.ConnectionInfo, error)
- func (_m *VolumeDriver) InitializeSnapshotConnection(opt *proto.CreateSnapshotAttachmentOpts) (*model.ConnectionInfo, error)
- func (_m *VolumeDriver) ListPools() ([]*model.StoragePoolSpec, error)
- func (_m *VolumeDriver) PullSnapshot(snapIdentifier string) (*model.VolumeSnapshotSpec, error)
- func (_m *VolumeDriver) PullVolume(volIdentifier string) (*model.VolumeSpec, error)
- func (_m *VolumeDriver) Setup() error
- func (_m *VolumeDriver) TerminateConnection(opt *proto.DeleteVolumeAttachmentOpts) error
- func (_m *VolumeDriver) TerminateSnapshotConnection(opt *proto.DeleteSnapshotAttachmentOpts) error
- func (_m *VolumeDriver) Unset() error
- func (_m *VolumeDriver) UpdateVolumeGroup(opt *proto.UpdateVolumeGroupOpts) (*model.VolumeGroupSpec, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReplicationDriver ¶
ReplicationDriver is an autogenerated mock type for the ReplicationDriver type
func (*ReplicationDriver) CreateReplication ¶
func (_m *ReplicationDriver) CreateReplication(opt *proto.CreateReplicationOpts) (*model.ReplicationSpec, error)
CreateReplication provides a mock function with given fields: opt
func (*ReplicationDriver) DeleteReplication ¶
func (_m *ReplicationDriver) DeleteReplication(opt *proto.DeleteReplicationOpts) error
DeleteReplication provides a mock function with given fields: opt
func (*ReplicationDriver) DisableReplication ¶
func (_m *ReplicationDriver) DisableReplication(opt *proto.DisableReplicationOpts) error
DisableReplication provides a mock function with given fields: opt
func (*ReplicationDriver) EnableReplication ¶
func (_m *ReplicationDriver) EnableReplication(opt *proto.EnableReplicationOpts) error
EnableReplication provides a mock function with given fields: opt
func (*ReplicationDriver) FailoverReplication ¶
func (_m *ReplicationDriver) FailoverReplication(opt *proto.FailoverReplicationOpts) error
FailoverReplication provides a mock function with given fields: opt
func (*ReplicationDriver) Setup ¶
func (_m *ReplicationDriver) Setup() error
Setup provides a mock function with given fields:
func (*ReplicationDriver) Unset ¶
func (_m *ReplicationDriver) Unset() error
Unset provides a mock function with given fields:
type VolumeDriver ¶
VolumeDriver is an autogenerated mock type for the VolumeDriver type
func (*VolumeDriver) CreateSnapshot ¶
func (_m *VolumeDriver) CreateSnapshot(opt *proto.CreateVolumeSnapshotOpts) (*model.VolumeSnapshotSpec, error)
CreateSnapshot provides a mock function with given fields: opt
func (*VolumeDriver) CreateVolume ¶
func (_m *VolumeDriver) CreateVolume(opt *proto.CreateVolumeOpts) (*model.VolumeSpec, error)
CreateVolume provides a mock function with given fields: opt
func (*VolumeDriver) CreateVolumeGroup ¶
func (_m *VolumeDriver) CreateVolumeGroup(opt *proto.CreateVolumeGroupOpts) (*model.VolumeGroupSpec, error)
CreateVolumeGroup provides a mock function with given fields: opt
func (*VolumeDriver) DeleteSnapshot ¶
func (_m *VolumeDriver) DeleteSnapshot(opt *proto.DeleteVolumeSnapshotOpts) error
DeleteSnapshot provides a mock function with given fields: opt
func (*VolumeDriver) DeleteVolume ¶
func (_m *VolumeDriver) DeleteVolume(opt *proto.DeleteVolumeOpts) error
DeleteVolume provides a mock function with given fields: opt
func (*VolumeDriver) DeleteVolumeGroup ¶
func (_m *VolumeDriver) DeleteVolumeGroup(opt *proto.DeleteVolumeGroupOpts) error
DeleteVolumeGroup provides a mock function with given fields: opt
func (*VolumeDriver) ExtendVolume ¶
func (_m *VolumeDriver) ExtendVolume(opt *proto.ExtendVolumeOpts) (*model.VolumeSpec, error)
ExtendVolume provides a mock function with given fields: opt
func (*VolumeDriver) InitializeConnection ¶
func (_m *VolumeDriver) InitializeConnection(opt *proto.CreateVolumeAttachmentOpts) (*model.ConnectionInfo, error)
InitializeConnection provides a mock function with given fields: opt
func (*VolumeDriver) InitializeSnapshotConnection ¶ added in v0.5.1
func (_m *VolumeDriver) InitializeSnapshotConnection(opt *proto.CreateSnapshotAttachmentOpts) (*model.ConnectionInfo, error)
InitializeSnapshotConnection provides a mock function with given fields: opt
func (*VolumeDriver) ListPools ¶
func (_m *VolumeDriver) ListPools() ([]*model.StoragePoolSpec, error)
ListPools provides a mock function with given fields:
func (*VolumeDriver) PullSnapshot ¶
func (_m *VolumeDriver) PullSnapshot(snapIdentifier string) (*model.VolumeSnapshotSpec, error)
PullSnapshot provides a mock function with given fields: snapIdentifier
func (*VolumeDriver) PullVolume ¶
func (_m *VolumeDriver) PullVolume(volIdentifier string) (*model.VolumeSpec, error)
PullVolume provides a mock function with given fields: volIdentifier
func (*VolumeDriver) Setup ¶
func (_m *VolumeDriver) Setup() error
Setup provides a mock function with given fields:
func (*VolumeDriver) TerminateConnection ¶
func (_m *VolumeDriver) TerminateConnection(opt *proto.DeleteVolumeAttachmentOpts) error
TerminateConnection provides a mock function with given fields: opt
func (*VolumeDriver) TerminateSnapshotConnection ¶ added in v0.5.1
func (_m *VolumeDriver) TerminateSnapshotConnection(opt *proto.DeleteSnapshotAttachmentOpts) error
TerminateSnapshotConnection provides a mock function with given fields: opt
func (*VolumeDriver) Unset ¶
func (_m *VolumeDriver) Unset() error
Unset provides a mock function with given fields:
func (*VolumeDriver) UpdateVolumeGroup ¶
func (_m *VolumeDriver) UpdateVolumeGroup(opt *proto.UpdateVolumeGroupOpts) (*model.VolumeGroupSpec, error)
UpdateVolumeGroup provides a mock function with given fields: opt