Documentation ¶
Index ¶
- func CounterCmp(t *testing.T, metrics map[string]*dto.MetricFamily, value float64, name string, ...)
- func CreateRandomPeers(t *testing.T, count int) []blockless.Peer
- func CreateTracerProvider(t *testing.T, resource *resource.Resource) (*tracetest.InMemoryExporter, *trace.TracerProvider)
- func GenerateTestAddrs(t *testing.T, n int) []ma.Multiaddr
- func GetMetric(m map[string]*dto.MetricFamily, name string, params ...string) ([]*dto.Metric, error)
- func InMemoryDB(t *testing.T) *pebble.DB
- func MetricMap(t *testing.T, g prometheus.Gatherer) map[string]*dto.MetricFamily
- func RandPeerID(t *testing.T) peer.ID
- type FunctionServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CounterCmp ¶ added in v0.7.0
func CreateRandomPeers ¶ added in v0.6.1
func CreateTracerProvider ¶ added in v0.7.0
func CreateTracerProvider(t *testing.T, resource *resource.Resource) (*tracetest.InMemoryExporter, *trace.TracerProvider)
func MetricMap ¶ added in v0.7.0
func MetricMap(t *testing.T, g prometheus.Gatherer) map[string]*dto.MetricFamily
Types ¶
type FunctionServer ¶
func CreateFunctionServer ¶
func CreateFunctionServer(t *testing.T, manifestEndpoint string, manifest blockless.FunctionManifest, deploymentEndpoint string, archivePath string, cid string) *FunctionServer
Click to show internal directories.
Click to hide internal directories.