https://github.com/emacs-pe/docean.el.git
git clone 'git://github.com/emacs-pe/docean.el.git'
Interact with DigitalOcean from Emacs. -- lexical-binding: t --
Note:
docean.el
uses the API v2.0 of DigitalOcean.
docean.el
enables an easy interaction with DigitalOcean from
Emacs.
To configure your account you need generate an api key in https://cloud.digitalocean.com/settings/applications. and to set up, you can follow any of the following options:
(setq docean-oauth-token "mytoken")
to your init.el
DO_API_TOKEN
.To show your droplets you can use M-x docean-droplet-list
.
meta
abd links
in API responses.(docean-oauth-token)
Return the configured DigitalOcean token.
(docean-reboot-droplet ID)
Reboot a droplet identified by ID.
(docean-power-cicle-droplet ID)
Power cicle a droplet identified by ID.
(docean-shutdown-droplet ID)
Shutdown a droplet identified by ID.
(docean-power-off-droplet ID)
Power off a droplet identified by ID.
(docean-power-on-droplet ID)
Reboot a droplet identified by ID.
(docean-password-reset-droplet ID)
Reset password a droplet identified by ID.
(docean-enable-ipv6-droplet ID)
Enable ipv6 to a droplet identified by ID.
(docean-disable-backups-droplet ID)
Disable backups a droplet identified by ID.
(docean-enable-private-networking-droplet ID)
Enable private networking a droplet identified by ID.
(docean-rename-droplet ID &optional NAME)
Rename a droplet with ID and NAME.
(docean-snapshot-droplet ID &optional NAME)
Snapshot a droplet with ID and NAME.
(docean-droplet-list)
Show user droplets.
(docean-refetch-droplets)
Refetch droplets information.
(docean-action-list)
Show user actions.
(docean-refetch-actions)
Refetch actions information.
—–