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

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

Issue 2453873002: Add --output option to Swarming client and pass it through to the bot (Closed)
Patch Set: Extra help text for examples Created 4 years, 1 month 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
« no previous file with comments | « appengine/swarming/server/task_request_test.py ('k') | appengine/swarming/test_env_handlers.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 cipd_input = messages.MessageField(CipdInput, 10) 189 cipd_input = messages.MessageField(CipdInput, 10)
190 command = messages.StringField(1, repeated=True) 190 command = messages.StringField(1, repeated=True)
191 dimensions = messages.MessageField(StringPair, 2, repeated=True) 191 dimensions = messages.MessageField(StringPair, 2, repeated=True)
192 env = messages.MessageField(StringPair, 3, repeated=True) 192 env = messages.MessageField(StringPair, 3, repeated=True)
193 execution_timeout_secs = messages.IntegerField(4) 193 execution_timeout_secs = messages.IntegerField(4)
194 extra_args = messages.StringField(5, repeated=True) 194 extra_args = messages.StringField(5, repeated=True)
195 grace_period_secs = messages.IntegerField(6) 195 grace_period_secs = messages.IntegerField(6)
196 idempotent = messages.BooleanField(7) 196 idempotent = messages.BooleanField(7)
197 inputs_ref = messages.MessageField(FilesRef, 8) 197 inputs_ref = messages.MessageField(FilesRef, 8)
198 io_timeout_secs = messages.IntegerField(9) 198 io_timeout_secs = messages.IntegerField(9)
199 outputs = messages.StringField(12, repeated=True)
199 200
200 201
201 class NewTaskRequest(messages.Message): 202 class NewTaskRequest(messages.Message):
202 """Description of a new task request as described by the client.""" 203 """Description of a new task request as described by the client."""
203 expiration_secs = messages.IntegerField(1) 204 expiration_secs = messages.IntegerField(1)
204 name = messages.StringField(2) 205 name = messages.StringField(2)
205 parent_task_id = messages.StringField(3) 206 parent_task_id = messages.StringField(3)
206 priority = messages.IntegerField(4) 207 priority = messages.IntegerField(4)
207 properties = messages.MessageField(TaskProperties, 5) 208 properties = messages.MessageField(TaskProperties, 5)
208 tags = messages.StringField(6, repeated=True) 209 tags = messages.StringField(6, repeated=True)
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 542
542 543
543 class DeletedResponse(messages.Message): 544 class DeletedResponse(messages.Message):
544 """Indicates whether a bot was deleted.""" 545 """Indicates whether a bot was deleted."""
545 deleted = messages.BooleanField(1) 546 deleted = messages.BooleanField(1)
546 547
547 548
548 class TerminateResponse(messages.Message): 549 class TerminateResponse(messages.Message):
549 """Returns the pseudo taskid to wait for the bot to shut down.""" 550 """Returns the pseudo taskid to wait for the bot to shut down."""
550 task_id = messages.StringField(1) 551 task_id = messages.StringField(1)
OLDNEW
« no previous file with comments | « appengine/swarming/server/task_request_test.py ('k') | appengine/swarming/test_env_handlers.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698