Documentation ¶
Index ¶
- type GetNodeByPathResponseInfoWrapper
- type GetSubTreeResponseBodyWrapper
- type PoolWrapper
- func (w *PoolWrapper) AddNode(ctx context.Context, bktInfo *data.BucketInfo, treeID string, parent uint64, ...) (uint64, error)
- func (w *PoolWrapper) AddNodeByPath(ctx context.Context, bktInfo *data.BucketInfo, treeID string, path []string, ...) (uint64, error)
- func (w *PoolWrapper) GetNodes(ctx context.Context, prm *tree.GetNodesParams) ([]tree.NodeResponse, error)
- func (w *PoolWrapper) GetSubTree(ctx context.Context, bktInfo *data.BucketInfo, treeID string, rootID []uint64, ...) ([]tree.NodeResponse, error)
- func (w *PoolWrapper) GetSubTreeStream(ctx context.Context, bktInfo *data.BucketInfo, treeID string, rootID []uint64, ...) (tree.SubTreeStream, error)
- func (w *PoolWrapper) MoveNode(ctx context.Context, bktInfo *data.BucketInfo, treeID string, ...) error
- func (w *PoolWrapper) RemoveNode(ctx context.Context, bktInfo *data.BucketInfo, treeID string, nodeID uint64) error
- type SubTreeStreamImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetNodeByPathResponseInfoWrapper ¶
type GetNodeByPathResponseInfoWrapper struct {
// contains filtered or unexported fields
}
func (GetNodeByPathResponseInfoWrapper) GetMeta ¶
func (n GetNodeByPathResponseInfoWrapper) GetMeta() []tree.Meta
func (GetNodeByPathResponseInfoWrapper) GetNodeID ¶
func (n GetNodeByPathResponseInfoWrapper) GetNodeID() []uint64
func (GetNodeByPathResponseInfoWrapper) GetParentID ¶
func (n GetNodeByPathResponseInfoWrapper) GetParentID() []uint64
func (GetNodeByPathResponseInfoWrapper) GetTimestamp ¶
func (n GetNodeByPathResponseInfoWrapper) GetTimestamp() []uint64
type GetSubTreeResponseBodyWrapper ¶
type GetSubTreeResponseBodyWrapper struct {
// contains filtered or unexported fields
}
func (GetSubTreeResponseBodyWrapper) GetMeta ¶
func (n GetSubTreeResponseBodyWrapper) GetMeta() []tree.Meta
func (GetSubTreeResponseBodyWrapper) GetNodeID ¶
func (n GetSubTreeResponseBodyWrapper) GetNodeID() []uint64
func (GetSubTreeResponseBodyWrapper) GetParentID ¶
func (n GetSubTreeResponseBodyWrapper) GetParentID() []uint64
func (GetSubTreeResponseBodyWrapper) GetTimestamp ¶
func (n GetSubTreeResponseBodyWrapper) GetTimestamp() []uint64
type PoolWrapper ¶ added in v0.28.0
type PoolWrapper struct {
// contains filtered or unexported fields
}
func NewPoolWrapper ¶ added in v0.28.0
func NewPoolWrapper(p *treepool.Pool) *PoolWrapper
func (*PoolWrapper) AddNodeByPath ¶ added in v0.28.0
func (*PoolWrapper) GetNodes ¶ added in v0.28.0
func (w *PoolWrapper) GetNodes(ctx context.Context, prm *tree.GetNodesParams) ([]tree.NodeResponse, error)
func (*PoolWrapper) GetSubTree ¶ added in v0.28.0
func (w *PoolWrapper) GetSubTree(ctx context.Context, bktInfo *data.BucketInfo, treeID string, rootID []uint64, depth uint32, sort bool) ([]tree.NodeResponse, error)
func (*PoolWrapper) GetSubTreeStream ¶ added in v0.29.0
func (w *PoolWrapper) GetSubTreeStream(ctx context.Context, bktInfo *data.BucketInfo, treeID string, rootID []uint64, depth uint32) (tree.SubTreeStream, error)
func (*PoolWrapper) MoveNode ¶ added in v0.28.0
func (w *PoolWrapper) MoveNode(ctx context.Context, bktInfo *data.BucketInfo, treeID string, nodeID, parentID uint64, meta map[string]string) error
func (*PoolWrapper) RemoveNode ¶ added in v0.28.0
func (w *PoolWrapper) RemoveNode(ctx context.Context, bktInfo *data.BucketInfo, treeID string, nodeID uint64) error
type SubTreeStreamImpl ¶ added in v0.29.0
type SubTreeStreamImpl struct {
// contains filtered or unexported fields
}
func (*SubTreeStreamImpl) Next ¶ added in v0.29.0
func (s *SubTreeStreamImpl) Next() (tree.NodeResponse, error)
Click to show internal directories.
Click to hide internal directories.