Expand description
Edge-cache eligibility API DTOs.
Wire types for the edge-cache eligibility endpoints exposed by
zlayer-api and consumed by upstream control-plane callers (the
consuming cluster manager). The host-side cache fill,
eviction, hit-counting subsystem is out of scope here — these types
describe only the API surface used to mark a node eligible or
ineligible for edge caching and to read placeholder hit/miss counters.
Structs§
- Edge
Cache Stats Response - Response body for
GET /api/v1/nodes/{node_id}/edge-cache/stats. - Enable
Edge Cache Request - Body for
POST /api/v1/nodes/{node_id}/edge-cache. - Node
Capacity Dto - Per-node capacity advertised when registering for edge-cache eligibility.