api

command
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2025 License: MPL-2.0 Imports: 4 Imported by: 0

README

test/api

In AWS Lambda functions, both extensions and the function itself operate by requesting the next event from an HTTP API in an infinite loop. Each event returned is typically either an invocation, or for extensions, it could also be a request to shutdown.

This folder contains a small API server to mock that AWS Lambda API for the purpose of local/CI integration tests. It's intentionally as small and as simplistic as possible to support the bare minimum to run extension binaries.

In addition to the AWS Lambda APIs, there is also a /_sync endpoint used within the tests to synchronise on events such as the extension signalling readiness.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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