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) NewTreeSyncer(arg0 string, arg1 treemanager.TreeManager) treemanager.TreeSyncer
- func (m *MockTreeManager) Run(arg0 context.Context) error
- type MockTreeManagerMockRecorder
- func (mr *MockTreeManagerMockRecorder) Close(arg0 interface{}) *gomock.Call
- func (mr *MockTreeManagerMockRecorder) DeleteTree(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTreeManagerMockRecorder) GetTree(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTreeManagerMockRecorder) Init(arg0 interface{}) *gomock.Call
- func (mr *MockTreeManagerMockRecorder) MarkTreeDeleted(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTreeManagerMockRecorder) Name() *gomock.Call
- func (mr *MockTreeManagerMockRecorder) NewTreeSyncer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTreeManagerMockRecorder) Run(arg0 interface{}) *gomock.Call
- type MockTreeSyncer
- type MockTreeSyncerMockRecorder
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) NewTreeSyncer ¶ added in v0.1.2
func (m *MockTreeManager) NewTreeSyncer(arg0 string, arg1 treemanager.TreeManager) treemanager.TreeSyncer
NewTreeSyncer 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 interface{}) *gomock.Call
Close indicates an expected call of Close.
func (*MockTreeManagerMockRecorder) DeleteTree ¶
func (mr *MockTreeManagerMockRecorder) DeleteTree(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteTree indicates an expected call of DeleteTree.
func (*MockTreeManagerMockRecorder) GetTree ¶
func (mr *MockTreeManagerMockRecorder) GetTree(arg0, arg1, arg2 interface{}) *gomock.Call
GetTree indicates an expected call of GetTree.
func (*MockTreeManagerMockRecorder) Init ¶
func (mr *MockTreeManagerMockRecorder) Init(arg0 interface{}) *gomock.Call
Init indicates an expected call of Init.
func (*MockTreeManagerMockRecorder) MarkTreeDeleted ¶
func (mr *MockTreeManagerMockRecorder) MarkTreeDeleted(arg0, arg1, arg2 interface{}) *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) NewTreeSyncer ¶ added in v0.1.2
func (mr *MockTreeManagerMockRecorder) NewTreeSyncer(arg0, arg1 interface{}) *gomock.Call
NewTreeSyncer indicates an expected call of NewTreeSyncer.
func (*MockTreeManagerMockRecorder) Run ¶
func (mr *MockTreeManagerMockRecorder) Run(arg0 interface{}) *gomock.Call
Run indicates an expected call of Run.
type MockTreeSyncer ¶ added in v0.1.2
type MockTreeSyncer struct {
// contains filtered or unexported fields
}
MockTreeSyncer is a mock of TreeSyncer interface.
func NewMockTreeSyncer ¶ added in v0.1.2
func NewMockTreeSyncer(ctrl *gomock.Controller) *MockTreeSyncer
NewMockTreeSyncer creates a new mock instance.
func (*MockTreeSyncer) Close ¶ added in v0.1.2
func (m *MockTreeSyncer) Close() error
Close mocks base method.
func (*MockTreeSyncer) EXPECT ¶ added in v0.1.2
func (m *MockTreeSyncer) EXPECT() *MockTreeSyncerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTreeSyncer) Init ¶ added in v0.1.2
func (m *MockTreeSyncer) Init()
Init mocks base method.
type MockTreeSyncerMockRecorder ¶ added in v0.1.2
type MockTreeSyncerMockRecorder struct {
// contains filtered or unexported fields
}
MockTreeSyncerMockRecorder is the mock recorder for MockTreeSyncer.
func (*MockTreeSyncerMockRecorder) Close ¶ added in v0.1.2
func (mr *MockTreeSyncerMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockTreeSyncerMockRecorder) Init ¶ added in v0.1.2
func (mr *MockTreeSyncerMockRecorder) Init() *gomock.Call
Init indicates an expected call of Init.
func (*MockTreeSyncerMockRecorder) SyncAll ¶ added in v0.1.2
func (mr *MockTreeSyncerMockRecorder) SyncAll(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SyncAll indicates an expected call of SyncAll.