forked from HAL9000/cleveragents-core
2370e19da8
Add 7 container infrastructure resource types per ADR-039: container-runtime, container-image, container-mount, container-exec-env, container-port, container-volume, container-network. - YAML configs under examples/resource-types/ - Bootstrap registration via _resource_registry_container.py - Updated container-instance parent_types (container-runtime, container-image) and child_types (container-mount, container-exec-env, container-port) - container-runtime is top-level with auto-discovery rules (scan_depth: 1) - container-mount/exec-env/port inherit snapshot sandbox from instance - container-volume is user-addable with snapshot sandbox - container-network is read-only, no sandbox - Handler references are forward declarations (ADR-039) - 33 Behave BDD scenarios, 4 Robot integration tests - Updated BUILTIN_NAMES, service docstring, CHANGELOG ISSUES CLOSED: #831
26 lines
696 B
YAML
26 lines
696 B
YAML
# Spec reference: ADR-039, docs/specification.md ~lines 25096-25114
|
|
schema_version: "1.0"
|
|
name: container-volume
|
|
description: "A named container volume managed by the runtime engine"
|
|
resource_kind: physical
|
|
sandbox_strategy: snapshot
|
|
user_addable: true
|
|
built_in: true
|
|
cli_args:
|
|
- name: volume-name
|
|
type: string
|
|
required: true
|
|
description: "Name of the volume"
|
|
- name: driver
|
|
type: string
|
|
required: false
|
|
description: "Volume driver (e.g. local, nfs)"
|
|
parent_types: ["container-runtime"]
|
|
child_types: ["fs-directory"]
|
|
capabilities:
|
|
read: true
|
|
write: true
|
|
sandbox: true
|
|
checkpoint: true
|
|
handler: "cleveragents.resource.handlers.container:ContainerVolumeHandler"
|