Methods
-
Class construct
-
all() : arrayList of all operations.
-
Get information on an operation.
-
Change operation to cancelling state.
-
Wait for an operation to complete.
Methods Details
-
public function __construct(array $config, variable $curl)Class construct
-
public function all()List of all operations.
$lxd->operations->all();
-
public function info(string $uuid)Get information on an operation.
$lxd->operations->info('operation-uuid');
-
public function cancel(string $uuid)Change operation to cancelling state.
$lxd->operations->cancel('operation-uuid');
-
public function wait(string $uuid, int $timeout)Wait for an operation to complete.
$lxd->operations->wait('operation-uuid', 30);