MCPcopy Create free account
hub / github.com/pydio/cells / getNodeKeyManagerClient

Method getNodeKeyManagerClient

common/nodes/encryption/handler-encryption.go:647–649  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

645}
646
647func (e *Handler) getNodeKeyManagerClient(ctx context.Context) encryption.NodeKeyManagerClient {
648 return encryption.NewNodeKeyManagerClient(grpc.ResolveConn(ctx, common.ServiceEncKeyGRPC))
649}
650
651func (e *Handler) recomputeNodePlainSize(ctx context.Context, node *tree.Node, dsName string) (int64, error) {
652 nodeEncryptionClient := encryption.NewNodeKeyManagerClient(grpc.ResolveConn(ctx, common.ServiceEncKeyGRPC, grpc.WithSilentNotFound()))

Callers 2

getNodeInfoForReadMethod · 0.95

Calls 2

NewNodeKeyManagerClientFunction · 0.92
ResolveConnFunction · 0.92

Tested by

no test coverage detected