Documentation ¶
Overview ¶
Package mock_objectmanager is a generated GoMock package.
Index ¶
- type MockObjectManager
- func (m *MockObjectManager) AddObject(arg0 syncobjectgetter.SyncObject)
- func (m *MockObjectManager) Close(arg0 context.Context) error
- func (m *MockObjectManager) DeleteTree(arg0 context.Context, arg1, arg2 string) error
- func (m *MockObjectManager) EXPECT() *MockObjectManagerMockRecorder
- func (m *MockObjectManager) GetObject(arg0 context.Context, arg1 string) (syncobjectgetter.SyncObject, error)
- func (m *MockObjectManager) GetTree(arg0 context.Context, arg1, arg2 string) (objecttree.ObjectTree, error)
- func (m *MockObjectManager) Init(arg0 *app.App) error
- func (m *MockObjectManager) MarkTreeDeleted(arg0 context.Context, arg1, arg2 string) error
- func (m *MockObjectManager) Name() string
- func (m *MockObjectManager) Run(arg0 context.Context) error
- func (m *MockObjectManager) ValidateAndPutTree(arg0 context.Context, arg1 string, arg2 treestorage.TreeStorageCreatePayload) error
- type MockObjectManagerMockRecorder
- func (mr *MockObjectManagerMockRecorder) AddObject(arg0 any) *gomock.Call
- func (mr *MockObjectManagerMockRecorder) Close(arg0 any) *gomock.Call
- func (mr *MockObjectManagerMockRecorder) DeleteTree(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockObjectManagerMockRecorder) GetObject(arg0, arg1 any) *gomock.Call
- func (mr *MockObjectManagerMockRecorder) GetTree(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockObjectManagerMockRecorder) Init(arg0 any) *gomock.Call
- func (mr *MockObjectManagerMockRecorder) MarkTreeDeleted(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockObjectManagerMockRecorder) Name() *gomock.Call
- func (mr *MockObjectManagerMockRecorder) Run(arg0 any) *gomock.Call
- func (mr *MockObjectManagerMockRecorder) ValidateAndPutTree(arg0, arg1, arg2 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockObjectManager ¶
type MockObjectManager struct {
// contains filtered or unexported fields
}
MockObjectManager is a mock of ObjectManager interface.
func NewMockObjectManager ¶
func NewMockObjectManager(ctrl *gomock.Controller) *MockObjectManager
NewMockObjectManager creates a new mock instance.
func (*MockObjectManager) AddObject ¶
func (m *MockObjectManager) AddObject(arg0 syncobjectgetter.SyncObject)
AddObject mocks base method.
func (*MockObjectManager) Close ¶
func (m *MockObjectManager) Close(arg0 context.Context) error
Close mocks base method.
func (*MockObjectManager) DeleteTree ¶
func (m *MockObjectManager) DeleteTree(arg0 context.Context, arg1, arg2 string) error
DeleteTree mocks base method.
func (*MockObjectManager) EXPECT ¶
func (m *MockObjectManager) EXPECT() *MockObjectManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockObjectManager) GetObject ¶
func (m *MockObjectManager) GetObject(arg0 context.Context, arg1 string) (syncobjectgetter.SyncObject, error)
GetObject mocks base method.
func (*MockObjectManager) GetTree ¶
func (m *MockObjectManager) GetTree(arg0 context.Context, arg1, arg2 string) (objecttree.ObjectTree, error)
GetTree mocks base method.
func (*MockObjectManager) Init ¶
func (m *MockObjectManager) Init(arg0 *app.App) error
Init mocks base method.
func (*MockObjectManager) MarkTreeDeleted ¶
func (m *MockObjectManager) MarkTreeDeleted(arg0 context.Context, arg1, arg2 string) error
MarkTreeDeleted mocks base method.
func (*MockObjectManager) Run ¶
func (m *MockObjectManager) Run(arg0 context.Context) error
Run mocks base method.
func (*MockObjectManager) ValidateAndPutTree ¶
func (m *MockObjectManager) ValidateAndPutTree(arg0 context.Context, arg1 string, arg2 treestorage.TreeStorageCreatePayload) error
ValidateAndPutTree mocks base method.
type MockObjectManagerMockRecorder ¶
type MockObjectManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockObjectManagerMockRecorder is the mock recorder for MockObjectManager.
func (*MockObjectManagerMockRecorder) AddObject ¶
func (mr *MockObjectManagerMockRecorder) AddObject(arg0 any) *gomock.Call
AddObject indicates an expected call of AddObject.
func (*MockObjectManagerMockRecorder) Close ¶
func (mr *MockObjectManagerMockRecorder) Close(arg0 any) *gomock.Call
Close indicates an expected call of Close.
func (*MockObjectManagerMockRecorder) DeleteTree ¶
func (mr *MockObjectManagerMockRecorder) DeleteTree(arg0, arg1, arg2 any) *gomock.Call
DeleteTree indicates an expected call of DeleteTree.
func (*MockObjectManagerMockRecorder) GetObject ¶
func (mr *MockObjectManagerMockRecorder) GetObject(arg0, arg1 any) *gomock.Call
GetObject indicates an expected call of GetObject.
func (*MockObjectManagerMockRecorder) GetTree ¶
func (mr *MockObjectManagerMockRecorder) GetTree(arg0, arg1, arg2 any) *gomock.Call
GetTree indicates an expected call of GetTree.
func (*MockObjectManagerMockRecorder) Init ¶
func (mr *MockObjectManagerMockRecorder) Init(arg0 any) *gomock.Call
Init indicates an expected call of Init.
func (*MockObjectManagerMockRecorder) MarkTreeDeleted ¶
func (mr *MockObjectManagerMockRecorder) MarkTreeDeleted(arg0, arg1, arg2 any) *gomock.Call
MarkTreeDeleted indicates an expected call of MarkTreeDeleted.
func (*MockObjectManagerMockRecorder) Name ¶
func (mr *MockObjectManagerMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockObjectManagerMockRecorder) Run ¶
func (mr *MockObjectManagerMockRecorder) Run(arg0 any) *gomock.Call
Run indicates an expected call of Run.
func (*MockObjectManagerMockRecorder) ValidateAndPutTree ¶
func (mr *MockObjectManagerMockRecorder) ValidateAndPutTree(arg0, arg1, arg2 any) *gomock.Call
ValidateAndPutTree indicates an expected call of ValidateAndPutTree.