Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSnapshotter ¶
type FakeSnapshotter struct {
ShouldReturnFakeError bool
}
FakeSnapshotter is used to mock the snapshot operations
func (*FakeSnapshotter) CreateSnapshot ¶
func (fs *FakeSnapshotter) CreateSnapshot(ip, volName, snapName string) (*v1proto.VolumeSnapCreateResponse, error)
CreateSnapshot mocks snapshot create operation
func (*FakeSnapshotter) DestroySnapshot ¶
func (fs *FakeSnapshotter) DestroySnapshot(ip, volName, snapName string) (*v1proto.VolumeSnapDeleteResponse, error)
DestroySnapshot mocks snapshot delete operation
Click to show internal directories.
Click to hide internal directories.