Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: github.com/anyproto/any-sync/commonspace/deletionmanager (interfaces: DeletionManager,Deleter)
Generated by this command:
mockgen -destination mock_deletionmanager/mock_deletionmanager.go github.com/anyproto/any-sync/commonspace/deletionmanager DeletionManager,Deleter
Package mock_deletionmanager is a generated GoMock package.
Index ¶
- type MockDeleter
- type MockDeleterMockRecorder
- type MockDeletionManager
- func (m *MockDeletionManager) Close(arg0 context.Context) error
- func (m *MockDeletionManager) EXPECT() *MockDeletionManagerMockRecorder
- func (m *MockDeletionManager) Init(arg0 *app.App) error
- func (m *MockDeletionManager) Name() string
- func (m *MockDeletionManager) Run(arg0 context.Context) error
- func (m *MockDeletionManager) UpdateState(arg0 context.Context, arg1 *settingsstate.State) error
- type MockDeletionManagerMockRecorder
- func (mr *MockDeletionManagerMockRecorder) Close(arg0 any) *gomock.Call
- func (mr *MockDeletionManagerMockRecorder) Init(arg0 any) *gomock.Call
- func (mr *MockDeletionManagerMockRecorder) Name() *gomock.Call
- func (mr *MockDeletionManagerMockRecorder) Run(arg0 any) *gomock.Call
- func (mr *MockDeletionManagerMockRecorder) UpdateState(arg0, arg1 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDeleter ¶
type MockDeleter struct {
// contains filtered or unexported fields
}
MockDeleter is a mock of Deleter interface.
func NewMockDeleter ¶
func NewMockDeleter(ctrl *gomock.Controller) *MockDeleter
NewMockDeleter creates a new mock instance.
func (*MockDeleter) EXPECT ¶
func (m *MockDeleter) EXPECT() *MockDeleterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDeleterMockRecorder ¶
type MockDeleterMockRecorder struct {
// contains filtered or unexported fields
}
MockDeleterMockRecorder is the mock recorder for MockDeleter.
func (*MockDeleterMockRecorder) Delete ¶
func (mr *MockDeleterMockRecorder) Delete() *gomock.Call
Delete indicates an expected call of Delete.
type MockDeletionManager ¶
type MockDeletionManager struct {
// contains filtered or unexported fields
}
MockDeletionManager is a mock of DeletionManager interface.
func NewMockDeletionManager ¶
func NewMockDeletionManager(ctrl *gomock.Controller) *MockDeletionManager
NewMockDeletionManager creates a new mock instance.
func (*MockDeletionManager) Close ¶
func (m *MockDeletionManager) Close(arg0 context.Context) error
Close mocks base method.
func (*MockDeletionManager) EXPECT ¶
func (m *MockDeletionManager) EXPECT() *MockDeletionManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDeletionManager) Init ¶
func (m *MockDeletionManager) Init(arg0 *app.App) error
Init mocks base method.
func (*MockDeletionManager) Name ¶
func (m *MockDeletionManager) Name() string
Name mocks base method.
func (*MockDeletionManager) Run ¶
func (m *MockDeletionManager) Run(arg0 context.Context) error
Run mocks base method.
func (*MockDeletionManager) UpdateState ¶
func (m *MockDeletionManager) UpdateState(arg0 context.Context, arg1 *settingsstate.State) error
UpdateState mocks base method.
type MockDeletionManagerMockRecorder ¶
type MockDeletionManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockDeletionManagerMockRecorder is the mock recorder for MockDeletionManager.
func (*MockDeletionManagerMockRecorder) Close ¶
func (mr *MockDeletionManagerMockRecorder) Close(arg0 any) *gomock.Call
Close indicates an expected call of Close.
func (*MockDeletionManagerMockRecorder) Init ¶
func (mr *MockDeletionManagerMockRecorder) Init(arg0 any) *gomock.Call
Init indicates an expected call of Init.
func (*MockDeletionManagerMockRecorder) Name ¶
func (mr *MockDeletionManagerMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockDeletionManagerMockRecorder) Run ¶
func (mr *MockDeletionManagerMockRecorder) Run(arg0 any) *gomock.Call
Run indicates an expected call of Run.
func (*MockDeletionManagerMockRecorder) UpdateState ¶
func (mr *MockDeletionManagerMockRecorder) UpdateState(arg0, arg1 any) *gomock.Call
UpdateState indicates an expected call of UpdateState.