illithid v0.1.0 Illithid.ServerManager.DigitalOcean.API.Prod
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.list_servers/0
.
Callback implementation for Illithid.ServerManager.HostAPIBehaviour.server_alive?/1
.
Link to this section Functions
create_server(request)
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(list_local \\ true)
Callback implementation for Illithid.ServerManager.HostAPIBehaviour.list_images/1
.
list_servers()
list_servers() :: {:ok, [Illithid.Models.Server.t()]} | {:error, String.t()}
Callback implementation for Illithid.ServerManager.HostAPIBehaviour.list_servers/0
.
Callback implementation for Illithid.ServerManager.HostAPIBehaviour.server_alive?/1
.