@platformic/argocd-client
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

ArgoCD Client

Simple client build using orval and fetch

How to use use it?

import argocd from "argocd-client";

const run = async () => {
  try {
    await argocd.applicationServiceGet('ingress-nginx')
  } catch (error) {
    console.log(error.message)
  }
}

run()

Generate types with orval

  1. Download ArgoCD swagger spects with curl
  2. Modify orval.config.ts input to path new spects
  3. Run npm run generate
  4. Modify src/generated/argocd.ts and fix import paths extensions (Github Issue)

Package Sidebar

Install

npm i @platformic/argocd-client

Weekly Downloads

0

Version

0.0.5

License

GPL-3.0-only

Unpacked Size

39.1 kB

Total Files

7

Last publish

Collaborators

  • rispy