Documentation ¶
Index ¶
- type VolumeSnapshotter
- func (_m *VolumeSnapshotter) CreateSnapshot(volumeID string, volumeAZ string, tags map[string]string) (string, error)
- func (_m *VolumeSnapshotter) CreateVolumeFromSnapshot(snapshotID string, volumeType string, volumeAZ string, iops *int64) (string, error)
- func (_m *VolumeSnapshotter) DeleteSnapshot(snapshotID string) error
- func (_m *VolumeSnapshotter) GetVolumeID(pv runtime.Unstructured) (string, error)
- func (_m *VolumeSnapshotter) GetVolumeInfo(volumeID string, volumeAZ string) (string, *int64, error)
- func (_m *VolumeSnapshotter) Init(config map[string]string) error
- func (_m *VolumeSnapshotter) SetVolumeID(pv runtime.Unstructured, volumeID string) (runtime.Unstructured, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VolumeSnapshotter ¶
VolumeSnapshotter is an autogenerated mock type for the VolumeSnapshotter type
func (*VolumeSnapshotter) CreateSnapshot ¶
func (_m *VolumeSnapshotter) CreateSnapshot(volumeID string, volumeAZ string, tags map[string]string) (string, error)
CreateSnapshot provides a mock function with given fields: volumeID, volumeAZ, tags
func (*VolumeSnapshotter) CreateVolumeFromSnapshot ¶
func (_m *VolumeSnapshotter) CreateVolumeFromSnapshot(snapshotID string, volumeType string, volumeAZ string, iops *int64) (string, error)
CreateVolumeFromSnapshot provides a mock function with given fields: snapshotID, volumeType, volumeAZ, iops
func (*VolumeSnapshotter) DeleteSnapshot ¶
func (_m *VolumeSnapshotter) DeleteSnapshot(snapshotID string) error
DeleteSnapshot provides a mock function with given fields: snapshotID
func (*VolumeSnapshotter) GetVolumeID ¶
func (_m *VolumeSnapshotter) GetVolumeID(pv runtime.Unstructured) (string, error)
GetVolumeID provides a mock function with given fields: pv
func (*VolumeSnapshotter) GetVolumeInfo ¶
func (_m *VolumeSnapshotter) GetVolumeInfo(volumeID string, volumeAZ string) (string, *int64, error)
GetVolumeInfo provides a mock function with given fields: volumeID, volumeAZ
func (*VolumeSnapshotter) Init ¶
func (_m *VolumeSnapshotter) Init(config map[string]string) error
Init provides a mock function with given fields: config
func (*VolumeSnapshotter) SetVolumeID ¶
func (_m *VolumeSnapshotter) SetVolumeID(pv runtime.Unstructured, volumeID string) (runtime.Unstructured, error)
SetVolumeID provides a mock function with given fields: pv, volumeID
Click to show internal directories.
Click to hide internal directories.