Function nomad_client::apis::nodes_api::get_allocations_for_node[][src]

pub async fn get_allocations_for_node(
    configuration: &Configuration,
    node_id: &str
) -> Result<Vec<AllocationListStub>, Error<GetAllocationsForNodeError>>

This can be used to determine what allocations have been scheduled on the node, their current status, and the values of dynamically assigned resources, like ports