buildgrid.server.client.asset module
- class buildgrid.server.client.asset.AssetClient(channel: Channel, instance_name: str, retries: int = 0, max_backoff: int = 64, should_backoff: bool = True)
Bases:
object
Client for Fetch and Push services defined in remote_asset protocol
- push_blob(*, uris: Iterable[str], qualifiers: Mapping[str, str], blob_digest: Digest, expire_at: datetime | None = None, referenced_blobs: Iterable[Digest] = [], referenced_directories: Iterable[Digest] = []) PushBlobResponse
- push_directory(*, uris: Iterable[str], qualifiers: Mapping[str, str], root_directory_digest: Digest, expire_at: datetime | None = None, referenced_blobs: Iterable[Digest] = [], referenced_directories: Iterable[Digest] = []) PushDirectoryResponse