testutils

package
v6.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package testutils has common utility for testing the components

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 SetAWSConfig

func SetAWSConfig(tr base.Tracer)

SetAWSConfig sets the global AWS config and enable support for using localstack as proxy AWS services

Types

type AWSResources

type AWSResources struct {
	KMS     string
	SNS     string
	S3      string
	SECRET  string
	SQS     string
	FIFOSQS string
}

type TestConfig

type TestConfig struct {
	CSFLE           *csfle.Config
	AWS             *AWSResources
	KafkaTestTopic  string
	KafkaTestTopic2 string
	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