public function testDeleteServer() { if (empty(self::$serverId)) { $this->markTestSkipped('The server ID is empty'); } $this->assertTrue($this->compute->deleteServer(self::$serverId)); }
/** * Get the progress's status * * @return integer|bool */ public function getProgress() { $data = $this->service->getImage($this->id); if ($data !== false) { $data = $data->toArray(); $this->progress = $data['progress']; return $this->progress; } return false; }
/** * Reboot the server * * @return bool */ public function reboot($hard = false) { return $this->service->rebootServer($this->id, $hard); }