Interact with DigitalOcean from Emacs.
Note:
docean.el
uses the API v2.0 of DigitalOcean.
docean.el
enables an easy interaction with DigitalOcean from
Emacs.
- Show list of droplets.
- Perform droplet actions.
- Show actions performed by an account.
In order to use docean.el you need to generate API key for your Digital Ocean account. Go to https://cloud.digitalocean.com/settings/applications to generate your API key. docean.el can find your API key in the following ways:
- Add a
.authinfo.gpg
entry with the host set to "api.digitalocean.com" and password set to the API key. - Add
(setq docean-oauth-token "mytoken")
to yourinit.el
- Set the environment variable
DO_API_TOKEN
.
To show your droplets you can use M-x docean-droplet-list
.
- Handle
meta
andlinks
in API responses.
Oauth bearer token to interact with DigitalOcean api.
Default per_page
argument used in list requests.
Return the configured DigitalOcean token.
Reboot a droplet identified by ID.
Power cicle a droplet identified by ID.
Shutdown a droplet identified by ID.
Power off a droplet identified by ID.
Reboot a droplet identified by ID.
Reset password a droplet identified by ID.
Enable ipv6 to a droplet identified by ID.
Disable backups a droplet identified by ID.
Enable private networking a droplet identified by ID.
Rename a droplet with ID and NAME.
Snapshot a droplet with ID and NAME.
Show user droplets.
Refetch droplets information.
Show user actions.
Refetch actions information.