testutils

package
v5.6.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLocalStackConfig

func GetLocalStackConfig() (aws.Config, error)

func Initialize

func Initialize()

func LoadEnv

func LoadEnv(path string)

func SetAWSSession

func SetAWSSession(tr instrumentation.Tracer)

Types

type AWSConfig

type AWSConfig struct {
	KMS_ARN      string
	SNS_ARN      string
	S3_BUCKET    string
	SECRET_ARN   string
	SQS_URL      string
	FIFO_SQS_URL string
}

type TestConfig

type TestConfig struct {
	Logger          log.Config
	App             *baseapp.ServerConfig
	HTTP            *httpserver.HTTPServerConfig
	Kafka           *kafkaconsumer.KafkaConsumerServerConfig
	Mongo           *mongo.Config
	CSFLE           *csfle.Config
	AWS             *AWSConfig
	KafkaConsumer   kafka.KafkaConsumerConfig
	KafkaProducer   *kafka.KafkaProducerConfig
	KafkaTestTopic  string
	KafkaTestTopic2 string
	Graylog         logwriter.GraylogConfig
	TestURL1        string
	TestURL2        string
}

func NewConfig

func NewConfig() *TestConfig

Jump to

Keyboard shortcuts

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