Documentation ¶
Index ¶
Constants ¶
View Source
const ( SERVER_PATH = "server/handler.zip" CLIENT_PATH = "client/" PRERENDER_PATH = "prerendered/" )
Variables ¶
This section is empty.
Functions ¶
func HandleDeployProject ¶
func HandleDeployProject(eventCtx eventcontext.Context) func(context.Context, events.CloudWatchEvent) error
Types ¶
type BuildInformation ¶
type BuildInformation struct { ClientObjects []ObjectDescription PrerenderedObjects []ObjectDescription ServerObject ObjectDescription PageKeys map[string]string }
BuildInformation provides information about the content of the build output.
type ObjectDescription ¶
type ObjectDescription struct { // Key relative to the objects logical root // e.g. build_asset_bucket/x/123/client/_app/static/myimage.png = _app/static/myimage.png. RelativeKey string // Source bucket name of the object. SourceBucket string // Source bucket key of the object. SourceKey string }
ObjectDescription provides information about the location of an s3 object.
Click to show internal directories.
Click to hide internal directories.