envd

command module
v0.0.0-...-4f2f30f Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

README

envd

Daemon that runs inside a sandbox and allows interacting with the sandbox via calls from the SDK.

Development

Run the following command to start a Docker container and run the envd daemon inside:

make run-envd

You can use E2B SDKs with env var E2B_DEBUG=true or with a debug parameter set to true when creating or connecting to a sandbox to connect to the envd started with this command locally.

Generating API server stubs

Run the following command to install the necessary dependencies for generating server stubs:

make init-generate
Generating

After changing the API specs in ./spec/ run the following command to generate the server stubs:

make generate
Debugging

Run make run-debug and then connect to the port 2345 with a debugger or use the VSCode run/debug and run the "Debug envd" to build the envd, Docker, and start the debugging.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
api
Package api provides primitives to interact with the openapi HTTP API.
Package api provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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