Documentation ¶
Overview ¶
Package mock_objecttree is a generated GoMock package.
Index ¶
- type MockObjectTree
- func (m *MockObjectTree) AclList() list.AclList
- func (m *MockObjectTree) AddContent(arg0 context.Context, arg1 objecttree.SignableChangeContent) (objecttree.AddResult, error)
- func (m *MockObjectTree) AddRawChanges(arg0 context.Context, arg1 objecttree.RawChangesPayload) (objecttree.AddResult, error)
- func (m *MockObjectTree) ChangeInfo() *treechangeproto.TreeChangeInfo
- func (m *MockObjectTree) ChangesAfterCommonSnapshot(arg0, arg1 []string) ([]*treechangeproto.RawTreeChangeWithId, error)
- func (m *MockObjectTree) Close() error
- func (m *MockObjectTree) Debug(arg0 objecttree.DescriptionParser) (objecttree.DebugInfo, error)
- func (m *MockObjectTree) Delete() error
- func (m *MockObjectTree) EXPECT() *MockObjectTreeMockRecorder
- func (m *MockObjectTree) GetChange(arg0 string) (*objecttree.Change, error)
- func (m *MockObjectTree) HasChanges(arg0 ...string) bool
- func (m *MockObjectTree) Header() *treechangeproto.RawTreeChangeWithId
- func (m *MockObjectTree) Heads() []string
- func (m *MockObjectTree) Id() string
- func (m *MockObjectTree) IsDerived() bool
- func (m *MockObjectTree) IterateFrom(arg0 string, arg1 func(*objecttree.Change, []byte) (any, error), ...) error
- func (m *MockObjectTree) IterateRoot(arg0 func(*objecttree.Change, []byte) (any, error), ...) error
- func (m *MockObjectTree) Len() int
- func (m *MockObjectTree) Lock()
- func (m *MockObjectTree) PrepareChange(arg0 objecttree.SignableChangeContent) (*treechangeproto.RawTreeChangeWithId, error)
- func (m *MockObjectTree) Root() *objecttree.Change
- func (m *MockObjectTree) SnapshotPath() []string
- func (m *MockObjectTree) Storage() treestorage.TreeStorage
- func (m *MockObjectTree) TryClose(arg0 time.Duration) (bool, error)
- func (m *MockObjectTree) TryLock() bool
- func (m *MockObjectTree) Unlock()
- func (m *MockObjectTree) UnmarshalledHeader() *objecttree.Change
- func (m *MockObjectTree) UnpackChange(arg0 *treechangeproto.RawTreeChangeWithId) ([]byte, error)
- type MockObjectTreeMockRecorder
- func (mr *MockObjectTreeMockRecorder) AclList() *gomock.Call
- func (mr *MockObjectTreeMockRecorder) AddContent(arg0, arg1 any) *gomock.Call
- func (mr *MockObjectTreeMockRecorder) AddRawChanges(arg0, arg1 any) *gomock.Call
- func (mr *MockObjectTreeMockRecorder) ChangeInfo() *gomock.Call
- func (mr *MockObjectTreeMockRecorder) ChangesAfterCommonSnapshot(arg0, arg1 any) *gomock.Call
- func (mr *MockObjectTreeMockRecorder) Close() *gomock.Call
- func (mr *MockObjectTreeMockRecorder) Debug(arg0 any) *gomock.Call
- func (mr *MockObjectTreeMockRecorder) Delete() *gomock.Call
- func (mr *MockObjectTreeMockRecorder) GetChange(arg0 any) *gomock.Call
- func (mr *MockObjectTreeMockRecorder) HasChanges(arg0 ...any) *gomock.Call
- func (mr *MockObjectTreeMockRecorder) Header() *gomock.Call
- func (mr *MockObjectTreeMockRecorder) Heads() *gomock.Call
- func (mr *MockObjectTreeMockRecorder) Id() *gomock.Call
- func (mr *MockObjectTreeMockRecorder) IsDerived() *gomock.Call
- func (mr *MockObjectTreeMockRecorder) IterateFrom(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockObjectTreeMockRecorder) IterateRoot(arg0, arg1 any) *gomock.Call
- func (mr *MockObjectTreeMockRecorder) Len() *gomock.Call
- func (mr *MockObjectTreeMockRecorder) Lock() *gomock.Call
- func (mr *MockObjectTreeMockRecorder) PrepareChange(arg0 any) *gomock.Call
- func (mr *MockObjectTreeMockRecorder) Root() *gomock.Call
- func (mr *MockObjectTreeMockRecorder) SnapshotPath() *gomock.Call
- func (mr *MockObjectTreeMockRecorder) Storage() *gomock.Call
- func (mr *MockObjectTreeMockRecorder) TryClose(arg0 any) *gomock.Call
- func (mr *MockObjectTreeMockRecorder) TryLock() *gomock.Call
- func (mr *MockObjectTreeMockRecorder) Unlock() *gomock.Call
- func (mr *MockObjectTreeMockRecorder) UnmarshalledHeader() *gomock.Call
- func (mr *MockObjectTreeMockRecorder) UnpackChange(arg0 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockObjectTree ¶
type MockObjectTree struct {
// contains filtered or unexported fields
}
MockObjectTree is a mock of ObjectTree interface.
func NewMockObjectTree ¶
func NewMockObjectTree(ctrl *gomock.Controller) *MockObjectTree
NewMockObjectTree creates a new mock instance.
func (*MockObjectTree) AclList ¶
func (m *MockObjectTree) AclList() list.AclList
AclList mocks base method.
func (*MockObjectTree) AddContent ¶
func (m *MockObjectTree) AddContent(arg0 context.Context, arg1 objecttree.SignableChangeContent) (objecttree.AddResult, error)
AddContent mocks base method.
func (*MockObjectTree) AddRawChanges ¶
func (m *MockObjectTree) AddRawChanges(arg0 context.Context, arg1 objecttree.RawChangesPayload) (objecttree.AddResult, error)
AddRawChanges mocks base method.
func (*MockObjectTree) ChangeInfo ¶
func (m *MockObjectTree) ChangeInfo() *treechangeproto.TreeChangeInfo
ChangeInfo mocks base method.
func (*MockObjectTree) ChangesAfterCommonSnapshot ¶
func (m *MockObjectTree) ChangesAfterCommonSnapshot(arg0, arg1 []string) ([]*treechangeproto.RawTreeChangeWithId, error)
ChangesAfterCommonSnapshot mocks base method.
func (*MockObjectTree) Debug ¶
func (m *MockObjectTree) Debug(arg0 objecttree.DescriptionParser) (objecttree.DebugInfo, error)
Debug mocks base method.
func (*MockObjectTree) EXPECT ¶
func (m *MockObjectTree) EXPECT() *MockObjectTreeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockObjectTree) GetChange ¶
func (m *MockObjectTree) GetChange(arg0 string) (*objecttree.Change, error)
GetChange mocks base method.
func (*MockObjectTree) HasChanges ¶
func (m *MockObjectTree) HasChanges(arg0 ...string) bool
HasChanges mocks base method.
func (*MockObjectTree) Header ¶
func (m *MockObjectTree) Header() *treechangeproto.RawTreeChangeWithId
Header mocks base method.
func (*MockObjectTree) IsDerived ¶ added in v0.3.2
func (m *MockObjectTree) IsDerived() bool
IsDerived mocks base method.
func (*MockObjectTree) IterateFrom ¶
func (m *MockObjectTree) IterateFrom(arg0 string, arg1 func(*objecttree.Change, []byte) (any, error), arg2 func(*objecttree.Change) bool) error
IterateFrom mocks base method.
func (*MockObjectTree) IterateRoot ¶
func (m *MockObjectTree) IterateRoot(arg0 func(*objecttree.Change, []byte) (any, error), arg1 func(*objecttree.Change) bool) error
IterateRoot mocks base method.
func (*MockObjectTree) PrepareChange ¶
func (m *MockObjectTree) PrepareChange(arg0 objecttree.SignableChangeContent) (*treechangeproto.RawTreeChangeWithId, error)
PrepareChange mocks base method.
func (*MockObjectTree) Root ¶
func (m *MockObjectTree) Root() *objecttree.Change
Root mocks base method.
func (*MockObjectTree) SnapshotPath ¶
func (m *MockObjectTree) SnapshotPath() []string
SnapshotPath mocks base method.
func (*MockObjectTree) Storage ¶
func (m *MockObjectTree) Storage() treestorage.TreeStorage
Storage mocks base method.
func (*MockObjectTree) TryClose ¶
func (m *MockObjectTree) TryClose(arg0 time.Duration) (bool, error)
TryClose mocks base method.
func (*MockObjectTree) UnmarshalledHeader ¶
func (m *MockObjectTree) UnmarshalledHeader() *objecttree.Change
UnmarshalledHeader mocks base method.
func (*MockObjectTree) UnpackChange ¶
func (m *MockObjectTree) UnpackChange(arg0 *treechangeproto.RawTreeChangeWithId) ([]byte, error)
UnpackChange mocks base method.
type MockObjectTreeMockRecorder ¶
type MockObjectTreeMockRecorder struct {
// contains filtered or unexported fields
}
MockObjectTreeMockRecorder is the mock recorder for MockObjectTree.
func (*MockObjectTreeMockRecorder) AclList ¶
func (mr *MockObjectTreeMockRecorder) AclList() *gomock.Call
AclList indicates an expected call of AclList.
func (*MockObjectTreeMockRecorder) AddContent ¶
func (mr *MockObjectTreeMockRecorder) AddContent(arg0, arg1 any) *gomock.Call
AddContent indicates an expected call of AddContent.
func (*MockObjectTreeMockRecorder) AddRawChanges ¶
func (mr *MockObjectTreeMockRecorder) AddRawChanges(arg0, arg1 any) *gomock.Call
AddRawChanges indicates an expected call of AddRawChanges.
func (*MockObjectTreeMockRecorder) ChangeInfo ¶
func (mr *MockObjectTreeMockRecorder) ChangeInfo() *gomock.Call
ChangeInfo indicates an expected call of ChangeInfo.
func (*MockObjectTreeMockRecorder) ChangesAfterCommonSnapshot ¶
func (mr *MockObjectTreeMockRecorder) ChangesAfterCommonSnapshot(arg0, arg1 any) *gomock.Call
ChangesAfterCommonSnapshot indicates an expected call of ChangesAfterCommonSnapshot.
func (*MockObjectTreeMockRecorder) Close ¶
func (mr *MockObjectTreeMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockObjectTreeMockRecorder) Debug ¶
func (mr *MockObjectTreeMockRecorder) Debug(arg0 any) *gomock.Call
Debug indicates an expected call of Debug.
func (*MockObjectTreeMockRecorder) Delete ¶
func (mr *MockObjectTreeMockRecorder) Delete() *gomock.Call
Delete indicates an expected call of Delete.
func (*MockObjectTreeMockRecorder) GetChange ¶
func (mr *MockObjectTreeMockRecorder) GetChange(arg0 any) *gomock.Call
GetChange indicates an expected call of GetChange.
func (*MockObjectTreeMockRecorder) HasChanges ¶
func (mr *MockObjectTreeMockRecorder) HasChanges(arg0 ...any) *gomock.Call
HasChanges indicates an expected call of HasChanges.
func (*MockObjectTreeMockRecorder) Header ¶
func (mr *MockObjectTreeMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockObjectTreeMockRecorder) Heads ¶
func (mr *MockObjectTreeMockRecorder) Heads() *gomock.Call
Heads indicates an expected call of Heads.
func (*MockObjectTreeMockRecorder) Id ¶
func (mr *MockObjectTreeMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id.
func (*MockObjectTreeMockRecorder) IsDerived ¶ added in v0.3.2
func (mr *MockObjectTreeMockRecorder) IsDerived() *gomock.Call
IsDerived indicates an expected call of IsDerived.
func (*MockObjectTreeMockRecorder) IterateFrom ¶
func (mr *MockObjectTreeMockRecorder) IterateFrom(arg0, arg1, arg2 any) *gomock.Call
IterateFrom indicates an expected call of IterateFrom.
func (*MockObjectTreeMockRecorder) IterateRoot ¶
func (mr *MockObjectTreeMockRecorder) IterateRoot(arg0, arg1 any) *gomock.Call
IterateRoot indicates an expected call of IterateRoot.
func (*MockObjectTreeMockRecorder) Len ¶
func (mr *MockObjectTreeMockRecorder) Len() *gomock.Call
Len indicates an expected call of Len.
func (*MockObjectTreeMockRecorder) Lock ¶
func (mr *MockObjectTreeMockRecorder) Lock() *gomock.Call
Lock indicates an expected call of Lock.
func (*MockObjectTreeMockRecorder) PrepareChange ¶
func (mr *MockObjectTreeMockRecorder) PrepareChange(arg0 any) *gomock.Call
PrepareChange indicates an expected call of PrepareChange.
func (*MockObjectTreeMockRecorder) Root ¶
func (mr *MockObjectTreeMockRecorder) Root() *gomock.Call
Root indicates an expected call of Root.
func (*MockObjectTreeMockRecorder) SnapshotPath ¶
func (mr *MockObjectTreeMockRecorder) SnapshotPath() *gomock.Call
SnapshotPath indicates an expected call of SnapshotPath.
func (*MockObjectTreeMockRecorder) Storage ¶
func (mr *MockObjectTreeMockRecorder) Storage() *gomock.Call
Storage indicates an expected call of Storage.
func (*MockObjectTreeMockRecorder) TryClose ¶
func (mr *MockObjectTreeMockRecorder) TryClose(arg0 any) *gomock.Call
TryClose indicates an expected call of TryClose.
func (*MockObjectTreeMockRecorder) TryLock ¶
func (mr *MockObjectTreeMockRecorder) TryLock() *gomock.Call
TryLock indicates an expected call of TryLock.
func (*MockObjectTreeMockRecorder) Unlock ¶
func (mr *MockObjectTreeMockRecorder) Unlock() *gomock.Call
Unlock indicates an expected call of Unlock.
func (*MockObjectTreeMockRecorder) UnmarshalledHeader ¶
func (mr *MockObjectTreeMockRecorder) UnmarshalledHeader() *gomock.Call
UnmarshalledHeader indicates an expected call of UnmarshalledHeader.
func (*MockObjectTreeMockRecorder) UnpackChange ¶
func (mr *MockObjectTreeMockRecorder) UnpackChange(arg0 any) *gomock.Call
UnpackChange indicates an expected call of UnpackChange.