Flexmasa.Mavryk_admin_client
Wrapper around the mavkit-admin-client
application.
type t = private {
id : Internal_pervasives.string;
port : Internal_pervasives.int;
exec : Mavryk_executable.t;
}
t
is very similar to Mavryk_client.t
.
val of_client : exec:Mavryk_executable.t -> Mavryk_client.t -> t
val of_node : exec:Mavryk_executable.t -> Mavryk_node.t -> t
val make_command :
< env_config : Environment_configuration.t ; paths : Paths.t.. > ->
t ->
Internal_pervasives.string Internal_pervasives.list ->
Internal_pervasives.unit Genspio.EDSL.t
Build a Genspio.EDSL.t
command.
val successful_command :
t ->
< application_name : Internal_pervasives.string
; console : Console.t
; env_config : Environment_configuration.t
; paths : Paths.t
; runner : Running_processes.State.t.. > ->
Internal_pervasives.string Internal_pervasives.list ->
(Internal_pervasives.Process_result.t,
[> Internal_pervasives.Process_result.Error.t
| Internal_pervasives.System_error.t ])
Internal_pervasives.Asynchronous_result.t
val inject_protocol :
t ->
< application_name : Internal_pervasives.string
; console : Console.t
; paths : Paths.t
; env_config : Environment_configuration.t
; runner : Running_processes.State.t.. > ->
path:Internal_pervasives.string ->
(Internal_pervasives.Process_result.t * Internal_pervasives.string,
[> Internal_pervasives.Process_result.Error.t
| Internal_pervasives.System_error.t ])
Internal_pervasives.Asynchronous_result.t