Documentation
¶
Overview ¶
Lifecycle example for self-hosted E2B control planes that predate the /v3/templates endpoint (≤ 2.1.x). Identical to ../lifecycle but calls the V2 build methods; SetPublicV1 is exercised in place of SetPublic because PATCH /v2/templates/{id} does not exist on 2.1.x either.
Usage:
source ./.env && go run ./examples/lifecycle_v2
Click to show internal directories.
Click to hide internal directories.