Documentation ¶
Overview ¶
Package etcdcopybackupstask is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) Deploy(ctx context.Context) error
- func (m *MockInterface) Destroy(ctx context.Context) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) SetSourceStore(arg0 v1alpha1.StoreSpec)
- func (m *MockInterface) SetTargetStore(arg0 v1alpha1.StoreSpec)
- func (m *MockInterface) Wait(ctx context.Context) error
- func (m *MockInterface) WaitCleanup(ctx context.Context) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) Deploy(ctx any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Destroy(ctx any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetSourceStore(arg0 any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetTargetStore(arg0 any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Wait(ctx any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) WaitCleanup(ctx any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) Deploy ¶
func (m *MockInterface) Deploy(ctx context.Context) error
Deploy mocks base method.
func (*MockInterface) Destroy ¶
func (m *MockInterface) Destroy(ctx context.Context) error
Destroy mocks base method.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) SetSourceStore ¶
func (m *MockInterface) SetSourceStore(arg0 v1alpha1.StoreSpec)
SetSourceStore mocks base method.
func (*MockInterface) SetTargetStore ¶
func (m *MockInterface) SetTargetStore(arg0 v1alpha1.StoreSpec)
SetTargetStore mocks base method.
func (*MockInterface) Wait ¶
func (m *MockInterface) Wait(ctx context.Context) error
Wait mocks base method.
func (*MockInterface) WaitCleanup ¶
func (m *MockInterface) WaitCleanup(ctx context.Context) error
WaitCleanup mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) Deploy ¶
func (mr *MockInterfaceMockRecorder) Deploy(ctx any) *gomock.Call
Deploy indicates an expected call of Deploy.
func (*MockInterfaceMockRecorder) Destroy ¶
func (mr *MockInterfaceMockRecorder) Destroy(ctx any) *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockInterfaceMockRecorder) SetSourceStore ¶
func (mr *MockInterfaceMockRecorder) SetSourceStore(arg0 any) *gomock.Call
SetSourceStore indicates an expected call of SetSourceStore.
func (*MockInterfaceMockRecorder) SetTargetStore ¶
func (mr *MockInterfaceMockRecorder) SetTargetStore(arg0 any) *gomock.Call
SetTargetStore indicates an expected call of SetTargetStore.
func (*MockInterfaceMockRecorder) Wait ¶
func (mr *MockInterfaceMockRecorder) Wait(ctx any) *gomock.Call
Wait indicates an expected call of Wait.
func (*MockInterfaceMockRecorder) WaitCleanup ¶
func (mr *MockInterfaceMockRecorder) WaitCleanup(ctx any) *gomock.Call
WaitCleanup indicates an expected call of WaitCleanup.