HostOrchestratorUtil
public
class
HostOrchestratorUtil
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.device.cloud.HostOrchestratorUtil |
أداة لتنفيذ الأوامر من خلال "منظِّم المضيف" على النُسخ البعيدة
ملخّص
وظائف الإنشاء العامة | |
|---|---|
HostOrchestratorUtil(ITestDevice device, GceAvdInfo gceAvd)
|
|
HostOrchestratorUtil(ITestDevice device, GceAvdInfo gceAvd, OxygenClient oxygenClient)
|
|
الطرق العامة | |
|---|---|
CommandResult
|
powerwashGce()
محاولة إعادة ضبط مثيل GCE من خلال أداة Host Orchestrator |
File
|
pullCvdHostLogs()
سحب سجلات مضيفات CF من خلال أداة Host Orchestrator |
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 من خلال أداة Host Orchestrator
| المرتجعات | |
|---|---|
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 |
|