GARStorageClient¶
- class controller.storage.gar.GARStorageClient(logger)¶
Bases:
object
Client 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 all images stored in the remote repository.
Methods Documentation
- async list_images(config, cycle=None)¶
Return all images stored in the remote repository.
- 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: