test

package
v0.0.0-...-1b7048e Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageSubstitutor

type ImageSubstitutor struct {
	// contains filtered or unexported fields
}

func NewImageSubstitutor

func NewImageSubstitutor() *ImageSubstitutor

func (*ImageSubstitutor) Description

func (i *ImageSubstitutor) Description() string

func (*ImageSubstitutor) Substitute

func (i *ImageSubstitutor) Substitute(image string) (string, error)

type Opt

type Opt struct {
	Enabled bool
	Image   string
}

type PostgresContainer

type PostgresContainer struct {
	*postgres.PostgresContainer
	// contains filtered or unexported fields
}

func NewPostgresContainer

func NewPostgresContainer(ctx context.Context, cfg *cfg.DBCfg, opt *Opt) (*PostgresContainer, error)

type S3Container

type S3Container struct {
	*localstack.LocalStackContainer
	// contains filtered or unexported fields
}

func NewS3Container

func NewS3Container(ctx context.Context, s3Cfg *cfg.S3, awsCfg *cfg.AWSCfg, opt *Opt) (*S3Container, error)

func (*S3Container) Endpoint

func (s *S3Container) Endpoint() string

func (*S3Container) S3Client

func (s *S3Container) S3Client(ctx context.Context) (*s3.Client, error)

Jump to

Keyboard shortcuts

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