Updating Aurora thrift api and regenerating stubs.

This commit is contained in:
Renan DelValle 2017-02-22 19:08:48 -05:00
parent ac40251f00
commit 47236ed3fd
8 changed files with 1132 additions and 1026 deletions

View file

@ -203,6 +203,8 @@ union Image {
struct MesosContainer {
/** the optional filesystem image to use when launching this task. */
1: optional Image image
/** the optional list of volumes to mount into the task. */
2: optional list<Volume> volumes
}
/** Describes a parameter passed to docker cli */
@ -1073,7 +1075,7 @@ service AuroraSchedulerManager extends ReadOnlyScheduler {
Response restartShards(5: JobKey job, 3: set<i32> shardIds)
/** Initiates a kill on tasks. */
Response killTasks(4: JobKey job, 5: set<i32> instances)
Response killTasks(4: JobKey job, 5: set<i32> instances, 6: string message)
/**
* Adds new instances with the TaskConfig of the existing instance pointed by the key.
@ -1235,4 +1237,4 @@ const string BYPASS_LEADER_REDIRECT_HEADER_NAME = 'Bypass-Leader-Redirect'
// The path under which a task's filesystem should be mounted when using images and the Mesos
// unified containerizer.
const string TASK_FILESYSTEM_MOUNT_POINT = 'taskfs'
const string TASK_FILESYSTEM_MOUNT_POINT = 'taskfs'