sharetest

package
v0.16.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandShares

func RandShares(t testing.TB, total int) []share.Share

RandShares generate 'total' amount of shares filled with random data.

func RandSharesWithNamespace

func RandSharesWithNamespace(t testing.TB, namespace share.Namespace, total int) []share.Share

RandSharesWithNamespace is same the as RandShares, but sets same namespace for all shares.

func RandV0Namespace

func RandV0Namespace() share.Namespace

RandV0Namespace generates random valid data namespace for testing purposes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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