Package

uk.co.appministry.scathon.models

v2

Permalink

package v2

Visibility
  1. Public
  2. All

Type Members

  1. case class AddHealthCheckEvent(eventType: EventType = EventTypes.add_health_check_event, timestamp: DateTime, appId: String, healthCheck: HealthCheck) extends Product with Serializable

    Permalink
  2. trait AddHealthCheckEventParser extends EventParser with VersionParser with HealthCheckParser

    Permalink
  3. case class ApiPostEvent(eventType: EventType = EventTypes.api_post_event, timestamp: DateTime, clientIp: String, uri: String, appDefinition: Application) extends MarathonEventBusObject with Product with Serializable

    Permalink
  4. trait ApiPostEventParser extends EventParser with ApplicationParser with EnumParser with VersionParser

    Permalink
  5. case class Application(id: String, cmd: Option[String] = None, args: Option[List[String]] = None, cpus: Double = 1, mem: Double = 1024, disk: Double = 0, ports: Option[List[Int]] = None, portDefinitions: Option[List[PortDefinition]] = None, requirePorts: Boolean = false, instances: Int = 1, executor: Option[String] = None, container: Option[Container] = None, env: Map[String, String] = Map.empty[String, String], constraints: Option[List[Constraint]] = None, acceptedResourceRoles: Option[List[String]] = None, labels: Map[String, String] = Map.empty[String, String], fetch: Option[List[FetchUri]] = None, uris: Option[List[String]] = None, dependencies: Option[List[String]] = None, healthChecks: Option[List[HealthCheck]] = None, readinessChecks: Option[List[ReadinessCheck]] = None, ipAddress: Option[ApplicationIpAddress] = None, backoffSeconds: Int = 1, backoffFactor: Double = 1.15, maxLaunchDelaySeconds: Int = 3600, updateStrategy: Option[UpdateStrategy] = None, user: Option[String] = None, tasks: Option[List[Task]] = None, tasksRunning: Option[Int] = Some(0), tasksStaged: Option[Int] = Some(0), version: Option[DateTime] = None, lastTaskFailure: Option[LastTaskFailure] = None) extends MarathonApiObject with Product with Serializable

    Permalink
  6. case class ApplicationIpAddress(groups: Option[List[String]] = None, labels: Option[Map[String, String]] = None, discovery: Option[ApplicationIpAddressDiscovery] = None) extends MarathonApiObject with Product with Serializable

    Permalink
  7. case class ApplicationIpAddressDiscovery(ports: List[ApplicationIpAddressDiscoveryPort] = ...) extends MarathonApiObject with Product with Serializable

    Permalink
  8. trait ApplicationIpAddressDiscoveryParser extends ApplicationIpAddressDiscoveryPortParser

    Permalink
  9. case class ApplicationIpAddressDiscoveryPort(number: Int, name: String, protocol: PortMappingType) extends MarathonApiObject with Product with Serializable

    Permalink
  10. trait ApplicationIpAddressDiscoveryPortParser extends EnumParser

    Permalink
  11. trait ApplicationIpAddressParser extends ApplicationIpAddressDiscoveryParser

    Permalink
  12. trait ApplicationParser extends AnyRef

    Permalink
  13. case class CommandHealthCheck(command: String, maxConsecutiveFailures: Int = ...) extends HealthCheck with Product with Serializable

    Permalink
  14. case class Container(docker: Option[ContainerDocker], volumes: List[ContainerVolume] = List.empty[ContainerVolume], type: ContainerType = ContainerTypes.DOCKER) extends MarathonApiObject with Product with Serializable

    Permalink
  15. case class ContainerDocker(image: String, network: DockerNetworkType = DockerNetworkTypes.BRIDGE, forcePullImage: Boolean = false, portMappings: Option[List[ContainerPortMapping]] = None) extends MarathonApiObject with Product with Serializable

    Permalink
  16. trait ContainerDockerParser extends ContainerPortMappingParser with EnumParser

    Permalink
  17. trait ContainerParser extends ContainerDockerParser with ContainerVolumeParser with EnumParser

    Permalink
  18. case class ContainerPortMapping(containerPort: Int, hostPort: Int, servicePort: Option[Int] = None, protocol: PortMappingType) extends MarathonApiObject with Product with Serializable

    Permalink
  19. trait ContainerPortMappingParser extends EnumParser

    Permalink
  20. case class ContainerVolume(containerPath: String, hostPath: String, mode: String = "RO") extends MarathonApiObject with Product with Serializable

    Permalink
  21. trait ContainerVolumeParser extends AnyRef

    Permalink
  22. case class Deployment(id: String, version: DateTime, affectedApps: List[String], steps: List[List[DeploymentStep]], currentActions: List[DeploymentCurrentAction], currentStep: Int, totalSteps: Int) extends MarathonApiObject with Product with Serializable

    Permalink
  23. case class DeploymentCurrentAction(action: DeploymentActionType, app: String, readinessChecks: Option[List[DeploymentReadinessCheck]] = None) extends MarathonApiObject with Product with Serializable

    Permalink
  24. trait DeploymentCurrentActionParser extends DeploymentReadinessCheckParser with EnumParser

    Permalink
  25. case class DeploymentCurrentStep(actions: List[DeploymentStep]) extends Product with Serializable

    Permalink
  26. trait DeploymentCurrentStepParser extends DeploymentParser with DeploymentStepParser

    Permalink
  27. case class DeploymentEventPlan(id: String, original: Deployment, target: Deployment, steps: List[DeploymentStep]) extends Product with Serializable

    Permalink
  28. trait DeploymentEventPlanParser extends DeploymentParser with DeploymentStepParser

    Permalink
  29. case class DeploymentFailedEvent(eventType: EventType = EventTypes.deployment_failed, timestamp: DateTime, id: String) extends Product with Serializable

    Permalink
  30. trait DeploymentFailedEventParser extends EventParser with VersionParser

    Permalink
  31. case class DeploymentIdentifier(deploymentId: String, version: DateTime) extends MarathonApiObject with Product with Serializable

    Permalink
  32. trait DeploymentIdentifierParser extends VersionParser

    Permalink
  33. case class DeploymentInfoEvent(eventType: EventType = EventTypes.deployment_info, timestamp: DateTime, plan: DeploymentEventPlan, currentStep: DeploymentCurrentStep) extends Product with Serializable

    Permalink
  34. trait DeploymentInfoEventParser extends EventParser with VersionParser with DeploymentEventPlanParser with DeploymentCurrentStepParser

    Permalink
  35. trait DeploymentParser extends DeploymentStepParser with DeploymentCurrentActionParser with VersionParser

    Permalink
  36. case class DeploymentReadinessCheck(lastResponse: Option[DeploymentReadinessCheckLastResponse] = None, name: String, ready: Boolean, taskId: String) extends MarathonApiObject with Product with Serializable

    Permalink
  37. case class DeploymentReadinessCheckLastResponse(body: String, contentType: String, status: Int) extends MarathonApiObject with Product with Serializable

    Permalink
  38. trait DeploymentReadinessCheckLastResponseParser extends AnyRef

    Permalink
  39. trait DeploymentReadinessCheckParser extends DeploymentReadinessCheckLastResponseParser

    Permalink
  40. case class DeploymentStep(action: DeploymentActionType, app: String) extends MarathonApiObject with Product with Serializable

    Permalink
  41. case class DeploymentStepFailureEvent(eventType: EventType = EventTypes.deployment_step_failure, timestamp: DateTime, plan: DeploymentEventPlan, currentStep: DeploymentCurrentStep) extends Product with Serializable

    Permalink
  42. trait DeploymentStepFailureEventParser extends EventParser with VersionParser with DeploymentEventPlanParser with DeploymentCurrentStepParser

    Permalink
  43. trait DeploymentStepParser extends EnumParser

    Permalink
  44. case class DeploymentStepSuccessEvent(eventType: EventType = EventTypes.deployment_step_success, timestamp: DateTime, plan: DeploymentEventPlan, currentStep: DeploymentCurrentStep) extends Product with Serializable

    Permalink
  45. trait DeploymentStepSuccessEventParser extends EventParser with VersionParser with DeploymentEventPlanParser with DeploymentCurrentStepParser

    Permalink
  46. case class DeploymentSuccessEvent(eventType: EventType = EventTypes.deployment_success, timestamp: DateTime, id: String) extends Product with Serializable

    Permalink
  47. trait DeploymentSuccessEventParser extends EventParser with VersionParser

    Permalink
  48. trait EnumParser extends AnyRef

    Permalink
  49. case class Event(eventType: EventType, timestamp: String) extends MarathonEventBusObject with Product with Serializable

    Permalink
  50. trait EventParser extends EnumParser

    Permalink
  51. case class EventSubscriber(type: String = "http_callback", httpEndpoints: List[String] = List.empty[String]) extends MarathonApiObject with Product with Serializable

    Permalink
  52. trait EventSubscriberParser extends AnyRef

    Permalink
  53. case class EventSubscriptionSubscribeEvent(eventType: EventType = EventTypes.subscribe_event, callbackUrl: String, clientIp: String, timestamp: DateTime) extends MarathonEventBusObject with Product with Serializable

    Permalink
  54. trait EventSubscriptionSubscribeEventParser extends EventParser with VersionParser

    Permalink
  55. case class EventSubscriptionUnsubscribeEvent(eventType: EventType = EventTypes.unsubscribe_event, callbackUrl: String, clientIp: String, timestamp: DateTime) extends MarathonEventBusObject with Product with Serializable

    Permalink
  56. trait EventSubscriptionUnsubscribeEventParser extends EventParser with VersionParser

    Permalink
  57. case class FailedHealthCheckEvent(eventType: EventType = ..., timestamp: DateTime, appId: String, taskId: String, healthCheck: HealthCheck) extends Product with Serializable

    Permalink
  58. trait FailedHealthCheckEventParser extends EventParser with VersionParser with HealthCheckParser

    Permalink
  59. case class FetchUri(uri: String, executable: Boolean = false, extract: Boolean = true, cache: Boolean = true) extends MarathonApiObject with Product with Serializable

    Permalink
  60. trait FetchUriParser extends AnyRef

    Permalink
  61. case class FrameworkMessageEvent(eventType: EventType = EventTypes.framework_message_event, timestamp: DateTime, slaveId: String, executorId: String, message: String) extends Product with Serializable

    Permalink
  62. trait FrameworkMessageEventParser extends EventParser with VersionParser

    Permalink
  63. case class GetAppResponse(app: Application) extends Product with Serializable

    Permalink
  64. trait GetAppResponseParser extends ApplicationParser

    Permalink
  65. trait GetApplicationTasksResponseParser extends GetTasksResponseParser

    Permalink
  66. trait GetApplicationVersionsResponseParser extends EnumParser with VersionParser

    Permalink
  67. case class GetAppsResponse(apps: List[Application]) extends Product with Serializable

    Permalink
  68. trait GetAppsResponseParser extends ApplicationParser

    Permalink
  69. case class GetEventSubscriptionsResponse(callbackUrls: List[String]) extends Product with Serializable

    Permalink
  70. trait GetEventSubscriptionsResponseParser extends AnyRef

    Permalink
  71. case class GetInfoResponse(frameworkId: String, httpConfig: HttpConfiguration, eventSubscriber: EventSubscriber, marathonConfig: MarathonConfiguration, zookeeperConfig: ZookeeperConfiguration, leader: Option[String] = None, version: String = "0.15.3", name: String = "marathon") extends Product with Serializable

    Permalink
  72. trait GetInfoResponseParser extends HttpConfigurationParser with EventSubscriberParser with MarathonConfigurationParser with ZookeeperConfigurationParser

    Permalink
  73. case class GetLeaderResponse(leader: String = "127.0.0.1:8080") extends Product with Serializable

    Permalink
  74. trait GetLeaderResponseParser extends AnyRef

    Permalink
  75. case class GetPluginsResponse(plugins: List[Plugin] = List.empty[Plugin]) extends Product with Serializable

    Permalink
  76. trait GetPluginsResponseParser extends PluginParser

    Permalink
  77. case class GetQueueResponse(queue: List[QueueItem] = List.empty[QueueItem]) extends Product with Serializable

    Permalink
  78. trait GetQueueResponseParser extends QueueItemParser

    Permalink
  79. case class GetTasksResponse(tasks: List[Task]) extends Product with Serializable

    Permalink
  80. trait GetTasksResponseParser extends TaskParser

    Permalink
  81. case class GetVersionsResponse(versions: List[DateTime]) extends Product with Serializable

    Permalink
  82. case class Group(id: String, apps: List[Application] = List.empty[Application], groups: List[Group] = List.empty[Group], dependencies: List[String] = List.empty[String], version: DateTime) extends MarathonApiObject with Product with Serializable

    Permalink
  83. case class GroupChangeFailedEvent(eventType: EventType = EventTypes.group_change_failed, timestamp: DateTime, groupId: String, version: DateTime, reason: String) extends Product with Serializable

    Permalink
  84. trait GroupChangeFailedEventParser extends EventParser with VersionParser

    Permalink
  85. case class GroupChangeSuccessEvent(eventType: EventType = EventTypes.group_change_success, timestamp: DateTime, groupId: String, version: DateTime) extends Product with Serializable

    Permalink
  86. trait GroupChangeSuccessEventParser extends EventParser with VersionParser

    Permalink
  87. trait GroupParser extends ApplicationParser with VersionParser

    Permalink
  88. trait HealthCheck extends MarathonApiObject

    Permalink
  89. trait HealthCheckParser extends AnyRef

    Permalink
  90. case class HealthStatusChangedEvent(eventType: EventType = ..., timestamp: DateTime, appId: String, taskId: String, version: DateTime, alive: Boolean) extends Product with Serializable

    Permalink
  91. trait HealthStatusChangedEventParser extends EventParser with VersionParser

    Permalink
  92. case class HttpConfiguration(assetsPath: Option[String] = None, httpPort: Int = 8080, httpsPort: Int = 8443) extends MarathonApiObject with Product with Serializable

    Permalink
  93. trait HttpConfigurationParser extends AnyRef

    Permalink
  94. case class HttpHealthCheck(path: String = HealthCheckDefaults.path, gracePeriodSeconds: Int = ..., intervalSeconds: Int = HealthCheckDefaults.intervalSeconds, portIndex: Option[Int] = None, port: Option[Int] = None, timeoutSeconds: Int = HealthCheckDefaults.timeoutSeconds, maxConsecutiveFailures: Int = ...) extends HealthCheck with Product with Serializable

    Permalink
  95. case class LastTaskFailure(appId: String, host: String, message: String, state: StatusUpdateEventType, taskId: String, timestamp: DateTime, version: DateTime) extends MarathonApiObject with Product with Serializable

    Permalink
  96. trait LastTaskFailureParser extends VersionParser with EnumParser

    Permalink
  97. trait MarathonApiObject extends AnyRef

    Permalink
  98. case class MarathonConfiguration(checkpoint: Boolean = false, executor: String = "//cmd", failoverTimeout: Int = 604800, ha: Boolean = true, hostname: String = "127.0.0.1", localPortMax: Int = 49151, localPortMin: Int = 32767, master: String = "zk://localhost:2181/mesos", mesosLeaderUiUrl: String = "http://mesos:5050", mesosRole: Option[String] = None, mesosUser: String = "root", reconciliationInitialDelay: Int = 30000, reconciliationInterval: Int = 30000, taskLaunchTimeout: Int = 60000) extends MarathonApiObject with Product with Serializable

    Permalink
  99. trait MarathonConfigurationParser extends AnyRef

    Permalink
  100. trait MarathonEventBusObject extends MarathonApiObject

    Permalink
  101. case class Plugin(id: String, plugin: String, implementation: String, tags: Option[List[String]] = None, configuration: Option[JsValue] = None, info: Option[Map[String, JsValue]] = None) extends MarathonApiObject with Product with Serializable

    Permalink
  102. trait PluginParser extends AnyRef

    Permalink
  103. case class PortDefinition(port: Int, protocol: PortMappingType, name: String, labels: Map[String, String] = Map.empty[String, String]) extends MarathonApiObject with Product with Serializable

    Permalink
  104. trait PortDefinitionParser extends EnumParser

    Permalink
  105. case class QueueDelay(timeLeftSeconds: Int, overdue: Boolean) extends MarathonApiObject with Product with Serializable

    Permalink
  106. trait QueueDelayParser extends AnyRef

    Permalink
  107. case class QueueItem(app: Application, count: Int, delay: QueueDelay) extends MarathonApiObject with Product with Serializable

    Permalink
  108. trait QueueItemParser extends ApplicationParser with QueueDelayParser

    Permalink
  109. case class ReadinessCheck(name: Option[String] = Some("readinessCheck"), protocol: Option[ProtocolType] = Some(ProtocolTypes.HTTP), path: Option[String] = Some("/"), portName: Option[String] = Some("http-api"), intervalSeconds: Option[Int] = Some(30), timeoutSeconds: Option[Int] = Some(10), httpStatusCodesForReady: Option[List[Int]] = Some(List(200)), preserveLastResponse: Option[Boolean] = Some(false)) extends MarathonApiObject with Product with Serializable

    Permalink
  110. trait ReadinessCheckParser extends EnumParser

    Permalink
  111. case class RemoveHealthCheckEvent(eventType: EventType = ..., timestamp: DateTime, appId: String, healthCheck: HealthCheck) extends Product with Serializable

    Permalink
  112. trait RemoveHealthCheckEventParser extends EventParser with VersionParser with HealthCheckParser

    Permalink
  113. case class StatusUpdateEvent(eventType: EventType = EventTypes.status_update_event, timestamp: DateTime, slaveId: String, taskId: String, taskStatus: StatusUpdateEventType, appId: String, host: String, ports: List[Int], version: DateTime) extends MarathonEventBusObject with Product with Serializable

    Permalink
  114. trait StatusUpdateEventParser extends EventParser with EnumParser with VersionParser

    Permalink
  115. case class Task(id: String, host: String, ports: List[Int], servicePorts: List[Int], startedAt: Option[DateTime] = None, stagedAt: Option[DateTime] = None, version: DateTime, appId: String, slaveId: String) extends MarathonApiObject with Product with Serializable

    Permalink
  116. trait TaskParser extends VersionParser

    Permalink
  117. case class TcpHealthCheck(gracePeriodSeconds: Int = ..., intervalSeconds: Int = HealthCheckDefaults.timeoutSeconds, portIndex: Option[Int] = None, port: Option[Int] = None, timeoutSeconds: Int = HealthCheckDefaults.timeoutSeconds, maxConsecutiveFailures: Int = ...) extends HealthCheck with Product with Serializable

    Permalink
  118. case class UnhealthyTaskKillEvent(eventType: EventType = ..., timestamp: DateTime, appId: String, taskId: String, version: DateTime, reason: String, host: String, slaveId: String) extends Product with Serializable

    Permalink
  119. trait UnhealthyTaskKillEventParser extends EventParser with VersionParser

    Permalink
  120. case class UpdateStrategy(minimumHealthCapacity: Double, maximumOverCapacity: Double) extends MarathonApiObject with Product with Serializable

    Permalink
  121. trait UpdateStrategyParser extends AnyRef

    Permalink
  122. trait VersionParser extends AnyRef

    Permalink
  123. case class ZookeeperConfiguration(zk: String = "zk://localhost:2181/marathon", zkTimeout: Int = 10000, zkSessionTimeout: Int = 1800000, zkMaxVersion: Int = 5) extends MarathonApiObject with Product with Serializable

    Permalink
  124. trait ZookeeperConfigurationParser extends AnyRef

    Permalink

Value Members

  1. object ApplicationDefaults

    Permalink
  2. object ContainerTypes extends Enumeration

    Permalink
  3. object DeploymentActionTypes extends Enumeration

    Permalink
  4. object DockerNetworkTypes extends Enumeration

    Permalink
  5. object EventTypes extends Enumeration

    Permalink
  6. object HealthCheckDefaults

    Permalink
  7. object PortMappingTypes extends Enumeration

    Permalink
  8. object ProtocolTypes extends Enumeration

    Permalink
  9. object StatusUpdateEventTypes extends Enumeration

    Permalink
  10. object Version

    Permalink
  11. package util

    Permalink

Ungrouped