HostOrchestratorUtil

public class HostOrchestratorUtil
extends Object

java.lang.Object
   ↳ com.android.tradefed.device.cloud.HostOrchestratorUtil


ยูทิลิตีสำหรับเรียกใช้คําสั่งผ่าน Host Orchestrator ในอินสแตนซ์ระยะไกล

สรุป

ตัวสร้างแบบสาธารณะ

HostOrchestratorUtil(ITestDevice device, GceAvdInfo gceAvd)
HostOrchestratorUtil(ITestDevice device, GceAvdInfo gceAvd, OxygenClient oxygenClient)

เมธอดสาธารณะ

CommandResult powerwashGce()

พยายามล้างข้อมูลอินสแตนซ์ GCE ผ่าน Host Orchestrator

File pullCvdHostLogs()

ดึงบันทึกของโฮสต์ CF ผ่านตัวจัดระเบียบโฮสต์

CommandResult restoreSnapshotGce()

พยายามกู้คืนสแนปชอตของอินสแตนซ์ Cuttlefish ผ่าน Host Orchestrator

CommandResult snapshotGce()

พยายามสแนปชอตอินสแตนซ์ Cuttlefish ผ่าน Host Orchestrator

CommandResult stopGce()

พยายามหยุดอินสแตนซ์ Cuttlefish ผ่าน Host Orchestrator

ตัวสร้างแบบสาธารณะ

HostOrchestratorUtil

public HostOrchestratorUtil (ITestDevice device, 
                GceAvdInfo gceAvd)

พารามิเตอร์
device ITestDevice

gceAvd GceAvdInfo

HostOrchestratorUtil

public HostOrchestratorUtil (ITestDevice device, 
                GceAvdInfo gceAvd, 
                OxygenClient oxygenClient)

พารามิเตอร์
device ITestDevice

gceAvd GceAvdInfo

oxygenClient OxygenClient

เมธอดสาธารณะ

powerwashGce

public CommandResult powerwashGce ()

พยายามล้างข้อมูลอินสแตนซ์ GCE ผ่าน Host Orchestrator

คิกรีเทิร์น
CommandResult CommandResult ที่มีสถานะและบันทึก

pullCvdHostLogs

public File pullCvdHostLogs ()

ดึงบันทึกของโฮสต์ CF ผ่านตัวจัดระเบียบโฮสต์

คิกรีเทิร์น
File

restoreSnapshotGce

public CommandResult restoreSnapshotGce ()

พยายามกู้คืนสแนปชอตของอินสแตนซ์ Cuttlefish ผ่าน Host Orchestrator

คิกรีเทิร์น
CommandResult

snapshotGce

public CommandResult snapshotGce ()

พยายามสแนปชอตอินสแตนซ์ Cuttlefish ผ่าน Host Orchestrator

คิกรีเทิร์น
CommandResult

stopGce

public CommandResult stopGce ()

พยายามหยุดอินสแตนซ์ Cuttlefish ผ่าน Host Orchestrator

คิกรีเทิร์น
CommandResult