digoc v0.3.3

Modules summary

DigOc

This is an Elixir client for the Digital Ocean API, verion 2. Details about the API can be found on Digital Ocean’s documentation site.

DigOc.Domain
DigOc.Domain.Record
DigOc.Droplet

For each of the actions (power_cycle, reboot, &c.) an action record is returned. When that happens, an async polling loop is created that monitors that record for the status to change from “in-progress.” When it does, a message is posted to the event manager. That message has the payload:

DigOc.EM
DigOc.EM.Monitor
DigOc.Image
DigOc.Key
DigOc.Macros.Droplet
DigOc.Macros.Page
DigOc.Page
DigOc.Request
DigOc.Supervisor