sig
type cmdline_config
val args :
?defaults:Netplex_main.cmdline_config ->
unit -> (Arg.key * Arg.spec * Arg.doc) list * Netplex_main.cmdline_config
val create :
?config_filename:string ->
?config_tree:Netplex_types.config_tree ->
?pidfile:string option ->
?foreground:bool -> unit -> Netplex_main.cmdline_config
val modify :
?config_filename:string ->
?config_tree:Netplex_types.config_tree ->
?pidfile:string option ->
?foreground:bool ->
Netplex_main.cmdline_config -> Netplex_main.cmdline_config
val config_filename : Netplex_main.cmdline_config -> string
val config_filename_opt : Netplex_main.cmdline_config -> string option
val config_tree_opt :
Netplex_main.cmdline_config -> Netplex_types.config_tree option
val pidfile : Netplex_main.cmdline_config -> string option
val foreground : Netplex_main.cmdline_config -> bool
val startup :
?late_initializer:(Netplex_types.config_file ->
Netplex_types.controller -> unit) ->
?config_parser:(string -> Netplex_types.config_file) ->
Netplex_types.parallelizer ->
Netplex_types.logger_factory list ->
Netplex_types.workload_manager_factory list ->
Netplex_types.processor_factory list ->
Netplex_main.cmdline_config -> unit
val run :
?config_parser:(string -> Netplex_types.config_file) ->
late_initializer:(Netplex_types.config_file ->
Netplex_types.controller -> 'a) ->
extract_result:(Netplex_types.controller -> 'a -> 'b) ->
Netplex_types.parallelizer ->
Netplex_types.logger_factory list ->
Netplex_types.workload_manager_factory list ->
Netplex_types.processor_factory list -> Netplex_main.cmdline_config -> 'b
end