owainlewis / digital-ocean

Idiomatic Clojure client for Digital Ocean that makes it easy to boot virtual servers from your REPL
37 stars 13 forks source link

Q: Are you interested in supporting the v2 database API? #18

Open teodorlu opened 5 years ago

teodorlu commented 5 years ago

Hello!

Thanks for a great, simple library. It was a breeze to get started with, and I really like how extensible you've been able to make this.

I'm interested in spinning up a PostgreSQL cluster and managing it with the DigitalOcean API (see the API docs for managing databases). From my testing, retrieving available databases and a single one by ID works just as you've done for droplets:

;; in the bottom of digitalocean/v2/core.clj
(def databases
  "Get all databases"
  (generic :get :databases))

(def get-database
  "Get a single database by ID"
  databases)

Are you interested in supporting managing databases? If so, what are your requirements?

Teodor

teodorlu commented 5 years ago

I'm asking because I see that digitalocean.v2.core/delete-droplet is present in the source here, but not not in the Clojars version, and that there's been a while since the last time a JAR was pushed.