# Functions
NewIpfsMock returns a new mock.
NewMockDAGService returns an in-memory DAG Service.
NewMockRPCClient creates a mock ipfs-cluster RPC server and returns a client to it.
NewMockRPCClientWithHost returns a mock ipfs-cluster RPC server initialized with a given host.
NewShardingTestHelper returns a new helper.
# Constants
Some values used by the ipfs mock.
Some values used by the ipfs mock.
Some values used by the ipfs mock.
Some values used by the ipfs mock.
Some values used by the ipfs mock.
# Variables
Common variables used all around tests.
Common variables used all around tests.
Common variables used all around tests.
Cid resulting from block put using blake2b-256 and raw format.
Common variables used all around tests.
Cid resulting from block put using format "v0" defaults.
Common variables used all around tests.
Common variables used all around tests.
ErrBadCid is returned when using ErrorCid.
ErrLinkNotFound is error returned when no link is found.
ErrorCid is meant to be used as a Cid which causes errors.
Common variables used all around tests.
Common variables used all around tests.
Common variables used all around tests.
NotFoundCid is meant to be used as a CID that doesn't exist in the pinset.
NotFoundPath is meant to be used as a path that resolves into a CID that doesn't exist in the pinset.
Common variables used all around tests.
Common variables used all around tests.
Common variables used all around tests.
Common variables used all around tests.
Common variables used all around tests.
Common variables used all around tests.
Common variables used all around tests.
Common variables used all around tests.
Common variables used all around tests.
Common variables used all around tests.
Common variables used all around tests.
Common variables used all around tests.
Common variables used all around tests.
Common variables used all around tests.
Common variables used all around tests.
Common variables used all around tests.
Common variables used all around tests.
Common variables used all around tests.
Common variables used all around tests.
Common variables used all around tests.
Common variables used all around tests.
Common variables used all around tests.
Used for testing blockput/blockget.
Variables related to adding the testing directory generated by tests.
Variables related to adding the testing directory generated by tests.
Variables related to adding the testing directory generated by tests.
These hashes should match all the blocks produced when adding the files resulting from GetShardingDir* They have been obtained by adding the "shardTesting" folder to go-ipfs (with default parameters).
Variables related to adding the testing directory generated by tests.
Common variables used all around tests.
# Structs
IpfsMock is an ipfs daemon mock which should sustain the functionality used by ipfscluster.
MockDAGService implements an in-memory DAGService.
ShardingTestHelper helps generating files and folders to test adding and sharding in IPFS Cluster.