testutils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertTags

func AssertTags(
	suite *suite.Suite,
	expectedSpecTags []*core.MappingNode,
	actualUpstreamTags map[string]string,
)

AssertTags is for asserting that tags in the spec data of a resource in the form of a list of objects with "key" and "value" fields match the tags in the output of the upstream service.

Types

type MockAWSConfigLoader

type MockAWSConfigLoader struct {
	LoadDefaultConfigFunc func(
		ctx context.Context,
		optFns ...func(*config.LoadOptions) error,
	) (aws.Config, error)
}

MockAWSConfigLoader is a mock implementation of the AWSConfigLoader interface used for testing.

func (*MockAWSConfigLoader) LoadDefaultConfig

func (m *MockAWSConfigLoader) LoadDefaultConfig(
	ctx context.Context,
	optFns ...func(*config.LoadOptions) error,
) (aws.Config, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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