aws_runtime

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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, bucketNameEnvVar string, id string) 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 ExposeTemplateData struct {
	ExportedAppVar string
	AppModule      string
}

type FsTemplateData added in v0.6.3

type FsTemplateData struct {
	BucketNameEnvVar string
}

type TemplateData

type TemplateData struct {
	aws.TemplateConfig
	ExecUnitName       string
	Expose             ExposeTemplateData
	MainModule         string
	ProjectFilePath    string
	PayloadsBucketName string
}

Jump to

Keyboard shortcuts

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