pallet.session documentation

Functions for querying sessions.

This is the official crate API for extracting information from the session.

admin-group

[session]

User that remote commands are run under

admin-user

[session]

User that remote commands are run under

base-distribution

[session]

Base distribution of the target-node.

group-name

[session]

Group name of the target-node.

groups-with-role

[session role]

All target groups with the specified role.

is-64bit?

[session]

Predicate for a 64 bit target

nodes-in-group

[session]
[session group-name]

All nodes in the same tag as the target-node, or with the specified tag.

nodes-with-role

[session role]

All target nodes with the specified role.

os-family

[session]

OS-Family of the target-node.

os-version

[session]

OS-Family of the target-node.

phase

[session]

Current phase

safe-id

[unsafe-id]

Computes a configuration and filesystem safe identifier corresponding to a potentially unsafe ID

safe-name

[session]

Safe name for target machine. Some providers don't allow for node names, only node ids, and there is no guarantee on the id format.

target-id

[session]

Id of the target-node (unique for provider).

target-ip

[session]

IP of the target-node.

target-name

[session]

Name of the target-node.

target-node

[session]

Target compute service node.

target-roles

[session]

Roles of the target server.