Coverage for /builds/BuildGrid/buildgrid/buildgrid/server/rabbitmq/bots/__init__.py: 100.00%

1 statements  

« prev     ^ index     » next       coverage.py v6.4.1, created at 2022-06-22 21:04 +0000

1# Copyright (C) 2021 Bloomberg LP 

2# 

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 

6# 

7# <http://www.apache.org/licenses/LICENSE-2.0> 

8# 

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. 

14 

15 

16""" 

17Bots service 

18============ 

19 

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`_. 

23 

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. 

27 

28.. _Remote Workers API: https://github.com/googleapis/googleapis/tree/master/google/devtools/remoteworkers/v1test2 

29 

30"""