HostOrchestratorUtil
public
class
HostOrchestratorUtil
extends Object
java.lang.Object | |
↳ | com.android.tradefed.device.cloud.HostOrchestratorUtil |
Utilitaire permettant d'exécuter des commandes via l'orchestrateur d'hôte sur des instances distantes.
Résumé
Constructeurs publics | |
---|---|
HostOrchestratorUtil(ITestDevice device, GceAvdInfo gceAvd)
|
|
HostOrchestratorUtil(ITestDevice device, GceAvdInfo gceAvd, OxygenClient oxygenClient)
|
Méthodes publiques | |
---|---|
CommandResult
|
powerwashGce()
Essayez de nettoyer une instance GCE via Host Orchestrator. |
File
|
pullCvdHostLogs()
Extrayez les journaux de l'hôte CF via Host Orchestrator. |
CommandResult
|
restoreSnapshotGce()
Tentative de restauration d'un instantané d'une instance Cuttlefish via Host Orchestrator. |
CommandResult
|
snapshotGce()
Essayez de créer un instantané d'une instance Cuttlefish via Host Orchestrator. |
CommandResult
|
stopGce()
Tentative d'arrêt d'une instance Cuttlefish via Host Orchestrator. |
Constructeurs publics
HostOrchestratorUtil
public HostOrchestratorUtil (ITestDevice device, GceAvdInfo gceAvd)
Paramètres | |
---|---|
device |
ITestDevice |
gceAvd |
GceAvdInfo |
HostOrchestratorUtil
public HostOrchestratorUtil (ITestDevice device, GceAvdInfo gceAvd, OxygenClient oxygenClient)
Paramètres | |
---|---|
device |
ITestDevice |
gceAvd |
GceAvdInfo |
oxygenClient |
OxygenClient |
Méthodes publiques
powerwashGce
public CommandResult powerwashGce ()
Essayez de nettoyer une instance GCE via Host Orchestrator.
Renvoie | |
---|---|
CommandResult |
Un CommandResult contenant l'état et les journaux. |
pullCvdHostLogs
public File pullCvdHostLogs ()
Extrayez les journaux de l'hôte CF via Host Orchestrator.
Renvoie | |
---|---|
File |
restoreSnapshotGce
public CommandResult restoreSnapshotGce ()
Tentative de restauration d'un instantané d'une instance Cuttlefish via Host Orchestrator.
Renvoie | |
---|---|
CommandResult |
snapshotGce
public CommandResult snapshotGce ()
Essayez de créer un instantané d'une instance Cuttlefish via Host Orchestrator.
Renvoie | |
---|---|
CommandResult |
stopGce
public CommandResult stopGce ()
Tentative d'arrêt d'une instance Cuttlefish via Host Orchestrator.
Renvoie | |
---|---|
CommandResult |