buildgrid.server.cas.logstream.instance module

class buildgrid.server.cas.logstream.instance.LogStreamInstance(prefix: str, storage: StreamStorageABC | None = None)

Bases: Instance

SERVICE_NAME: ClassVar[str] = 'build.bazel.remote.logstream.v1.LogStreamService'

The expected FULL_NAME of the Service which will wrap this instance. This value should be declared on the class of any Instance implementations.

create_logstream(parent: str) LogStream