package
0.14.5
Repository: https://github.com/ipfs/ipfs-cluster.git
Documentation: pkg.go.dev

# Functions

CborDataToNode parses cbor data into a clusterDAG node while making a few checks.
New returns a new ClusterDAGService, which uses the given rpc client to perform Allocate, IPFSBlockPut and Pin requests to other cluster components.
VerifyShards checks that a sharded CID has been correctly formed and stored.

# Constants

MaxLinks is the max number of links that, when serialized fit into a block.

# Structs

DAGService is an implementation of a ClusterDAGService which shards content while adding among several IPFS Cluster peers, creating a Cluster DAG to track and pin that content selectively in the IPFS daemons allocated to it.

# Interfaces

MockBlockStore is used in VerifyShards.
MockPinStore is used in VerifyShards.