Documentation
¶
Index ¶
- type CleanupCommand
- type CopyDataCommand
- type ExtractZipCommand
- type FetchCIPDPackageCommand
- type FetchDutInfoCommand
- type FlashOsCommand
- type InstallAPKCommand
- type RebootToBootloaderCommand
- type ResolveCIPDPackageCommand
- type ResolveImagePathCommand
- type RestartADBCommand
- type RestartAppCommand
- type UploadAPKToGSCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CleanupCommand ¶
type CleanupCommand struct {
// contains filtered or unexported fields
}
func NewCleanupCommand ¶
func NewCleanupCommand(ctx context.Context, svc *service.AndroidService) *CleanupCommand
func (*CleanupCommand) GetErrorMessage ¶
func (c *CleanupCommand) GetErrorMessage() string
func (*CleanupCommand) GetStatus ¶
func (c *CleanupCommand) GetStatus() api.InstallResponse_Status
func (*CleanupCommand) Revert ¶
func (c *CleanupCommand) Revert() error
type CopyDataCommand ¶
type CopyDataCommand struct {
// contains filtered or unexported fields
}
func NewCopyDataCommand ¶
func NewCopyDataCommand(ctx context.Context, svc *service.AndroidService) *CopyDataCommand
func (*CopyDataCommand) GetErrorMessage ¶
func (c *CopyDataCommand) GetErrorMessage() string
func (*CopyDataCommand) GetStatus ¶
func (c *CopyDataCommand) GetStatus() api.InstallResponse_Status
func (*CopyDataCommand) Revert ¶
func (c *CopyDataCommand) Revert() error
type ExtractZipCommand ¶
type ExtractZipCommand struct {
// contains filtered or unexported fields
}
func NewExtractZipCommand ¶
func NewExtractZipCommand(ctx context.Context, svc *service.AndroidService) *ExtractZipCommand
func (*ExtractZipCommand) GetErrorMessage ¶
func (c *ExtractZipCommand) GetErrorMessage() string
func (*ExtractZipCommand) GetStatus ¶
func (c *ExtractZipCommand) GetStatus() api.InstallResponse_Status
func (*ExtractZipCommand) Revert ¶
func (c *ExtractZipCommand) Revert() error
type FetchCIPDPackageCommand ¶
type FetchCIPDPackageCommand struct {
// contains filtered or unexported fields
}
func NewFetchCIPDPackageCommand ¶
func NewFetchCIPDPackageCommand(ctx context.Context, svc *service.AndroidService) *FetchCIPDPackageCommand
func (*FetchCIPDPackageCommand) Execute ¶
func (c *FetchCIPDPackageCommand) Execute(log *log.Logger) error
func (*FetchCIPDPackageCommand) GetErrorMessage ¶
func (c *FetchCIPDPackageCommand) GetErrorMessage() string
func (*FetchCIPDPackageCommand) GetStatus ¶
func (c *FetchCIPDPackageCommand) GetStatus() api.InstallResponse_Status
func (*FetchCIPDPackageCommand) Revert ¶
func (c *FetchCIPDPackageCommand) Revert() error
type FetchDutInfoCommand ¶
type FetchDutInfoCommand struct {
// contains filtered or unexported fields
}
func NewFetchDutInfoCommand ¶
func NewFetchDutInfoCommand(ctx context.Context, svc *service.AndroidService) *FetchDutInfoCommand
func (*FetchDutInfoCommand) GetErrorMessage ¶
func (c *FetchDutInfoCommand) GetErrorMessage() string
func (*FetchDutInfoCommand) GetStatus ¶
func (c *FetchDutInfoCommand) GetStatus() api.InstallResponse_Status
func (*FetchDutInfoCommand) Revert ¶
func (c *FetchDutInfoCommand) Revert() error
type FlashOsCommand ¶
type FlashOsCommand struct {
// contains filtered or unexported fields
}
func NewFlashOsCommand ¶
func NewFlashOsCommand(ctx context.Context, svc *service.AndroidService) *FlashOsCommand
func (*FlashOsCommand) GetErrorMessage ¶
func (c *FlashOsCommand) GetErrorMessage() string
func (*FlashOsCommand) GetStatus ¶
func (c *FlashOsCommand) GetStatus() api.InstallResponse_Status
func (*FlashOsCommand) Revert ¶
func (c *FlashOsCommand) Revert() error
type InstallAPKCommand ¶
type InstallAPKCommand struct {
// contains filtered or unexported fields
}
func NewInstallAPKCommand ¶
func NewInstallAPKCommand(ctx context.Context, svc *service.AndroidService) *InstallAPKCommand
func (*InstallAPKCommand) GetErrorMessage ¶
func (c *InstallAPKCommand) GetErrorMessage() string
func (*InstallAPKCommand) GetStatus ¶
func (c *InstallAPKCommand) GetStatus() api.InstallResponse_Status
func (*InstallAPKCommand) Revert ¶
func (c *InstallAPKCommand) Revert() error
type RebootToBootloaderCommand ¶
type RebootToBootloaderCommand struct {
// contains filtered or unexported fields
}
func NewRebootToBootloaderCommand ¶
func NewRebootToBootloaderCommand(ctx context.Context, svc *service.AndroidService) *RebootToBootloaderCommand
func (*RebootToBootloaderCommand) Execute ¶
func (c *RebootToBootloaderCommand) Execute(log *log.Logger) error
func (*RebootToBootloaderCommand) GetErrorMessage ¶
func (c *RebootToBootloaderCommand) GetErrorMessage() string
func (*RebootToBootloaderCommand) GetStatus ¶
func (c *RebootToBootloaderCommand) GetStatus() api.InstallResponse_Status
func (*RebootToBootloaderCommand) Revert ¶
func (c *RebootToBootloaderCommand) Revert() error
type ResolveCIPDPackageCommand ¶
type ResolveCIPDPackageCommand struct {
// contains filtered or unexported fields
}
func NewResolveCIPDPackageCommand ¶
func NewResolveCIPDPackageCommand(ctx context.Context, svc *service.AndroidService) *ResolveCIPDPackageCommand
func (*ResolveCIPDPackageCommand) Execute ¶
func (c *ResolveCIPDPackageCommand) Execute(log *log.Logger) error
func (*ResolveCIPDPackageCommand) GetErrorMessage ¶
func (c *ResolveCIPDPackageCommand) GetErrorMessage() string
func (*ResolveCIPDPackageCommand) GetStatus ¶
func (c *ResolveCIPDPackageCommand) GetStatus() api.InstallResponse_Status
func (*ResolveCIPDPackageCommand) Revert ¶
func (c *ResolveCIPDPackageCommand) Revert() error
type ResolveImagePathCommand ¶
type ResolveImagePathCommand struct {
// contains filtered or unexported fields
}
func NewResolveImagePathCommand ¶
func NewResolveImagePathCommand(ctx context.Context, svc *service.AndroidService) *ResolveImagePathCommand
func (*ResolveImagePathCommand) Execute ¶
func (c *ResolveImagePathCommand) Execute(log *log.Logger) error
func (*ResolveImagePathCommand) GetErrorMessage ¶
func (c *ResolveImagePathCommand) GetErrorMessage() string
func (*ResolveImagePathCommand) GetStatus ¶
func (c *ResolveImagePathCommand) GetStatus() api.InstallResponse_Status
func (*ResolveImagePathCommand) Revert ¶
func (c *ResolveImagePathCommand) Revert() error
type RestartADBCommand ¶
type RestartADBCommand struct {
// contains filtered or unexported fields
}
func NewRestartADBCommand ¶
func NewRestartADBCommand(ctx context.Context, svc *service.AndroidService) *RestartADBCommand
func (*RestartADBCommand) GetErrorMessage ¶
func (c *RestartADBCommand) GetErrorMessage() string
func (*RestartADBCommand) GetStatus ¶
func (c *RestartADBCommand) GetStatus() api.InstallResponse_Status
func (*RestartADBCommand) Revert ¶
func (c *RestartADBCommand) Revert() error
type RestartAppCommand ¶
type RestartAppCommand struct {
// contains filtered or unexported fields
}
func NewRestartAppCommand ¶
func NewRestartAppCommand(ctx context.Context, svc *service.AndroidService) *RestartAppCommand
func (*RestartAppCommand) GetErrorMessage ¶
func (c *RestartAppCommand) GetErrorMessage() string
func (*RestartAppCommand) GetStatus ¶
func (c *RestartAppCommand) GetStatus() api.InstallResponse_Status
func (*RestartAppCommand) Revert ¶
func (c *RestartAppCommand) Revert() error
type UploadAPKToGSCommand ¶
type UploadAPKToGSCommand struct {
// contains filtered or unexported fields
}
func NewUploadAPKToGSCommand ¶
func NewUploadAPKToGSCommand(ctx context.Context, svc *service.AndroidService) *UploadAPKToGSCommand
func (*UploadAPKToGSCommand) Execute ¶
func (c *UploadAPKToGSCommand) Execute(log *log.Logger) error
func (*UploadAPKToGSCommand) GetErrorMessage ¶
func (c *UploadAPKToGSCommand) GetErrorMessage() string
func (*UploadAPKToGSCommand) GetStatus ¶
func (c *UploadAPKToGSCommand) GetStatus() api.InstallResponse_Status
func (*UploadAPKToGSCommand) Revert ¶
func (c *UploadAPKToGSCommand) Revert() error
Source Files
¶
- cleanup_command.go
- copy_data_command.go
- extract_zip_command.go
- fetch_cipd_package_command.go
- fetch_dut_info_command.go
- fetch_dut_info_helpers.go
- flash_os_command.go
- install_apk_command.go
- reboot_helpers.go
- reboot_to_bootloader_command.go
- resolve_cipd_package_command.go
- resolve_image_path_command.go
- restart_adb_command.go
- restart_app_command.go
- upload_apk_to_gs_command.go
Click to show internal directories.
Click to hide internal directories.