illithid v0.1.0 Illithid.ServerManager.DigitalOcean.API.Dev
The production API handler
Link to this section Summary
Functions
Callback implementation for Illithid.ServerManager.HostAPIBehaviour.create_server/1
.
Callback implementation for Illithid.ServerManager.HostAPIBehaviour.destroy_server/1
.
Callback implementation for Illithid.ServerManager.HostAPIBehaviour.get_server/1
.
Callback implementation for Illithid.ServerManager.HostAPIBehaviour.list_images/1
.
Callback implementation for Illithid.ServerManager.HostAPIBehaviour.server_alive?/1
.
Link to this section Functions
create_server(map)
create_server(map()) :: {:ok, Illithid.Models.Server.t()} | {:error, String.t()}
Callback implementation for Illithid.ServerManager.HostAPIBehaviour.create_server/1
.
destroy_server(server_name)
destroy_server(String.t() | Illithid.Models.Server.t()) :: {:ok, Illithid.Models.Server.t()} | {:error, String.t()}
Callback implementation for Illithid.ServerManager.HostAPIBehaviour.destroy_server/1
.
get_server(server_id)
get_server(server_id :: String.t()) :: {:ok, Illithid.Models.Server.t()} | {:error, String.t()}
Callback implementation for Illithid.ServerManager.HostAPIBehaviour.get_server/1
.
list_images(local_only \\ true)
list_images(local_only :: bool()) :: {:ok, map()}
Callback implementation for Illithid.ServerManager.HostAPIBehaviour.list_images/1
.
list_servers(ops \\ [fail: false])
Callback implementation for Illithid.ServerManager.HostAPIBehaviour.server_alive?/1
.