Liking cljdoc? Tell your friends :D

pallet.execute

Execute actions.

Execute actions.
raw docstring

clean-logsclj

(clean-logs user)

Clean passwords from logs

Clean passwords from logs
sourceraw docstring

clear-target-flagclj

(clear-target-flag session flag)

Clear flag for target.

Clear flag for target.
sourceraw docstring

log-script-outputclj

(log-script-output server user)

Return a function to log (multi-line) script output, removing passwords.

Return a function to log (multi-line) script output, removing passwords.
sourceraw docstring

normalise-eolclj

(normalise-eol s)

Convert eol into platform specific value

Convert eol into platform specific value
sourceraw docstring

parse-flag-valuesclj

(parse-flag-values output)

Parse flags with values from the output stream of an action.

Parse flags with values from the output stream of an action.
sourceraw docstring

parse-flagsclj

(parse-flags output)

Parse flags from the output stream of an action.

Parse flags from the output stream of an action.
sourceraw docstring

parse-shell-resultclj

(parse-shell-result session {:keys [out] :as result})

Sets the :flags key in a shell result map for any flags set by an action.

Sets the :flags key in a shell result map for any flags set by an action.
sourceraw docstring

result-with-error-mapclj

(result-with-error-map server msg {:keys [exit] :as result})

Verify the return code of a script execution, and add an error map if there is a non-zero result :exit

Verify the return code of a script execution, and add an error map if
there is a non-zero result :exit
sourceraw docstring

script-error-mapclj

(script-error-map server msg result)

Create an error map for a script execution

Create an error map for a script execution
sourceraw docstring

set-target-flag-valuesclj

(set-target-flag-values session flag-values)

Set flag values for target.

Set flag values for target.
sourceraw docstring

set-target-flagsclj

(set-target-flags session flags)

Set flags for target.

Set flags for target.
sourceraw docstring

status-line?clj

(status-line? line)
source

status-linesclj

(status-lines lines)

Return script status lines from the given sequence of lines.

Return script status lines from the given sequence of lines.
sourceraw docstring

strip-sudo-passwordclj

(strip-sudo-password s user)

Elides the user's password or sudo-password from the given script output.

Elides the user's password or sudo-password from the given script output.
sourceraw docstring

target-flag-valueclj

(target-flag-value session flag)

Get flag value for target.

Get flag value for target.
sourceraw docstring

target-flag?clj

(target-flag? flag)
(target-flag? session flag)

Predicate to test if the specified flag is set for target.

Predicate to test if the specified flag is set for target.
sourceraw docstring

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

× close