common

package
v0.0.0-...-09f5993 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2026 License: Apache-2.0, BSD-2-Clause, ISC, + 1 more Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectHOLogs

func CollectHOLogs(baseURL string) error

func CreateCVDFromImageDirs

func CreateCVDFromImageDirs(srv hoclient.HostOrchestratorClient, hostPkgDir, imageDir string) (*hoapi.CVD, error)

func DownloadHostBugReport

func DownloadHostBugReport(srv hoclient.HostOrchestratorClient, group string) error

func PrepareArtifact

func PrepareArtifact(srv hoclient.HostOrchestratorClient, filename string) (string, error)

func VerifyLogsEndpoint

func VerifyLogsEndpoint(srvURL, group, name string) error

Types

type AdbHelper

type AdbHelper struct {
	// contains filtered or unexported fields
}

func NewAdbHelper

func NewAdbHelper() *AdbHelper

func (*AdbHelper) BuildShellCommand

func (h *AdbHelper) BuildShellCommand(serial string, cmd []string) *exec.Cmd

func (*AdbHelper) Connect

func (h *AdbHelper) Connect(serial string) error

func (*AdbHelper) ExecShellCommand

func (h *AdbHelper) ExecShellCommand(serial string, cmd []string) (string, error)

Return combined stdout and stderr

func (*AdbHelper) StartServer

func (h *AdbHelper) StartServer() error

func (*AdbHelper) WaitForDevice

func (h *AdbHelper) WaitForDevice(serial string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL