illithid v0.1.0 Illithid.ServerManager.Hetzner.API.Dev

The production API handler

Link to this section Summary

Link to this section Functions

Link to this function

create_server(map)

create_server(map()) ::
  {:ok, Illithid.Models.Server.t()} | {:error, String.t()}

Callback implementation for Illithid.ServerManager.HostAPIBehaviour.create_server/1.

Link to this function

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.

Link to this function

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.

Link to this function

list_images(local_only \\ true)

list_images(local_only :: bool()) :: {:ok, map()}

Callback implementation for Illithid.ServerManager.HostAPIBehaviour.list_images/1.

Link to this function

list_servers(ops \\ [fail: false])

Link to this function

server_alive?(server)

server_alive?(Illithid.Models.Server.t()) :: boolean()

Callback implementation for Illithid.ServerManager.HostAPIBehaviour.server_alive?/1.