services

package
v0.30.0-rc.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

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 (GetNodeByPathResponseInfoWrapper) GetNodeID

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) AddNode added in v0.28.0

func (w *PoolWrapper) AddNode(ctx context.Context, bktInfo *data.BucketInfo, treeID string, parent uint64, meta map[string]string) (uint64, error)

func (*PoolWrapper) AddNodeByPath added in v0.28.0

func (w *PoolWrapper) AddNodeByPath(ctx context.Context, bktInfo *data.BucketInfo, treeID string, path []string, meta map[string]string) (uint64, error)

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) ([]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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL