Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: github.com/anyproto/any-sync/commonspace/objecttreebuilder (interfaces: TreeBuilder)
Generated by this command:
mockgen -destination mock_objecttreebuilder/mock_objecttreebuilder.go github.com/anyproto/any-sync/commonspace/objecttreebuilder TreeBuilder
Package mock_objecttreebuilder is a generated GoMock package.
Index ¶
- type MockTreeBuilder
- func (m *MockTreeBuilder) BuildHistoryTree(arg0 context.Context, arg1 string, arg2 objecttreebuilder.HistoryTreeOpts) (objecttree.HistoryTree, error)
- func (m *MockTreeBuilder) BuildTree(arg0 context.Context, arg1 string, arg2 objecttreebuilder.BuildTreeOpts) (objecttree.ObjectTree, error)
- func (m *MockTreeBuilder) CreateTree(arg0 context.Context, arg1 objecttree.ObjectTreeCreatePayload) (treestorage.TreeStorageCreatePayload, error)
- func (m *MockTreeBuilder) DeriveTree(arg0 context.Context, arg1 objecttree.ObjectTreeDerivePayload) (treestorage.TreeStorageCreatePayload, error)
- func (m *MockTreeBuilder) EXPECT() *MockTreeBuilderMockRecorder
- func (m *MockTreeBuilder) PutTree(arg0 context.Context, arg1 treestorage.TreeStorageCreatePayload, ...) (objecttree.ObjectTree, error)
- type MockTreeBuilderMockRecorder
- func (mr *MockTreeBuilderMockRecorder) BuildHistoryTree(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockTreeBuilderMockRecorder) BuildTree(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockTreeBuilderMockRecorder) CreateTree(arg0, arg1 any) *gomock.Call
- func (mr *MockTreeBuilderMockRecorder) DeriveTree(arg0, arg1 any) *gomock.Call
- func (mr *MockTreeBuilderMockRecorder) PutTree(arg0, arg1, arg2 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTreeBuilder ¶
type MockTreeBuilder struct {
// contains filtered or unexported fields
}
MockTreeBuilder is a mock of TreeBuilder interface.
func NewMockTreeBuilder ¶
func NewMockTreeBuilder(ctrl *gomock.Controller) *MockTreeBuilder
NewMockTreeBuilder creates a new mock instance.
func (*MockTreeBuilder) BuildHistoryTree ¶
func (m *MockTreeBuilder) BuildHistoryTree(arg0 context.Context, arg1 string, arg2 objecttreebuilder.HistoryTreeOpts) (objecttree.HistoryTree, error)
BuildHistoryTree mocks base method.
func (*MockTreeBuilder) BuildTree ¶
func (m *MockTreeBuilder) BuildTree(arg0 context.Context, arg1 string, arg2 objecttreebuilder.BuildTreeOpts) (objecttree.ObjectTree, error)
BuildTree mocks base method.
func (*MockTreeBuilder) CreateTree ¶
func (m *MockTreeBuilder) CreateTree(arg0 context.Context, arg1 objecttree.ObjectTreeCreatePayload) (treestorage.TreeStorageCreatePayload, error)
CreateTree mocks base method.
func (*MockTreeBuilder) DeriveTree ¶ added in v0.3.2
func (m *MockTreeBuilder) DeriveTree(arg0 context.Context, arg1 objecttree.ObjectTreeDerivePayload) (treestorage.TreeStorageCreatePayload, error)
DeriveTree mocks base method.
func (*MockTreeBuilder) EXPECT ¶
func (m *MockTreeBuilder) EXPECT() *MockTreeBuilderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTreeBuilder) PutTree ¶
func (m *MockTreeBuilder) PutTree(arg0 context.Context, arg1 treestorage.TreeStorageCreatePayload, arg2 updatelistener.UpdateListener) (objecttree.ObjectTree, error)
PutTree mocks base method.
type MockTreeBuilderMockRecorder ¶
type MockTreeBuilderMockRecorder struct {
// contains filtered or unexported fields
}
MockTreeBuilderMockRecorder is the mock recorder for MockTreeBuilder.
func (*MockTreeBuilderMockRecorder) BuildHistoryTree ¶
func (mr *MockTreeBuilderMockRecorder) BuildHistoryTree(arg0, arg1, arg2 any) *gomock.Call
BuildHistoryTree indicates an expected call of BuildHistoryTree.
func (*MockTreeBuilderMockRecorder) BuildTree ¶
func (mr *MockTreeBuilderMockRecorder) BuildTree(arg0, arg1, arg2 any) *gomock.Call
BuildTree indicates an expected call of BuildTree.
func (*MockTreeBuilderMockRecorder) CreateTree ¶
func (mr *MockTreeBuilderMockRecorder) CreateTree(arg0, arg1 any) *gomock.Call
CreateTree indicates an expected call of CreateTree.
func (*MockTreeBuilderMockRecorder) DeriveTree ¶ added in v0.3.2
func (mr *MockTreeBuilderMockRecorder) DeriveTree(arg0, arg1 any) *gomock.Call
DeriveTree indicates an expected call of DeriveTree.