fix
This commit is contained in:
parent
74b329352c
commit
a2df6214cc
@ -11,8 +11,9 @@
|
|||||||
|
|
||||||
%% API
|
%% API
|
||||||
-export([pull_image/2, check_image_exist/1]).
|
-export([pull_image/2, check_image_exist/1]).
|
||||||
-export([create_container/3, check_container_exist/1, is_container_running/1, start_container/1, stop_container/1, remove_container/1, kill_container/1]).
|
-export([create_container/3, check_container_exist/1, is_container_running/1,
|
||||||
-export([get_containers/0]).
|
start_container/1, stop_container/1, remove_container/1, kill_container/1,
|
||||||
|
get_containers/0]).
|
||||||
|
|
||||||
-spec pull_image(Image :: binary(), Callback :: fun((Msg :: any()) -> no_return())) -> ok | {error, Reason :: any()}.
|
-spec pull_image(Image :: binary(), Callback :: fun((Msg :: any()) -> no_return())) -> ok | {error, Reason :: any()}.
|
||||||
pull_image(Image, Callback) when is_binary(Image), is_function(Callback, 1) ->
|
pull_image(Image, Callback) when is_binary(Image), is_function(Callback, 1) ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user