testing

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FixtureChunk

func FixtureChunk(prefix string) boson.Chunk

FixtureChunk gets a pregenerated content-addressed chunk and panics if one is not found.

func GenerateTestRandomChunk

func GenerateTestRandomChunk() boson.Chunk

GenerateTestRandomChunk generates a valid content addressed chunk.

func GenerateTestRandomChunks

func GenerateTestRandomChunks(count int) []boson.Chunk

GenerateTestRandomChunks generates a slice of random Chunks by using GenerateTestRandomChunk function.

func GenerateTestRandomInvalidChunk

func GenerateTestRandomInvalidChunk() boson.Chunk

GenerateTestRandomInvalidChunk generates a random, however invalid, content addressed chunk.

Types

This section is empty.

Jump to

Keyboard shortcuts

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