Functions for querying sessions.
Functions for querying sessions.
(admin-group session)User that remote commands are run under
User that remote commands are run under
(admin-user session)User that remote commands are run under.
User that remote commands are run under.
(effective-user session)Return the effective username.
Return the effective username.
(group-name session)Group name of the target-node.
Group name of the target-node.
(groups-with-role session role)All target groups with the specified role.
All target groups with the specified role.
(is-64bit? session)Predicate for a 64 bit target
Predicate for a 64 bit target
(nodes-in-group session group-name)All nodes with the specified group-name.
All nodes with the specified group-name.
(nodes-with-role session role)All target nodes with the specified role.
All target nodes with the specified role.
(os-family session)OS-Family of the target-node.
OS-Family of the target-node.
(os-version session)OS-Family of the target-node.
OS-Family of the target-node.
(role->nodes-map session)Returns a map from role to nodes.
Returns a map from role to nodes.
(safe-id unsafe-id)Computes a configuration and filesystem safe identifier corresponding to a potentially unsafe ID
Computes a configuration and filesystem safe identifier corresponding to a potentially unsafe ID
(session)Return the current session, which implements clojure's map interfaces.
Return the current session, which implements clojure's map interfaces.
(session-context pipeline-name event & args)Defines a session context.
Defines a session context.
(target-id session)Id of the target-node (unique for provider).
Id of the target-node (unique for provider).
(target-name session)Name of the target-node.
Name of the target-node.
(target-node session)Target compute service node.
Target compute service node.
(target-nodes session)Target nodes for current converge.
Target nodes for current converge.
(targets session)Targets for current converge.
Targets for current converge.
(targets-in-group session group-name)All targets with the specified group-name.
All targets with the specified group-name.
(targets-with-role session role)All targets with the specified role.
All targets with the specified role.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |