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

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: Fix help text for --output 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
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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 cipd_input = messages.MessageField(CipdInput, 10) 167 cipd_input = messages.MessageField(CipdInput, 10)
168 command = messages.StringField(1, repeated=True) 168 command = messages.StringField(1, repeated=True)
169 dimensions = messages.MessageField(StringPair, 2, repeated=True) 169 dimensions = messages.MessageField(StringPair, 2, repeated=True)
170 env = messages.MessageField(StringPair, 3, repeated=True) 170 env = messages.MessageField(StringPair, 3, repeated=True)
171 execution_timeout_secs = messages.IntegerField(4) 171 execution_timeout_secs = messages.IntegerField(4)
172 extra_args = messages.StringField(5, repeated=True) 172 extra_args = messages.StringField(5, repeated=True)
173 grace_period_secs = messages.IntegerField(6) 173 grace_period_secs = messages.IntegerField(6)
174 idempotent = messages.BooleanField(7) 174 idempotent = messages.BooleanField(7)
175 inputs_ref = messages.MessageField(FilesRef, 8) 175 inputs_ref = messages.MessageField(FilesRef, 8)
176 io_timeout_secs = messages.IntegerField(9) 176 io_timeout_secs = messages.IntegerField(9)
177 outputs = messages.StringField(11, repeated=True)
177 178
178 179
179 class NewTaskRequest(messages.Message): 180 class NewTaskRequest(messages.Message):
180 """Description of a new task request as described by the client.""" 181 """Description of a new task request as described by the client."""
181 expiration_secs = messages.IntegerField(1) 182 expiration_secs = messages.IntegerField(1)
182 name = messages.StringField(2) 183 name = messages.StringField(2)
183 parent_task_id = messages.StringField(3) 184 parent_task_id = messages.StringField(3)
184 priority = messages.IntegerField(4) 185 priority = messages.IntegerField(4)
185 properties = messages.MessageField(TaskProperties, 5) 186 properties = messages.MessageField(TaskProperties, 5)
186 tags = messages.StringField(6, repeated=True) 187 tags = messages.StringField(6, repeated=True)
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 520
520 521
521 class DeletedResponse(messages.Message): 522 class DeletedResponse(messages.Message):
522 """Indicates whether a bot was deleted.""" 523 """Indicates whether a bot was deleted."""
523 deleted = messages.BooleanField(1) 524 deleted = messages.BooleanField(1)
524 525
525 526
526 class TerminateResponse(messages.Message): 527 class TerminateResponse(messages.Message):
527 """Returns the pseudo taskid to wait for the bot to shut down.""" 528 """Returns the pseudo taskid to wait for the bot to shut down."""
528 task_id = messages.StringField(1) 529 task_id = messages.StringField(1)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698