GARStorageClient#
- class controller.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
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 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:
config (
GARSourceOptions) – Path to a specific image name in Google Artifact Registry.cycle (
int|None, default:None) – If notNone, restrict to images with the given SAL cycle.
- Returns:
All images stored with that name.
- Return type: