Coverage for /builds/BuildGrid/buildgrid/buildgrid/server/rabbitmq/bots/__init__.py: 100.00%
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1# Copyright (C) 2021 Bloomberg LP
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License' is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
20The Bots service is responsible for assigning work to the various worker
21(sometimes "bot") machines connected to the grid. These workers communicate
22with the Bots service using the `Remote Workers API`_.
24The Bots service gRPC servicer is :class:`.service.BotsService`, which
25handles routing requests to the correct :class:`.instance.BotsInstance`
26based on the instance name specified by the worker.
28.. _Remote Workers API: https://github.com/googleapis/googleapis/tree/master/google/devtools/remoteworkers/v1test2