baricadr.task package

Module contents

class baricadr.task.TaskClient(url, login, password, endpoints)

Bases: baricadr.client.Client

Track progress of Baricadr tasks

list()

List recent tasks

Return type

list

Returns

List of tasks

log(task_id)

Show log from the task with the specified id

Parameters

task_id (str) – Task id

Return type

dict

Returns

Dict

remove(task_id)

Remove task with the selected id

Parameters

task_id (str) – Task id

Return type

dict

Returns

Dict

show(task_id)

Show task with the specified id

Parameters

task_id (str) – Task id

Return type

dict

Returns

Dict

zombies()

Kill zombie tasks

Return type

dict

Returns

Task id