Documentation
¶
Index ¶
- Constants
- Variables
- type AWS
- func (a *AWS) GenerateCloudfrontDistributions(data *TemplateData, result *core.CompilationResult)
- func (a *AWS) GetDefaultConfig() config.Defaults
- func (a *AWS) GetKindTypeMappings(kind string) ([]string, bool)
- func (c *AWS) Name() string
- func (a *AWS) Transform(result *core.CompilationResult, deps *core.Dependencies) error
- type GatewayType
- type TemplateConfig
- type TemplateData
Constants ¶
View Source
const ( Eks = "eks" Ecs = "ecs" Lambda = "lambda" Rds_postgres = "rds_postgres" Secrets_manager = "secrets_manager" S3 = "s3" Dynamodb = "dynamodb" Elasticache = "elasticache" Memorydb = "memorydb" Sns = "sns" Cockroachdb_serverless = "cockroachdb_serverless" ApiGateway GatewayType = "apigateway" Alb GatewayType = "alb" )
Enums for the types we allow in the aws provider so that we can reuse the same string within the provider
Variables ¶
View Source
var AwsTemplateDataKind = "aws_template_data"
Functions ¶
This section is empty.
Types ¶
type AWS ¶
type AWS struct {
Config *config.Application
}
func (*AWS) GenerateCloudfrontDistributions ¶
func (a *AWS) GenerateCloudfrontDistributions(data *TemplateData, result *core.CompilationResult)
func (*AWS) GetDefaultConfig ¶
func (*AWS) GetKindTypeMappings ¶
GetKindTypeMappings returns a list of valid types for the aws provider based on the kind passed in
func (*AWS) Transform ¶
func (a *AWS) Transform(result *core.CompilationResult, deps *core.Dependencies) error
type GatewayType ¶ added in v0.6.2
type GatewayType string
type TemplateConfig ¶
type TemplateConfig struct {
provider.TemplateConfig
PayloadsBucketName string
}
type TemplateData ¶
type TemplateData struct {
provider.TemplateData
TemplateConfig
UseVPC bool
CloudfrontDistributions []*resources.CloudfrontDistribution
APIGateways []provider.Gateway
ALBs []provider.Gateway
Buckets []provider.FS
SecretManagerSecrets []provider.Config
RdsInstances []provider.ORM
}
func NewTemplateData ¶
func NewTemplateData(config *config.Application) *TemplateData
func (*TemplateData) Key ¶
func (t *TemplateData) Key() core.ResourceKey
func (*TemplateData) Type ¶
func (*TemplateData) Type() string
Click to show internal directories.
Click to hide internal directories.