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)
create_server(Illithid.Models.ServerCreationContext.t()) :: {:ok, Illithid.Models.Server.t()} | {:error, String.t()}
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_servers()
list_servers() :: {:ok, [Illithid.Models.Server.t()]} | {:error, String.t()}