Documentation
¶
Index ¶
- Variables
- func CreateDynamo(t *testing.T) *url.URL
- func CreateS3(t *testing.T) *url.URL
- func IsDockerAvailable(t testing.TB) bool
- func IsRunningInCI(t testing.TB) bool
- func Must[T any](val T, err error) func(*testing.T) T
- func NewDynamoClient(t *testing.T, endpoint *url.URL) *dynamodb.Client
- func NewS3Client(t *testing.T, endpoint *url.URL) *s3.Client
- func RandomCID(t *testing.T) cid.Cid
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Alice = testutil.Alice Bob = testutil.Bob Mallory = testutil.Mallory Service = testutil.Service WebService = testutil.WebService RandomBytes = testutil.RandomBytes RandomDID = testutil.RandomDID RandomMultihash = testutil.RandomMultihash RandomSigner = testutil.RandomSigner )
Functions ¶
func IsDockerAvailable ¶
IsDockerAvailable returns true if the docker daemon is available, useful for skipping tests when docker isn't running
func IsRunningInCI ¶
IsRunningInCI returns true of process is running in CI environment.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.