buildgrid.server.actioncache.caches.action_cache_abc module

class buildgrid.server.actioncache.caches.action_cache_abc.ActionCacheABC(allow_updates: bool = False, storage: StorageABC | None = None)

Bases: ABC

property allow_updates: bool
start() None
stop() None
abstract get_action_result(action_digest: Digest) ActionResult
abstract update_action_result(action_digest: Digest, action_result: ActionResult) None
referenced_blobs_still_exist(action_digest: Digest, action_result: ActionResult) bool