Documentation ¶
Index ¶
- Variables
- func AssertAwsClients[I any](t *testing.T, ctx context.Context, awsOp string, awsInput I, ...)
- func GetAwsS3Client(t *testing.T, ctx context.Context, region string) *s3.Client
- func GetRegionForBucket(t *testing.T, ctx context.Context, bucket string) string
- func GetSidekickS3Client(t *testing.T, ctx context.Context, region string) *s3.Client
- func InitVariables(t *testing.T, ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AssertAwsClients ¶ added in v0.1.2
func AssertAwsClients[I any]( t *testing.T, ctx context.Context, awsOp string, awsInput I, getRespValue func(t *testing.T, v reflect.Value) reflect.Value, )
AssertAwsClients takes an aws operation name, an aws input, and a function to extract the response value from the aws response. This method will invoke the aws operation on both the aws client, the sidekick client, and the failover client and then compare the response values.
func GetAwsS3Client ¶
GetAwsS3Client returns a default aws S3 client
func GetRegionForBucket ¶ added in v0.1.16
func GetSidekickS3Client ¶ added in v0.1.2
GetSidekickS3Client returns a S3 client connected to bolt through sidekick
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.