{"id":32178676,"url":"https://github.com/eunmin/marathon-clj","last_synced_at":"2025-10-21T20:59:05.380Z","repository":{"id":62433523,"uuid":"81310900","full_name":"eunmin/marathon-clj","owner":"eunmin","description":"Clojure client library for Mesos Marathon","archived":false,"fork":false,"pushed_at":"2017-09-19T04:58:12.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-21T20:59:04.802Z","etag":null,"topics":["marathon"],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eunmin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-08T09:20:05.000Z","updated_at":"2018-09-11T20:41:26.000Z","dependencies_parsed_at":"2022-11-01T21:01:41.394Z","dependency_job_id":null,"html_url":"https://github.com/eunmin/marathon-clj","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/eunmin/marathon-clj","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eunmin%2Fmarathon-clj","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eunmin%2Fmarathon-clj/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eunmin%2Fmarathon-clj/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eunmin%2Fmarathon-clj/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eunmin","download_url":"https://codeload.github.com/eunmin/marathon-clj/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eunmin%2Fmarathon-clj/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280333502,"owners_count":26312845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["marathon"],"created_at":"2025-10-21T20:59:03.888Z","updated_at":"2025-10-21T20:59:05.374Z","avatar_url":"https://github.com/eunmin.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# marathon-clj\n\nClojure client library for Mesos Marathon\n\nhttps://mesosphere.github.io/marathon/docs/rest-api.html\n\n## Usage\n\n[![Leiningen version](http://clojars.org/marathon-clj/latest-version.svg)](http://clojars.org/marathon-clj)\n\n```clojure\n(require 'marathon-clj.core)\n\n(def client {:url \"http://localhost:8080\"\n             :basic-auth [\"user\" \"password\"]})\n\n(def app {:constraints [[\"hostname\" \"UNIQUE\"]]\n          :mem 50\n          :healthChecks\n          [{:gracePeriodSeconds 3\n            :intervalSeconds 10\n            :maxConsecutiveFailures 3\n            :path \"/\"\n            :portIndex 0\n            :protocol \"HTTP\"\n            :timeoutSeconds 5}]\n          :ports [0]\n          :instances 2\n          :upgradeStrategy\n          {:minimumHealthCapacity 0.5\n           :maximumOverCapacity 0.5}\n          :container\n          {:docker {:image \"python:3\"}, :type \"DOCKER\"}\n          :cmd \"env \u0026\u0026 python3 -m http.server $PORT0\"\n          :cpus 0.25})\n\n(create-app client \"my-app\" app)\n\n(get-app client \"my-app\")\n\n(update-app client \"my-app\" {:cmd \"sleep 55\"\n                             :constraints [[\"hostname\" \"UNIQUE\" \"\"]]\n                             :cpus \"0.3\"\n                             :instances \"2\"\n                             :mem \"9\"\n                             :ports [9000]})\n\n;; Example version rollback\n(update-app client \"my-app\" {:version \"2014-03-01T23:17:50.295Z\"})\n\n(restart-app client \"my-app\")\n```\n\n## License\n\nCopyright © 2017 Eunmin Kim\n\nDistributed under the Eclipse Public License either version 1.0 or (at\nyour option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feunmin%2Fmarathon-clj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feunmin%2Fmarathon-clj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feunmin%2Fmarathon-clj/lists"}