// ----------------------------------------------------------------------------- // Enum Typedefs // ----------------------------------------------------------------------------- // ----------------------------------------------------------------------------- // Model Typedefs // ----------------------------------------------------------------------------- /** * @typedef {Object} Application * @property {string} name Name of this application. * @property {DeploymentGroup[]} deploymentGroups List of deployment groups for this application. */ /** * @typedef {Object} Deployment * @property {string} id The deployment id * @property {string} created Date deployment created * @property {string} started Date deployment started * @property {string} completed Date deployment created * @property {string} creator * @property {string} deployment_group_name The deployment group name * @property {number} failed The number of instances failed deployment * @property {number} skipped The number of instances skipped deployment * @property {number} in_progress The number of instances currently deploying * @property {number} pending The number of instances pending deployment * @property {number} succeeded The number of instances succeeded at deployment * @property {string} status The status of the deployment * @property {string} [error_message] A error message if the deployment failed * @property {string} revision_location The location of the revision * @property {DeploymentInstance[]} instances The instances involved in this deployment */ /** * @typedef {Object} DeploymentGroup * @property {string} name Name of this deployment group. * @property {string[]} autoScalingGroupNames List of auto scaling groups for this deployment group. */ /** * @typedef {Object} DeploymentInstance * @property {string} id The instance id * @property {string} status The status of this instances deployment * @property {string} last_updated_at Last updated at time * @property {DeploymentLifecycleEvent[]} lifecycle_events Deployment lifecycle events */ /** * @typedef {Object} DeploymentLifecycleEvent * @property {string} name The deployment lifecycle event name * @property {string} start_time Time the deployment lifecycle event started * @property {string} end_time Time the deployment lifecycle event ended * @property {string} status The status of the deployment lifecycle event * @property {string} [error_log_tail] The deployment lifecycle event log tail if it failed * @property {string} [error_message] The deployment lifecycle event error message if it failed * @property {string} [script_name] The deployment lifecycle event script filename if it failed */ /** * @typedef {Object} Info * @property {string} name Name of this service. * @property {string} version Version of this service. * @property {string} scala_version Version of Scala this service is using. * @property {string} sbt_version Version of SBT used to build this service. * @property {string} build_time Time the service was built at. */ // ----------------------------------------------------------------------------- // Union Typedefs // -----------------------------------------------------------------------------