Packages
lexdee
2.3.10
2.6.4
2.6.3
2.6.2
2.6.1
2.6.0
2.5.1
2.5.0
2.4.5
2.4.4
2.4.3
2.4.2
2.4.1
2.4.0
2.3.11
2.3.10
2.3.9
2.3.8
2.3.7
2.3.6
2.3.5
2.3.4
2.3.3
2.3.2
2.3.0
2.2.7
2.2.6
2.2.5
2.2.3
2.2.2
2.2.1
2.2.0
2.1.1
2.0.2
2.0.1
2.0.0
1.0.6
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.3.3
0.3.2
0.3.1
0.3.0
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
Client library for LXD
Current section
Files
Jump to
Current section
Files
lib/lexdee/behaviour.ex
defmodule Lexdee.Behaviour do
@callback get_state(struct, binary, Keyword.t()) :: {:ok, map} | {:error, any}
@callback get_instance(struct, binary) :: {:ok, map} | {:error, any}
@callback get_instance(struct, binary, Keyword.t()) ::
{:ok, map} | {:error, any}
@callback get_project(struct, binary) :: {:ok, map} | {:error, any}
@callback create_project(struct, map) :: {:ok, map} | {:error, any}
@callback show_instance_log(struct, binary, binary) ::
{:ok, binary} | {:error, any}
@callback show_instance_log(struct, binary, binary, Keyword.t()) ::
{:ok, binary} | {:error, any}
@callback execute_command(struct, binary, binary) ::
{:ok, any} | {:error, any}
@callback execute_command(struct, binary, binary, Keyword.t()) ::
{:ok, any} | {:error, any}
@callback wait_for_operation(struct, map, Keyword.t()) ::
{:ok, any} | {:error, any}
@callback create_profile(struct, map) :: {:ok, any} | {:error, any}
@callback update_profile(struct, binary, map) :: {:ok, any} | {:error, any}
@callback create_certificate(struct, map) :: {:ok, any} | {:error, any}
@callback create_instance(struct, map, Keyword.t()) ::
{:ok, map} | {:error, map}
@callback delete_instance(struct, binary) :: {:ok, any} | {:error, any}
@callback delete_instance(struct, binary, Keyword.t()) ::
{:ok, map} | {:error, any}
@callback start_instance(struct, binary) :: {:ok, any} | {:error, any}
@callback start_instance(struct, binary, Keyword.t()) ::
{:ok, map} | {:error, any}
@callback restart_instance(struct, binary) :: {:ok, any} | {:error, any}
@callback restart_instance(struct, binary, Keyword.t()) ::
{:ok, map} | {:error, any}
@callback stop_instance(struct, binary, keyword) :: {:ok, any} | {:error, any}
@callback list_cluster_members(struct) :: {:ok, list}
@callback get_cluster_member(struct, binary) :: {:ok, map}
end