Documentation ¶
Overview ¶
Package mock_treemanager is a generated GoMock package.
Index ¶
- type MockTreeManager
- func (m *MockTreeManager) Close(ctx context.Context) error
- func (m *MockTreeManager) DeleteTree(ctx context.Context, spaceId, treeId string) error
- func (m *MockTreeManager) EXPECT() *MockTreeManagerMockRecorder
- func (m *MockTreeManager) GetTree(ctx context.Context, spaceId, treeId string) (objecttree.ObjectTree, error)
- func (m *MockTreeManager) Init(a *app.App) error
- func (m *MockTreeManager) MarkTreeDeleted(ctx context.Context, spaceId, treeId string) error
- func (m *MockTreeManager) Name() string
- func (m *MockTreeManager) Run(ctx context.Context) error
- func (m *MockTreeManager) ValidateAndPutTree(ctx context.Context, spaceId string, ...) error
- type MockTreeManagerMockRecorder
- func (mr *MockTreeManagerMockRecorder) Close(ctx any) *gomock.Call
- func (mr *MockTreeManagerMockRecorder) DeleteTree(ctx, spaceId, treeId any) *gomock.Call
- func (mr *MockTreeManagerMockRecorder) GetTree(ctx, spaceId, treeId any) *gomock.Call
- func (mr *MockTreeManagerMockRecorder) Init(a any) *gomock.Call
- func (mr *MockTreeManagerMockRecorder) MarkTreeDeleted(ctx, spaceId, treeId any) *gomock.Call
- func (mr *MockTreeManagerMockRecorder) Name() *gomock.Call
- func (mr *MockTreeManagerMockRecorder) Run(ctx any) *gomock.Call
- func (mr *MockTreeManagerMockRecorder) ValidateAndPutTree(ctx, spaceId, payload any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTreeManager ¶
type MockTreeManager struct {
// contains filtered or unexported fields
}
MockTreeManager is a mock of TreeManager interface.
func NewMockTreeManager ¶
func NewMockTreeManager(ctrl *gomock.Controller) *MockTreeManager
NewMockTreeManager creates a new mock instance.
func (*MockTreeManager) Close ¶
func (m *MockTreeManager) Close(ctx context.Context) error
Close mocks base method.
func (*MockTreeManager) DeleteTree ¶
func (m *MockTreeManager) DeleteTree(ctx context.Context, spaceId, treeId string) error
DeleteTree mocks base method.
func (*MockTreeManager) EXPECT ¶
func (m *MockTreeManager) EXPECT() *MockTreeManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTreeManager) GetTree ¶
func (m *MockTreeManager) GetTree(ctx context.Context, spaceId, treeId string) (objecttree.ObjectTree, error)
GetTree mocks base method.
func (*MockTreeManager) Init ¶
func (m *MockTreeManager) Init(a *app.App) error
Init mocks base method.
func (*MockTreeManager) MarkTreeDeleted ¶
func (m *MockTreeManager) MarkTreeDeleted(ctx context.Context, spaceId, treeId string) error
MarkTreeDeleted mocks base method.
func (*MockTreeManager) Run ¶
func (m *MockTreeManager) Run(ctx context.Context) error
Run mocks base method.
func (*MockTreeManager) ValidateAndPutTree ¶ added in v0.5.0
func (m *MockTreeManager) ValidateAndPutTree(ctx context.Context, spaceId string, payload treestorage.TreeStorageCreatePayload) error
ValidateAndPutTree mocks base method.
type MockTreeManagerMockRecorder ¶
type MockTreeManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockTreeManagerMockRecorder is the mock recorder for MockTreeManager.
func (*MockTreeManagerMockRecorder) Close ¶
func (mr *MockTreeManagerMockRecorder) Close(ctx any) *gomock.Call
Close indicates an expected call of Close.
func (*MockTreeManagerMockRecorder) DeleteTree ¶
func (mr *MockTreeManagerMockRecorder) DeleteTree(ctx, spaceId, treeId any) *gomock.Call
DeleteTree indicates an expected call of DeleteTree.
func (*MockTreeManagerMockRecorder) GetTree ¶
func (mr *MockTreeManagerMockRecorder) GetTree(ctx, spaceId, treeId any) *gomock.Call
GetTree indicates an expected call of GetTree.
func (*MockTreeManagerMockRecorder) Init ¶
func (mr *MockTreeManagerMockRecorder) Init(a any) *gomock.Call
Init indicates an expected call of Init.
func (*MockTreeManagerMockRecorder) MarkTreeDeleted ¶
func (mr *MockTreeManagerMockRecorder) MarkTreeDeleted(ctx, spaceId, treeId any) *gomock.Call
MarkTreeDeleted indicates an expected call of MarkTreeDeleted.
func (*MockTreeManagerMockRecorder) Name ¶
func (mr *MockTreeManagerMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockTreeManagerMockRecorder) Run ¶
func (mr *MockTreeManagerMockRecorder) Run(ctx any) *gomock.Call
Run indicates an expected call of Run.
func (*MockTreeManagerMockRecorder) ValidateAndPutTree ¶ added in v0.5.0
func (mr *MockTreeManagerMockRecorder) ValidateAndPutTree(ctx, spaceId, payload any) *gomock.Call
ValidateAndPutTree indicates an expected call of ValidateAndPutTree.