helper

package
v0.0.0-...-aefef9c Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type AuthServiceContainer

type AuthServiceContainer struct {
	Container testcontainers.Container
}

func (*AuthServiceContainer) Terminate

func (a *AuthServiceContainer) Terminate(ctx context.Context) error

type AuthServiceParameterOption

type AuthServiceParameterOption struct {
	Context                                                context.Context
	SharedNetwork, ImageName, ContainerName, WaitingSignal string
	Cmd                                                    []string
	Env                                                    map[string]string
}

type CacheContainer

type CacheContainer struct {
	testcontainers.Container
}

func StartCacheContainer

func StartCacheContainer(opt CacheParameterOption) (*CacheContainer, error)

func (*CacheContainer) Terminate

func (r *CacheContainer) Terminate(ctx context.Context) error

type CacheParameterOption

type CacheParameterOption struct {
	Context                                                context.Context
	SharedNetwork, ImageName, ContainerName, WaitingSignal string
	Cmd                                                    []string
	Env                                                    map[string]string
}

type FileServiceContainer

type FileServiceContainer struct {
	Container testcontainers.Container
}

func (*FileServiceContainer) Terminate

func (f *FileServiceContainer) Terminate(ctx context.Context) error

type FileServiceParameterOption

type FileServiceParameterOption struct {
	Context                                                context.Context
	SharedNetwork, ImageName, ContainerName, WaitingSignal string
	Cmd                                                    []string
	Env                                                    map[string]string
}

type GatewayContainer

type GatewayContainer struct {
	Container testcontainers.Container
}

func StartGatewayContainer

func StartGatewayContainer(opt GatewayParameterOption) (*GatewayContainer, error)

func (*GatewayContainer) Terminate

func (g *GatewayContainer) Terminate(ctx context.Context) error

type GatewayParameterOption

type GatewayParameterOption struct {
	Context                                                       context.Context
	SharedNetwork, ImageName, ContainerName                       string
	NginxConfigPath, NginxInsideConfigPath                        string
	GrpcErrorConfigPath, GrpcErrorInsideConfigPath, WaitingSignal string
	MappedPort                                                    []string
}

type MailContainer

type MailContainer struct {
	testcontainers.Container
}

func StartMailContainer

func StartMailContainer(opt MailParameterOption) (*MailContainer, error)

func (*MailContainer) Terminate

func (m *MailContainer) Terminate(ctx context.Context) error

type MailParameterOption

type MailParameterOption struct {
	Context                                                context.Context
	SharedNetwork, ImageName, ContainerName, WaitingSignal string
	MappedPort                                             []string
}

type MessageQueueContainer

type MessageQueueContainer struct {
	Container testcontainers.Container
}

func (*MessageQueueContainer) Terminate

func (n *MessageQueueContainer) Terminate(ctx context.Context) error

type MessageQueueParameterOption

type MessageQueueParameterOption struct {
	Context                                         context.Context
	SharedNetwork, ImageName, ContainerName         string
	MQConfigPath, MQInsideConfigPath, WaitingSignal string
	MappedPort, Cmd                                 []string
	Env                                             map[string]string
}

type NotificationServiceContainer

type NotificationServiceContainer struct {
	Container testcontainers.Container
}

func (*NotificationServiceContainer) Terminate

type NotificationServiceParameterOption

type NotificationServiceParameterOption struct {
	Context                                                context.Context
	SharedNetwork, ImageName, ContainerName, WaitingSignal string
	Cmd                                                    []string
	Env                                                    map[string]string
}

type SQLContainer

type SQLContainer struct {
	Container testcontainers.Container
}

func StartSQLContainer

func StartSQLContainer(opt SQLParameterOption) (*SQLContainer, error)

func (*SQLContainer) Terminate

func (p *SQLContainer) Terminate(ctx context.Context) error

type SQLParameterOption

type SQLParameterOption struct {
	Context                                                   context.Context
	SharedNetwork, ImageName, ContainerName                   string
	SQLInitScriptPath, SQLInitInsideScriptPath, WaitingSignal string
	Env                                                       map[string]string
}

type StorageContainer

type StorageContainer struct {
	testcontainers.Container
}

func StartStorageContainer

func StartStorageContainer(opt StorageParameterOption) (*StorageContainer, error)

func (*StorageContainer) Terminate

func (mc *StorageContainer) Terminate(ctx context.Context) error

type StorageParameterOption

type StorageParameterOption struct {
	Context                                                context.Context
	SharedNetwork, ImageName, ContainerName, WaitingSignal string
	Cmd                                                    []string
	Env                                                    map[string]string
}

type UserServiceContainer

type UserServiceContainer struct {
	Container testcontainers.Container
}

func (*UserServiceContainer) Terminate

func (u *UserServiceContainer) Terminate(ctx context.Context) error

type UserServiceParameterOption

type UserServiceParameterOption struct {
	Context                                                context.Context
	SharedNetwork, ImageName, ContainerName, WaitingSignal string
	Cmd                                                    []string
	Env                                                    map[string]string
}

Jump to

Keyboard shortcuts

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