pallet.core.plan-state documentation

Functions to manipulate the plan-state map. The plan-state represents all the cumulative settings information on the nodes in an operation.

assoc-settings

fn

[plan-state node-id facility kw-values {:keys [instance-id]}]

Set the settings for the specified host facility. The instance-id allows the specification of specific instance of the facility (the default is :default).

get-settings

fn

[plan-state node-id facility {:keys [instance-id default]}]

Retrieve the settings for the specified host facility. The instance-id allows the specification of specific instance of the facility. If passed a nil instance-id, then :default is used

update-settings

fn

[plan-state node-id facility f args {:keys [instance-id]}]

Update the settings for the specified host facility. The instance-id allows the specification of specific instance of the facility (the default is :default).