package current_ssh

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val run : schedule:Current_cache.Schedule.t -> key:string -> string -> string list Current.t -> unit Current.t

run ~schedule ~key host args records that key is now set to args, and runs ssh host args if it has changed. e.g. run ~schedule ~key:"my-ls" "fqdn" ["ls"; "-l"]

OCaml

Innovation. Community. Security.