services

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Overview

REMOVE THIS AFTER SIGNATURE WILL BE AVAILABLE IN TREE CLIENT FROM FROSTFS NODE

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 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) AddNode

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

func (*ServiceClientGRPC) AddNodeByPath

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

func (*ServiceClientGRPC) Endpoints

func (c *ServiceClientGRPC) Endpoints() []string

func (*ServiceClientGRPC) GetNodes

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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