sig
module Host :
sig
type t = Ketrew_pure.Host.t
val parse : string -> Ketrew.EDSL.Host.t
val tmp_on_localhost : Ketrew.EDSL.Host.t
val ssh :
?add_ssh_options:string list ->
?playground:string ->
?port:int ->
?user:string -> ?name:string -> string -> Ketrew.EDSL.Host.t
val cmdliner_term :
?doc:string ->
[ `Flag of string list | `Required of int ] ->
Ketrew.EDSL.Host.t Cmdliner.Term.t
end
module Program :
sig
type t = Ketrew_pure.Program.t
val sh : string -> Ketrew.EDSL.Program.t
val shf :
('a, unit, string, Ketrew.EDSL.Program.t) Pervasives.format4 -> 'a
val exec : string list -> Ketrew.EDSL.Program.t
val ( && ) :
Ketrew.EDSL.Program.t ->
Ketrew.EDSL.Program.t -> Ketrew.EDSL.Program.t
val chain : Ketrew.EDSL.Program.t list -> Ketrew.EDSL.Program.t
end
module Condition :
sig
type t = Ketrew_pure.Target.Condition.t
val ( && ) :
Ketrew.EDSL.Condition.t ->
Ketrew.EDSL.Condition.t -> Ketrew.EDSL.Condition.t
val chain_and : Ketrew.EDSL.Condition.t list -> Ketrew.EDSL.Condition.t
val never : Ketrew.EDSL.Condition.t
val program :
?returns:int ->
?host:Ketrew.EDSL.Host.t ->
Ketrew.EDSL.Program.t -> Ketrew.EDSL.Condition.t
end
class type user_artifact =
object
method exists : Ketrew_pure.Target.Condition.t
method is_bigger_than : int -> Ketrew_pure.Target.Condition.t
method path : string
end
val file : ?host:Ketrew.EDSL.Host.t -> string -> Ketrew.EDSL.user_artifact
val unit : Ketrew.EDSL.user_artifact
class type user_target =
object
method activate : unit
method add_tags : string list -> unit
method depends_on : Ketrew.EDSL.user_target list
method id : Ketrew_pure.Internal_pervasives.Unique_id.t
method is_active : bool
method metadata : [ `String of string ] option
method name : string
method on_failure_activate : Ketrew.EDSL.user_target list
method on_success_activate : Ketrew.EDSL.user_target list
method product : Ketrew.EDSL.user_artifact
method render : Ketrew_pure.Target.t
end
val target :
?active:bool ->
?depends_on:Ketrew.EDSL.user_target list ->
?make:Ketrew_pure.Target.Build_process.t ->
?done_when:Ketrew_pure.Target.Condition.t ->
?metadata:[ `String of string ] ->
?product:Ketrew.EDSL.user_artifact ->
?equivalence:Ketrew_pure.Target.Equivalence.t ->
?on_failure_activate:Ketrew.EDSL.user_target list ->
?on_success_activate:Ketrew.EDSL.user_target list ->
?tags:string list -> string -> Ketrew.EDSL.user_target
val file_target :
?depends_on:Ketrew.EDSL.user_target list ->
?make:Ketrew_pure.Target.Build_process.t ->
?metadata:[ `String of string ] ->
?name:string ->
?host:Ketrew.EDSL.Host.t ->
?equivalence:Ketrew_pure.Target.Equivalence.t ->
?on_failure_activate:Ketrew.EDSL.user_target list ->
?on_success_activate:Ketrew.EDSL.user_target list ->
?tags:string list -> string -> Ketrew.EDSL.user_target
val daemonize :
?starting_timeout:float ->
?call_script:(string -> string list) ->
?using:[ `Nohup_setsid | `Python_daemon ] ->
?host:Ketrew.EDSL.Host.t ->
?no_log_is_ok:bool ->
Ketrew.EDSL.Program.t -> Ketrew_pure.Target.Build_process.t
val lsf :
?host:Ketrew.EDSL.Host.t ->
?queue:string ->
?name:string ->
?wall_limit:string ->
?processors:[ `Min of int | `Min_max of int * int ] ->
?project:string ->
Ketrew.EDSL.Program.t -> Ketrew_pure.Target.Build_process.t
val pbs :
?host:Ketrew.EDSL.Host.t ->
?queue:string ->
?name:string ->
?wall_limit:[ `Hours of float ] ->
?processors:int ->
?email_user:[ `Always of string | `Never ] ->
?shell:string ->
Ketrew.EDSL.Program.t -> [> `Long_running of string * string ]
val yarn_application :
?host:Ketrew.EDSL.Host.t ->
?daemonize_using:[ `Nohup_setsid | `Python_daemon ] ->
?daemon_start_timeout:float ->
Ketrew.EDSL.Program.t -> [> `Long_running of string * string ]
val yarn_distributed_shell :
?host:Ketrew.EDSL.Host.t ->
?daemonize_using:[ `Nohup_setsid | `Python_daemon ] ->
?daemon_start_timeout:float ->
?hadoop_bin:string ->
?distributed_shell_shell_jar:string ->
container_memory:[ `GB of int | `MB of int | `Raw of string ] ->
timeout:[ `Raw of string | `Seconds of int ] ->
application_name:string ->
Ketrew.EDSL.Program.t -> [> `Long_running of string * string ]
val to_display_string :
?ansi_colors:bool ->
?indentation:int -> Ketrew.EDSL.user_target -> string
end