Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockSnapshotter
- func (m *MockSnapshotter) Clone(arg0 context.Context, arg1, arg2, arg3, arg4 string, arg5 bool, ...) error
- func (m *MockSnapshotter) CloneVolumeSnapshotClass(arg0 context.Context, arg1, arg2, arg3 string, arg4 []string) error
- func (m *MockSnapshotter) Create(arg0 context.Context, arg1, arg2, arg3 string, arg4 *string, arg5 bool, ...) error
- func (m *MockSnapshotter) CreateContentFromSource(arg0 context.Context, arg1 *snapshot.Source, arg2, arg3, arg4, arg5 string) error
- func (m *MockSnapshotter) CreateFromSource(arg0 context.Context, arg1 *snapshot.Source, arg2, arg3 string, arg4 bool, ...) error
- func (m *MockSnapshotter) Delete(arg0 context.Context, arg1, arg2 string) (*v1.VolumeSnapshot, error)
- func (m *MockSnapshotter) DeleteContent(arg0 context.Context, arg1 string) error
- func (m *MockSnapshotter) EXPECT() *MockSnapshotterMockRecorder
- func (m *MockSnapshotter) Get(arg0 context.Context, arg1, arg2 string) (*v1.VolumeSnapshot, error)
- func (m *MockSnapshotter) GetSource(arg0 context.Context, arg1, arg2 string) (*snapshot.Source, error)
- func (m *MockSnapshotter) GetVolumeSnapshotClass(arg0 context.Context, arg1, arg2, arg3 string) (string, error)
- func (m *MockSnapshotter) GroupVersion(arg0 context.Context) schema.GroupVersion
- func (m *MockSnapshotter) List(arg0 context.Context, arg1 string, arg2 map[string]string) (*v1.VolumeSnapshotList, error)
- func (m *MockSnapshotter) WaitOnReadyToUse(arg0 context.Context, arg1, arg2 string) error
- type MockSnapshotterMockRecorder
- func (mr *MockSnapshotterMockRecorder) Clone(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) CloneVolumeSnapshotClass(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Create(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) CreateContentFromSource(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) CreateFromSource(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) DeleteContent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) GetSource(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) GetVolumeSnapshotClass(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) GroupVersion(arg0 interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) WaitOnReadyToUse(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSnapshotter ¶
type MockSnapshotter struct {
// contains filtered or unexported fields
}
MockSnapshotter is a mock of Snapshotter interface.
func NewMockSnapshotter ¶
func NewMockSnapshotter(ctrl *gomock.Controller) *MockSnapshotter
NewMockSnapshotter creates a new mock instance.
func (*MockSnapshotter) Clone ¶
func (m *MockSnapshotter) Clone(arg0 context.Context, arg1, arg2, arg3, arg4 string, arg5 bool, arg6 map[string]string) error
Clone mocks base method.
func (*MockSnapshotter) CloneVolumeSnapshotClass ¶
func (m *MockSnapshotter) CloneVolumeSnapshotClass(arg0 context.Context, arg1, arg2, arg3 string, arg4 []string) error
CloneVolumeSnapshotClass mocks base method.
func (*MockSnapshotter) Create ¶
func (m *MockSnapshotter) Create(arg0 context.Context, arg1, arg2, arg3 string, arg4 *string, arg5 bool, arg6 map[string]string) error
Create mocks base method.
func (*MockSnapshotter) CreateContentFromSource ¶
func (m *MockSnapshotter) CreateContentFromSource(arg0 context.Context, arg1 *snapshot.Source, arg2, arg3, arg4, arg5 string) error
CreateContentFromSource mocks base method.
func (*MockSnapshotter) CreateFromSource ¶
func (m *MockSnapshotter) CreateFromSource(arg0 context.Context, arg1 *snapshot.Source, arg2, arg3 string, arg4 bool, arg5 map[string]string) error
CreateFromSource mocks base method.
func (*MockSnapshotter) Delete ¶
func (m *MockSnapshotter) Delete(arg0 context.Context, arg1, arg2 string) (*v1.VolumeSnapshot, error)
Delete mocks base method.
func (*MockSnapshotter) DeleteContent ¶
func (m *MockSnapshotter) DeleteContent(arg0 context.Context, arg1 string) error
DeleteContent mocks base method.
func (*MockSnapshotter) EXPECT ¶
func (m *MockSnapshotter) EXPECT() *MockSnapshotterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSnapshotter) Get ¶
func (m *MockSnapshotter) Get(arg0 context.Context, arg1, arg2 string) (*v1.VolumeSnapshot, error)
Get mocks base method.
func (*MockSnapshotter) GetSource ¶
func (m *MockSnapshotter) GetSource(arg0 context.Context, arg1, arg2 string) (*snapshot.Source, error)
GetSource mocks base method.
func (*MockSnapshotter) GetVolumeSnapshotClass ¶
func (m *MockSnapshotter) GetVolumeSnapshotClass(arg0 context.Context, arg1, arg2, arg3 string) (string, error)
GetVolumeSnapshotClass mocks base method.
func (*MockSnapshotter) GroupVersion ¶
func (m *MockSnapshotter) GroupVersion(arg0 context.Context) schema.GroupVersion
GroupVersion mocks base method.
func (*MockSnapshotter) List ¶
func (m *MockSnapshotter) List(arg0 context.Context, arg1 string, arg2 map[string]string) (*v1.VolumeSnapshotList, error)
List mocks base method.
func (*MockSnapshotter) WaitOnReadyToUse ¶
func (m *MockSnapshotter) WaitOnReadyToUse(arg0 context.Context, arg1, arg2 string) error
WaitOnReadyToUse mocks base method.
type MockSnapshotterMockRecorder ¶
type MockSnapshotterMockRecorder struct {
// contains filtered or unexported fields
}
MockSnapshotterMockRecorder is the mock recorder for MockSnapshotter.
func (*MockSnapshotterMockRecorder) Clone ¶
func (mr *MockSnapshotterMockRecorder) Clone(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
Clone indicates an expected call of Clone.
func (*MockSnapshotterMockRecorder) CloneVolumeSnapshotClass ¶
func (mr *MockSnapshotterMockRecorder) CloneVolumeSnapshotClass(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
CloneVolumeSnapshotClass indicates an expected call of CloneVolumeSnapshotClass.
func (*MockSnapshotterMockRecorder) Create ¶
func (mr *MockSnapshotterMockRecorder) Create(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockSnapshotterMockRecorder) CreateContentFromSource ¶
func (mr *MockSnapshotterMockRecorder) CreateContentFromSource(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
CreateContentFromSource indicates an expected call of CreateContentFromSource.
func (*MockSnapshotterMockRecorder) CreateFromSource ¶
func (mr *MockSnapshotterMockRecorder) CreateFromSource(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
CreateFromSource indicates an expected call of CreateFromSource.
func (*MockSnapshotterMockRecorder) Delete ¶
func (mr *MockSnapshotterMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockSnapshotterMockRecorder) DeleteContent ¶
func (mr *MockSnapshotterMockRecorder) DeleteContent(arg0, arg1 interface{}) *gomock.Call
DeleteContent indicates an expected call of DeleteContent.
func (*MockSnapshotterMockRecorder) Get ¶
func (mr *MockSnapshotterMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockSnapshotterMockRecorder) GetSource ¶
func (mr *MockSnapshotterMockRecorder) GetSource(arg0, arg1, arg2 interface{}) *gomock.Call
GetSource indicates an expected call of GetSource.
func (*MockSnapshotterMockRecorder) GetVolumeSnapshotClass ¶
func (mr *MockSnapshotterMockRecorder) GetVolumeSnapshotClass(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetVolumeSnapshotClass indicates an expected call of GetVolumeSnapshotClass.
func (*MockSnapshotterMockRecorder) GroupVersion ¶
func (mr *MockSnapshotterMockRecorder) GroupVersion(arg0 interface{}) *gomock.Call
GroupVersion indicates an expected call of GroupVersion.
func (*MockSnapshotterMockRecorder) List ¶
func (mr *MockSnapshotterMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockSnapshotterMockRecorder) WaitOnReadyToUse ¶
func (mr *MockSnapshotterMockRecorder) WaitOnReadyToUse(arg0, arg1, arg2 interface{}) *gomock.Call
WaitOnReadyToUse indicates an expected call of WaitOnReadyToUse.