test

package
v0.0.0-...-403c8b4 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0, MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnnounceTest

func AnnounceTest(t *testing.T, peerID peer.ID, cl client.Ingest)

func IndexContent

func IndexContent(t *testing.T, cl client.Ingest, providerID peer.ID, privateKey crypto.PrivKey, ind indexer.Interface)

func IndexContentFail

func IndexContentFail(t *testing.T, cl client.Ingest, providerID peer.ID, privateKey crypto.PrivKey, ind indexer.Interface)

func IndexContentNewAddr

func IndexContentNewAddr(t *testing.T, cl client.Ingest, providerID peer.ID, privateKey crypto.PrivKey, ind indexer.Interface, newAddr string, reg *registry.Registry)

func InitIndex

func InitIndex(t *testing.T, withCache bool) indexer.Interface

InitIndex initialize a new indexer engine.

func InitIngest

func InitIngest(t *testing.T, indx indexer.Interface, reg *registry.Registry) *ingest.Ingester

func InitRegistry

func InitRegistry(t *testing.T, trustedID string) *registry.Registry

InitRegistry initializes a new registry

func RegisterProviderTest

func RegisterProviderTest(t *testing.T, c client.Ingest, providerID peer.ID, privateKey crypto.PrivKey, addr string, reg *registry.Registry)

Types

This section is empty.

Jump to

Keyboard shortcuts

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