Packages

This package implements the full CloudAPI for managing Joyent Triton clusters

Current section

Files

Jump to
cloudapi lib datacenter.ex
Raw

lib/datacenter.ex

defmodule CloudAPI.Datacenter do
@moduledoc """
This structure represents a CloudAPI Datacenter used to communicate with a Triton Cluster.
"""
use Ecto.Schema
@primary_key false
embedded_schema do
field :endpoint, :string
field :account, :string
field :keyfile, :string
field :keyname, :string
end
end