Documentation ¶
Overview ¶
REMOVE THIS AFTER SIGNATURE WILL BE AVAILABLE IN TREE CLIENT FROM FROSTFS NODE
Index ¶
- type GetNodeByPathResponseInfoWrapper
- type GetSubTreeResponseBodyWrapper
- type ServiceClientGRPC
- func (c *ServiceClientGRPC) AddNode(ctx context.Context, bktInfo *data.BucketInfo, treeID string, parent uint64, ...) (uint64, error)
- func (c *ServiceClientGRPC) AddNodeByPath(ctx context.Context, bktInfo *data.BucketInfo, treeID string, path []string, ...) (uint64, error)
- func (c *ServiceClientGRPC) Endpoints() []string
- func (c *ServiceClientGRPC) GetNodes(ctx context.Context, p *tree.GetNodesParams) ([]tree.NodeResponse, error)
- func (c *ServiceClientGRPC) GetSubTree(ctx context.Context, bktInfo *data.BucketInfo, treeID string, rootID uint64, ...) ([]tree.NodeResponse, error)
- func (c *ServiceClientGRPC) MoveNode(ctx context.Context, bktInfo *data.BucketInfo, treeID string, ...) error
- func (c *ServiceClientGRPC) RemoveNode(ctx context.Context, bktInfo *data.BucketInfo, treeID string, nodeID uint64) error
- type TreeClient
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 ServiceClientGRPC ¶
type ServiceClientGRPC struct {
// contains filtered or unexported fields
}
func NewTreeServiceClientGRPC ¶
func NewTreeServiceClientGRPC(ctx context.Context, endpoints []string, key *keys.PrivateKey, log *zap.Logger, grpcOpts ...grpc.DialOption) (*ServiceClientGRPC, error)
func (*ServiceClientGRPC) AddNodeByPath ¶
func (*ServiceClientGRPC) Endpoints ¶
func (c *ServiceClientGRPC) Endpoints() []string
func (*ServiceClientGRPC) GetNodes ¶
func (c *ServiceClientGRPC) GetNodes(ctx context.Context, p *tree.GetNodesParams) ([]tree.NodeResponse, error)
func (*ServiceClientGRPC) GetSubTree ¶
func (c *ServiceClientGRPC) GetSubTree(ctx context.Context, bktInfo *data.BucketInfo, treeID string, rootID uint64, depth uint32) ([]tree.NodeResponse, error)
func (*ServiceClientGRPC) MoveNode ¶
func (c *ServiceClientGRPC) MoveNode(ctx context.Context, bktInfo *data.BucketInfo, treeID string, nodeID, parentID uint64, meta map[string]string) error
func (*ServiceClientGRPC) RemoveNode ¶
func (c *ServiceClientGRPC) RemoveNode(ctx context.Context, bktInfo *data.BucketInfo, treeID string, nodeID uint64) error
type TreeClient ¶
type TreeClient interface { TreeClient(ctx context.Context) (grpcService.TreeServiceClient, error) Address() string }
Click to show internal directories.
Click to hide internal directories.