emulator

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AzureBlob

func AzureBlob(t *testing.T, bucket string) string

func FileServer

func FileServer(t *testing.T, dir string) string

FileServer creates a new file server and returns its URL.

On MacOS the host is replaced with host.docker.internal to allow docker containers to access the service. See https://docs.docker.com/desktop/networking/#i-want-to-connect-from-a-container-to-a-service-on-the-host

func GCS

func GCS(t *testing.T, bucket string) string

func S3

func S3(t *testing.T, bucket string) string

Types

type Container

type Container struct{ testcontainers.Container }

func Build

func Build(t *testing.T, dockerfile string) Container

func Image

func Image(t *testing.T, name string) Container

func (*Container) Exec

func (c *Container) Exec(t *testing.T, script string) string

Jump to

Keyboard shortcuts

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