Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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)
LoadDefaultConfig delegates to LoadDefaultConfigFunc when set. Otherwise it resolves the given load options in memory the same way the real loader does (e.g. region from config.WithRegion), without touching the filesystem, environment or network.
Click to show internal directories.
Click to hide internal directories.