public interface Marathon
| Modifier and Type | Method and Description |
|---|---|
void |
cancelDeployment(String id) |
void |
cancelDeploymentAndRollback(String id) |
App |
createApp(App app) |
Result |
createGroup(Group group) |
Result |
deleteApp(String id) |
DeleteAppTaskResponse |
deleteAppTask(String appId,
String taskId,
String scale) |
DeleteAppTasksResponse |
deleteAppTasks(String appId,
String host,
String scale) |
Result |
deleteGroup(String id) |
GetAppResponse |
getApp(String id) |
GetAppsResponse |
getApps() |
GetAppTasksResponse |
getAppTasks(String id) |
List<Deployment> |
getDeployments() |
Group |
getGroup(String id) |
QueueResponse |
getQueue() |
GetServerInfoResponse |
getServerInfo() |
GetTasksResponse |
getTasks() |
GetEventSubscriptionRegisterResponse |
register(String url) |
void |
restartApp(String id,
boolean force) |
GetEventSubscriptionsResponse |
subscriptions() |
GetEventSubscriptionRegisterResponse |
unregister(String url) |
Result |
updateApp(String appId,
App app,
boolean force) |
GetAppsResponse getApps() throws MarathonException
MarathonExceptionGetAppResponse getApp(String id) throws MarathonException
MarathonExceptionGetAppTasksResponse getAppTasks(String id) throws MarathonException
MarathonExceptionGetTasksResponse getTasks() throws MarathonException
MarathonExceptionApp createApp(App app) throws MarathonException
MarathonExceptionResult updateApp(String appId, App app, boolean force) throws MarathonException
MarathonExceptionvoid restartApp(String id, boolean force) throws MarathonException
MarathonExceptionResult deleteApp(String id) throws MarathonException
MarathonExceptionDeleteAppTasksResponse deleteAppTasks(String appId, String host, String scale) throws MarathonException
MarathonExceptionDeleteAppTaskResponse deleteAppTask(String appId, String taskId, String scale) throws MarathonException
MarathonExceptionResult createGroup(Group group) throws MarathonException
MarathonExceptionResult deleteGroup(String id) throws MarathonException
MarathonExceptionGroup getGroup(String id) throws MarathonException
MarathonExceptionList<Deployment> getDeployments() throws MarathonException
MarathonExceptionvoid cancelDeploymentAndRollback(String id) throws MarathonException
MarathonExceptionvoid cancelDeployment(String id) throws MarathonException
MarathonExceptionGetEventSubscriptionRegisterResponse register(String url) throws MarathonException
MarathonExceptionGetEventSubscriptionRegisterResponse unregister(String url) throws MarathonException
MarathonExceptionGetEventSubscriptionsResponse subscriptions() throws MarathonException
MarathonExceptionQueueResponse getQueue() throws MarathonException
MarathonExceptionGetServerInfoResponse getServerInfo() throws MarathonException
MarathonExceptionCopyright © 2016. All rights reserved.