Skip to content

Container image virtual registry: manage APIs (cache entries)

🗒️ Problem statement

In virtual registries, we usually have two set of APIs:

  1. APIs to manage the virtual registry objects. This issue deals with this part.
  2. APIs for the clients, $ docker, so that they can pull files through the virtual registry.

NOTE: Registries and upstreams API is handled in #548794 (closed). This issue is for cache entries.

Cache entries

Route Notes
GET /virtual_registries/containers/upstreams/:id/cache_entries List all the cache entries of a given upstream
DELETE /virtual_registries/containers/cache_entries/*id Delete a given cache entry

🔮 Other considerations

Use a feature flag

🛠️ Implementation plan

Edited by 🤖 GitLab Bot 🤖