Documentation ¶
Index ¶
- type PermissionsChecker
- type Tree
- 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(key string) error
- func (_m *Tree) GetMD(ctx context.Context, _a1 *node.Node) (os.FileInfo, error)
- func (_m *Tree) GetPathByID(ctx context.Context, id *providerv1beta1.Reference) (string, 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) error
- func (_m *Tree) PurgeRecycleItemFunc(ctx context.Context, key string) (*node.Node, func() error, error)
- func (_m *Tree) ReadBlob(key string) (io.ReadCloser, error)
- func (_m *Tree) RestoreRecycleItemFunc(ctx context.Context, key string) (*node.Node, func() error, error)
- func (_m *Tree) Setup(owner string) error
- func (_m *Tree) WriteBlob(key string, reader io.Reader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PermissionsChecker ¶
PermissionsChecker is an autogenerated mock type for the PermissionsChecker type
func (*PermissionsChecker) AssemblePermissions ¶
func (_m *PermissionsChecker) AssemblePermissions(ctx context.Context, n *node.Node) (providerv1beta1.ResourcePermissions, error)
AssemblePermissions provides a mock function with given fields: ctx, n
func (*PermissionsChecker) HasPermission ¶
func (_m *PermissionsChecker) HasPermission(ctx context.Context, n *node.Node, check func(*providerv1beta1.ResourcePermissions) bool) (bool, error)
HasPermission provides a mock function with given fields: ctx, n, check
type Tree ¶
Tree is an autogenerated mock type for the Tree type
func (*Tree) DeleteBlob ¶
DeleteBlob provides a mock function with given fields: key
func (*Tree) GetPathByID ¶
GetPathByID provides a mock function with given fields: ctx, id
func (*Tree) ListFolder ¶
ListFolder provides a mock function with given fields: ctx, _a1
func (*Tree) PurgeRecycleItemFunc ¶
func (_m *Tree) PurgeRecycleItemFunc(ctx context.Context, key string) (*node.Node, func() error, error)
PurgeRecycleItemFunc provides a mock function with given fields: ctx, key
func (*Tree) ReadBlob ¶
func (_m *Tree) ReadBlob(key string) (io.ReadCloser, error)
ReadBlob provides a mock function with given fields: key
func (*Tree) RestoreRecycleItemFunc ¶
func (_m *Tree) RestoreRecycleItemFunc(ctx context.Context, key string) (*node.Node, func() error, error)
RestoreRecycleItemFunc provides a mock function with given fields: ctx, key