Action executors for pallet.
An action has a :action-type. Known types include :script and :fn/clojure.
An action has a :location, :origin for execution on the node running pallet, and :target for the target node.
The action-type determines how the action should be handled:
:script - action produces script for execution on remote machine :fn/clojure - action is a function for local execution :transfer/to-local - action is a function specifying remote source and local destination. :transfer/from-local - action is a function specifying local source and remote destination.
Action executors for pallet. An action has a :action-type. Known types include :script and :fn/clojure. An action has a :location, :origin for execution on the node running pallet, and :target for the target node. The action-type determines how the action should be handled: :script - action produces script for execution on remote machine :fn/clojure - action is a function for local execution :transfer/to-local - action is a function specifying remote source and local destination. :transfer/from-local - action is a function specifying local source and remote destination.
(action-plan-data session {:keys [action args blocks] :as action-m})
Return an action's data.
Return an action's data.
(default-executor session action)
The standard direct executor for pallet. Target actions for localhost are executed via shell, rather than via ssh.
The standard direct executor for pallet. Target actions for localhost are executed via shell, rather than via ssh.
(direct-script session {:keys [args script-dir] :as action})
Execute the direct action implementation, which returns script or other argument data, and metadata.
Execute the direct action implementation, which returns script or other argument data, and metadata.
(force-target-via-ssh-executor session action)
Direct executor where target actions are always over ssh.
Direct executor where target actions are always over ssh.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close