aws

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: Apache-2.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ECS

type ECS struct {
	// contains filtered or unexported fields
}

func NewECS

func NewECS(client ECSClient) *ECS

func (*ECS) ForceNewDeployment

func (e *ECS) ForceNewDeployment(ctx context.Context, cluster string, services []string) error

Services not found return an error; inactive services are skipped with a warning.

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 (s *SecretsManager) GetSecretString(ctx context.Context, arn string) (string, error)

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.

Jump to

Keyboard shortcuts

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