pallet.core.api-impl documentation

Implementation functions for the core api.

merge-spec-algorithm

var

Map from key to merge algorithm. Specifies how specs are merged.

merge-specs

fn

[algorithms a b]

Merge specs using the specified algorithms.

node->node-map

fn

[groups]

Build a map entry from a node and a list of groups.

node-has-group-name?

fn

[group-name]

Returns a predicate to check if a node has the specified group name.

node-in-group?

fn

[node group]

Check if a node satisfies a group's node-filter.

with-script-for-node

macro

[target plan-state & body]

Set up the script context for a server