localpinning

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2021 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckBytesFound added in v0.3.5

func CheckBytesFound(c *bee.Cluster, o Options) error

CheckBytesFound uploads some bytes to a node, pins them, then uploads a lot of other chunks to see they are still there

func CheckChunkFound added in v0.3.5

func CheckChunkFound(c *bee.Cluster, o Options) error

CheckChunkFound uploads a single chunk to a node, pins it, then uploads a lot of other chunks to see that it still there

func CheckRemoteChunksFound added in v0.4.1

func CheckRemoteChunksFound(c *bee.Cluster, o Options) error

CheckRemoteChunksFound uploads some chunks to one node, pins them on another node (which does not have them locally), and then check that they are now available locally pinned on that node.

Types

type Options

type Options struct {
	NodeGroup        string
	StoreSize        int // size of the node's localstore in chunks
	StoreSizeDivisor int // divide store size by how much when uploading bytes
	Seed             int64
}

Options represents localpinning check options

Jump to

Keyboard shortcuts

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