{"id":19433657,"url":"https://github.com/iomonad/argoj","last_synced_at":"2025-07-07T14:10:25.316Z","repository":{"id":93421467,"uuid":"607588416","full_name":"iomonad/argoj","owner":"iomonad","description":"Data-Oriented, Clojure API wrapper for Kubernetes Argo Workflow Engine","archived":false,"fork":false,"pushed_at":"2023-04-23T19:40:18.000Z","size":188,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-10T11:09:53.035Z","etag":null,"topics":["argo","argo-workflows","clojure-library"],"latest_commit_sha":null,"homepage":"https://iomonad.github.io/argoj/","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iomonad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-28T09:25:16.000Z","updated_at":"2024-06-26T06:33:16.000Z","dependencies_parsed_at":"2023-06-03T03:30:38.536Z","dependency_job_id":null,"html_url":"https://github.com/iomonad/argoj","commit_stats":{"total_commits":40,"total_committers":2,"mean_commits":20.0,"dds":"0.22499999999999998","last_synced_commit":"bcb8e2d6b7099fd9f2f50338ffcec3401fcd43e9"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/iomonad/argoj","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iomonad%2Fargoj","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iomonad%2Fargoj/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iomonad%2Fargoj/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iomonad%2Fargoj/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iomonad","download_url":"https://codeload.github.com/iomonad/argoj/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iomonad%2Fargoj/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260294556,"owners_count":22987633,"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","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":["argo","argo-workflows","clojure-library"],"created_at":"2024-11-10T14:40:33.727Z","updated_at":"2025-07-07T14:10:25.299Z","avatar_url":"https://github.com/iomonad.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# argoj [![Clojure CI](https://github.com/iomonad/argoj/actions/workflows/clojure.yml/badge.svg)](https://github.com/iomonad/argoj/actions/workflows/clojure.yml) [![.github/workflows/release.yml](https://github.com/iomonad/argoj/actions/workflows/release.yml/badge.svg)](https://github.com/iomonad/argoj/actions/workflows/release.yml) [![Clojars Project](https://img.shields.io/clojars/v/io.trosa/argoj.svg)](https://clojars.org/io.trosa/argoj)\n\n\u003ca href=\"https://github.com/iomonad/argoj\"\u003e\u003cimg\n  src=\"https://argoproj.github.io/argo-workflows/assets/logo.png\"\n  height=\"180\" align=\"right\"\u003e\u003c/a\u003e\n\n\n## Abstract\n\n\u003e Data-Oriented, pure Clojure API wrapper for Argo Workflow, an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes.\n\n## OpenAPI Stub\n\nGenerate OpenAPI stubs for latest version with script:\n\n```bash\n/bin/zsh bin/openapi-generate\n```\n\n## API Usage\n\n### Client Creation\n\nCreate a client spec as follow:\n\n```clojure\n(ns user\n  (:require [argoj.api :as argo]))\n\n(def client-spec\n  (argo/mk-client {:token \"xxxx\"\n                   :endpoint \"argo-server.argo.svc.cluster:2746\"}))\n```\n\n### Submit a Workflow\n\nSee [Field Reference](https://argoproj.github.io/argo-workflows/fields/) for all supported field used as EDN\n\n#### Hello World\n\n```clojure\n(def spec\n  {:namespace \"argo\"\n   :serverDryRun false\n   :workflow {:metadata {:namespace \"argo\"\n                         :generateName \"foobar-\"\n                         :labels #:workflows.argoproj.io{:completed \"false\"}}\n              :spec\n              {:templates\n               [{:name \"cowsay\"\n                 :container {:name \"cowsay\"\n                             :image \"docker/whalesay:latest\"\n                             :command [\"cowsay\"]\n                             :args [\"hello world\"]\n                             :resources {}}}]\n               :entrypoint \"cowsay\"}}})\n\n(argo/create-workflow client \"argo\" spec)\n```\n\n### Search Workflow\n\nWorkflows can be selected by their labels:\n\n```clojure\n(argo/search-workflows spec \"argo\" {:initiator \"foobar\"}) ;; {:metadata {:resourceVersion ...\n```\n\n### List Workflows\n\nList workflows, and return their status / results\n\n```clojure\n(count (:items (argo/list-workflows client \"argo\"))) ;; =\u003e 1\n```\n\n### Delete Workflows\n\nDelete running or completed Workflow\n\n```clojure\n(argo/create-workflow client \"argo\" \"foobar-8fu7j\")\n```\n\n### API\n\nSee complete implemented API method [on this documentation page.](https://iomonad.github.io/argoj/#argoj.api)\n\n## Testing\n\n```bash\nlein test\n```\n\n## Changelog\n\n### 3.4.5-0.3.5\n\n- Added unsafe executor function\n- - Schema Fix\n\n### 3.4.5-0.2.0\n\n- API \u0026 Spec Implemenations for Jobs, Events, Workflows, WorkflowsTemplate \u0026 CronJobs\n- Admin routes implemenations\n\n### 3.4.5-0.1.0\n\n- First API Release\n\n## License\n\nCopyright © 2023 iomonad \u003ciomonad@riseup.net\u003e\n\nThis program and the accompanying materials are made available under the\nterms of the Eclipse Public License 2.0 which is available at\nhttp://www.eclipse.org/legal/epl-2.0.\n\nThis Source Code may also be made available under the following Secondary\nLicenses when the conditions for such availability set forth in the Eclipse\nPublic License, v. 2.0 are satisfied: GNU General Public License as published by\nthe Free Software Foundation, either version 2 of the License, or (at your\noption) any later version, with the GNU Classpath Exception which is available\nat https://www.gnu.org/software/classpath/license.html.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiomonad%2Fargoj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiomonad%2Fargoj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiomonad%2Fargoj/lists"}