Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: appengine/swarming/swarming_rpcs.py

Issue 2404883002: Add links to MP and resolve minor fixes (Closed)
Patch Set: Address Polymer comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2015 The LUCI Authors. All rights reserved. 1 # Copyright 2015 The LUCI Authors. All rights reserved.
2 # Use of this source code is governed under the Apache License, Version 2.0 2 # Use of this source code is governed under the Apache License, Version 2.0
3 # that can be found in the LICENSE file. 3 # that can be found in the LICENSE file.
4 4
5 """This module defines ProtoRPC types for the Swarming Server handlers.""" 5 """This module defines ProtoRPC types for the Swarming Server handlers."""
6 6
7 from protorpc import message_types 7 from protorpc import message_types
8 from protorpc import messages 8 from protorpc import messages
9 9
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 return True 63 return True
64 64
65 65
66 ### Server related. 66 ### Server related.
67 67
68 68
69 class ServerDetails(messages.Message): 69 class ServerDetails(messages.Message):
70 """Reports details about the server.""" 70 """Reports details about the server."""
71 server_version = messages.StringField(1) 71 server_version = messages.StringField(1)
72 bot_version = messages.StringField(2) 72 bot_version = messages.StringField(2)
73 machine_provider_template = messages.StringField(3)
74 display_server_url_template = messages.StringField(4)
73 75
74 76
75 class BootstrapToken(messages.Message): 77 class BootstrapToken(messages.Message):
76 """Returns a token to bootstrap a new bot.""" 78 """Returns a token to bootstrap a new bot."""
77 bootstrap_token = messages.StringField(1) 79 bootstrap_token = messages.StringField(1)
78 80
79 81
80 class ClientPermissions(messages.Message): 82 class ClientPermissions(messages.Message):
81 """Reports the client's permissions.""" 83 """Reports the client's permissions."""
82 delete_bot = messages.BooleanField(1) 84 delete_bot = messages.BooleanField(1)
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 519
518 520
519 class DeletedResponse(messages.Message): 521 class DeletedResponse(messages.Message):
520 """Indicates whether a bot was deleted.""" 522 """Indicates whether a bot was deleted."""
521 deleted = messages.BooleanField(1) 523 deleted = messages.BooleanField(1)
522 524
523 525
524 class TerminateResponse(messages.Message): 526 class TerminateResponse(messages.Message):
525 """Returns the pseudo taskid to wait for the bot to shut down.""" 527 """Returns the pseudo taskid to wait for the bot to shut down."""
526 task_id = messages.StringField(1) 528 task_id = messages.StringField(1)
OLDNEW
« no previous file with comments | « appengine/swarming/proto/config_pb2.py ('k') | appengine/swarming/templates/public_task_index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698