deployproject

package
v0.0.0-...-74b2f40 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: GPL-3.0 Imports: 31 Imported by: 0

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.

Jump to

Keyboard shortcuts

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