Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterProvider ¶
func RegisterProvider(region string)
Types ¶
type AWSProvider ¶
type AWSProvider struct { EcsService ECSService SecretsManagerService SecretsManagerService SecretCache map[string]*fastjson.Value // Updated cache type // contains filtered or unexported fields }
func NewAWSProvider ¶
func NewAWSProvider(region string) *AWSProvider
func (*AWSProvider) GetSecretValue ¶
func (a *AWSProvider) GetSecretValue(secretArn, secretName string) (*fastjson.Value, error)
func (*AWSProvider) GetTaskDefinitions ¶
func (a *AWSProvider) GetTaskDefinitions(taskDefinitionName string) ([]*provider.ContainerDefinition, error)
type ECSService ¶
type ECSService interface {
DescribeTaskDefinition(input *ecs.DescribeTaskDefinitionInput) (*ecs.DescribeTaskDefinitionOutput, error)
}
type MockECSService ¶
type MockECSService struct { TaskDefOutput *ecs.DescribeTaskDefinitionOutput Error error }
func (*MockECSService) DescribeTaskDefinition ¶
func (m *MockECSService) DescribeTaskDefinition(input *ecs.DescribeTaskDefinitionInput) (*ecs.DescribeTaskDefinitionOutput, error)
type MockSecretsManagerService ¶
type MockSecretsManagerService struct { SecretOutput *secretsmanager.GetSecretValueOutput Error error }
func (*MockSecretsManagerService) GetSecretValue ¶
func (m *MockSecretsManagerService) GetSecretValue(input *secretsmanager.GetSecretValueInput) (*secretsmanager.GetSecretValueOutput, error)
type SecretsManagerService ¶
type SecretsManagerService interface {
GetSecretValue(input *secretsmanager.GetSecretValueInput) (*secretsmanager.GetSecretValueOutput, error)
}
Click to show internal directories.
Click to hide internal directories.