Documentation
¶
Index ¶
- func CounterCmp(t *testing.T, metrics map[string]*dto.MetricFamily, value float64, name string, ...)
- func CreateRandomPeers(t *testing.T, count int) []bls.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 HostAddNewPeer(t *testing.T, host *host.Host, newPeer *host.Host)
- func HostGetAddrInfo(t *testing.T, host *host.Host) *peer.AddrInfo
- func InMemoryDB(t *testing.T) *pebble.DB
- func MetricMap(t *testing.T, g prometheus.Gatherer) map[string]*dto.MetricFamily
- func NewLoopbackHost(t *testing.T, log zerolog.Logger) *host.Host
- func RandPeerID(t *testing.T) peer.ID
- type FunctionServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CounterCmp ¶
func CreateTracerProvider ¶
func CreateTracerProvider(t *testing.T, resource *resource.Resource) (*tracetest.InMemoryExporter, *trace.TracerProvider)
func MetricMap ¶
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 bls.FunctionManifest, deploymentEndpoint string, archivePath string, cid string) *FunctionServer
Click to show internal directories.
Click to hide internal directories.