Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AwsClientFactory ¶
type AwsClientFactory interface {
SecretsManagerClient(profile *string, region *string) (GetSecretValueInterface, error)
}
func NewClientFactory ¶
func NewClientFactory() AwsClientFactory
type FakeAwsClientFactory ¶
type FakeAwsClientFactory struct { GetSecretValueInterface Secrets map[string]string }
func NewFakeClientFactory ¶
func NewFakeClientFactory() *FakeAwsClientFactory
func (*FakeAwsClientFactory) GetSecretValue ¶
func (f *FakeAwsClientFactory) GetSecretValue(ctx context.Context, params *secretsmanager.GetSecretValueInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.GetSecretValueOutput, error)
func (*FakeAwsClientFactory) SecretsManagerClient ¶
func (f *FakeAwsClientFactory) SecretsManagerClient(profile *string, region *string) (GetSecretValueInterface, error)
type GetSecretValueInterface ¶ added in v2.18.3
type GetSecretValueInterface interface {
GetSecretValue(ctx context.Context, params *secretsmanager.GetSecretValueInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.GetSecretValueOutput, error)
}
Click to show internal directories.
Click to hide internal directories.