buildgrid.server.actioncache.caches.action_cache_abc module

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

Bases: abc.ABC

property instance_name
property allow_updates
hash_type()
register_instance_with_server(instance_name, server)

Names and registers the action-cache instance with a given server.

abstract get_action_result(action_digest: build.bazel.remote.execution.v2.remote_execution_pb2.Digest) → build.bazel.remote.execution.v2.remote_execution_pb2.ActionResult
abstract update_action_result(action_digest: build.bazel.remote.execution.v2.remote_execution_pb2.Digest, action_result: build.bazel.remote.execution.v2.remote_execution_pb2.ActionResult) → None