illithid v0.1.0 Illithid.ServerManager.HostAPIBehaviour behaviour

The contract for host apis.

Link to this section Summary

Link to this section Callbacks

Link to this callback

create_server(arg1)

Link to this callback

destroy_server(arg1)

destroy_server(String.t() | Illithid.Models.Server.t()) ::
  {:ok, Illithid.Models.Server.t()} | {:error, String.t()}
Link to this callback

get_server(arg1)

get_server(String.t()) ::
  {:ok, Illithid.Models.Server.t()} | {:error, String.t()}
Link to this callback

list_images(bool)

list_images(bool()) :: {:ok, map()} | {:error, atom()}
Link to this callback

list_servers()

list_servers() :: {:ok, [Illithid.Models.Server.t()]} | {:error, String.t()}
Link to this callback

server_alive?(arg1)

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