Liking cljdoc? Tell your friends :D

puppetlabs.puppetserver.common


action-registration-functionclj

source

action-shapeclj

source

code-id-validation-error-msgclj

(code-id-validation-error-msg code-id)

Inputs: [code-id :- schema/Str]

Inputs: [code-id :- schema/Str]
sourceraw docstring

CodeIdclj

Validates that code-id contains only alpha-numerics and '-', '_', ';', or ':'.

Validates that code-id contains only alpha-numerics and
'-', '_', ';', or ':'.
sourceraw docstring

Environmentclj

Schema for environment names. Alphanumeric and _ only.

Schema for environment names. Alphanumeric and _ only.
sourceraw docstring

environment-validation-error-msgclj

(environment-validation-error-msg environment)

Inputs: [environment :- schema/Str]

Inputs: [environment :- schema/Str]
sourceraw docstring

extract-file-names-from-pathsclj

(extract-file-names-from-paths paths-to-files)

Given a sequence of java.nio.file.Path objects, return a lazy sequence of the file names of the file represented by those paths. Example ['/foo/bar/baz.tmp'] will result in ['baz.tmp']

Given a sequence of java.nio.file.Path objects, return a lazy sequence of the file names of the file represented
by those paths. Example ['/foo/bar/baz.tmp'] will result in ['baz.tmp']
sourceraw docstring

JavaMap->ClojureMapcljprotocol

java->cljclj

(java->clj o)
source

parse-yamlclj

(parse-yaml yaml-string)
source

record-actionclj

(record-action action)

Inputs: [action :- action-shape]

Inputs: [action :- action-shape]
sourceraw docstring

remove-suffix-from-file-namesclj

(remove-suffix-from-file-names files suffix)

Given a suffix, and a sequence of file-names, remove the suffix from the filenames

Given a suffix, and a sequence of file-names, remove the suffix from the filenames
sourceraw docstring

with-safe-lockcljmacro

(with-safe-lock reentrant-lock descriptor timeout-in-seconds & body)

Given a ReentrantLock, acquire the lock, and hold it for the length of the execution of the body. If the lock can't be acquired, throw an exception to indicate a timeout. Log behaviors at trace level to aid with supportability

Given a ReentrantLock, acquire the lock, and hold it for the length of the execution of the body.
If the lock can't be acquired, throw an exception to indicate a timeout.  Log behaviors at trace level to aid with
supportability
sourceraw docstring

with-safe-read-lockcljmacro

(with-safe-read-lock read-write-lock descriptor timeout-in-seconds & body)

Given a ReentrantReadWriteLock, acquire the read lock, and hold it for the length of the execution of the body. If the lock can't be acquired, throw an exception to indicate a timeout. Log behaviors at trace level to aid with supportability

Given a ReentrantReadWriteLock, acquire the read lock, and hold it for the length of the execution of the body.
If the lock can't be acquired, throw an exception to indicate a timeout.  Log behaviors at trace level to aid with
supportability
sourceraw docstring

with-safe-write-lockcljmacro

(with-safe-write-lock read-write-lock descriptor timeout-in-seconds & body)

Given a ReentrantReadWriteLock, acquire the write lock, and hold it for the length of the execution of the body. If the lock can't be acquired, throw an exception to indicate a timeout. Log behaviors at trace level to aid with supportability

Given a ReentrantReadWriteLock, acquire the write lock, and hold it for the length of the execution of the body.
If the lock can't be acquired, throw an exception to indicate a timeout.  Log behaviors at trace level to aid with
supportability
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close