GARStorageClient#
- class nublado.storage.gar.GARStorageClient(logger)#
Bases:
objectClient for Google Artifact Registry.
This client doesn’t handle authentication and instead assumes that the default credentials will be sufficient. It should be run using workload identity.
- Parameters:
logger (
BoundLogger) – Logger for messages.
Methods Summary
delete_images(config, digests)Delete images by digest.
list_images(config[, cycle])Return images stored in the remote repository, with arch-specific images filtered out if a corresponding base image exists.
Methods Documentation
- async delete_images(config, digests)#
Delete images by digest.
Deletion is done in batches since experimentally Google rejects deletion of more than 50 images in a request.
- async list_images(config, cycle=None)#
Return images stored in the remote repository, with arch-specific images filtered out if a corresponding base image exists.
- Parameters:
- Returns:
All images stored with that name.
- Return type: