abstractedcontainers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GCPPubSubContainer

type GCPPubSubContainer struct {
	testcontainers.Container
	URI               string
	LivenessProbePort nat.Port
	PubSubPort        nat.Port
}

func SetupGCPPubsub

func SetupGCPPubsub(ctx context.Context, projectID string, topicSubscriptionMap map[string][]string) (*GCPPubSubContainer, error)

type PostgreSQLContainer

type PostgreSQLContainer struct {
	testcontainers.Container
	Host          string
	MappedPort    string
	DB            string
	ConnectionURL string
}

func SetupPostgreSQL

func SetupPostgreSQL(ctx context.Context, user, pass, db string) (*PostgreSQLContainer, error)

Jump to

Keyboard shortcuts

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