Documentation ¶
Index ¶
Constants ¶
View Source
const ( WASMBinDir = "bin" WASMFilename = "main.wasm" TOMLFilename = "fastly.toml" TARGzExt = ".tar.gz" )
Variables ¶
View Source
var ( ErrDirNotExists = errors.New("dir does not exist") ErrFileZeroSize = errors.New("file is zero size") )
Functions ¶
func BuildEdgePackage ¶
BuildEdgePackage creates a Fastly Compute@Edge tarball. A TOML file must be supplied. Either the `wasmfile` or `bindir` should be supplied. Supplying `bindir` will recursively copy all contents in to the `<your-package>/bin` dir in the tar file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.