Liking cljdoc? Tell your friends :D

pallet.executors

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.
raw docstring

action-plan-dataclj

(action-plan-data session {:keys [action args blocks] :as action-m})

Return an action's data.

Return an action's data.
sourceraw docstring

bootstrap-executorclj

(bootstrap-executor session action)
source

default-executorclj

(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.
sourceraw docstring

direct-scriptclj

(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.
sourceraw docstring

echo-executorclj

(echo-executor session action)
source

force-target-via-ssh-executorclj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close