Skip to main content

Module edge_cache

Module edge_cache 

Source
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§

EdgeCacheStatsResponse
Response body for GET /api/v1/nodes/{node_id}/edge-cache/stats.
EnableEdgeCacheRequest
Body for POST /api/v1/nodes/{node_id}/edge-cache.
NodeCapacityDto
Per-node capacity advertised when registering for edge-cache eligibility.