Documentation
¶
Index ¶
- Constants
- func InitializeBaseTest()
- func InitializeCacheDBTest()
- func InitializeGcpEmulator(path ...string)
- func InitializeSqlDBTest()
- func InitializeTestLocalstack(path ...string)
- func MountAbsolutPath(p string) string
- func UseGcpEmulatorContainer(ctx context.Context, configPath string) *gcpEmulatorContainer
- type LocalstackContainer
- type PostgresContainer
- type RedisContainer
- type WiremockContainer
Constants ¶
View Source
const ( DEVELOPMENT_ENVIRONMENT_PATH string = "../../../development-environment" DATABASE_ENVIRONMENT_PATH string = DEVELOPMENT_ENVIRONMENT_PATH + "/database/" REST_ENVIRONMENT_PATH string = DEVELOPMENT_ENVIRONMENT_PATH + "/rest/" LOCALSTACK_ENVIRONMENT_PATH string = DEVELOPMENT_ENVIRONMENT_PATH + "/localstack/" GCP_EMULATOR_ENVIRONMENT_PATH string = DEVELOPMENT_ENVIRONMENT_PATH + "/gcp-emulator/" WIREMOCK_ENVIRONMENT_PATH string = DEVELOPMENT_ENVIRONMENT_PATH + "/wiremock/" )
Variables ¶
This section is empty.
Functions ¶
func InitializeBaseTest ¶
func InitializeBaseTest()
func InitializeCacheDBTest ¶
func InitializeCacheDBTest()
func InitializeGcpEmulator ¶
func InitializeGcpEmulator(path ...string)
func InitializeSqlDBTest ¶
func InitializeSqlDBTest()
func InitializeTestLocalstack ¶
func InitializeTestLocalstack(path ...string)
func MountAbsolutPath ¶
func UseGcpEmulatorContainer ¶
Types ¶
type LocalstackContainer ¶
type LocalstackContainer struct {
// contains filtered or unexported fields
}
func UseLocalstackContainer ¶
func UseLocalstackContainer(ctx context.Context, configPath string) *LocalstackContainer
type PostgresContainer ¶
type PostgresContainer struct {
// contains filtered or unexported fields
}
func UsePostgresContainer ¶
func UsePostgresContainer(ctx context.Context) *PostgresContainer
UsePostgresContainer initialize postgres container for integration tests.
type RedisContainer ¶
type RedisContainer struct {
// contains filtered or unexported fields
}
func UseRedisContainer ¶
func UseRedisContainer(ctx context.Context) *RedisContainer
type WiremockContainer ¶
type WiremockContainer struct {
// contains filtered or unexported fields
}
func UseWiremockContainer ¶
func UseWiremockContainer(ctx context.Context, configPath string) *WiremockContainer
func (*WiremockContainer) Port ¶
func (c *WiremockContainer) Port() int
Click to show internal directories.
Click to hide internal directories.