AptLarder::Admin::Client
HTTP client for the apt-larder admin REST API.
Reads the admin host, port, and Bearer token from AdminConfig.
All methods raise Admin::Error on non-2xx responses or network failures.
Constructors
new(config : AdminConfig)
SourceInstance methods
Invalidates a single entry identified by key (plain, not URL-encoded). Returns nil on 204, raises on 404 or other errors.
Returns a paginated list of cache entries.
Runs eviction with an optional max_age_days override.
Returns {"deleted" => N, "freed_bytes" => N}.