buildgrid.server.build_events.service module

PublishBuildEvent service

buildgrid.server.build_events.service.is_lifecycle_event(event: google.devtools.build.v1.build_events_pb2.BuildEvent)
class buildgrid.server.build_events.service.PublishBuildEventService(server: grpc.Server, stream_storage: buildgrid.server.build_events.storage.BuildEventStreamStorage)

Bases: buildgrid._protos.google.devtools.build.v1.publish_build_event_pb2_grpc.PublishBuildEventServicer

PublishBuildEvent service implementation.

PublishLifecycleEvent(request: google.devtools.build.v1.publish_build_event_pb2.PublishLifecycleEventRequest, context: grpc.ServicerContext)google.protobuf.empty_pb2.Empty

Handler for PublishLifecycleEvent requests.

This method takes a request containing a build lifecycle event, and uses it to update the high-level state of a build (with a corresponding) event stream.

PublishBuildToolEventStream(request_iterator: Iterable[google.devtools.build.v1.publish_build_event_pb2.PublishBuildToolEventStreamRequest], context: grpc.ServicerContext)Iterable[google.devtools.build.v1.publish_build_event_pb2.PublishBuildToolEventStreamResponse]

Publish build tool events belonging to the same stream to a backend job using bidirectional streaming.

class buildgrid.server.build_events.service.QueryBuildEventsService(server: grpc.Server, stream_storage: buildgrid.server.build_events.storage.BuildEventStreamStorage)

Bases: buildgrid._protos.buildgrid.v2.query_build_events_pb2_grpc.QueryBuildEventsServicer

QueryEventStreams(request: buildgrid.v2.query_build_events_pb2.QueryEventStreamsRequest, context: grpc.ServicerContext)buildgrid.v2.query_build_events_pb2.QueryEventStreamsResponse

Missing associated documentation comment in .proto file.