Documentation ¶
Overview ¶
Package mock_treemanager is a generated GoMock package.
Index ¶
- type MockTreeManager
- func (m *MockTreeManager) Close(arg0 context.Context) error
- func (m *MockTreeManager) DeleteTree(arg0 context.Context, arg1, arg2 string) error
- func (m *MockTreeManager) EXPECT() *MockTreeManagerMockRecorder
- func (m *MockTreeManager) GetTree(arg0 context.Context, arg1, arg2 string) (objecttree.ObjectTree, error)
- func (m *MockTreeManager) Init(arg0 *app.App) error
- func (m *MockTreeManager) MarkTreeDeleted(arg0 context.Context, arg1, arg2 string) error
- func (m *MockTreeManager) Name() string
- func (m *MockTreeManager) Run(arg0 context.Context) error
- func (m *MockTreeManager) ValidateAndPutTree(arg0 context.Context, arg1 string, arg2 treestorage.TreeStorageCreatePayload) error
- type MockTreeManagerMockRecorder
- func (mr *MockTreeManagerMockRecorder) Close(arg0 any) *gomock.Call
- func (mr *MockTreeManagerMockRecorder) DeleteTree(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockTreeManagerMockRecorder) GetTree(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockTreeManagerMockRecorder) Init(arg0 any) *gomock.Call
- func (mr *MockTreeManagerMockRecorder) MarkTreeDeleted(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockTreeManagerMockRecorder) Name() *gomock.Call
- func (mr *MockTreeManagerMockRecorder) Run(arg0 any) *gomock.Call
- func (mr *MockTreeManagerMockRecorder) ValidateAndPutTree(arg0, arg1, arg2 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(arg0 context.Context) error
Close mocks base method.
func (*MockTreeManager) DeleteTree ¶
func (m *MockTreeManager) DeleteTree(arg0 context.Context, arg1, arg2 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(arg0 context.Context, arg1, arg2 string) (objecttree.ObjectTree, error)
GetTree mocks base method.
func (*MockTreeManager) Init ¶
func (m *MockTreeManager) Init(arg0 *app.App) error
Init mocks base method.
func (*MockTreeManager) MarkTreeDeleted ¶
func (m *MockTreeManager) MarkTreeDeleted(arg0 context.Context, arg1, arg2 string) error
MarkTreeDeleted mocks base method.
func (*MockTreeManager) Run ¶
func (m *MockTreeManager) Run(arg0 context.Context) error
Run mocks base method.
func (*MockTreeManager) ValidateAndPutTree ¶ added in v0.5.0
func (m *MockTreeManager) ValidateAndPutTree(arg0 context.Context, arg1 string, arg2 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(arg0 any) *gomock.Call
Close indicates an expected call of Close.
func (*MockTreeManagerMockRecorder) DeleteTree ¶
func (mr *MockTreeManagerMockRecorder) DeleteTree(arg0, arg1, arg2 any) *gomock.Call
DeleteTree indicates an expected call of DeleteTree.
func (*MockTreeManagerMockRecorder) GetTree ¶
func (mr *MockTreeManagerMockRecorder) GetTree(arg0, arg1, arg2 any) *gomock.Call
GetTree indicates an expected call of GetTree.
func (*MockTreeManagerMockRecorder) Init ¶
func (mr *MockTreeManagerMockRecorder) Init(arg0 any) *gomock.Call
Init indicates an expected call of Init.
func (*MockTreeManagerMockRecorder) MarkTreeDeleted ¶
func (mr *MockTreeManagerMockRecorder) MarkTreeDeleted(arg0, arg1, arg2 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(arg0 any) *gomock.Call
Run indicates an expected call of Run.
func (*MockTreeManagerMockRecorder) ValidateAndPutTree ¶ added in v0.5.0
func (mr *MockTreeManagerMockRecorder) ValidateAndPutTree(arg0, arg1, arg2 any) *gomock.Call
ValidateAndPutTree indicates an expected call of ValidateAndPutTree.