Documentation
¶
Index ¶
- Variables
- type AwsRuntime
- func (r *AwsRuntime) AddExecRuntimeFiles(unit *core.ExecutionUnit, result *core.CompilationResult, ...) error
- func (r *AwsRuntime) AddFsRuntimeFiles(unit *core.ExecutionUnit) error
- func (r *AwsRuntime) AddKvRuntimeFiles(unit *core.ExecutionUnit) error
- func (r *AwsRuntime) AddOrmRuntimeFiles(unit *core.ExecutionUnit) error
- func (r *AwsRuntime) AddProxyRuntimeFiles(unit *core.ExecutionUnit, proxyType string) error
- func (r *AwsRuntime) AddPubsubRuntimeFiles(unit *core.ExecutionUnit) error
- func (r *AwsRuntime) AddRedisClusterRuntimeFiles(unit *core.ExecutionUnit) error
- func (r *AwsRuntime) AddRedisNodeRuntimeFiles(unit *core.ExecutionUnit) error
- func (r *AwsRuntime) AddRuntimeFile(unit *core.ExecutionUnit, path string, content []byte) error
- func (r *AwsRuntime) AddRuntimeFiles(unit *core.ExecutionUnit, files embed.FS) error
- func (r *AwsRuntime) AddSecretRuntimeFiles(unit *core.ExecutionUnit) error
- func (r *AwsRuntime) TransformPersist(file *core.SourceFile, annot *core.Annotation, kind core.PersistKind) error
- type ExposeTemplateData
- type TemplateData
Constants ¶
This section is empty.
Variables ¶
View Source
var ExecRuntimeFiles embed.FS
the fs template is added here since the dispatcher needs s3. This means it technically doesn't need to be added later via persist or proxy as it already exists.
Functions ¶
This section is empty.
Types ¶
type AwsRuntime ¶
type AwsRuntime struct { Config *config.Application TemplateConfig aws.TemplateConfig }
func (*AwsRuntime) AddExecRuntimeFiles ¶
func (r *AwsRuntime) AddExecRuntimeFiles(unit *core.ExecutionUnit, result *core.CompilationResult, deps *core.Dependencies) error
func (*AwsRuntime) AddFsRuntimeFiles ¶
func (r *AwsRuntime) AddFsRuntimeFiles(unit *core.ExecutionUnit) error
func (*AwsRuntime) AddKvRuntimeFiles ¶
func (r *AwsRuntime) AddKvRuntimeFiles(unit *core.ExecutionUnit) error
func (*AwsRuntime) AddOrmRuntimeFiles ¶
func (r *AwsRuntime) AddOrmRuntimeFiles(unit *core.ExecutionUnit) error
func (*AwsRuntime) AddProxyRuntimeFiles ¶
func (r *AwsRuntime) AddProxyRuntimeFiles(unit *core.ExecutionUnit, proxyType string) error
func (*AwsRuntime) AddPubsubRuntimeFiles ¶
func (r *AwsRuntime) AddPubsubRuntimeFiles(unit *core.ExecutionUnit) error
func (*AwsRuntime) AddRedisClusterRuntimeFiles ¶
func (r *AwsRuntime) AddRedisClusterRuntimeFiles(unit *core.ExecutionUnit) error
func (*AwsRuntime) AddRedisNodeRuntimeFiles ¶
func (r *AwsRuntime) AddRedisNodeRuntimeFiles(unit *core.ExecutionUnit) error
func (*AwsRuntime) AddRuntimeFile ¶
func (r *AwsRuntime) AddRuntimeFile(unit *core.ExecutionUnit, path string, content []byte) error
func (*AwsRuntime) AddRuntimeFiles ¶
func (r *AwsRuntime) AddRuntimeFiles(unit *core.ExecutionUnit, files embed.FS) error
func (*AwsRuntime) AddSecretRuntimeFiles ¶
func (r *AwsRuntime) AddSecretRuntimeFiles(unit *core.ExecutionUnit) error
func (*AwsRuntime) TransformPersist ¶
func (r *AwsRuntime) TransformPersist(file *core.SourceFile, annot *core.Annotation, kind core.PersistKind) error
type ExposeTemplateData ¶
type TemplateData ¶
type TemplateData struct { aws.TemplateConfig ExecUnitName string Expose ExposeTemplateData MainModule string ProjectFilePath string }
Click to show internal directories.
Click to hide internal directories.