helpers

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRandomPeers added in v0.6.1

func CreateRandomPeers(t *testing.T, count int) []blockless.Peer

func GenerateTestAddrs added in v0.6.1

func GenerateTestAddrs(t *testing.T, n int) []ma.Multiaddr

func InMemoryDB

func InMemoryDB(t *testing.T) *pebble.DB

func RandPeerID added in v0.6.1

func RandPeerID(t *testing.T) peer.ID

Types

type FunctionServer

type FunctionServer struct {
	*httptest.Server
}

func CreateFunctionServer

func CreateFunctionServer(t *testing.T, manifestEndpoint string, manifest blockless.FunctionManifest, deploymentEndpoint string, archivePath string, cid string) *FunctionServer

Jump to

Keyboard shortcuts

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