HostOrchestratorUtil
public
class
HostOrchestratorUtil
extends Object
java.lang.Object | |
↳ | com.android.tradefed.device.cloud.HostOrchestratorUtil |
Narzędzie do wykonywania poleceń za pomocą aranżera hosta w przypadku instancji zdalnych.
Podsumowanie
Konstruktory publiczne | |
---|---|
HostOrchestratorUtil(ITestDevice device, GceAvdInfo gceAvd)
|
|
HostOrchestratorUtil(ITestDevice device, GceAvdInfo gceAvd, OxygenClient oxygenClient)
|
Metody publiczne | |
---|---|
CommandResult
|
powerwashGce()
Spróbuj wykonać czyszczenie instancji GCE za pomocą Host Orchestrator. |
File
|
pullCvdHostLogs()
Pobierz logi hosta CF za pomocą Host Orchestrator. |
CommandResult
|
restoreSnapshotGce()
Spróbuj przywrócić zrzut instancji Cuttlefish za pomocą Host Orchestrator. |
CommandResult
|
snapshotGce()
Spróbuj utworzyć zrzut instancji Cuttlefish za pomocą aranżera hosta. |
CommandResult
|
stopGce()
Próba zatrzymania instancji Cuttlefish za pomocą Host Orchestrator. |
Konstruktory publiczne
HostOrchestratorUtil
public HostOrchestratorUtil (ITestDevice device, GceAvdInfo gceAvd)
Parametry | |
---|---|
device |
ITestDevice |
gceAvd |
GceAvdInfo |
HostOrchestratorUtil
public HostOrchestratorUtil (ITestDevice device, GceAvdInfo gceAvd, OxygenClient oxygenClient)
Parametry | |
---|---|
device |
ITestDevice |
gceAvd |
GceAvdInfo |
oxygenClient |
OxygenClient |
Metody publiczne
powerwashGce
public CommandResult powerwashGce ()
Spróbuj wykonać czyszczenie pełne instancji GCE za pomocą Host Orchestrator.
Zwroty | |
---|---|
CommandResult |
CommandResult zawierający stan i logi. |
pullCvdHostLogs
public File pullCvdHostLogs ()
Pobierz logi hosta CF za pomocą Host Orchestrator.
Zwroty | |
---|---|
File |
restoreSnapshotGce
public CommandResult restoreSnapshotGce ()
Spróbuj przywrócić zrzut instancji Cuttlefish za pomocą Host Orchestrator.
Zwroty | |
---|---|
CommandResult |
snapshotGce
public CommandResult snapshotGce ()
Spróbuj utworzyć zrzut instancji Cuttlefish za pomocą aranżera hosta.
Zwroty | |
---|---|
CommandResult |
stopGce
public CommandResult stopGce ()
Próba zatrzymania instancji Cuttlefish za pomocą Host Orchestrator.
Zwroty | |
---|---|
CommandResult |