- Add new gRPC endpoint for Heartbeat in the Yao service, enabling communication with the sandbox. - Update Makefile to include a dedicated unit test target for Sandbox V2, ensuring proper testing of new features. - Enhance CI workflows to incorporate Sandbox V2 tests, allowing for dual-mode testing (local and remote) with Docker. - Modify .gitignore to exclude specific Docker files while allowing shell scripts for Sandbox V2. - Update documentation in DESIGN.md to reflect the new architecture and capabilities of the Sandbox V2. These changes enhance the Yao SDK's functionality, providing improved support for sandbox operations and testing.
11 lines
356 B
Go
11 lines
356 B
Go
package sandbox
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
ErrNotAvailable = errors.New("sandbox: not available (no pools configured)")
|
|
ErrNotFound = errors.New("sandbox: not found")
|
|
ErrLimitExceeded = errors.New("sandbox: limit exceeded")
|
|
ErrPoolNotFound = errors.New("sandbox: pool not found")
|
|
ErrPoolInUse = errors.New("sandbox: pool has running boxes")
|
|
)
|