Expand description
Data models for Docker runtime configuration and communication.
Ports the Python models.py plus configuration types from deployment.py.
Structs§
- Bash
Action - Action to execute in a bash session.
- Bash
Observation - Observation/result from executing a bash action.
- Close
Session Request - Request to close a bash session.
- Close
Session Response - Response after closing a bash session.
- Container
Spec - Specification for creating a container (image, resources, mounts, …).
- Create
Session Request - Request to create a new bash session.
- Create
Session Response - Response after creating a bash session.
- Docker
Config - Top-level Docker configuration (mirrors Python
DockerConfig). - Exception
Transfer - Serialized exception for transfer over HTTP.
- IsAlive
Response - Health check response.
- Port
Mapping - A single port mapping.
- Read
File Request - Request to read a file from the container.
- Read
File Response - Response with file contents.
- Tool
Result - Generic result from a Docker tool handler operation.
- Volume
Mount - A single volume mount specification.
- Write
File Request - Request to write a file in the container.
- Write
File Response - Response after writing a file.
Enums§
- Check
Mode - How to handle non-zero exit codes.
- Container
Status - Status of a Docker container.
- Runtime
Type - Whether to interact with a local or remote Docker daemon.