Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ECSClient ¶
type ECSClient interface {
UpdateService(ctx context.Context, params *ecs.UpdateServiceInput, optFns ...func(*ecs.Options)) (*ecs.UpdateServiceOutput, error)
DescribeServices(ctx context.Context, params *ecs.DescribeServicesInput, optFns ...func(*ecs.Options)) (*ecs.DescribeServicesOutput, error)
}
type SecretsClient ¶
type SecretsClient interface {
GetSecretValue(ctx context.Context, params *secretsmanager.GetSecretValueInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.GetSecretValueOutput, error)
PutSecretValue(ctx context.Context, params *secretsmanager.PutSecretValueInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.PutSecretValueOutput, error)
}
type SecretsManager ¶
type SecretsManager struct {
// contains filtered or unexported fields
}
func NewSecretsManager ¶
func NewSecretsManager(client SecretsClient) *SecretsManager
func (*SecretsManager) GetSecretString ¶
func (*SecretsManager) MergeAndPutSecret ¶
func (s *SecretsManager) MergeAndPutSecret(ctx context.Context, targetARN string, sourceData map[string]any, keys []string) error
ClientRequestToken is derived from the target's current VersionId so that concurrent invocations processing the same event produce the same token — making the second write a no-op.
Click to show internal directories.
Click to hide internal directories.