Documentation ¶
Overview ¶
Package mock_objectmanager is a generated GoMock package.
Index ¶
- type MockObjectManager
- func (m *MockObjectManager) AddObject(object syncobjectgetter.SyncObject)
- func (m *MockObjectManager) Close(ctx context.Context) error
- func (m *MockObjectManager) DeleteTree(ctx context.Context, spaceId, treeId string) error
- func (m *MockObjectManager) EXPECT() *MockObjectManagerMockRecorder
- func (m *MockObjectManager) GetObject(ctx context.Context, objectId string) (syncobjectgetter.SyncObject, error)
- func (m *MockObjectManager) GetTree(ctx context.Context, spaceId, treeId string) (objecttree.ObjectTree, error)
- func (m *MockObjectManager) Init(a *app.App) error
- func (m *MockObjectManager) MarkTreeDeleted(ctx context.Context, spaceId, treeId string) error
- func (m *MockObjectManager) Name() string
- func (m *MockObjectManager) Run(ctx context.Context) error
- func (m *MockObjectManager) ValidateAndPutTree(ctx context.Context, spaceId string, ...) error
- type MockObjectManagerMockRecorder
- func (mr *MockObjectManagerMockRecorder) AddObject(object any) *gomock.Call
- func (mr *MockObjectManagerMockRecorder) Close(ctx any) *gomock.Call
- func (mr *MockObjectManagerMockRecorder) DeleteTree(ctx, spaceId, treeId any) *gomock.Call
- func (mr *MockObjectManagerMockRecorder) GetObject(ctx, objectId any) *gomock.Call
- func (mr *MockObjectManagerMockRecorder) GetTree(ctx, spaceId, treeId any) *gomock.Call
- func (mr *MockObjectManagerMockRecorder) Init(a any) *gomock.Call
- func (mr *MockObjectManagerMockRecorder) MarkTreeDeleted(ctx, spaceId, treeId any) *gomock.Call
- func (mr *MockObjectManagerMockRecorder) Name() *gomock.Call
- func (mr *MockObjectManagerMockRecorder) Run(ctx any) *gomock.Call
- func (mr *MockObjectManagerMockRecorder) ValidateAndPutTree(ctx, spaceId, payload 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(object syncobjectgetter.SyncObject)
AddObject mocks base method.
func (*MockObjectManager) Close ¶
func (m *MockObjectManager) Close(ctx context.Context) error
Close mocks base method.
func (*MockObjectManager) DeleteTree ¶
func (m *MockObjectManager) DeleteTree(ctx context.Context, spaceId, treeId 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(ctx context.Context, objectId string) (syncobjectgetter.SyncObject, error)
GetObject mocks base method.
func (*MockObjectManager) GetTree ¶
func (m *MockObjectManager) GetTree(ctx context.Context, spaceId, treeId string) (objecttree.ObjectTree, error)
GetTree mocks base method.
func (*MockObjectManager) Init ¶
func (m *MockObjectManager) Init(a *app.App) error
Init mocks base method.
func (*MockObjectManager) MarkTreeDeleted ¶
func (m *MockObjectManager) MarkTreeDeleted(ctx context.Context, spaceId, treeId string) error
MarkTreeDeleted mocks base method.
func (*MockObjectManager) Run ¶
func (m *MockObjectManager) Run(ctx context.Context) error
Run mocks base method.
func (*MockObjectManager) ValidateAndPutTree ¶
func (m *MockObjectManager) ValidateAndPutTree(ctx context.Context, spaceId string, payload 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(object any) *gomock.Call
AddObject indicates an expected call of AddObject.
func (*MockObjectManagerMockRecorder) Close ¶
func (mr *MockObjectManagerMockRecorder) Close(ctx any) *gomock.Call
Close indicates an expected call of Close.
func (*MockObjectManagerMockRecorder) DeleteTree ¶
func (mr *MockObjectManagerMockRecorder) DeleteTree(ctx, spaceId, treeId any) *gomock.Call
DeleteTree indicates an expected call of DeleteTree.
func (*MockObjectManagerMockRecorder) GetObject ¶
func (mr *MockObjectManagerMockRecorder) GetObject(ctx, objectId any) *gomock.Call
GetObject indicates an expected call of GetObject.
func (*MockObjectManagerMockRecorder) GetTree ¶
func (mr *MockObjectManagerMockRecorder) GetTree(ctx, spaceId, treeId any) *gomock.Call
GetTree indicates an expected call of GetTree.
func (*MockObjectManagerMockRecorder) Init ¶
func (mr *MockObjectManagerMockRecorder) Init(a any) *gomock.Call
Init indicates an expected call of Init.
func (*MockObjectManagerMockRecorder) MarkTreeDeleted ¶
func (mr *MockObjectManagerMockRecorder) MarkTreeDeleted(ctx, spaceId, treeId 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(ctx any) *gomock.Call
Run indicates an expected call of Run.
func (*MockObjectManagerMockRecorder) ValidateAndPutTree ¶
func (mr *MockObjectManagerMockRecorder) ValidateAndPutTree(ctx, spaceId, payload any) *gomock.Call
ValidateAndPutTree indicates an expected call of ValidateAndPutTree.