Lines Matching refs:params

33      * $params['task_id']             = (string) Cancel the task with specified task id (node_id:task_number)
34 * $params['nodes'] = (list) A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes
35 * $params['actions'] = (list) A comma-separated list of actions that should be cancelled. Leave empty to cancel all.
36 * $params['parent_task_id'] = (string) Cancel tasks with specified parent task id (node_id:task_number). Set to -1 to cancel all.
37 * $params['wait_for_completion'] = (boolean) Should the request block until the cancellation of the task and its descendant tasks is completed. Defaults to false
39 * @param array $params Associative array of parameters
46 public function cancel(array $params = [])
48 $task_id = $this->extractArgument($params, 'task_id');
52 $endpoint->setParams($params);
60 * $params['task_id'] = (string) Return the task with specified id (node_id:task_number)
61 * $params['wait_for_completion'] = (boolean) Wait for the matching tasks to complete (default: false)
62 * $params['timeout'] = (time) Explicit operation timeout
64 * @param array $params Associative array of parameters
71 public function get(array $params = [])
73 $task_id = $this->extractArgument($params, 'task_id');
77 $endpoint->setParams($params);
85 * $params['nodes'] = (list) A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes
86 * $params['actions'] = (list) A comma-separated list of actions that should be returned. Leave empty to return all.
87 * $params['detailed'] = (boolean) Return detailed task information (default: false)
88 * $params['parent_task_id'] = (string) Return tasks with specified parent task id (node_id:task_number). Set to -1 to return all.
89 * $params['wait_for_completion'] = (boolean) Wait for the matching tasks to complete (default: false)
90 * $params['group_by'] = (enum) Group tasks by nodes or parent/child relationships (Options = nodes,parents,none) (Default = nodes)
91 * $params['timeout'] = (time) Explicit operation timeout
93 * @param array $params Associative array of parameters
100 public function list(array $params = [])
105 $endpoint->setParams($params);
112 public function tasksList(array $params = [])
114 return $this->list($params);