Documentation ¶
Index ¶
- type Tree
- func (_m *Tree) BuildSpaceIDIndexEntry(spaceID string, nodeID string) string
- func (_m *Tree) CreateDir(ctx context.Context, _a1 *node.Node) error
- func (_m *Tree) Delete(ctx context.Context, _a1 *node.Node) error
- func (_m *Tree) DeleteBlob(_a0 *node.Node) error
- func (_m *Tree) EXPECT() *Tree_Expecter
- func (_m *Tree) GetMD(ctx context.Context, _a1 *node.Node) (fs.FileInfo, error)
- func (_m *Tree) InitNewNode(ctx context.Context, n *node.Node, fsize uint64) (metadata.UnlockFunc, error)
- func (_m *Tree) ListFolder(ctx context.Context, _a1 *node.Node) ([]*node.Node, error)
- func (_m *Tree) Move(ctx context.Context, oldNode *node.Node, newNode *node.Node) error
- func (_m *Tree) Propagate(ctx context.Context, _a1 *node.Node, sizeDiff int64) error
- func (_m *Tree) PurgeRecycleItemFunc(ctx context.Context, spaceid string, key string, purgePath string) (*node.Node, func() error, error)
- func (_m *Tree) ReadBlob(_a0 *node.Node) (io.ReadCloser, error)
- func (_m *Tree) ResolveSpaceIDIndexEntry(spaceID string, entry string) (string, string, error)
- func (_m *Tree) RestoreRecycleItemFunc(ctx context.Context, spaceid string, key string, trashPath string, ...) (*node.Node, *node.Node, func() error, error)
- func (_m *Tree) Setup() error
- func (_m *Tree) TouchFile(ctx context.Context, _a1 *node.Node, markprocessing bool, mtime string) error
- func (_m *Tree) WriteBlob(_a0 *node.Node, source string) error
- type Tree_BuildSpaceIDIndexEntry_Call
- func (_c *Tree_BuildSpaceIDIndexEntry_Call) Return(_a0 string) *Tree_BuildSpaceIDIndexEntry_Call
- func (_c *Tree_BuildSpaceIDIndexEntry_Call) Run(run func(spaceID string, nodeID string)) *Tree_BuildSpaceIDIndexEntry_Call
- func (_c *Tree_BuildSpaceIDIndexEntry_Call) RunAndReturn(run func(string, string) string) *Tree_BuildSpaceIDIndexEntry_Call
- type Tree_CreateDir_Call
- type Tree_DeleteBlob_Call
- type Tree_Delete_Call
- type Tree_Expecter
- func (_e *Tree_Expecter) BuildSpaceIDIndexEntry(spaceID interface{}, nodeID interface{}) *Tree_BuildSpaceIDIndexEntry_Call
- func (_e *Tree_Expecter) CreateDir(ctx interface{}, _a1 interface{}) *Tree_CreateDir_Call
- func (_e *Tree_Expecter) Delete(ctx interface{}, _a1 interface{}) *Tree_Delete_Call
- func (_e *Tree_Expecter) DeleteBlob(_a0 interface{}) *Tree_DeleteBlob_Call
- func (_e *Tree_Expecter) GetMD(ctx interface{}, _a1 interface{}) *Tree_GetMD_Call
- func (_e *Tree_Expecter) InitNewNode(ctx interface{}, n interface{}, fsize interface{}) *Tree_InitNewNode_Call
- func (_e *Tree_Expecter) ListFolder(ctx interface{}, _a1 interface{}) *Tree_ListFolder_Call
- func (_e *Tree_Expecter) Move(ctx interface{}, oldNode interface{}, newNode interface{}) *Tree_Move_Call
- func (_e *Tree_Expecter) Propagate(ctx interface{}, _a1 interface{}, sizeDiff interface{}) *Tree_Propagate_Call
- func (_e *Tree_Expecter) PurgeRecycleItemFunc(ctx interface{}, spaceid interface{}, key interface{}, purgePath interface{}) *Tree_PurgeRecycleItemFunc_Call
- func (_e *Tree_Expecter) ReadBlob(_a0 interface{}) *Tree_ReadBlob_Call
- func (_e *Tree_Expecter) ResolveSpaceIDIndexEntry(spaceID interface{}, entry interface{}) *Tree_ResolveSpaceIDIndexEntry_Call
- func (_e *Tree_Expecter) RestoreRecycleItemFunc(ctx interface{}, spaceid interface{}, key interface{}, trashPath interface{}, ...) *Tree_RestoreRecycleItemFunc_Call
- func (_e *Tree_Expecter) Setup() *Tree_Setup_Call
- func (_e *Tree_Expecter) TouchFile(ctx interface{}, _a1 interface{}, markprocessing interface{}, ...) *Tree_TouchFile_Call
- func (_e *Tree_Expecter) WriteBlob(_a0 interface{}, source interface{}) *Tree_WriteBlob_Call
- type Tree_GetMD_Call
- type Tree_InitNewNode_Call
- func (_c *Tree_InitNewNode_Call) Return(_a0 metadata.UnlockFunc, _a1 error) *Tree_InitNewNode_Call
- func (_c *Tree_InitNewNode_Call) Run(run func(ctx context.Context, n *node.Node, fsize uint64)) *Tree_InitNewNode_Call
- func (_c *Tree_InitNewNode_Call) RunAndReturn(run func(context.Context, *node.Node, uint64) (metadata.UnlockFunc, error)) *Tree_InitNewNode_Call
- type Tree_ListFolder_Call
- func (_c *Tree_ListFolder_Call) Return(_a0 []*node.Node, _a1 error) *Tree_ListFolder_Call
- func (_c *Tree_ListFolder_Call) Run(run func(ctx context.Context, _a1 *node.Node)) *Tree_ListFolder_Call
- func (_c *Tree_ListFolder_Call) RunAndReturn(run func(context.Context, *node.Node) ([]*node.Node, error)) *Tree_ListFolder_Call
- type Tree_Move_Call
- type Tree_Propagate_Call
- func (_c *Tree_Propagate_Call) Return(err error) *Tree_Propagate_Call
- func (_c *Tree_Propagate_Call) Run(run func(ctx context.Context, _a1 *node.Node, sizeDiff int64)) *Tree_Propagate_Call
- func (_c *Tree_Propagate_Call) RunAndReturn(run func(context.Context, *node.Node, int64) error) *Tree_Propagate_Call
- type Tree_PurgeRecycleItemFunc_Call
- func (_c *Tree_PurgeRecycleItemFunc_Call) Return(_a0 *node.Node, _a1 func() error, _a2 error) *Tree_PurgeRecycleItemFunc_Call
- func (_c *Tree_PurgeRecycleItemFunc_Call) Run(run func(ctx context.Context, spaceid string, key string, purgePath string)) *Tree_PurgeRecycleItemFunc_Call
- func (_c *Tree_PurgeRecycleItemFunc_Call) RunAndReturn(...) *Tree_PurgeRecycleItemFunc_Call
- type Tree_ReadBlob_Call
- type Tree_ResolveSpaceIDIndexEntry_Call
- func (_c *Tree_ResolveSpaceIDIndexEntry_Call) Return(_a0 string, _a1 string, _a2 error) *Tree_ResolveSpaceIDIndexEntry_Call
- func (_c *Tree_ResolveSpaceIDIndexEntry_Call) Run(run func(spaceID string, entry string)) *Tree_ResolveSpaceIDIndexEntry_Call
- func (_c *Tree_ResolveSpaceIDIndexEntry_Call) RunAndReturn(run func(string, string) (string, string, error)) *Tree_ResolveSpaceIDIndexEntry_Call
- type Tree_RestoreRecycleItemFunc_Call
- func (_c *Tree_RestoreRecycleItemFunc_Call) Return(_a0 *node.Node, _a1 *node.Node, _a2 func() error, _a3 error) *Tree_RestoreRecycleItemFunc_Call
- func (_c *Tree_RestoreRecycleItemFunc_Call) Run(...) *Tree_RestoreRecycleItemFunc_Call
- func (_c *Tree_RestoreRecycleItemFunc_Call) RunAndReturn(...) *Tree_RestoreRecycleItemFunc_Call
- type Tree_Setup_Call
- type Tree_TouchFile_Call
- type Tree_WriteBlob_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tree ¶
Tree is an autogenerated mock type for the Tree type
func NewTree ¶
NewTree creates a new instance of Tree. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Tree) BuildSpaceIDIndexEntry ¶ added in v2.20.0
BuildSpaceIDIndexEntry provides a mock function with given fields: spaceID, nodeID
func (*Tree) DeleteBlob ¶
DeleteBlob provides a mock function with given fields: _a0
func (*Tree) EXPECT ¶ added in v2.19.6
func (_m *Tree) EXPECT() *Tree_Expecter
func (*Tree) InitNewNode ¶ added in v2.20.0
func (_m *Tree) InitNewNode(ctx context.Context, n *node.Node, fsize uint64) (metadata.UnlockFunc, error)
InitNewNode provides a mock function with given fields: ctx, n, fsize
func (*Tree) ListFolder ¶
ListFolder provides a mock function with given fields: ctx, _a1
func (*Tree) PurgeRecycleItemFunc ¶
func (_m *Tree) PurgeRecycleItemFunc(ctx context.Context, spaceid string, key string, purgePath string) (*node.Node, func() error, error)
PurgeRecycleItemFunc provides a mock function with given fields: ctx, spaceid, key, purgePath
func (*Tree) ResolveSpaceIDIndexEntry ¶ added in v2.20.0
ResolveSpaceIDIndexEntry provides a mock function with given fields: spaceID, entry
func (*Tree) RestoreRecycleItemFunc ¶
func (_m *Tree) RestoreRecycleItemFunc(ctx context.Context, spaceid string, key string, trashPath string, target *node.Node) (*node.Node, *node.Node, func() error, error)
RestoreRecycleItemFunc provides a mock function with given fields: ctx, spaceid, key, trashPath, target
type Tree_BuildSpaceIDIndexEntry_Call ¶ added in v2.20.0
Tree_BuildSpaceIDIndexEntry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BuildSpaceIDIndexEntry'
func (*Tree_BuildSpaceIDIndexEntry_Call) Return ¶ added in v2.20.0
func (_c *Tree_BuildSpaceIDIndexEntry_Call) Return(_a0 string) *Tree_BuildSpaceIDIndexEntry_Call
func (*Tree_BuildSpaceIDIndexEntry_Call) Run ¶ added in v2.20.0
func (_c *Tree_BuildSpaceIDIndexEntry_Call) Run(run func(spaceID string, nodeID string)) *Tree_BuildSpaceIDIndexEntry_Call
func (*Tree_BuildSpaceIDIndexEntry_Call) RunAndReturn ¶ added in v2.20.0
func (_c *Tree_BuildSpaceIDIndexEntry_Call) RunAndReturn(run func(string, string) string) *Tree_BuildSpaceIDIndexEntry_Call
type Tree_CreateDir_Call ¶ added in v2.19.6
Tree_CreateDir_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateDir'
func (*Tree_CreateDir_Call) Return ¶ added in v2.19.6
func (_c *Tree_CreateDir_Call) Return(err error) *Tree_CreateDir_Call
func (*Tree_CreateDir_Call) Run ¶ added in v2.19.6
func (_c *Tree_CreateDir_Call) Run(run func(ctx context.Context, _a1 *node.Node)) *Tree_CreateDir_Call
func (*Tree_CreateDir_Call) RunAndReturn ¶ added in v2.19.6
func (_c *Tree_CreateDir_Call) RunAndReturn(run func(context.Context, *node.Node) error) *Tree_CreateDir_Call
type Tree_DeleteBlob_Call ¶ added in v2.19.6
Tree_DeleteBlob_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteBlob'
func (*Tree_DeleteBlob_Call) Return ¶ added in v2.19.6
func (_c *Tree_DeleteBlob_Call) Return(_a0 error) *Tree_DeleteBlob_Call
func (*Tree_DeleteBlob_Call) Run ¶ added in v2.19.6
func (_c *Tree_DeleteBlob_Call) Run(run func(_a0 *node.Node)) *Tree_DeleteBlob_Call
func (*Tree_DeleteBlob_Call) RunAndReturn ¶ added in v2.19.6
func (_c *Tree_DeleteBlob_Call) RunAndReturn(run func(*node.Node) error) *Tree_DeleteBlob_Call
type Tree_Delete_Call ¶ added in v2.19.6
Tree_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Tree_Delete_Call) Return ¶ added in v2.19.6
func (_c *Tree_Delete_Call) Return(err error) *Tree_Delete_Call
func (*Tree_Delete_Call) Run ¶ added in v2.19.6
func (_c *Tree_Delete_Call) Run(run func(ctx context.Context, _a1 *node.Node)) *Tree_Delete_Call
func (*Tree_Delete_Call) RunAndReturn ¶ added in v2.19.6
func (_c *Tree_Delete_Call) RunAndReturn(run func(context.Context, *node.Node) error) *Tree_Delete_Call
type Tree_Expecter ¶ added in v2.19.6
type Tree_Expecter struct {
// contains filtered or unexported fields
}
func (*Tree_Expecter) BuildSpaceIDIndexEntry ¶ added in v2.20.0
func (_e *Tree_Expecter) BuildSpaceIDIndexEntry(spaceID interface{}, nodeID interface{}) *Tree_BuildSpaceIDIndexEntry_Call
BuildSpaceIDIndexEntry is a helper method to define mock.On call
- spaceID string
- nodeID string
func (*Tree_Expecter) CreateDir ¶ added in v2.19.6
func (_e *Tree_Expecter) CreateDir(ctx interface{}, _a1 interface{}) *Tree_CreateDir_Call
CreateDir is a helper method to define mock.On call
- ctx context.Context
- _a1 *node.Node
func (*Tree_Expecter) Delete ¶ added in v2.19.6
func (_e *Tree_Expecter) Delete(ctx interface{}, _a1 interface{}) *Tree_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- _a1 *node.Node
func (*Tree_Expecter) DeleteBlob ¶ added in v2.19.6
func (_e *Tree_Expecter) DeleteBlob(_a0 interface{}) *Tree_DeleteBlob_Call
DeleteBlob is a helper method to define mock.On call
- _a0 *node.Node
func (*Tree_Expecter) GetMD ¶ added in v2.19.6
func (_e *Tree_Expecter) GetMD(ctx interface{}, _a1 interface{}) *Tree_GetMD_Call
GetMD is a helper method to define mock.On call
- ctx context.Context
- _a1 *node.Node
func (*Tree_Expecter) InitNewNode ¶ added in v2.20.0
func (_e *Tree_Expecter) InitNewNode(ctx interface{}, n interface{}, fsize interface{}) *Tree_InitNewNode_Call
InitNewNode is a helper method to define mock.On call
- ctx context.Context
- n *node.Node
- fsize uint64
func (*Tree_Expecter) ListFolder ¶ added in v2.19.6
func (_e *Tree_Expecter) ListFolder(ctx interface{}, _a1 interface{}) *Tree_ListFolder_Call
ListFolder is a helper method to define mock.On call
- ctx context.Context
- _a1 *node.Node
func (*Tree_Expecter) Move ¶ added in v2.19.6
func (_e *Tree_Expecter) Move(ctx interface{}, oldNode interface{}, newNode interface{}) *Tree_Move_Call
Move is a helper method to define mock.On call
- ctx context.Context
- oldNode *node.Node
- newNode *node.Node
func (*Tree_Expecter) Propagate ¶ added in v2.19.6
func (_e *Tree_Expecter) Propagate(ctx interface{}, _a1 interface{}, sizeDiff interface{}) *Tree_Propagate_Call
Propagate is a helper method to define mock.On call
- ctx context.Context
- _a1 *node.Node
- sizeDiff int64
func (*Tree_Expecter) PurgeRecycleItemFunc ¶ added in v2.19.6
func (_e *Tree_Expecter) PurgeRecycleItemFunc(ctx interface{}, spaceid interface{}, key interface{}, purgePath interface{}) *Tree_PurgeRecycleItemFunc_Call
PurgeRecycleItemFunc is a helper method to define mock.On call
- ctx context.Context
- spaceid string
- key string
- purgePath string
func (*Tree_Expecter) ReadBlob ¶ added in v2.19.6
func (_e *Tree_Expecter) ReadBlob(_a0 interface{}) *Tree_ReadBlob_Call
ReadBlob is a helper method to define mock.On call
- _a0 *node.Node
func (*Tree_Expecter) ResolveSpaceIDIndexEntry ¶ added in v2.20.0
func (_e *Tree_Expecter) ResolveSpaceIDIndexEntry(spaceID interface{}, entry interface{}) *Tree_ResolveSpaceIDIndexEntry_Call
ResolveSpaceIDIndexEntry is a helper method to define mock.On call
- spaceID string
- entry string
func (*Tree_Expecter) RestoreRecycleItemFunc ¶ added in v2.19.6
func (_e *Tree_Expecter) RestoreRecycleItemFunc(ctx interface{}, spaceid interface{}, key interface{}, trashPath interface{}, target interface{}) *Tree_RestoreRecycleItemFunc_Call
RestoreRecycleItemFunc is a helper method to define mock.On call
- ctx context.Context
- spaceid string
- key string
- trashPath string
- target *node.Node
func (*Tree_Expecter) Setup ¶ added in v2.19.6
func (_e *Tree_Expecter) Setup() *Tree_Setup_Call
Setup is a helper method to define mock.On call
func (*Tree_Expecter) TouchFile ¶ added in v2.19.6
func (_e *Tree_Expecter) TouchFile(ctx interface{}, _a1 interface{}, markprocessing interface{}, mtime interface{}) *Tree_TouchFile_Call
TouchFile is a helper method to define mock.On call
- ctx context.Context
- _a1 *node.Node
- markprocessing bool
- mtime string
func (*Tree_Expecter) WriteBlob ¶ added in v2.19.6
func (_e *Tree_Expecter) WriteBlob(_a0 interface{}, source interface{}) *Tree_WriteBlob_Call
WriteBlob is a helper method to define mock.On call
- _a0 *node.Node
- source string
type Tree_GetMD_Call ¶ added in v2.19.6
Tree_GetMD_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMD'
func (*Tree_GetMD_Call) Return ¶ added in v2.19.6
func (_c *Tree_GetMD_Call) Return(_a0 fs.FileInfo, _a1 error) *Tree_GetMD_Call
func (*Tree_GetMD_Call) Run ¶ added in v2.19.6
func (_c *Tree_GetMD_Call) Run(run func(ctx context.Context, _a1 *node.Node)) *Tree_GetMD_Call
func (*Tree_GetMD_Call) RunAndReturn ¶ added in v2.19.6
func (_c *Tree_GetMD_Call) RunAndReturn(run func(context.Context, *node.Node) (fs.FileInfo, error)) *Tree_GetMD_Call
type Tree_InitNewNode_Call ¶ added in v2.20.0
Tree_InitNewNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InitNewNode'
func (*Tree_InitNewNode_Call) Return ¶ added in v2.20.0
func (_c *Tree_InitNewNode_Call) Return(_a0 metadata.UnlockFunc, _a1 error) *Tree_InitNewNode_Call
func (*Tree_InitNewNode_Call) Run ¶ added in v2.20.0
func (_c *Tree_InitNewNode_Call) Run(run func(ctx context.Context, n *node.Node, fsize uint64)) *Tree_InitNewNode_Call
func (*Tree_InitNewNode_Call) RunAndReturn ¶ added in v2.20.0
func (_c *Tree_InitNewNode_Call) RunAndReturn(run func(context.Context, *node.Node, uint64) (metadata.UnlockFunc, error)) *Tree_InitNewNode_Call
type Tree_ListFolder_Call ¶ added in v2.19.6
Tree_ListFolder_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListFolder'
func (*Tree_ListFolder_Call) Return ¶ added in v2.19.6
func (_c *Tree_ListFolder_Call) Return(_a0 []*node.Node, _a1 error) *Tree_ListFolder_Call
func (*Tree_ListFolder_Call) Run ¶ added in v2.19.6
func (_c *Tree_ListFolder_Call) Run(run func(ctx context.Context, _a1 *node.Node)) *Tree_ListFolder_Call
func (*Tree_ListFolder_Call) RunAndReturn ¶ added in v2.19.6
func (_c *Tree_ListFolder_Call) RunAndReturn(run func(context.Context, *node.Node) ([]*node.Node, error)) *Tree_ListFolder_Call
type Tree_Move_Call ¶ added in v2.19.6
Tree_Move_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Move'
func (*Tree_Move_Call) Return ¶ added in v2.19.6
func (_c *Tree_Move_Call) Return(err error) *Tree_Move_Call
func (*Tree_Move_Call) Run ¶ added in v2.19.6
func (_c *Tree_Move_Call) Run(run func(ctx context.Context, oldNode *node.Node, newNode *node.Node)) *Tree_Move_Call
func (*Tree_Move_Call) RunAndReturn ¶ added in v2.19.6
func (_c *Tree_Move_Call) RunAndReturn(run func(context.Context, *node.Node, *node.Node) error) *Tree_Move_Call
type Tree_Propagate_Call ¶ added in v2.19.6
Tree_Propagate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Propagate'
func (*Tree_Propagate_Call) Return ¶ added in v2.19.6
func (_c *Tree_Propagate_Call) Return(err error) *Tree_Propagate_Call
func (*Tree_Propagate_Call) Run ¶ added in v2.19.6
func (_c *Tree_Propagate_Call) Run(run func(ctx context.Context, _a1 *node.Node, sizeDiff int64)) *Tree_Propagate_Call
func (*Tree_Propagate_Call) RunAndReturn ¶ added in v2.19.6
func (_c *Tree_Propagate_Call) RunAndReturn(run func(context.Context, *node.Node, int64) error) *Tree_Propagate_Call
type Tree_PurgeRecycleItemFunc_Call ¶ added in v2.19.6
Tree_PurgeRecycleItemFunc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PurgeRecycleItemFunc'
func (*Tree_PurgeRecycleItemFunc_Call) Return ¶ added in v2.19.6
func (_c *Tree_PurgeRecycleItemFunc_Call) Return(_a0 *node.Node, _a1 func() error, _a2 error) *Tree_PurgeRecycleItemFunc_Call
func (*Tree_PurgeRecycleItemFunc_Call) Run ¶ added in v2.19.6
func (_c *Tree_PurgeRecycleItemFunc_Call) Run(run func(ctx context.Context, spaceid string, key string, purgePath string)) *Tree_PurgeRecycleItemFunc_Call
func (*Tree_PurgeRecycleItemFunc_Call) RunAndReturn ¶ added in v2.19.6
type Tree_ReadBlob_Call ¶ added in v2.19.6
Tree_ReadBlob_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadBlob'
func (*Tree_ReadBlob_Call) Return ¶ added in v2.19.6
func (_c *Tree_ReadBlob_Call) Return(_a0 io.ReadCloser, _a1 error) *Tree_ReadBlob_Call
func (*Tree_ReadBlob_Call) Run ¶ added in v2.19.6
func (_c *Tree_ReadBlob_Call) Run(run func(_a0 *node.Node)) *Tree_ReadBlob_Call
func (*Tree_ReadBlob_Call) RunAndReturn ¶ added in v2.19.6
func (_c *Tree_ReadBlob_Call) RunAndReturn(run func(*node.Node) (io.ReadCloser, error)) *Tree_ReadBlob_Call
type Tree_ResolveSpaceIDIndexEntry_Call ¶ added in v2.20.0
Tree_ResolveSpaceIDIndexEntry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResolveSpaceIDIndexEntry'
func (*Tree_ResolveSpaceIDIndexEntry_Call) Return ¶ added in v2.20.0
func (_c *Tree_ResolveSpaceIDIndexEntry_Call) Return(_a0 string, _a1 string, _a2 error) *Tree_ResolveSpaceIDIndexEntry_Call
func (*Tree_ResolveSpaceIDIndexEntry_Call) Run ¶ added in v2.20.0
func (_c *Tree_ResolveSpaceIDIndexEntry_Call) Run(run func(spaceID string, entry string)) *Tree_ResolveSpaceIDIndexEntry_Call
func (*Tree_ResolveSpaceIDIndexEntry_Call) RunAndReturn ¶ added in v2.20.0
func (_c *Tree_ResolveSpaceIDIndexEntry_Call) RunAndReturn(run func(string, string) (string, string, error)) *Tree_ResolveSpaceIDIndexEntry_Call
type Tree_RestoreRecycleItemFunc_Call ¶ added in v2.19.6
Tree_RestoreRecycleItemFunc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RestoreRecycleItemFunc'
func (*Tree_RestoreRecycleItemFunc_Call) Return ¶ added in v2.19.6
func (_c *Tree_RestoreRecycleItemFunc_Call) Return(_a0 *node.Node, _a1 *node.Node, _a2 func() error, _a3 error) *Tree_RestoreRecycleItemFunc_Call
type Tree_Setup_Call ¶ added in v2.19.6
Tree_Setup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Setup'
func (*Tree_Setup_Call) Return ¶ added in v2.19.6
func (_c *Tree_Setup_Call) Return(_a0 error) *Tree_Setup_Call
func (*Tree_Setup_Call) Run ¶ added in v2.19.6
func (_c *Tree_Setup_Call) Run(run func()) *Tree_Setup_Call
func (*Tree_Setup_Call) RunAndReturn ¶ added in v2.19.6
func (_c *Tree_Setup_Call) RunAndReturn(run func() error) *Tree_Setup_Call
type Tree_TouchFile_Call ¶ added in v2.19.6
Tree_TouchFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TouchFile'
func (*Tree_TouchFile_Call) Return ¶ added in v2.19.6
func (_c *Tree_TouchFile_Call) Return(_a0 error) *Tree_TouchFile_Call
func (*Tree_TouchFile_Call) Run ¶ added in v2.19.6
func (_c *Tree_TouchFile_Call) Run(run func(ctx context.Context, _a1 *node.Node, markprocessing bool, mtime string)) *Tree_TouchFile_Call
func (*Tree_TouchFile_Call) RunAndReturn ¶ added in v2.19.6
func (_c *Tree_TouchFile_Call) RunAndReturn(run func(context.Context, *node.Node, bool, string) error) *Tree_TouchFile_Call
type Tree_WriteBlob_Call ¶ added in v2.19.6
Tree_WriteBlob_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteBlob'
func (*Tree_WriteBlob_Call) Return ¶ added in v2.19.6
func (_c *Tree_WriteBlob_Call) Return(_a0 error) *Tree_WriteBlob_Call
func (*Tree_WriteBlob_Call) Run ¶ added in v2.19.6
func (_c *Tree_WriteBlob_Call) Run(run func(_a0 *node.Node, source string)) *Tree_WriteBlob_Call
func (*Tree_WriteBlob_Call) RunAndReturn ¶ added in v2.19.6
func (_c *Tree_WriteBlob_Call) RunAndReturn(run func(*node.Node, string) error) *Tree_WriteBlob_Call