API Reference doex v0.12.2

Modules

An elixir implementation of the DigitalOcean API v2. From their documentation

Make almost direct calls to the Digital Ocean API.

Block the command line until a condition is met,

Reads, updates or deletes Doex configuration keys.

Execute a Digital Ocean API DELETE request

Create a new digital ocean droplet

Locate a droplet ID. This can be done by name

THIS IS CURRENTLY UNDER CONSTRUCTION, AWAITING FEEDBACK FROM DigitalOcean on a possible bug in the resource tag API.

Locate a floating ip ID. This can be done by name

Reassign a floating IP from one droplet to another

Execute a Digital Ocean API GET request

Locate a ID of a resource. This can be done by name or tag.

Create a DitigalOcean snapshot based on a select (opinionated) templates

Initialize your doex config

Get the IP of a droplet

List your resources.

Execute a Digital Ocean API POST request

Execute a Digital Ocean API POST request

Secure copy a file from <src> to your droplet's <target>

Creates a snapshot of an existing Digital Ocean droplet. This differs from the underlying snapshot API, as it will ensure all necessary preconditions are set, and can (if desired) block until the process is finished

Execute a command on your droplet

Add the droplet hostkey to the executing server

Access service functionality through Elixir functions, wrapping the underlying HTTP API calls.

There are a few ways to configure access to your Digital Ocean account. First, you should go and find your API TOKEN

Takes a list of rows (themselves a list of columns) and returns iodata containing an aligned ASCII table with padding spaces between each column.

Provides global access to the loaded configs, the API is available directly with Doex, so there is little need to dive too deep into here to learn how to use the API, but rather for understanding the internals of the project.

Mix Tasks

Prints (doex) Digital Ocean API v2 mix client help information

Block the command line until a condition is met,

Reads, updates or deletes Doex configuration keys.

Execute a Digital Ocean API DELETE request

Create a new digital ocean droplet

Locate a droplet ID. This can be done by name

Tag a droplet.

Locate a floating ip ID. This can be done by name

Reassign a floating IP from one droplet to another

Execute a Digital Ocean API GET request

Locate a ID of a resource. This can be done by name or tag.

Create a DitigalOcean snapshot based on a select (opinionated) templates

Initialize your doex config

Get the IP of a droplet

List your resources.

Execute a Digital Ocean API POST request

Execute a Digital Ocean API PUT request

Secure copy a file from <src> to your droplet's <target>

Creates a snapshot of an existing Digital Ocean droplet. This differs from the underlying snapshot API, as it will ensure all necessary preconditions are set, and can (if desired) block until the process is finished

Execute a command on your droplet

Add the droplet hostkey to the executing server