Documentation
¶
Overview ¶
Package tlw provides an abstract representation of the TLW API which is used by recovery
Index ¶
- Constants
- Variables
- type AMTManager
- func (*AMTManager) Descriptor() ([]byte, []int)deprecated
- func (x *AMTManager) GetHostname() string
- func (x *AMTManager) GetState() AMTManager_State
- func (x *AMTManager) GetUseTls() bool
- func (*AMTManager) ProtoMessage()
- func (x *AMTManager) ProtoReflect() protoreflect.Message
- func (x *AMTManager) Reset()
- func (x *AMTManager) String() string
- type AMTManager_State
- func (AMTManager_State) Descriptor() protoreflect.EnumDescriptor
- func (x AMTManager_State) Enum() *AMTManager_State
- func (AMTManager_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x AMTManager_State) Number() protoreflect.EnumNumber
- func (x AMTManager_State) String() string
- func (AMTManager_State) Type() protoreflect.EnumType
- type Access
- type Android
- func (*Android) Descriptor() ([]byte, []int)deprecated
- func (x *Android) GetAssociatedHostname() string
- func (x *Android) GetBoard() string
- func (x *Android) GetModel() string
- func (x *Android) GetSerialNumber() string
- func (*Android) ProtoMessage()
- func (x *Android) ProtoReflect() protoreflect.Message
- func (x *Android) Reset()
- func (x *Android) String() string
- type AsusWrtRouterControllerState
- func (*AsusWrtRouterControllerState) Descriptor() ([]byte, []int)deprecated
- func (x *AsusWrtRouterControllerState) GetAsusModel() string
- func (*AsusWrtRouterControllerState) ProtoMessage()
- func (x *AsusWrtRouterControllerState) ProtoReflect() protoreflect.Message
- func (x *AsusWrtRouterControllerState) Reset()
- func (x *AsusWrtRouterControllerState) String() string
- type AudioLatencyToolkit
- func (*AudioLatencyToolkit) Descriptor() ([]byte, []int)deprecated
- func (x *AudioLatencyToolkit) GetState() AudioLatencyToolkit_State
- func (x *AudioLatencyToolkit) GetVersion() string
- func (*AudioLatencyToolkit) ProtoMessage()
- func (x *AudioLatencyToolkit) ProtoReflect() protoreflect.Message
- func (x *AudioLatencyToolkit) Reset()
- func (x *AudioLatencyToolkit) String() string
- type AudioLatencyToolkit_State
- func (AudioLatencyToolkit_State) Descriptor() protoreflect.EnumDescriptor
- func (x AudioLatencyToolkit_State) Enum() *AudioLatencyToolkit_State
- func (AudioLatencyToolkit_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x AudioLatencyToolkit_State) Number() protoreflect.EnumNumber
- func (x AudioLatencyToolkit_State) String() string
- func (AudioLatencyToolkit_State) Type() protoreflect.EnumType
- type Battery
- type Bluetooth
- type BluetoothPeer
- func (*BluetoothPeer) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothPeer) GetName() string
- func (x *BluetoothPeer) GetState() BluetoothPeer_State
- func (*BluetoothPeer) ProtoMessage()
- func (x *BluetoothPeer) ProtoReflect() protoreflect.Message
- func (x *BluetoothPeer) Reset()
- func (x *BluetoothPeer) String() string
- type BluetoothPeerScopeState
- func (*BluetoothPeerScopeState) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothPeerScopeState) GetBtpeer() *BluetoothPeer
- func (x *BluetoothPeerScopeState) GetChameleond() *BluetoothPeerScopeState_Chameleond
- func (x *BluetoothPeerScopeState) GetRaspiosCrosBtpeerImage() *BluetoothPeerScopeState_RaspiosCrosBtpeerImage
- func (*BluetoothPeerScopeState) ProtoMessage()
- func (x *BluetoothPeerScopeState) ProtoReflect() protoreflect.Message
- func (x *BluetoothPeerScopeState) Reset()
- func (x *BluetoothPeerScopeState) String() string
- type BluetoothPeerScopeState_Chameleond
- func (*BluetoothPeerScopeState_Chameleond) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothPeerScopeState_Chameleond) GetExpectedBundleConfig() *api.BluetoothPeerChameleondConfig_ChameleondBundle
- func (x *BluetoothPeerScopeState_Chameleond) GetInstalledCommit() string
- func (x *BluetoothPeerScopeState_Chameleond) GetReleaseConfig() *api.BluetoothPeerChameleondConfig
- func (*BluetoothPeerScopeState_Chameleond) ProtoMessage()
- func (x *BluetoothPeerScopeState_Chameleond) ProtoReflect() protoreflect.Message
- func (x *BluetoothPeerScopeState_Chameleond) Reset()
- func (x *BluetoothPeerScopeState_Chameleond) String() string
- type BluetoothPeerScopeState_RaspiosCrosBtpeerImage
- func (*BluetoothPeerScopeState_RaspiosCrosBtpeerImage) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothPeerScopeState_RaspiosCrosBtpeerImage) GetExpectedImageConfig() *api.RaspiosCrosBtpeerImageConfig_OSImage
- func (x *BluetoothPeerScopeState_RaspiosCrosBtpeerImage) GetInstalledImageUuid() string
- func (x *BluetoothPeerScopeState_RaspiosCrosBtpeerImage) GetReleaseConfig() *api.RaspiosCrosBtpeerImageConfig
- func (*BluetoothPeerScopeState_RaspiosCrosBtpeerImage) ProtoMessage()
- func (x *BluetoothPeerScopeState_RaspiosCrosBtpeerImage) ProtoReflect() protoreflect.Message
- func (x *BluetoothPeerScopeState_RaspiosCrosBtpeerImage) Reset()
- func (x *BluetoothPeerScopeState_RaspiosCrosBtpeerImage) String() string
- type BluetoothPeer_State
- func (BluetoothPeer_State) Descriptor() protoreflect.EnumDescriptor
- func (x BluetoothPeer_State) Enum() *BluetoothPeer_State
- func (BluetoothPeer_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x BluetoothPeer_State) Number() protoreflect.EnumNumber
- func (x BluetoothPeer_State) String() string
- func (BluetoothPeer_State) Type() protoreflect.EnumType
- type CallBluetoothPeerRequest
- func (*CallBluetoothPeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CallBluetoothPeerRequest) GetArgs() []*xmlrpc.Value
- func (x *CallBluetoothPeerRequest) GetMethod() string
- func (x *CallBluetoothPeerRequest) GetResource() string
- func (*CallBluetoothPeerRequest) ProtoMessage()
- func (x *CallBluetoothPeerRequest) ProtoReflect() protoreflect.Message
- func (x *CallBluetoothPeerRequest) Reset()
- func (x *CallBluetoothPeerRequest) String() string
- type CallBluetoothPeerResponse
- func (*CallBluetoothPeerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CallBluetoothPeerResponse) GetFault() bool
- func (x *CallBluetoothPeerResponse) GetValue() *xmlrpc.Value
- func (*CallBluetoothPeerResponse) ProtoMessage()
- func (x *CallBluetoothPeerResponse) ProtoReflect() protoreflect.Message
- func (x *CallBluetoothPeerResponse) Reset()
- func (x *CallBluetoothPeerResponse) String() string
- type CallServodRequest
- func (*CallServodRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CallServodRequest) GetArgs() []*xmlrpc.Value
- func (x *CallServodRequest) GetMethod() string
- func (x *CallServodRequest) GetResource() string
- func (x *CallServodRequest) GetTimeout() *durationpb.Duration
- func (*CallServodRequest) ProtoMessage()
- func (x *CallServodRequest) ProtoReflect() protoreflect.Message
- func (x *CallServodRequest) Reset()
- func (x *CallServodRequest) String() string
- type CallServodResponse
- func (*CallServodResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CallServodResponse) GetFault() bool
- func (x *CallServodResponse) GetValue() *xmlrpc.Value
- func (*CallServodResponse) ProtoMessage()
- func (x *CallServodResponse) ProtoReflect() protoreflect.Message
- func (x *CallServodResponse) Reset()
- func (x *CallServodResponse) String() string
- type CallTouchHostdRequest
- func (*CallTouchHostdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CallTouchHostdRequest) GetArgs() []*xmlrpc.Value
- func (x *CallTouchHostdRequest) GetMethod() string
- func (x *CallTouchHostdRequest) GetResource() string
- func (x *CallTouchHostdRequest) GetTimeout() *durationpb.Duration
- func (*CallTouchHostdRequest) ProtoMessage()
- func (x *CallTouchHostdRequest) ProtoReflect() protoreflect.Message
- func (x *CallTouchHostdRequest) Reset()
- func (x *CallTouchHostdRequest) String() string
- type CallTouchHostdResponse
- func (*CallTouchHostdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CallTouchHostdResponse) GetFault() bool
- func (x *CallTouchHostdResponse) GetValue() *xmlrpc.Value
- func (*CallTouchHostdResponse) ProtoMessage()
- func (x *CallTouchHostdResponse) ProtoReflect() protoreflect.Message
- func (x *CallTouchHostdResponse) Reset()
- func (x *CallTouchHostdResponse) String() string
- type Camera
- type Cellular
- func (*Cellular) Descriptor() ([]byte, []int)deprecated
- func (x *Cellular) GetCarrier() string
- func (x *Cellular) GetModelVariant() string
- func (x *Cellular) GetModemInfo() *Cellular_ModemInfo
- func (x *Cellular) GetModemState() HardwareState
- func (x *Cellular) GetSimInfos() []*Cellular_SIMInfo
- func (x *Cellular) GetStarfishState() Cellular_StarfishState
- func (x *Cellular) GetSupportedCarriers() []string
- func (*Cellular) ProtoMessage()
- func (x *Cellular) ProtoReflect() protoreflect.Message
- func (x *Cellular) Reset()
- func (x *Cellular) String() string
- type Cellular_ModemInfo
- func (*Cellular_ModemInfo) Descriptor() ([]byte, []int)deprecated
- func (x *Cellular_ModemInfo) GetImei() string
- func (x *Cellular_ModemInfo) GetType() Cellular_ModemType
- func (*Cellular_ModemInfo) ProtoMessage()
- func (x *Cellular_ModemInfo) ProtoReflect() protoreflect.Message
- func (x *Cellular_ModemInfo) Reset()
- func (x *Cellular_ModemInfo) String() string
- type Cellular_ModemType
- func (Cellular_ModemType) Descriptor() protoreflect.EnumDescriptor
- func (x Cellular_ModemType) Enum() *Cellular_ModemType
- func (Cellular_ModemType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cellular_ModemType) Number() protoreflect.EnumNumber
- func (x Cellular_ModemType) String() string
- func (Cellular_ModemType) Type() protoreflect.EnumType
- type Cellular_NetworkProvider
- func (Cellular_NetworkProvider) Descriptor() protoreflect.EnumDescriptor
- func (x Cellular_NetworkProvider) Enum() *Cellular_NetworkProvider
- func (Cellular_NetworkProvider) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cellular_NetworkProvider) Number() protoreflect.EnumNumber
- func (x Cellular_NetworkProvider) String() string
- func (Cellular_NetworkProvider) Type() protoreflect.EnumType
- type Cellular_SIMInfo
- func (*Cellular_SIMInfo) Descriptor() ([]byte, []int)deprecated
- func (x *Cellular_SIMInfo) GetEid() string
- func (x *Cellular_SIMInfo) GetProfileInfos() []*Cellular_SIMProfileInfo
- func (x *Cellular_SIMInfo) GetSlotId() int32
- func (x *Cellular_SIMInfo) GetTestEsim() bool
- func (x *Cellular_SIMInfo) GetType() Cellular_SIMType
- func (*Cellular_SIMInfo) ProtoMessage()
- func (x *Cellular_SIMInfo) ProtoReflect() protoreflect.Message
- func (x *Cellular_SIMInfo) Reset()
- func (x *Cellular_SIMInfo) String() string
- type Cellular_SIMProfileInfo
- func (*Cellular_SIMProfileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *Cellular_SIMProfileInfo) GetCarrierName() Cellular_NetworkProvider
- func (x *Cellular_SIMProfileInfo) GetDetectedIccid() string
- func (x *Cellular_SIMProfileInfo) GetDetectedOwnNumber() string
- func (x *Cellular_SIMProfileInfo) GetFeatures() []Cellular_SIMProfileInfo_Feature
- func (x *Cellular_SIMProfileInfo) GetIccid() string
- func (x *Cellular_SIMProfileInfo) GetOwnNumber() string
- func (x *Cellular_SIMProfileInfo) GetSimPin() string
- func (x *Cellular_SIMProfileInfo) GetSimPuk() string
- func (x *Cellular_SIMProfileInfo) GetState() Cellular_SIMProfileInfo_State
- func (*Cellular_SIMProfileInfo) ProtoMessage()
- func (x *Cellular_SIMProfileInfo) ProtoReflect() protoreflect.Message
- func (x *Cellular_SIMProfileInfo) Reset()
- func (x *Cellular_SIMProfileInfo) String() string
- type Cellular_SIMProfileInfo_Feature
- func (Cellular_SIMProfileInfo_Feature) Descriptor() protoreflect.EnumDescriptor
- func (x Cellular_SIMProfileInfo_Feature) Enum() *Cellular_SIMProfileInfo_Feature
- func (Cellular_SIMProfileInfo_Feature) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cellular_SIMProfileInfo_Feature) Number() protoreflect.EnumNumber
- func (x Cellular_SIMProfileInfo_Feature) String() string
- func (Cellular_SIMProfileInfo_Feature) Type() protoreflect.EnumType
- type Cellular_SIMProfileInfo_State
- func (Cellular_SIMProfileInfo_State) Descriptor() protoreflect.EnumDescriptor
- func (x Cellular_SIMProfileInfo_State) Enum() *Cellular_SIMProfileInfo_State
- func (Cellular_SIMProfileInfo_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cellular_SIMProfileInfo_State) Number() protoreflect.EnumNumber
- func (x Cellular_SIMProfileInfo_State) String() string
- func (Cellular_SIMProfileInfo_State) Type() protoreflect.EnumType
- type Cellular_SIMType
- func (Cellular_SIMType) Descriptor() protoreflect.EnumDescriptor
- func (x Cellular_SIMType) Enum() *Cellular_SIMType
- func (Cellular_SIMType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cellular_SIMType) Number() protoreflect.EnumNumber
- func (x Cellular_SIMType) String() string
- func (Cellular_SIMType) Type() protoreflect.EnumType
- type Cellular_StarfishState
- func (Cellular_StarfishState) Descriptor() protoreflect.EnumDescriptor
- func (x Cellular_StarfishState) Enum() *Cellular_StarfishState
- func (Cellular_StarfishState) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cellular_StarfishState) Number() protoreflect.EnumNumber
- func (x Cellular_StarfishState) String() string
- func (Cellular_StarfishState) Type() protoreflect.EnumType
- type Chameleon
- func (*Chameleon) Descriptor() ([]byte, []int)deprecated
- func (x *Chameleon) GetAudioboxjackpluggerstate() Chameleon_AudioBoxJackPluggerState
- func (x *Chameleon) GetName() string
- func (x *Chameleon) GetRPMOutlet() *RPMOutlet
- func (x *Chameleon) GetState() Chameleon_State
- func (*Chameleon) ProtoMessage()
- func (x *Chameleon) ProtoReflect() protoreflect.Message
- func (x *Chameleon) Reset()
- func (x *Chameleon) String() string
- type Chameleon_AudioBoxJackPluggerState
- func (Chameleon_AudioBoxJackPluggerState) Descriptor() protoreflect.EnumDescriptor
- func (x Chameleon_AudioBoxJackPluggerState) Enum() *Chameleon_AudioBoxJackPluggerState
- func (Chameleon_AudioBoxJackPluggerState) EnumDescriptor() ([]byte, []int)deprecated
- func (x Chameleon_AudioBoxJackPluggerState) Number() protoreflect.EnumNumber
- func (x Chameleon_AudioBoxJackPluggerState) String() string
- func (Chameleon_AudioBoxJackPluggerState) Type() protoreflect.EnumType
- type Chameleon_State
- func (Chameleon_State) Descriptor() protoreflect.EnumDescriptor
- func (x Chameleon_State) Enum() *Chameleon_State
- func (Chameleon_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Chameleon_State) Number() protoreflect.EnumNumber
- func (x Chameleon_State) String() string
- func (Chameleon_State) Type() protoreflect.EnumType
- type ChromeOS
- func (*ChromeOS) Descriptor() ([]byte, []int)deprecated
- func (x *ChromeOS) GetAmtManager() *AMTManager
- func (x *ChromeOS) GetAudio() *DUTAudio
- func (x *ChromeOS) GetAudioLatencyToolkit() *AudioLatencyToolkit
- func (x *ChromeOS) GetBattery() *Battery
- func (x *ChromeOS) GetBluetooth() *Bluetooth
- func (x *ChromeOS) GetBluetoothPeers() []*BluetoothPeer
- func (x *ChromeOS) GetBoard() string
- func (x *ChromeOS) GetCamera() *Camera
- func (x *ChromeOS) GetCbi() *api.Cbi
- func (x *ChromeOS) GetCbx() bool
- func (x *ChromeOS) GetCellular() *Cellular
- func (x *ChromeOS) GetChameleon() *Chameleon
- func (x *ChromeOS) GetCr50KeyEnv() ChromeOS_Cr50KeyEnv
- func (x *ChromeOS) GetCr50Phase() ChromeOS_Cr50Phase
- func (x *ChromeOS) GetDeviceSku() string
- func (x *ChromeOS) GetDlmSkuId() string
- func (x *ChromeOS) GetDolos() *Dolos
- func (x *ChromeOS) GetFingerprint() *Fingerprint
- func (x *ChromeOS) GetFirmwareInfo() *FirmwareInfo
- func (x *ChromeOS) GetGpuId() string
- func (x *ChromeOS) GetHumanMotionRobot() *HumanMotionRobot
- func (x *ChromeOS) GetHwid() string
- func (x *ChromeOS) GetIsAndroidBased() bool
- func (x *ChromeOS) GetModel() string
- func (x *ChromeOS) GetPeripheralWifiState() ChromeOS_PeripheralWifiState
- func (x *ChromeOS) GetPhase() string
- func (x *ChromeOS) GetPowerSupplyType() ChromeOS_PowerSupplyType
- func (x *ChromeOS) GetRoVpdMap() map[string]string
- func (x *ChromeOS) GetRpmOutlet() *RPMOutlet
- func (x *ChromeOS) GetSerialNumber() string
- func (x *ChromeOS) GetServo() *ServoHost
- func (x *ChromeOS) GetStorage() *Storage
- func (x *ChromeOS) GetTestbedCapability() *TestbedCapability
- func (x *ChromeOS) GetWifi() *Wifi
- func (x *ChromeOS) GetWifiRouterFeatures() []api.WifiRouterFeature
- func (x *ChromeOS) GetWifiRouters() []*WifiRouterHost
- func (*ChromeOS) ProtoMessage()
- func (x *ChromeOS) ProtoReflect() protoreflect.Message
- func (x *ChromeOS) Reset()
- func (x *ChromeOS) String() string
- type ChromeOS_Cr50KeyEnv
- func (ChromeOS_Cr50KeyEnv) Descriptor() protoreflect.EnumDescriptor
- func (x ChromeOS_Cr50KeyEnv) Enum() *ChromeOS_Cr50KeyEnv
- func (ChromeOS_Cr50KeyEnv) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChromeOS_Cr50KeyEnv) Number() protoreflect.EnumNumber
- func (x ChromeOS_Cr50KeyEnv) String() string
- func (ChromeOS_Cr50KeyEnv) Type() protoreflect.EnumType
- type ChromeOS_Cr50Phase
- func (ChromeOS_Cr50Phase) Descriptor() protoreflect.EnumDescriptor
- func (x ChromeOS_Cr50Phase) Enum() *ChromeOS_Cr50Phase
- func (ChromeOS_Cr50Phase) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChromeOS_Cr50Phase) Number() protoreflect.EnumNumber
- func (x ChromeOS_Cr50Phase) String() string
- func (ChromeOS_Cr50Phase) Type() protoreflect.EnumType
- type ChromeOS_PeripheralWifiState
- func (ChromeOS_PeripheralWifiState) Descriptor() protoreflect.EnumDescriptor
- func (x ChromeOS_PeripheralWifiState) Enum() *ChromeOS_PeripheralWifiState
- func (ChromeOS_PeripheralWifiState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChromeOS_PeripheralWifiState) Number() protoreflect.EnumNumber
- func (x ChromeOS_PeripheralWifiState) String() string
- func (ChromeOS_PeripheralWifiState) Type() protoreflect.EnumType
- type ChromeOS_PowerSupplyType
- func (ChromeOS_PowerSupplyType) Descriptor() protoreflect.EnumDescriptor
- func (x ChromeOS_PowerSupplyType) Enum() *ChromeOS_PowerSupplyType
- func (ChromeOS_PowerSupplyType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChromeOS_PowerSupplyType) Number() protoreflect.EnumNumber
- func (x ChromeOS_PowerSupplyType) String() string
- func (ChromeOS_PowerSupplyType) Type() protoreflect.EnumType
- type CopyRequest
- func (*CopyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CopyRequest) GetPathDestination() string
- func (x *CopyRequest) GetPathSource() string
- func (x *CopyRequest) GetResource() string
- func (*CopyRequest) ProtoMessage()
- func (x *CopyRequest) ProtoReflect() protoreflect.Message
- func (x *CopyRequest) Reset()
- func (x *CopyRequest) String() string
- type DUTAudio
- func (*DUTAudio) Descriptor() ([]byte, []int)deprecated
- func (x *DUTAudio) GetAtrus() bool
- func (x *DUTAudio) GetBeamforming() string
- func (x *DUTAudio) GetInBox() bool
- func (x *DUTAudio) GetLoopbackState() DUTAudio_LoopbackState
- func (x *DUTAudio) GetStaticCable() bool
- func (*DUTAudio) ProtoMessage()
- func (x *DUTAudio) ProtoReflect() protoreflect.Message
- func (x *DUTAudio) Reset()
- func (x *DUTAudio) String() string
- type DUTAudio_LoopbackState
- func (DUTAudio_LoopbackState) Descriptor() protoreflect.EnumDescriptor
- func (x DUTAudio_LoopbackState) Enum() *DUTAudio_LoopbackState
- func (DUTAudio_LoopbackState) EnumDescriptor() ([]byte, []int)deprecated
- func (x DUTAudio_LoopbackState) Number() protoreflect.EnumNumber
- func (x DUTAudio_LoopbackState) String() string
- func (DUTAudio_LoopbackState) Type() protoreflect.EnumType
- type DUTSetupType
- func (DUTSetupType) Descriptor() protoreflect.EnumDescriptor
- func (x DUTSetupType) Enum() *DUTSetupType
- func (DUTSetupType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DUTSetupType) Number() protoreflect.EnumNumber
- func (x DUTSetupType) String() string
- func (DUTSetupType) Type() protoreflect.EnumType
- type DevBoard
- func (*DevBoard) Descriptor() ([]byte, []int)deprecated
- func (x *DevBoard) GetBoard() string
- func (x *DevBoard) GetModel() string
- func (x *DevBoard) GetSerialNumber() string
- func (x *DevBoard) GetServo() *ServoHost
- func (*DevBoard) ProtoMessage()
- func (x *DevBoard) ProtoReflect() protoreflect.Message
- func (x *DevBoard) Reset()
- func (x *DevBoard) String() string
- type Dolos
- func (*Dolos) Descriptor() ([]byte, []int)deprecated
- func (x *Dolos) GetFwVersion() string
- func (x *Dolos) GetHostname() string
- func (x *Dolos) GetHwMajorRevision() Dolos_DolosHWMajorRevision
- func (x *Dolos) GetRpmOutlet() *RPMOutlet
- func (x *Dolos) GetSerialCable() string
- func (x *Dolos) GetSerialUsb() string
- func (x *Dolos) GetState() Dolos_State
- func (*Dolos) ProtoMessage()
- func (x *Dolos) ProtoReflect() protoreflect.Message
- func (x *Dolos) Reset()
- func (x *Dolos) String() string
- type Dolos_DolosHWMajorRevision
- func (Dolos_DolosHWMajorRevision) Descriptor() protoreflect.EnumDescriptor
- func (x Dolos_DolosHWMajorRevision) Enum() *Dolos_DolosHWMajorRevision
- func (Dolos_DolosHWMajorRevision) EnumDescriptor() ([]byte, []int)deprecated
- func (x Dolos_DolosHWMajorRevision) Number() protoreflect.EnumNumber
- func (x Dolos_DolosHWMajorRevision) String() string
- func (Dolos_DolosHWMajorRevision) Type() protoreflect.EnumType
- type Dolos_State
- func (Dolos_State) Descriptor() protoreflect.EnumDescriptor
- func (x Dolos_State) Enum() *Dolos_State
- func (Dolos_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Dolos_State) Number() protoreflect.EnumNumber
- func (x Dolos_State) String() string
- func (Dolos_State) Type() protoreflect.EnumType
- type Dut
- type DutStateReason
- type Fingerprint
- func (*Fingerprint) Descriptor() ([]byte, []int)deprecated
- func (x *Fingerprint) GetBoard() string
- func (x *Fingerprint) GetMcu() string
- func (x *Fingerprint) GetSensor() string
- func (*Fingerprint) ProtoMessage()
- func (x *Fingerprint) ProtoReflect() protoreflect.Message
- func (x *Fingerprint) Reset()
- func (x *Fingerprint) String() string
- type FirmwareInfo
- func (*FirmwareInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FirmwareInfo) GetApTarget() string
- func (x *FirmwareInfo) GetEcTarget() string
- func (*FirmwareInfo) ProtoMessage()
- func (x *FirmwareInfo) ProtoReflect() protoreflect.Message
- func (x *FirmwareInfo) Reset()
- func (x *FirmwareInfo) String() string
- type HardwareState
- func (HardwareState) Descriptor() protoreflect.EnumDescriptor
- func (x HardwareState) Enum() *HardwareState
- func (HardwareState) EnumDescriptor() ([]byte, []int)deprecated
- func (x HardwareState) Number() protoreflect.EnumNumber
- func (x HardwareState) String() string
- func (HardwareState) Type() protoreflect.EnumType
- type HumanMotionRobot
- func (*HumanMotionRobot) Descriptor() ([]byte, []int)deprecated
- func (x *HumanMotionRobot) GetName() string
- func (x *HumanMotionRobot) GetState() HumanMotionRobot_State
- func (x *HumanMotionRobot) GetTouchhost() string
- func (*HumanMotionRobot) ProtoMessage()
- func (x *HumanMotionRobot) ProtoReflect() protoreflect.Message
- func (x *HumanMotionRobot) Reset()
- func (x *HumanMotionRobot) String() string
- type HumanMotionRobot_State
- func (HumanMotionRobot_State) Descriptor() protoreflect.EnumDescriptor
- func (x HumanMotionRobot_State) Enum() *HumanMotionRobot_State
- func (HumanMotionRobot_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x HumanMotionRobot_State) Number() protoreflect.EnumNumber
- func (x HumanMotionRobot_State) String() string
- func (HumanMotionRobot_State) Type() protoreflect.EnumType
- type InitServodRequest
- func (*InitServodRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitServodRequest) GetNoServod() bool
- func (x *InitServodRequest) GetOptions() *ServodOptions
- func (x *InitServodRequest) GetResource() string
- func (*InitServodRequest) ProtoMessage()
- func (x *InitServodRequest) ProtoReflect() protoreflect.Message
- func (x *InitServodRequest) Reset()
- func (x *InitServodRequest) String() string
- type OpenWrtRouterControllerState
- func (*OpenWrtRouterControllerState) Descriptor() ([]byte, []int)deprecated
- func (x *OpenWrtRouterControllerState) GetConfig() *api.OpenWrtWifiRouterDeviceConfig
- func (x *OpenWrtRouterControllerState) GetDeviceBuildInfo() *api.CrosOpenWrtImageBuildInfo
- func (x *OpenWrtRouterControllerState) GetExpectedImageUuid() string
- func (*OpenWrtRouterControllerState) ProtoMessage()
- func (x *OpenWrtRouterControllerState) ProtoReflect() protoreflect.Message
- func (x *OpenWrtRouterControllerState) Reset()
- func (x *OpenWrtRouterControllerState) String() string
- type ProvisionRequest
- func (*ProvisionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionRequest) GetPreventReboot() bool
- func (x *ProvisionRequest) GetResource() string
- func (x *ProvisionRequest) GetSystemImagePath() string
- func (*ProvisionRequest) ProtoMessage()
- func (x *ProvisionRequest) ProtoReflect() protoreflect.Message
- func (x *ProvisionRequest) Reset()
- func (x *ProvisionRequest) String() string
- type ProvisionedInfo
- func (*ProvisionedInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionedInfo) GetCrosVersion() string
- func (x *ProvisionedInfo) GetJobRepoUrl() string
- func (*ProvisionedInfo) ProtoMessage()
- func (x *ProvisionedInfo) ProtoReflect() protoreflect.Message
- func (x *ProvisionedInfo) Reset()
- func (x *ProvisionedInfo) String() string
- type RPMOutlet
- func (*RPMOutlet) Descriptor() ([]byte, []int)deprecated
- func (x *RPMOutlet) GetHostname() string
- func (x *RPMOutlet) GetOutlet() string
- func (x *RPMOutlet) GetState() RPMOutlet_State
- func (x *RPMOutlet) GetType() RPMType
- func (*RPMOutlet) ProtoMessage()
- func (x *RPMOutlet) ProtoReflect() protoreflect.Message
- func (x *RPMOutlet) Reset()
- func (x *RPMOutlet) String() string
- type RPMOutlet_State
- func (RPMOutlet_State) Descriptor() protoreflect.EnumDescriptor
- func (x RPMOutlet_State) Enum() *RPMOutlet_State
- func (RPMOutlet_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x RPMOutlet_State) Number() protoreflect.EnumNumber
- func (x RPMOutlet_State) String() string
- func (RPMOutlet_State) Type() protoreflect.EnumType
- type RPMType
- type RepairRequest
- func (RepairRequest) Descriptor() protoreflect.EnumDescriptor
- func (x RepairRequest) Enum() *RepairRequest
- func (RepairRequest) EnumDescriptor() ([]byte, []int)deprecated
- func (x RepairRequest) Number() protoreflect.EnumNumber
- func (x RepairRequest) String() string
- func (RepairRequest) Type() protoreflect.EnumType
- type RunRPMActionRequest
- func (*RunRPMActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunRPMActionRequest) GetAction() RunRPMActionRequest_Action
- func (x *RunRPMActionRequest) GetHostname() string
- func (x *RunRPMActionRequest) GetRpmHostname() string
- func (x *RunRPMActionRequest) GetRpmOutlet() string
- func (x *RunRPMActionRequest) GetRpmType() RPMType
- func (*RunRPMActionRequest) ProtoMessage()
- func (x *RunRPMActionRequest) ProtoReflect() protoreflect.Message
- func (x *RunRPMActionRequest) Reset()
- func (x *RunRPMActionRequest) String() string
- type RunRPMActionRequest_Action
- func (RunRPMActionRequest_Action) Descriptor() protoreflect.EnumDescriptor
- func (x RunRPMActionRequest_Action) Enum() *RunRPMActionRequest_Action
- func (RunRPMActionRequest_Action) EnumDescriptor() ([]byte, []int)deprecated
- func (x RunRPMActionRequest_Action) Number() protoreflect.EnumNumber
- func (x RunRPMActionRequest_Action) String() string
- func (RunRPMActionRequest_Action) Type() protoreflect.EnumType
- type RunRequest
- func (*RunRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunRequest) GetArgs() []string
- func (x *RunRequest) GetCommand() string
- func (x *RunRequest) GetInBackground() bool
- func (x *RunRequest) GetResource() string
- func (x *RunRequest) GetSshUsername() string
- func (x *RunRequest) GetTimeout() *durationpb.Duration
- func (*RunRequest) ProtoMessage()
- func (x *RunRequest) ProtoReflect() protoreflect.Message
- func (x *RunRequest) Reset()
- func (x *RunRequest) String() string
- type RunResult
- func (*RunResult) Descriptor() ([]byte, []int)deprecated
- func (x *RunResult) GetCommand() string
- func (x *RunResult) GetExitCode() int32
- func (x *RunResult) GetStderr() string
- func (x *RunResult) GetStdout() string
- func (*RunResult) ProtoMessage()
- func (x *RunResult) ProtoReflect() protoreflect.Message
- func (x *RunResult) Reset()
- func (x *RunResult) String() string
- type ServoFwChannel
- func (ServoFwChannel) Descriptor() protoreflect.EnumDescriptor
- func (x ServoFwChannel) Enum() *ServoFwChannel
- func (ServoFwChannel) EnumDescriptor() ([]byte, []int)deprecated
- func (x ServoFwChannel) Number() protoreflect.EnumNumber
- func (x ServoFwChannel) String() string
- func (ServoFwChannel) Type() protoreflect.EnumType
- type ServoHost
- func (*ServoHost) Descriptor() ([]byte, []int)deprecated
- func (x *ServoHost) GetContainerName() string
- func (x *ServoHost) GetFirmwareChannel() ServoFwChannel
- func (x *ServoHost) GetName() string
- func (x *ServoHost) GetSerialNumber() string
- func (x *ServoHost) GetServoTopology() *ServoTopology
- func (x *ServoHost) GetServodPort() int32
- func (x *ServoHost) GetServodType() string
- func (x *ServoHost) GetSmartUsbhubPresent() bool
- func (x *ServoHost) GetState() ServoHost_State
- func (x *ServoHost) GetUsbDrive() *api.UsbDrive
- func (x *ServoHost) GetUsbkeyState() HardwareState
- func (*ServoHost) ProtoMessage()
- func (x *ServoHost) ProtoReflect() protoreflect.Message
- func (x *ServoHost) Reset()
- func (x *ServoHost) String() string
- type ServoHost_State
- func (ServoHost_State) Descriptor() protoreflect.EnumDescriptor
- func (x ServoHost_State) Enum() *ServoHost_State
- func (ServoHost_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x ServoHost_State) Number() protoreflect.EnumNumber
- func (x ServoHost_State) String() string
- func (ServoHost_State) Type() protoreflect.EnumType
- type ServoTopology
- func (*ServoTopology) Descriptor() ([]byte, []int)deprecated
- func (x *ServoTopology) GetChildren() []*ServoTopologyItem
- func (x *ServoTopology) GetRoot() *ServoTopologyItem
- func (*ServoTopology) ProtoMessage()
- func (x *ServoTopology) ProtoReflect() protoreflect.Message
- func (x *ServoTopology) Reset()
- func (x *ServoTopology) String() string
- type ServoTopologyItem
- func (*ServoTopologyItem) Descriptor() ([]byte, []int)deprecated
- func (x *ServoTopologyItem) GetFwVersion() string
- func (x *ServoTopologyItem) GetSerial() string
- func (x *ServoTopologyItem) GetSysfsPath() string
- func (x *ServoTopologyItem) GetSysfsProduct() string
- func (x *ServoTopologyItem) GetType() string
- func (x *ServoTopologyItem) GetUsbHubPort() string
- func (*ServoTopologyItem) ProtoMessage()
- func (x *ServoTopologyItem) ProtoReflect() protoreflect.Message
- func (x *ServoTopologyItem) Reset()
- func (x *ServoTopologyItem) String() string
- type ServodOptions
- func (*ServodOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ServodOptions) GetDutBoard() string
- func (x *ServodOptions) GetDutModel() string
- func (x *ServodOptions) GetRecoveryMode() bool
- func (x *ServodOptions) GetServoDual() bool
- func (x *ServodOptions) GetServoSerial() string
- func (x *ServodOptions) GetServodPort() int32
- func (x *ServodOptions) GetUseCr50Config() bool
- func (*ServodOptions) ProtoMessage()
- func (x *ServodOptions) ProtoReflect() protoreflect.Message
- func (x *ServodOptions) Reset()
- func (x *ServodOptions) String() string
- type Storage
- type Storage_Type
- func (Storage_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Storage_Type) Enum() *Storage_Type
- func (Storage_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Storage_Type) Number() protoreflect.EnumNumber
- func (x Storage_Type) String() string
- func (Storage_Type) Type() protoreflect.EnumType
- type TestbedCapability
- func (*TestbedCapability) Descriptor() ([]byte, []int)deprecated
- func (x *TestbedCapability) GetAudiojack() bool
- func (x *TestbedCapability) GetHdmiaudio() bool
- func (x *TestbedCapability) GetUsbaudio() bool
- func (x *TestbedCapability) GetUsbprinting() bool
- func (*TestbedCapability) ProtoMessage()
- func (x *TestbedCapability) ProtoReflect() protoreflect.Message
- func (x *TestbedCapability) Reset()
- func (x *TestbedCapability) String() string
- type UbuntuRouterControllerState
- func (*UbuntuRouterControllerState) Descriptor() ([]byte, []int)deprecated
- func (x *UbuntuRouterControllerState) GetNetworkControllerName() string
- func (x *UbuntuRouterControllerState) GetSystemProductName() string
- func (*UbuntuRouterControllerState) ProtoMessage()
- func (x *UbuntuRouterControllerState) ProtoReflect() protoreflect.Message
- func (x *UbuntuRouterControllerState) Reset()
- func (x *UbuntuRouterControllerState) String() string
- type VersionInfo
- func (*VersionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *VersionInfo) GetOs() string
- func (x *VersionInfo) GetOsType() VersionInfo_OsType
- func (x *VersionInfo) GetRoFirmware() string
- func (x *VersionInfo) GetRwFirmware() string
- func (*VersionInfo) ProtoMessage()
- func (x *VersionInfo) ProtoReflect() protoreflect.Message
- func (x *VersionInfo) Reset()
- func (x *VersionInfo) String() string
- type VersionInfo_OsType
- func (VersionInfo_OsType) Descriptor() protoreflect.EnumDescriptor
- func (x VersionInfo_OsType) Enum() *VersionInfo_OsType
- func (VersionInfo_OsType) EnumDescriptor() ([]byte, []int)deprecated
- func (x VersionInfo_OsType) Number() protoreflect.EnumNumber
- func (x VersionInfo_OsType) String() string
- func (VersionInfo_OsType) Type() protoreflect.EnumType
- type Wifi
- type WifiRouterHost
- func (*WifiRouterHost) Descriptor() ([]byte, []int)deprecated
- func (x *WifiRouterHost) GetBoard() stringdeprecated
- func (x *WifiRouterHost) GetDeviceType() api.WifiRouterDeviceType
- func (x *WifiRouterHost) GetFeatures() []api.WifiRouterFeature
- func (x *WifiRouterHost) GetModel() string
- func (x *WifiRouterHost) GetName() string
- func (x *WifiRouterHost) GetRPMOutlet() *RPMOutlet
- func (x *WifiRouterHost) GetState() WifiRouterHost_State
- func (*WifiRouterHost) ProtoMessage()
- func (x *WifiRouterHost) ProtoReflect() protoreflect.Message
- func (x *WifiRouterHost) Reset()
- func (x *WifiRouterHost) String() string
- type WifiRouterHost_State
- func (WifiRouterHost_State) Descriptor() protoreflect.EnumDescriptor
- func (x WifiRouterHost_State) Enum() *WifiRouterHost_State
- func (WifiRouterHost_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x WifiRouterHost_State) Number() protoreflect.EnumNumber
- func (x WifiRouterHost_State) String() string
- func (WifiRouterHost_State) Type() protoreflect.EnumType
Constants ¶
const ( DutStateReasonEmpty = "" DutStateReasonInternalStorageFailureFromSMARTInfo = "INTERNAL_STORAGE_FAILURE_FROM_SMART_INFO" DutStateReasonInternalStorageFailureFromBadblocksCheck = "INTERNAL_STORAGE_FAILURE_FROM_BADBLOCKS_CHECK" DutStateReasonInternalStorageCannotDetected = "INTERNAL_STORAGE_CANNOT_DETECTED" DutStateReasonInternalStorageNoSpaceLeft = "INTERNAL_STORAGE_NO_SPACE_LEFT" DutStateReasonInternalStorageIOError = "INTERNAL_STORAGE_IO_ERROR_DETECTED" DutStateReasonInternalStorageUncategorizedError = "INTERNAL_STORAGE_UNCATEGORIZED_ERROR" DutStateReasonBatteryCapacityTooLow = "BATTERY_CHARGING_CAPACITY_TOO_LOW" )
const ( // Extra attributes for DUT to provide custom info. ExtraAttributePools = "POOLS" ExtraAttributeServoSetup = "SERVO_SETUP" ExtraAttributeServoSetupDual = "SERVO_SETUP_DUAL" )
Variables ¶
var ( RPMType_name = map[int32]string{ 0: "UNKNOWN", 1: "SENTRY", 2: "IP9850", } RPMType_value = map[string]int32{ "UNKNOWN": 0, "SENTRY": 1, "IP9850": 2, } )
Enum value maps for RPMType.
var ( HardwareState_name = map[int32]string{ 0: "HARDWARE_UNSPECIFIED", 1: "HARDWARE_NORMAL", 2: "HARDWARE_ACCEPTABLE", 3: "HARDWARE_NEED_REPLACEMENT", 4: "HARDWARE_NOT_DETECTED", } HardwareState_value = map[string]int32{ "HARDWARE_UNSPECIFIED": 0, "HARDWARE_NORMAL": 1, "HARDWARE_ACCEPTABLE": 2, "HARDWARE_NEED_REPLACEMENT": 3, "HARDWARE_NOT_DETECTED": 4, } )
Enum value maps for HardwareState.
var ( ServoFwChannel_name = map[int32]string{ 0: "FW_UNSPECIFIED", 1: "STABLE", 2: "PREV", 3: "DEV", 4: "ALPHA", } ServoFwChannel_value = map[string]int32{ "FW_UNSPECIFIED": 0, "STABLE": 1, "PREV": 2, "DEV": 3, "ALPHA": 4, } )
Enum value maps for ServoFwChannel.
var ( RepairRequest_name = map[int32]string{ 0: "REPAIR_REQUEST_UNKNOWN", 1: "REPAIR_REQUEST_PROVISION", 2: "REPAIR_REQUEST_REIMAGE_BY_USBKEY", 3: "REPAIR_REQUEST_UPDATE_USBKEY_IMAGE", 4: "REPAIR_REQUEST_REFLASH_FW", } RepairRequest_value = map[string]int32{ "REPAIR_REQUEST_UNKNOWN": 0, "REPAIR_REQUEST_PROVISION": 1, "REPAIR_REQUEST_REIMAGE_BY_USBKEY": 2, "REPAIR_REQUEST_UPDATE_USBKEY_IMAGE": 3, "REPAIR_REQUEST_REFLASH_FW": 4, } )
Enum value maps for RepairRequest.
var ( DUTSetupType_name = map[int32]string{ 0: "UNSPECIFIED", 1: "LABSTATION", 2: "JETSTREAM", 3: "CROS", 4: "CROS_BROWSER", 5: "ANDROID", 6: "IOS", 7: "CROSVM", 8: "DEV_BOARD", } DUTSetupType_value = map[string]int32{ "UNSPECIFIED": 0, "LABSTATION": 1, "JETSTREAM": 2, "CROS": 3, "CROS_BROWSER": 4, "ANDROID": 5, "IOS": 6, "CROSVM": 7, "DEV_BOARD": 8, } )
Enum value maps for DUTSetupType.
var ( RunRPMActionRequest_Action_name = map[int32]string{ 0: "UNSPECIFIED", 1: "ON", 2: "OFF", 3: "CYCLE", } RunRPMActionRequest_Action_value = map[string]int32{ "UNSPECIFIED": 0, "ON": 1, "OFF": 2, "CYCLE": 3, } )
Enum value maps for RunRPMActionRequest_Action.
var ( RPMOutlet_State_name = map[int32]string{ 0: "UNSPECIFIED", 1: "MISSING_CONFIG", 2: "WRONG_CONFIG", 3: "WORKING", } RPMOutlet_State_value = map[string]int32{ "UNSPECIFIED": 0, "MISSING_CONFIG": 1, "WRONG_CONFIG": 2, "WORKING": 3, } )
Enum value maps for RPMOutlet_State.
var ( WifiRouterHost_State_name = map[int32]string{ 0: "UNSPECIFIED", 1: "WORKING", 2: "BROKEN", } WifiRouterHost_State_value = map[string]int32{ "UNSPECIFIED": 0, "WORKING": 1, "BROKEN": 2, } )
Enum value maps for WifiRouterHost_State.
var ( DUTAudio_LoopbackState_name = map[int32]string{ 0: "LOOPBACK_UNSPECIFIED", 1: "LOOPBACK_WORKING", } DUTAudio_LoopbackState_value = map[string]int32{ "LOOPBACK_UNSPECIFIED": 0, "LOOPBACK_WORKING": 1, } )
Enum value maps for DUTAudio_LoopbackState.
var ( ServoHost_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "WORKING", 2: "MISSING_CONFIG", 3: "WRONG_CONFIG", 4: "NOT_CONNECTED", 5: "NO_SSH", 6: "BROKEN", 7: "NEED_REPLACEMENT", 8: "CR50_CONSOLE_MISSING", 9: "CCD_TESTLAB_ISSUE", 10: "SERVOD_ISSUE", 11: "LID_OPEN_FAILED", 12: "BAD_RIBBON_CABLE", 13: "EC_BROKEN", 14: "DUT_NOT_CONNECTED", 15: "TOPOLOGY_ISSUE", 16: "SBU_LOW_VOLTAGE", 17: "CR50_NOT_ENUMERATED", 18: "SERVO_SERIAL_MISMATCH", 19: "SERVOD_PROXY_ISSUE", 20: "SERVO_HOST_ISSUE", 21: "SERVO_UPDATER_ISSUE", 22: "SERVOD_DUT_CONTROLLER_MISSING", 23: "COLD_RESET_PIN_ISSUE", 24: "WARM_RESET_PIN_ISSUE", 25: "POWER_BUTTON_PIN_ISSUE", 27: "DEBUG_HEADER_SERVO_MISSING", } ServoHost_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "WORKING": 1, "MISSING_CONFIG": 2, "WRONG_CONFIG": 3, "NOT_CONNECTED": 4, "NO_SSH": 5, "BROKEN": 6, "NEED_REPLACEMENT": 7, "CR50_CONSOLE_MISSING": 8, "CCD_TESTLAB_ISSUE": 9, "SERVOD_ISSUE": 10, "LID_OPEN_FAILED": 11, "BAD_RIBBON_CABLE": 12, "EC_BROKEN": 13, "DUT_NOT_CONNECTED": 14, "TOPOLOGY_ISSUE": 15, "SBU_LOW_VOLTAGE": 16, "CR50_NOT_ENUMERATED": 17, "SERVO_SERIAL_MISMATCH": 18, "SERVOD_PROXY_ISSUE": 19, "SERVO_HOST_ISSUE": 20, "SERVO_UPDATER_ISSUE": 21, "SERVOD_DUT_CONTROLLER_MISSING": 22, "COLD_RESET_PIN_ISSUE": 23, "WARM_RESET_PIN_ISSUE": 24, "POWER_BUTTON_PIN_ISSUE": 25, "DEBUG_HEADER_SERVO_MISSING": 27, } )
Enum value maps for ServoHost_State.
var ( Storage_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "SSD", 2: "HDD", 3: "MMC", 4: "NVME", 5: "UFS", } Storage_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "SSD": 1, "HDD": 2, "MMC": 3, "NVME": 4, "UFS": 5, } )
Enum value maps for Storage_Type.
var ( Chameleon_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "WORKING", 2: "BROKEN", 3: "NOT_APPLICABLE", } Chameleon_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "WORKING": 1, "BROKEN": 2, "NOT_APPLICABLE": 3, } )
Enum value maps for Chameleon_State.
var ( Chameleon_AudioBoxJackPluggerState_name = map[int32]string{ 0: "AUDIOBOX_JACKPLUGGER_UNSPECIFIED", 1: "AUDIOBOX_JACKPLUGGER_WORKING", 2: "AUDIOBOX_JACKPLUGGER_BROKEN", 3: "AUDIOBOX_JACKPLUGGER_NOT_APPLICABLE", } Chameleon_AudioBoxJackPluggerState_value = map[string]int32{ "AUDIOBOX_JACKPLUGGER_UNSPECIFIED": 0, "AUDIOBOX_JACKPLUGGER_WORKING": 1, "AUDIOBOX_JACKPLUGGER_BROKEN": 2, "AUDIOBOX_JACKPLUGGER_NOT_APPLICABLE": 3, } )
Enum value maps for Chameleon_AudioBoxJackPluggerState.
var ( BluetoothPeer_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "WORKING", 2: "BROKEN", } BluetoothPeer_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "WORKING": 1, "BROKEN": 2, } )
Enum value maps for BluetoothPeer_State.
var ( Cellular_ModemType_name = map[int32]string{ 0: "MODEM_TYPE_UNSPECIFIED", 8: "MODEM_TYPE_UNSUPPORTED", 1: "MODEM_TYPE_QUALCOMM_SC7180", 2: "MODEM_TYPE_FIBOCOMM_L850GL", 3: "MODEM_TYPE_NL668", 4: "MODEM_TYPE_FM350", 5: "MODEM_TYPE_FM101", 6: "MODEM_TYPE_QUALCOMM_SC7280", 7: "MODEM_TYPE_EM060", 9: "MODEM_TYPE_RW101", 10: "MODEM_TYPE_RW135", 11: "MODEM_TYPE_LCUK54", } Cellular_ModemType_value = map[string]int32{ "MODEM_TYPE_UNSPECIFIED": 0, "MODEM_TYPE_UNSUPPORTED": 8, "MODEM_TYPE_QUALCOMM_SC7180": 1, "MODEM_TYPE_FIBOCOMM_L850GL": 2, "MODEM_TYPE_NL668": 3, "MODEM_TYPE_FM350": 4, "MODEM_TYPE_FM101": 5, "MODEM_TYPE_QUALCOMM_SC7280": 6, "MODEM_TYPE_EM060": 7, "MODEM_TYPE_RW101": 9, "MODEM_TYPE_RW135": 10, "MODEM_TYPE_LCUK54": 11, } )
Enum value maps for Cellular_ModemType.
var ( Cellular_NetworkProvider_name = map[int32]string{ 0: "NETWORK_UNSPECIFIED", 5: "NETWORK_UNSUPPORTED", 1: "NETWORK_TEST", 2: "NETWORK_ATT", 3: "NETWORK_TMOBILE", 4: "NETWORK_VERIZON", 6: "NETWORK_SPRINT", 7: "NETWORK_DOCOMO", 8: "NETWORK_SOFTBANK", 9: "NETWORK_KDDI", 10: "NETWORK_RAKUTEN", 11: "NETWORK_VODAFONE", 12: "NETWORK_EE", 13: "NETWORK_AMARISOFT", 14: "NETWORK_ROGER", 15: "NETWORK_BELL", 16: "NETWORK_TELUS", 17: "NETWORK_FI", 18: "NETWORK_CBRS", 19: "NETWORK_LINEMO", 20: "NETWORK_POVO", 21: "NETWORK_HANSHIN", } Cellular_NetworkProvider_value = map[string]int32{ "NETWORK_UNSPECIFIED": 0, "NETWORK_UNSUPPORTED": 5, "NETWORK_TEST": 1, "NETWORK_ATT": 2, "NETWORK_TMOBILE": 3, "NETWORK_VERIZON": 4, "NETWORK_SPRINT": 6, "NETWORK_DOCOMO": 7, "NETWORK_SOFTBANK": 8, "NETWORK_KDDI": 9, "NETWORK_RAKUTEN": 10, "NETWORK_VODAFONE": 11, "NETWORK_EE": 12, "NETWORK_AMARISOFT": 13, "NETWORK_ROGER": 14, "NETWORK_BELL": 15, "NETWORK_TELUS": 16, "NETWORK_FI": 17, "NETWORK_CBRS": 18, "NETWORK_LINEMO": 19, "NETWORK_POVO": 20, "NETWORK_HANSHIN": 21, } )
Enum value maps for Cellular_NetworkProvider.
var ( Cellular_SIMType_name = map[int32]string{ 0: "SIM_UNSPECIFIED", 1: "SIM_PHYSICAL", 2: "SIM_DIGITAL", } Cellular_SIMType_value = map[string]int32{ "SIM_UNSPECIFIED": 0, "SIM_PHYSICAL": 1, "SIM_DIGITAL": 2, } )
Enum value maps for Cellular_SIMType.
var ( Cellular_StarfishState_name = map[int32]string{ 0: "STARFISH_STATE_UNSPECIFIED", 1: "STARFISH_STATE_WORKING", 2: "STARFISH_STATE_BROKEN", 3: "STARFISH_STATE_NOT_APPLICABLE", } Cellular_StarfishState_value = map[string]int32{ "STARFISH_STATE_UNSPECIFIED": 0, "STARFISH_STATE_WORKING": 1, "STARFISH_STATE_BROKEN": 2, "STARFISH_STATE_NOT_APPLICABLE": 3, } )
Enum value maps for Cellular_StarfishState.
var ( Cellular_SIMProfileInfo_State_name = map[int32]string{ 0: "UNSPECIFIED", 1: "BROKEN", 2: "LOCKED", 3: "NO_NETWORK", 4: "WORKING", 5: "WRONG_CONFIG", } Cellular_SIMProfileInfo_State_value = map[string]int32{ "UNSPECIFIED": 0, "BROKEN": 1, "LOCKED": 2, "NO_NETWORK": 3, "WORKING": 4, "WRONG_CONFIG": 5, } )
Enum value maps for Cellular_SIMProfileInfo_State.
var ( Cellular_SIMProfileInfo_Feature_name = map[int32]string{ 0: "FEATURE_UNSPECIFIED", 1: "FEATURE_LIVE_NETWORK", 2: "FEATURE_SMS", } Cellular_SIMProfileInfo_Feature_value = map[string]int32{ "FEATURE_UNSPECIFIED": 0, "FEATURE_LIVE_NETWORK": 1, "FEATURE_SMS": 2, } )
Enum value maps for Cellular_SIMProfileInfo_Feature.
var ( HumanMotionRobot_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "WORKING", 2: "BROKEN", 3: "NOT_APPLICABLE", } HumanMotionRobot_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "WORKING": 1, "BROKEN": 2, "NOT_APPLICABLE": 3, } )
Enum value maps for HumanMotionRobot_State.
var ( Dolos_DolosHWMajorRevision_name = map[int32]string{ 0: "DOLOS_UNSPECIFIED", 1: "DOLOS_V1", } Dolos_DolosHWMajorRevision_value = map[string]int32{ "DOLOS_UNSPECIFIED": 0, "DOLOS_V1": 1, } )
Enum value maps for Dolos_DolosHWMajorRevision.
var ( Dolos_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "WORKING", 2: "BROKEN", 3: "NOT_APPLICABLE", 4: "DOLOS_UNKNOWN", 5: "DOLOS_NO_POWER_SUPPLIED", 6: "DOLOS_OUTPUT_POWER_FAILED", 7: "DOLOS_BMS_STATE_INVALID", 8: "DOLOS_SMBUS_COMM_NOT_DETECTED", 9: "DOLOS_EEPROM_FAILURE", 10: "DOLOS_OK", 11: "DOLOS_NO_COMMUNICATION", 12: "DOLOS_NOT_PRESENT", 13: "NO_SSH", } Dolos_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "WORKING": 1, "BROKEN": 2, "NOT_APPLICABLE": 3, "DOLOS_UNKNOWN": 4, "DOLOS_NO_POWER_SUPPLIED": 5, "DOLOS_OUTPUT_POWER_FAILED": 6, "DOLOS_BMS_STATE_INVALID": 7, "DOLOS_SMBUS_COMM_NOT_DETECTED": 8, "DOLOS_EEPROM_FAILURE": 9, "DOLOS_OK": 10, "DOLOS_NO_COMMUNICATION": 11, "DOLOS_NOT_PRESENT": 12, "NO_SSH": 13, } )
Enum value maps for Dolos_State.
var ( AudioLatencyToolkit_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "WORKING", 2: "BROKEN", 3: "NOT_APPLICABLE", } AudioLatencyToolkit_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "WORKING": 1, "BROKEN": 2, "NOT_APPLICABLE": 3, } )
Enum value maps for AudioLatencyToolkit_State.
var ( AMTManager_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "WORKING", 2: "BROKEN", 3: "NOT_APPLICABLE", } AMTManager_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "WORKING": 1, "BROKEN": 2, "NOT_APPLICABLE": 3, } )
Enum value maps for AMTManager_State.
var ( ChromeOS_PowerSupplyType_name = map[int32]string{ 0: "POWER_SUPPLY_UNSPECIFIED", 1: "AC_ONLY", 2: "BATTERY", } ChromeOS_PowerSupplyType_value = map[string]int32{ "POWER_SUPPLY_UNSPECIFIED": 0, "AC_ONLY": 1, "BATTERY": 2, } )
Enum value maps for ChromeOS_PowerSupplyType.
var ( ChromeOS_Cr50Phase_name = map[int32]string{ 0: "CR50_PHASE_UNSPECIFIED", 1: "CR50_PHASE_PVT", 2: "CR50_PHASE_PREPVT", } ChromeOS_Cr50Phase_value = map[string]int32{ "CR50_PHASE_UNSPECIFIED": 0, "CR50_PHASE_PVT": 1, "CR50_PHASE_PREPVT": 2, } )
Enum value maps for ChromeOS_Cr50Phase.
var ( ChromeOS_Cr50KeyEnv_name = map[int32]string{ 0: "CR50_KEYENV_UNSPECIFIED", 1: "CR50_KEYENV_PROD", 2: "CR50_KEYENV_DEV", } ChromeOS_Cr50KeyEnv_value = map[string]int32{ "CR50_KEYENV_UNSPECIFIED": 0, "CR50_KEYENV_PROD": 1, "CR50_KEYENV_DEV": 2, } )
Enum value maps for ChromeOS_Cr50KeyEnv.
var ( ChromeOS_PeripheralWifiState_name = map[int32]string{ 0: "PERIPHERAL_WIFI_STATE_UNSPECIFIED", 2: "PERIPHERAL_WIFI_STATE_WORKING", 3: "PERIPHERAL_WIFI_STATE_BROKEN", 4: "PERIPHERAL_WIFI_STATE_NOT_APPLICABLE", } ChromeOS_PeripheralWifiState_value = map[string]int32{ "PERIPHERAL_WIFI_STATE_UNSPECIFIED": 0, "PERIPHERAL_WIFI_STATE_WORKING": 2, "PERIPHERAL_WIFI_STATE_BROKEN": 3, "PERIPHERAL_WIFI_STATE_NOT_APPLICABLE": 4, } )
Enum value maps for ChromeOS_PeripheralWifiState.
var ( VersionInfo_OsType_name = map[int32]string{ 0: "UNKNOWN", 1: "CHROMEOS", 2: "ANDROID", } VersionInfo_OsType_value = map[string]int32{ "UNKNOWN": 0, "CHROMEOS": 1, "ANDROID": 2, } )
Enum value maps for VersionInfo_OsType.
var File_go_chromium_org_infra_cros_recovery_tlw_models_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AMTManager ¶
type AMTManager struct { // Hostname for the AMT management port. Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` State AMTManager_State `protobuf:"varint,2,opt,name=state,proto3,enum=chromeos.recovery.AMTManager_State" json:"state,omitempty"` // Connect to AMT on port 16993 with TLS enabled. UseTls bool `protobuf:"varint,3,opt,name=use_tls,json=useTls,proto3" json:"use_tls,omitempty"` // contains filtered or unexported fields }
AMTManager holds info about AMT management on the DUT.
func (*AMTManager) Descriptor
deprecated
func (*AMTManager) Descriptor() ([]byte, []int)
Deprecated: Use AMTManager.ProtoReflect.Descriptor instead.
func (*AMTManager) GetHostname ¶
func (x *AMTManager) GetHostname() string
func (*AMTManager) GetState ¶
func (x *AMTManager) GetState() AMTManager_State
func (*AMTManager) GetUseTls ¶
func (x *AMTManager) GetUseTls() bool
func (*AMTManager) ProtoMessage ¶
func (*AMTManager) ProtoMessage()
func (*AMTManager) ProtoReflect ¶
func (x *AMTManager) ProtoReflect() protoreflect.Message
func (*AMTManager) Reset ¶
func (x *AMTManager) Reset()
func (*AMTManager) String ¶
func (x *AMTManager) String() string
type AMTManager_State ¶
type AMTManager_State int32
State describes the state of AMT on the device.
const ( AMTManager_STATE_UNSPECIFIED AMTManager_State = 0 // The WS-Management endpoint is up. AMTManager_WORKING AMTManager_State = 1 // Unable to connect to the WS-Management endpoint. AMTManager_BROKEN AMTManager_State = 2 // Device state is not applicable. AMTManager_NOT_APPLICABLE AMTManager_State = 3 )
func (AMTManager_State) Descriptor ¶
func (AMTManager_State) Descriptor() protoreflect.EnumDescriptor
func (AMTManager_State) Enum ¶
func (x AMTManager_State) Enum() *AMTManager_State
func (AMTManager_State) EnumDescriptor
deprecated
func (AMTManager_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use AMTManager_State.Descriptor instead.
func (AMTManager_State) Number ¶
func (x AMTManager_State) Number() protoreflect.EnumNumber
func (AMTManager_State) String ¶
func (x AMTManager_State) String() string
func (AMTManager_State) Type ¶
func (AMTManager_State) Type() protoreflect.EnumType
type Access ¶
type Access interface { // Ping performs ping by resource name. Ping(ctx context.Context, resourceName string, count int) error // Run executes command on device by SSH related to resource name. Run(ctx context.Context, req *RunRequest) *RunResult // InitServod initiates servod daemon on servo-host. InitServod(ctx context.Context, req *InitServodRequest) error // StopServod stops servod daemon on servo-host. StopServod(ctx context.Context, resourceName string) error // CallServod executes a command on servod related to resource name. // Commands will be run against servod on servo-host. CallServod(ctx context.Context, req *CallServodRequest) *CallServodResponse // Commands will be run against servod on servo-host. CallBluetoothPeer(ctx context.Context, req *CallBluetoothPeerRequest) *CallBluetoothPeerResponse // CallTouchHostd calls API on touchostd with XMLRPC. CallTouchHostd(ctx context.Context, req *CallTouchHostdRequest) *CallTouchHostdResponse // CopyFileTo copies file to remote device from local. CopyFileTo(ctx context.Context, req *CopyRequest) error // CopyFileFrom copies file from remote device to local. CopyFileFrom(ctx context.Context, req *CopyRequest) error // CopyDirectoryTo copies directory to remote device from local, recursively. CopyDirectoryTo(ctx context.Context, req *CopyRequest) error // CopyDirectoryFrom copies directory from remote device to local, recursively. CopyDirectoryFrom(ctx context.Context, req *CopyRequest) error // RunRPMAction performs power action on RPM outlet per request. RunRPMAction(ctx context.Context, req *RunRPMActionRequest) error // ListResourcesForUnit provides list of resources names related to target unit. // All test and task scheduling against the target unit which can link to 1 or more resources. ListResourcesForUnit(ctx context.Context, unitName string) ([]string, error) // GetDut provides DUT info per requested resource name from inventory. GetDut(ctx context.Context, resourceName string) (*Dut, error) // UpdateDut updates DUT info into inventory. UpdateDut(ctx context.Context, dut *Dut) error // GetCacheUrl provides URL to download requested path to file. // URL will use to download image to USB-drive and provisioning. GetCacheUrl(ctx context.Context, dutName, filePath string) (string, error) // Provision triggers provisioning of the device. Provision(ctx context.Context, req *ProvisionRequest) error // Close closes all used resources. Close(ctx context.Context) error }
Access represent TLW level to access to the devices and inventory. Each device in the lab is representing as resource with name. For now the resource name matche to host-name but later can became different. Examples:
Hostname: lab1-row1-rack1-device1, lab1-row1-rack1-ap1 Resource Name: TestDevice256, CustomApV3.0
type Android ¶
type Android struct { // Board name of the DUT. Board string `protobuf:"bytes,2,opt,name=board,proto3" json:"board,omitempty"` // Model name of the DUT. Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"` // Serial number of the DUT. SerialNumber string `protobuf:"bytes,4,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` // Hostname to which the Android DUT is attached to. AssociatedHostname string `protobuf:"bytes,5,opt,name=associated_hostname,json=associatedHostname,proto3" json:"associated_hostname,omitempty"` // contains filtered or unexported fields }
Android specific DUT details
func (*Android) Descriptor
deprecated
func (*Android) GetAssociatedHostname ¶
func (*Android) GetSerialNumber ¶
func (*Android) ProtoMessage ¶
func (*Android) ProtoMessage()
func (*Android) ProtoReflect ¶
func (x *Android) ProtoReflect() protoreflect.Message
type AsusWrtRouterControllerState ¶
type AsusWrtRouterControllerState struct { AsusModel string `protobuf:"bytes,1,opt,name=asus_model,json=asusModel,proto3" json:"asus_model,omitempty"` // contains filtered or unexported fields }
func (*AsusWrtRouterControllerState) Descriptor
deprecated
func (*AsusWrtRouterControllerState) Descriptor() ([]byte, []int)
Deprecated: Use AsusWrtRouterControllerState.ProtoReflect.Descriptor instead.
func (*AsusWrtRouterControllerState) GetAsusModel ¶
func (x *AsusWrtRouterControllerState) GetAsusModel() string
func (*AsusWrtRouterControllerState) ProtoMessage ¶
func (*AsusWrtRouterControllerState) ProtoMessage()
func (*AsusWrtRouterControllerState) ProtoReflect ¶
func (x *AsusWrtRouterControllerState) ProtoReflect() protoreflect.Message
func (*AsusWrtRouterControllerState) Reset ¶
func (x *AsusWrtRouterControllerState) Reset()
func (*AsusWrtRouterControllerState) String ¶
func (x *AsusWrtRouterControllerState) String() string
type AudioLatencyToolkit ¶
type AudioLatencyToolkit struct { // Teensy Version Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // default: "4.1" // State of the device. State AudioLatencyToolkit_State `protobuf:"varint,2,opt,name=state,proto3,enum=chromeos.recovery.AudioLatencyToolkit_State" json:"state,omitempty"` // contains filtered or unexported fields }
AudioLatencyToolkit holds info about Teensy audio latency toolkit on the DUT
func (*AudioLatencyToolkit) Descriptor
deprecated
func (*AudioLatencyToolkit) Descriptor() ([]byte, []int)
Deprecated: Use AudioLatencyToolkit.ProtoReflect.Descriptor instead.
func (*AudioLatencyToolkit) GetState ¶
func (x *AudioLatencyToolkit) GetState() AudioLatencyToolkit_State
func (*AudioLatencyToolkit) GetVersion ¶
func (x *AudioLatencyToolkit) GetVersion() string
func (*AudioLatencyToolkit) ProtoMessage ¶
func (*AudioLatencyToolkit) ProtoMessage()
func (*AudioLatencyToolkit) ProtoReflect ¶
func (x *AudioLatencyToolkit) ProtoReflect() protoreflect.Message
func (*AudioLatencyToolkit) Reset ¶
func (x *AudioLatencyToolkit) Reset()
func (*AudioLatencyToolkit) String ¶
func (x *AudioLatencyToolkit) String() string
type AudioLatencyToolkit_State ¶
type AudioLatencyToolkit_State int32
State describes the state of device.
const ( AudioLatencyToolkit_STATE_UNSPECIFIED AudioLatencyToolkit_State = 0 // Device and software on it is working as expected. AudioLatencyToolkit_WORKING AudioLatencyToolkit_State = 1 // Device is broken or not working as expected. AudioLatencyToolkit_BROKEN AudioLatencyToolkit_State = 2 // Device State is not applicable. AudioLatencyToolkit_NOT_APPLICABLE AudioLatencyToolkit_State = 3 )
func (AudioLatencyToolkit_State) Descriptor ¶
func (AudioLatencyToolkit_State) Descriptor() protoreflect.EnumDescriptor
func (AudioLatencyToolkit_State) Enum ¶
func (x AudioLatencyToolkit_State) Enum() *AudioLatencyToolkit_State
func (AudioLatencyToolkit_State) EnumDescriptor
deprecated
func (AudioLatencyToolkit_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use AudioLatencyToolkit_State.Descriptor instead.
func (AudioLatencyToolkit_State) Number ¶
func (x AudioLatencyToolkit_State) Number() protoreflect.EnumNumber
func (AudioLatencyToolkit_State) String ¶
func (x AudioLatencyToolkit_State) String() string
func (AudioLatencyToolkit_State) Type ¶
func (AudioLatencyToolkit_State) Type() protoreflect.EnumType
type Battery ¶
type Battery struct { // State of the component. State HardwareState `protobuf:"varint,1,opt,name=state,proto3,enum=chromeos.recovery.HardwareState" json:"state,omitempty"` // contains filtered or unexported fields }
Battery holds info about battery of the DUT.
func (*Battery) Descriptor
deprecated
func (*Battery) GetState ¶
func (x *Battery) GetState() HardwareState
func (*Battery) ProtoMessage ¶
func (*Battery) ProtoMessage()
func (*Battery) ProtoReflect ¶
func (x *Battery) ProtoReflect() protoreflect.Message
type Bluetooth ¶
type Bluetooth struct { // State of the component. State HardwareState `protobuf:"varint,1,opt,name=state,proto3,enum=chromeos.recovery.HardwareState" json:"state,omitempty"` // The hardware expected present based on hardware feature. Expected bool `protobuf:"varint,2,opt,name=expected,proto3" json:"expected,omitempty"` // contains filtered or unexported fields }
Bluetooth holds info about internal bluetooth of the DUT.
func (*Bluetooth) Descriptor
deprecated
func (*Bluetooth) GetExpected ¶
func (*Bluetooth) GetState ¶
func (x *Bluetooth) GetState() HardwareState
func (*Bluetooth) ProtoMessage ¶
func (*Bluetooth) ProtoMessage()
func (*Bluetooth) ProtoReflect ¶
func (x *Bluetooth) ProtoReflect() protoreflect.Message
type BluetoothPeer ¶
type BluetoothPeer struct { // Name is the resource name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // State of the device. State BluetoothPeer_State `protobuf:"varint,2,opt,name=state,proto3,enum=chromeos.recovery.BluetoothPeer_State" json:"state,omitempty"` // contains filtered or unexported fields }
BluetoothPeer models a Bluetooth peer device and its state as used by recovery.
func (*BluetoothPeer) Descriptor
deprecated
func (*BluetoothPeer) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothPeer.ProtoReflect.Descriptor instead.
func (*BluetoothPeer) GetName ¶
func (x *BluetoothPeer) GetName() string
func (*BluetoothPeer) GetState ¶
func (x *BluetoothPeer) GetState() BluetoothPeer_State
func (*BluetoothPeer) ProtoMessage ¶
func (*BluetoothPeer) ProtoMessage()
func (*BluetoothPeer) ProtoReflect ¶
func (x *BluetoothPeer) ProtoReflect() protoreflect.Message
func (*BluetoothPeer) Reset ¶
func (x *BluetoothPeer) Reset()
func (*BluetoothPeer) String ¶
func (x *BluetoothPeer) String() string
type BluetoothPeerScopeState ¶
type BluetoothPeerScopeState struct { // Reference to the BluetoothPeer device this state is for. Btpeer *BluetoothPeer `protobuf:"bytes,1,opt,name=btpeer,proto3" json:"btpeer,omitempty"` // Chameleond state info for this btpeer. Chameleond *BluetoothPeerScopeState_Chameleond `protobuf:"bytes,2,opt,name=chameleond,proto3" json:"chameleond,omitempty"` // RaspiosCrosBtpeerImage state info for this btpeer. RaspiosCrosBtpeerImage *BluetoothPeerScopeState_RaspiosCrosBtpeerImage `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
BluetoothPeerScopeState holds exec state information for btpeer execs. Meant to describe the exec state for a single btpeer. Used only as internal state for scope. Do not use for store data.
func (*BluetoothPeerScopeState) Descriptor
deprecated
func (*BluetoothPeerScopeState) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothPeerScopeState.ProtoReflect.Descriptor instead.
func (*BluetoothPeerScopeState) GetBtpeer ¶
func (x *BluetoothPeerScopeState) GetBtpeer() *BluetoothPeer
func (*BluetoothPeerScopeState) GetChameleond ¶
func (x *BluetoothPeerScopeState) GetChameleond() *BluetoothPeerScopeState_Chameleond
func (*BluetoothPeerScopeState) GetRaspiosCrosBtpeerImage ¶
func (x *BluetoothPeerScopeState) GetRaspiosCrosBtpeerImage() *BluetoothPeerScopeState_RaspiosCrosBtpeerImage
func (*BluetoothPeerScopeState) ProtoMessage ¶
func (*BluetoothPeerScopeState) ProtoMessage()
func (*BluetoothPeerScopeState) ProtoReflect ¶
func (x *BluetoothPeerScopeState) ProtoReflect() protoreflect.Message
func (*BluetoothPeerScopeState) Reset ¶
func (x *BluetoothPeerScopeState) Reset()
func (*BluetoothPeerScopeState) String ¶
func (x *BluetoothPeerScopeState) String() string
type BluetoothPeerScopeState_Chameleond ¶
type BluetoothPeerScopeState_Chameleond struct { // The commit of chameleond at which the bundle installed on the btpeer was created. InstalledCommit string `protobuf:"bytes,1,opt,name=installed_commit,json=installedCommit,proto3" json:"installed_commit,omitempty"` // The BluetoothPeerChameleondConfig as retrieved from the global config // JSON file stored on GCS. Includes information regarding available // chameleond bundle releases for all btpeers. ReleaseConfig *api.BluetoothPeerChameleondConfig `protobuf:"bytes,2,opt,name=release_config,json=releaseConfig,proto3" json:"release_config,omitempty"` // The config of the chameleond bundle from the release_config that has been // identified as the expected bundle for this specific btpeer. ExpectedBundleConfig *api.BluetoothPeerChameleondConfig_ChameleondBundle `protobuf:"bytes,3,opt,name=expected_bundle_config,json=expectedBundleConfig,proto3" json:"expected_bundle_config,omitempty"` // contains filtered or unexported fields }
Chameleond holds data related to the state of chameleond on the btpeer.
func (*BluetoothPeerScopeState_Chameleond) Descriptor
deprecated
func (*BluetoothPeerScopeState_Chameleond) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothPeerScopeState_Chameleond.ProtoReflect.Descriptor instead.
func (*BluetoothPeerScopeState_Chameleond) GetExpectedBundleConfig ¶
func (x *BluetoothPeerScopeState_Chameleond) GetExpectedBundleConfig() *api.BluetoothPeerChameleondConfig_ChameleondBundle
func (*BluetoothPeerScopeState_Chameleond) GetInstalledCommit ¶
func (x *BluetoothPeerScopeState_Chameleond) GetInstalledCommit() string
func (*BluetoothPeerScopeState_Chameleond) GetReleaseConfig ¶
func (x *BluetoothPeerScopeState_Chameleond) GetReleaseConfig() *api.BluetoothPeerChameleondConfig
func (*BluetoothPeerScopeState_Chameleond) ProtoMessage ¶
func (*BluetoothPeerScopeState_Chameleond) ProtoMessage()
func (*BluetoothPeerScopeState_Chameleond) ProtoReflect ¶
func (x *BluetoothPeerScopeState_Chameleond) ProtoReflect() protoreflect.Message
func (*BluetoothPeerScopeState_Chameleond) Reset ¶
func (x *BluetoothPeerScopeState_Chameleond) Reset()
func (*BluetoothPeerScopeState_Chameleond) String ¶
func (x *BluetoothPeerScopeState_Chameleond) String() string
type BluetoothPeerScopeState_RaspiosCrosBtpeerImage ¶
type BluetoothPeerScopeState_RaspiosCrosBtpeerImage struct { // The UUID of the ChromeOS Raspberry Pi OS image installed on the btpeer. InstalledImageUuid string `protobuf:"bytes,1,opt,name=installed_image_uuid,json=installedImageUuid,proto3" json:"installed_image_uuid,omitempty"` // The RaspiosCrosBtpeerImageConfig as retrieved from the global config JSON // file stored on GCS. Includes information regarding available image // releases for all btpeers. ReleaseConfig *api.RaspiosCrosBtpeerImageConfig `protobuf:"bytes,2,opt,name=release_config,json=releaseConfig,proto3" json:"release_config,omitempty"` // The config of the image from the release_config that has been identified // as the expected image for this specific btpeer. ExpectedImageConfig *api.RaspiosCrosBtpeerImageConfig_OSImage `protobuf:"bytes,3,opt,name=expected_image_config,json=expectedImageConfig,proto3" json:"expected_image_config,omitempty"` // contains filtered or unexported fields }
RaspiosCrosBtpeerImage holds data related to the state of a ChromeOS Raspberry Pi OS image on the btpeer.
func (*BluetoothPeerScopeState_RaspiosCrosBtpeerImage) Descriptor
deprecated
func (*BluetoothPeerScopeState_RaspiosCrosBtpeerImage) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothPeerScopeState_RaspiosCrosBtpeerImage.ProtoReflect.Descriptor instead.
func (*BluetoothPeerScopeState_RaspiosCrosBtpeerImage) GetExpectedImageConfig ¶
func (x *BluetoothPeerScopeState_RaspiosCrosBtpeerImage) GetExpectedImageConfig() *api.RaspiosCrosBtpeerImageConfig_OSImage
func (*BluetoothPeerScopeState_RaspiosCrosBtpeerImage) GetInstalledImageUuid ¶
func (x *BluetoothPeerScopeState_RaspiosCrosBtpeerImage) GetInstalledImageUuid() string
func (*BluetoothPeerScopeState_RaspiosCrosBtpeerImage) GetReleaseConfig ¶
func (x *BluetoothPeerScopeState_RaspiosCrosBtpeerImage) GetReleaseConfig() *api.RaspiosCrosBtpeerImageConfig
func (*BluetoothPeerScopeState_RaspiosCrosBtpeerImage) ProtoMessage ¶
func (*BluetoothPeerScopeState_RaspiosCrosBtpeerImage) ProtoMessage()
func (*BluetoothPeerScopeState_RaspiosCrosBtpeerImage) ProtoReflect ¶
func (x *BluetoothPeerScopeState_RaspiosCrosBtpeerImage) ProtoReflect() protoreflect.Message
func (*BluetoothPeerScopeState_RaspiosCrosBtpeerImage) Reset ¶
func (x *BluetoothPeerScopeState_RaspiosCrosBtpeerImage) Reset()
func (*BluetoothPeerScopeState_RaspiosCrosBtpeerImage) String ¶
func (x *BluetoothPeerScopeState_RaspiosCrosBtpeerImage) String() string
type BluetoothPeer_State ¶
type BluetoothPeer_State int32
State describes the state of bluetooth peer device.
const ( BluetoothPeer_STATE_UNSPECIFIED BluetoothPeer_State = 0 // Device and software on it is working as expected. BluetoothPeer_WORKING BluetoothPeer_State = 1 // Device is broken or not working as expected. BluetoothPeer_BROKEN BluetoothPeer_State = 2 )
func (BluetoothPeer_State) Descriptor ¶
func (BluetoothPeer_State) Descriptor() protoreflect.EnumDescriptor
func (BluetoothPeer_State) Enum ¶
func (x BluetoothPeer_State) Enum() *BluetoothPeer_State
func (BluetoothPeer_State) EnumDescriptor
deprecated
func (BluetoothPeer_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use BluetoothPeer_State.Descriptor instead.
func (BluetoothPeer_State) Number ¶
func (x BluetoothPeer_State) Number() protoreflect.EnumNumber
func (BluetoothPeer_State) String ¶
func (x BluetoothPeer_State) String() string
func (BluetoothPeer_State) Type ¶
func (BluetoothPeer_State) Type() protoreflect.EnumType
type CallBluetoothPeerRequest ¶
type CallBluetoothPeerRequest struct { // Resource name Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // Method called on service. Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` // Arguments provided to the service. Args []*xmlrpc.Value `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
CallBluetoothPeerRequest represents data to run command on bluetooth peer.
func (*CallBluetoothPeerRequest) Descriptor
deprecated
func (*CallBluetoothPeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CallBluetoothPeerRequest.ProtoReflect.Descriptor instead.
func (*CallBluetoothPeerRequest) GetArgs ¶
func (x *CallBluetoothPeerRequest) GetArgs() []*xmlrpc.Value
func (*CallBluetoothPeerRequest) GetMethod ¶
func (x *CallBluetoothPeerRequest) GetMethod() string
func (*CallBluetoothPeerRequest) GetResource ¶
func (x *CallBluetoothPeerRequest) GetResource() string
func (*CallBluetoothPeerRequest) ProtoMessage ¶
func (*CallBluetoothPeerRequest) ProtoMessage()
func (*CallBluetoothPeerRequest) ProtoReflect ¶
func (x *CallBluetoothPeerRequest) ProtoReflect() protoreflect.Message
func (*CallBluetoothPeerRequest) Reset ¶
func (x *CallBluetoothPeerRequest) Reset()
func (*CallBluetoothPeerRequest) String ¶
func (x *CallBluetoothPeerRequest) String() string
type CallBluetoothPeerResponse ¶
type CallBluetoothPeerResponse struct { Value *xmlrpc.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Fault bool `protobuf:"varint,2,opt,name=fault,proto3" json:"fault,omitempty"` // contains filtered or unexported fields }
CallBluetoothPeerResponse represents result data from running command on bluetooth peer.
func (*CallBluetoothPeerResponse) Descriptor
deprecated
func (*CallBluetoothPeerResponse) Descriptor() ([]byte, []int)
Deprecated: Use CallBluetoothPeerResponse.ProtoReflect.Descriptor instead.
func (*CallBluetoothPeerResponse) GetFault ¶
func (x *CallBluetoothPeerResponse) GetFault() bool
func (*CallBluetoothPeerResponse) GetValue ¶
func (x *CallBluetoothPeerResponse) GetValue() *xmlrpc.Value
func (*CallBluetoothPeerResponse) ProtoMessage ¶
func (*CallBluetoothPeerResponse) ProtoMessage()
func (*CallBluetoothPeerResponse) ProtoReflect ¶
func (x *CallBluetoothPeerResponse) ProtoReflect() protoreflect.Message
func (*CallBluetoothPeerResponse) Reset ¶
func (x *CallBluetoothPeerResponse) Reset()
func (*CallBluetoothPeerResponse) String ¶
func (x *CallBluetoothPeerResponse) String() string
type CallServodRequest ¶
type CallServodRequest struct { Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` Args []*xmlrpc.Value `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
CallServodRequest represents data to run command on servod.
func (*CallServodRequest) Descriptor
deprecated
func (*CallServodRequest) Descriptor() ([]byte, []int)
Deprecated: Use CallServodRequest.ProtoReflect.Descriptor instead.
func (*CallServodRequest) GetArgs ¶
func (x *CallServodRequest) GetArgs() []*xmlrpc.Value
func (*CallServodRequest) GetMethod ¶
func (x *CallServodRequest) GetMethod() string
func (*CallServodRequest) GetResource ¶
func (x *CallServodRequest) GetResource() string
func (*CallServodRequest) GetTimeout ¶
func (x *CallServodRequest) GetTimeout() *durationpb.Duration
func (*CallServodRequest) ProtoMessage ¶
func (*CallServodRequest) ProtoMessage()
func (*CallServodRequest) ProtoReflect ¶
func (x *CallServodRequest) ProtoReflect() protoreflect.Message
func (*CallServodRequest) Reset ¶
func (x *CallServodRequest) Reset()
func (*CallServodRequest) String ¶
func (x *CallServodRequest) String() string
type CallServodResponse ¶
type CallServodResponse struct { Value *xmlrpc.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Fault bool `protobuf:"varint,2,opt,name=fault,proto3" json:"fault,omitempty"` // contains filtered or unexported fields }
CallServodResponse represents result data from running command on servod.
func (*CallServodResponse) Descriptor
deprecated
func (*CallServodResponse) Descriptor() ([]byte, []int)
Deprecated: Use CallServodResponse.ProtoReflect.Descriptor instead.
func (*CallServodResponse) GetFault ¶
func (x *CallServodResponse) GetFault() bool
func (*CallServodResponse) GetValue ¶
func (x *CallServodResponse) GetValue() *xmlrpc.Value
func (*CallServodResponse) ProtoMessage ¶
func (*CallServodResponse) ProtoMessage()
func (*CallServodResponse) ProtoReflect ¶
func (x *CallServodResponse) ProtoReflect() protoreflect.Message
func (*CallServodResponse) Reset ¶
func (x *CallServodResponse) Reset()
func (*CallServodResponse) String ¶
func (x *CallServodResponse) String() string
type CallTouchHostdRequest ¶
type CallTouchHostdRequest struct { // Resource name Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // Method called on service. Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` // Arguments provided to the service. Args []*xmlrpc.Value `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` // Timeout Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
CallTouchHostdRequest represents data to run command on touchhost.
func (*CallTouchHostdRequest) Descriptor
deprecated
func (*CallTouchHostdRequest) Descriptor() ([]byte, []int)
Deprecated: Use CallTouchHostdRequest.ProtoReflect.Descriptor instead.
func (*CallTouchHostdRequest) GetArgs ¶
func (x *CallTouchHostdRequest) GetArgs() []*xmlrpc.Value
func (*CallTouchHostdRequest) GetMethod ¶
func (x *CallTouchHostdRequest) GetMethod() string
func (*CallTouchHostdRequest) GetResource ¶
func (x *CallTouchHostdRequest) GetResource() string
func (*CallTouchHostdRequest) GetTimeout ¶
func (x *CallTouchHostdRequest) GetTimeout() *durationpb.Duration
func (*CallTouchHostdRequest) ProtoMessage ¶
func (*CallTouchHostdRequest) ProtoMessage()
func (*CallTouchHostdRequest) ProtoReflect ¶
func (x *CallTouchHostdRequest) ProtoReflect() protoreflect.Message
func (*CallTouchHostdRequest) Reset ¶
func (x *CallTouchHostdRequest) Reset()
func (*CallTouchHostdRequest) String ¶
func (x *CallTouchHostdRequest) String() string
type CallTouchHostdResponse ¶
type CallTouchHostdResponse struct { Value *xmlrpc.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Fault bool `protobuf:"varint,2,opt,name=fault,proto3" json:"fault,omitempty"` // contains filtered or unexported fields }
CallTouchHostdResponse represents result data from running command on touchhost.
func (*CallTouchHostdResponse) Descriptor
deprecated
func (*CallTouchHostdResponse) Descriptor() ([]byte, []int)
Deprecated: Use CallTouchHostdResponse.ProtoReflect.Descriptor instead.
func (*CallTouchHostdResponse) GetFault ¶
func (x *CallTouchHostdResponse) GetFault() bool
func (*CallTouchHostdResponse) GetValue ¶
func (x *CallTouchHostdResponse) GetValue() *xmlrpc.Value
func (*CallTouchHostdResponse) ProtoMessage ¶
func (*CallTouchHostdResponse) ProtoMessage()
func (*CallTouchHostdResponse) ProtoReflect ¶
func (x *CallTouchHostdResponse) ProtoReflect() protoreflect.Message
func (*CallTouchHostdResponse) Reset ¶
func (x *CallTouchHostdResponse) Reset()
func (*CallTouchHostdResponse) String ¶
func (x *CallTouchHostdResponse) String() string
type Camera ¶
type Camera struct { // State of the component. State HardwareState `protobuf:"varint,1,opt,name=state,proto3,enum=chromeos.recovery.HardwareState" json:"state,omitempty"` // contains filtered or unexported fields }
Camera holds info about camera of the DUT
func (*Camera) Descriptor
deprecated
func (*Camera) GetState ¶
func (x *Camera) GetState() HardwareState
func (*Camera) ProtoMessage ¶
func (*Camera) ProtoMessage()
func (*Camera) ProtoReflect ¶
func (x *Camera) ProtoReflect() protoreflect.Message
type Cellular ¶
type Cellular struct { // State of the modem. ModemState HardwareState `` /* 129-byte string literal not displayed */ // Device carrier. Carrier string `protobuf:"bytes,2,opt,name=carrier,proto3" json:"carrier,omitempty"` // Model variant. ModelVariant string `protobuf:"bytes,3,opt,name=model_variant,json=modelVariant,proto3" json:"model_variant,omitempty"` // Modem-specific label info. ModemInfo *Cellular_ModemInfo `protobuf:"bytes,4,opt,name=modem_info,json=modemInfo,proto3" json:"modem_info,omitempty"` // Information on all SIMs available on the DUT. SimInfos []*Cellular_SIMInfo `protobuf:"bytes,5,rep,name=sim_infos,json=simInfos,proto3" json:"sim_infos,omitempty"` // Information on all carrier dependencies that can be satisfied by this DUT. SupportedCarriers []string `protobuf:"bytes,6,rep,name=supported_carriers,json=supportedCarriers,proto3" json:"supported_carriers,omitempty"` // State of the starfish connected to the device. StarfishState Cellular_StarfishState `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
Cellular holds info about the cellular of the DUT.
func (*Cellular) Descriptor
deprecated
func (*Cellular) GetCarrier ¶
func (*Cellular) GetModelVariant ¶
func (*Cellular) GetModemInfo ¶
func (x *Cellular) GetModemInfo() *Cellular_ModemInfo
func (*Cellular) GetModemState ¶
func (x *Cellular) GetModemState() HardwareState
func (*Cellular) GetSimInfos ¶
func (x *Cellular) GetSimInfos() []*Cellular_SIMInfo
func (*Cellular) GetStarfishState ¶
func (x *Cellular) GetStarfishState() Cellular_StarfishState
func (*Cellular) GetSupportedCarriers ¶
func (*Cellular) ProtoMessage ¶
func (*Cellular) ProtoMessage()
func (*Cellular) ProtoReflect ¶
func (x *Cellular) ProtoReflect() protoreflect.Message
type Cellular_ModemInfo ¶
type Cellular_ModemInfo struct { Type Cellular_ModemType `protobuf:"varint,1,opt,name=type,proto3,enum=chromeos.recovery.Cellular_ModemType" json:"type,omitempty"` // Equipment Identifier Imei string `protobuf:"bytes,2,opt,name=imei,proto3" json:"imei,omitempty"` // contains filtered or unexported fields }
func (*Cellular_ModemInfo) Descriptor
deprecated
func (*Cellular_ModemInfo) Descriptor() ([]byte, []int)
Deprecated: Use Cellular_ModemInfo.ProtoReflect.Descriptor instead.
func (*Cellular_ModemInfo) GetImei ¶
func (x *Cellular_ModemInfo) GetImei() string
func (*Cellular_ModemInfo) GetType ¶
func (x *Cellular_ModemInfo) GetType() Cellular_ModemType
func (*Cellular_ModemInfo) ProtoMessage ¶
func (*Cellular_ModemInfo) ProtoMessage()
func (*Cellular_ModemInfo) ProtoReflect ¶
func (x *Cellular_ModemInfo) ProtoReflect() protoreflect.Message
func (*Cellular_ModemInfo) Reset ¶
func (x *Cellular_ModemInfo) Reset()
func (*Cellular_ModemInfo) String ¶
func (x *Cellular_ModemInfo) String() string
type Cellular_ModemType ¶
type Cellular_ModemType int32
Type of modem hardware.
const ( Cellular_MODEM_TYPE_UNSPECIFIED Cellular_ModemType = 0 Cellular_MODEM_TYPE_UNSUPPORTED Cellular_ModemType = 8 // Qualcomm modem Cellular_MODEM_TYPE_QUALCOMM_SC7180 Cellular_ModemType = 1 // Fibocomm modem Cellular_MODEM_TYPE_FIBOCOMM_L850GL Cellular_ModemType = 2 // NL668 Cellular_MODEM_TYPE_NL668 Cellular_ModemType = 3 // FM350 Cellular_MODEM_TYPE_FM350 Cellular_ModemType = 4 // FM101 Cellular_MODEM_TYPE_FM101 Cellular_ModemType = 5 // SC7280 Cellular_MODEM_TYPE_QUALCOMM_SC7280 Cellular_ModemType = 6 // EM060 Cellular_MODEM_TYPE_EM060 Cellular_ModemType = 7 // RW101 Cellular_MODEM_TYPE_RW101 Cellular_ModemType = 9 // RW135 Cellular_MODEM_TYPE_RW135 Cellular_ModemType = 10 // LCUK54 Cellular_MODEM_TYPE_LCUK54 Cellular_ModemType = 11 )
func (Cellular_ModemType) Descriptor ¶
func (Cellular_ModemType) Descriptor() protoreflect.EnumDescriptor
func (Cellular_ModemType) Enum ¶
func (x Cellular_ModemType) Enum() *Cellular_ModemType
func (Cellular_ModemType) EnumDescriptor
deprecated
func (Cellular_ModemType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cellular_ModemType.Descriptor instead.
func (Cellular_ModemType) Number ¶
func (x Cellular_ModemType) Number() protoreflect.EnumNumber
func (Cellular_ModemType) String ¶
func (x Cellular_ModemType) String() string
func (Cellular_ModemType) Type ¶
func (Cellular_ModemType) Type() protoreflect.EnumType
type Cellular_NetworkProvider ¶
type Cellular_NetworkProvider int32
The network operator for a particular SIM.
const ( Cellular_NETWORK_UNSPECIFIED Cellular_NetworkProvider = 0 Cellular_NETWORK_UNSUPPORTED Cellular_NetworkProvider = 5 Cellular_NETWORK_TEST Cellular_NetworkProvider = 1 Cellular_NETWORK_ATT Cellular_NetworkProvider = 2 Cellular_NETWORK_TMOBILE Cellular_NetworkProvider = 3 Cellular_NETWORK_VERIZON Cellular_NetworkProvider = 4 Cellular_NETWORK_SPRINT Cellular_NetworkProvider = 6 Cellular_NETWORK_DOCOMO Cellular_NetworkProvider = 7 Cellular_NETWORK_SOFTBANK Cellular_NetworkProvider = 8 Cellular_NETWORK_KDDI Cellular_NetworkProvider = 9 Cellular_NETWORK_RAKUTEN Cellular_NetworkProvider = 10 Cellular_NETWORK_VODAFONE Cellular_NetworkProvider = 11 Cellular_NETWORK_EE Cellular_NetworkProvider = 12 Cellular_NETWORK_AMARISOFT Cellular_NetworkProvider = 13 Cellular_NETWORK_ROGER Cellular_NetworkProvider = 14 Cellular_NETWORK_BELL Cellular_NetworkProvider = 15 Cellular_NETWORK_TELUS Cellular_NetworkProvider = 16 Cellular_NETWORK_FI Cellular_NetworkProvider = 17 Cellular_NETWORK_CBRS Cellular_NetworkProvider = 18 Cellular_NETWORK_LINEMO Cellular_NetworkProvider = 19 Cellular_NETWORK_POVO Cellular_NetworkProvider = 20 Cellular_NETWORK_HANSHIN Cellular_NetworkProvider = 21 )
func (Cellular_NetworkProvider) Descriptor ¶
func (Cellular_NetworkProvider) Descriptor() protoreflect.EnumDescriptor
func (Cellular_NetworkProvider) Enum ¶
func (x Cellular_NetworkProvider) Enum() *Cellular_NetworkProvider
func (Cellular_NetworkProvider) EnumDescriptor
deprecated
func (Cellular_NetworkProvider) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cellular_NetworkProvider.Descriptor instead.
func (Cellular_NetworkProvider) Number ¶
func (x Cellular_NetworkProvider) Number() protoreflect.EnumNumber
func (Cellular_NetworkProvider) String ¶
func (x Cellular_NetworkProvider) String() string
func (Cellular_NetworkProvider) Type ¶
func (Cellular_NetworkProvider) Type() protoreflect.EnumType
type Cellular_SIMInfo ¶
type Cellular_SIMInfo struct { // Which slot on the device the SIM card occupies. SlotId int32 `protobuf:"varint,1,opt,name=slot_id,json=slotId,proto3" json:"slot_id,omitempty"` Type Cellular_SIMType `protobuf:"varint,2,opt,name=type,proto3,enum=chromeos.recovery.Cellular_SIMType" json:"type,omitempty"` // The unique SIM EID. Eid string `protobuf:"bytes,3,opt,name=eid,proto3" json:"eid,omitempty"` // True if the SIM is a test-eSIM (not prod). TestEsim bool `protobuf:"varint,4,opt,name=test_esim,json=testEsim,proto3" json:"test_esim,omitempty"` // The available profiles on the SIM card. ProfileInfos []*Cellular_SIMProfileInfo `protobuf:"bytes,5,rep,name=profile_infos,json=profileInfos,proto3" json:"profile_infos,omitempty"` // contains filtered or unexported fields }
Information on a single SIM card in a slot.
func (*Cellular_SIMInfo) Descriptor
deprecated
func (*Cellular_SIMInfo) Descriptor() ([]byte, []int)
Deprecated: Use Cellular_SIMInfo.ProtoReflect.Descriptor instead.
func (*Cellular_SIMInfo) GetEid ¶
func (x *Cellular_SIMInfo) GetEid() string
func (*Cellular_SIMInfo) GetProfileInfos ¶
func (x *Cellular_SIMInfo) GetProfileInfos() []*Cellular_SIMProfileInfo
func (*Cellular_SIMInfo) GetSlotId ¶
func (x *Cellular_SIMInfo) GetSlotId() int32
func (*Cellular_SIMInfo) GetTestEsim ¶
func (x *Cellular_SIMInfo) GetTestEsim() bool
func (*Cellular_SIMInfo) GetType ¶
func (x *Cellular_SIMInfo) GetType() Cellular_SIMType
func (*Cellular_SIMInfo) ProtoMessage ¶
func (*Cellular_SIMInfo) ProtoMessage()
func (*Cellular_SIMInfo) ProtoReflect ¶
func (x *Cellular_SIMInfo) ProtoReflect() protoreflect.Message
func (*Cellular_SIMInfo) Reset ¶
func (x *Cellular_SIMInfo) Reset()
func (*Cellular_SIMInfo) String ¶
func (x *Cellular_SIMInfo) String() string
type Cellular_SIMProfileInfo ¶
type Cellular_SIMProfileInfo struct { // The unique profile ICCID. Iccid string `protobuf:"bytes,1,opt,name=iccid,proto3" json:"iccid,omitempty"` // The associated PUK code. SimPin string `protobuf:"bytes,2,opt,name=sim_pin,json=simPin,proto3" json:"sim_pin,omitempty"` // The associated PUK code. SimPuk string `protobuf:"bytes,3,opt,name=sim_puk,json=simPuk,proto3" json:"sim_puk,omitempty"` // The associated network provider. CarrierName Cellular_NetworkProvider `` /* 143-byte string literal not displayed */ // The phone number associated with the SIM. OwnNumber string `protobuf:"bytes,5,opt,name=own_number,json=ownNumber,proto3" json:"own_number,omitempty"` // The state of the cellular network connection. State Cellular_SIMProfileInfo_State `protobuf:"varint,6,opt,name=state,proto3,enum=chromeos.recovery.Cellular_SIMProfileInfo_State" json:"state,omitempty"` // The ICCID detected during repair. DetectedIccid string `protobuf:"bytes,7,opt,name=detected_iccid,json=detectedIccid,proto3" json:"detected_iccid,omitempty"` // The OwnNumber detected during repair. DetectedOwnNumber string `protobuf:"bytes,8,opt,name=detected_own_number,json=detectedOwnNumber,proto3" json:"detected_own_number,omitempty"` // Features supported by the profile. Features []Cellular_SIMProfileInfo_Feature `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
Information on the profiles available on the SIM.
func (*Cellular_SIMProfileInfo) Descriptor
deprecated
func (*Cellular_SIMProfileInfo) Descriptor() ([]byte, []int)
Deprecated: Use Cellular_SIMProfileInfo.ProtoReflect.Descriptor instead.
func (*Cellular_SIMProfileInfo) GetCarrierName ¶
func (x *Cellular_SIMProfileInfo) GetCarrierName() Cellular_NetworkProvider
func (*Cellular_SIMProfileInfo) GetDetectedIccid ¶
func (x *Cellular_SIMProfileInfo) GetDetectedIccid() string
func (*Cellular_SIMProfileInfo) GetDetectedOwnNumber ¶
func (x *Cellular_SIMProfileInfo) GetDetectedOwnNumber() string
func (*Cellular_SIMProfileInfo) GetFeatures ¶
func (x *Cellular_SIMProfileInfo) GetFeatures() []Cellular_SIMProfileInfo_Feature
func (*Cellular_SIMProfileInfo) GetIccid ¶
func (x *Cellular_SIMProfileInfo) GetIccid() string
func (*Cellular_SIMProfileInfo) GetOwnNumber ¶
func (x *Cellular_SIMProfileInfo) GetOwnNumber() string
func (*Cellular_SIMProfileInfo) GetSimPin ¶
func (x *Cellular_SIMProfileInfo) GetSimPin() string
func (*Cellular_SIMProfileInfo) GetSimPuk ¶
func (x *Cellular_SIMProfileInfo) GetSimPuk() string
func (*Cellular_SIMProfileInfo) GetState ¶
func (x *Cellular_SIMProfileInfo) GetState() Cellular_SIMProfileInfo_State
func (*Cellular_SIMProfileInfo) ProtoMessage ¶
func (*Cellular_SIMProfileInfo) ProtoMessage()
func (*Cellular_SIMProfileInfo) ProtoReflect ¶
func (x *Cellular_SIMProfileInfo) ProtoReflect() protoreflect.Message
func (*Cellular_SIMProfileInfo) Reset ¶
func (x *Cellular_SIMProfileInfo) Reset()
func (*Cellular_SIMProfileInfo) String ¶
func (x *Cellular_SIMProfileInfo) String() string
type Cellular_SIMProfileInfo_Feature ¶
type Cellular_SIMProfileInfo_Feature int32
Possible features that the SIM supports.
const ( // Unset feature. Cellular_SIMProfileInfo_FEATURE_UNSPECIFIED Cellular_SIMProfileInfo_Feature = 0 // The SIM supports a generic live network. Cellular_SIMProfileInfo_FEATURE_LIVE_NETWORK Cellular_SIMProfileInfo_Feature = 1 // The SIM supports SMS messaging. Cellular_SIMProfileInfo_FEATURE_SMS Cellular_SIMProfileInfo_Feature = 2 )
func (Cellular_SIMProfileInfo_Feature) Descriptor ¶
func (Cellular_SIMProfileInfo_Feature) Descriptor() protoreflect.EnumDescriptor
func (Cellular_SIMProfileInfo_Feature) Enum ¶
func (x Cellular_SIMProfileInfo_Feature) Enum() *Cellular_SIMProfileInfo_Feature
func (Cellular_SIMProfileInfo_Feature) EnumDescriptor
deprecated
func (Cellular_SIMProfileInfo_Feature) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cellular_SIMProfileInfo_Feature.Descriptor instead.
func (Cellular_SIMProfileInfo_Feature) Number ¶
func (x Cellular_SIMProfileInfo_Feature) Number() protoreflect.EnumNumber
func (Cellular_SIMProfileInfo_Feature) String ¶
func (x Cellular_SIMProfileInfo_Feature) String() string
func (Cellular_SIMProfileInfo_Feature) Type ¶
func (Cellular_SIMProfileInfo_Feature) Type() protoreflect.EnumType
type Cellular_SIMProfileInfo_State ¶
type Cellular_SIMProfileInfo_State int32
The allowed cellular connection states as reported by the modem.
const ( // Connection state not defined. Cellular_SIMProfileInfo_UNSPECIFIED Cellular_SIMProfileInfo_State = 0 // The device is unusable. Cellular_SIMProfileInfo_BROKEN Cellular_SIMProfileInfo_State = 1 // The device needs to be unlocked. Cellular_SIMProfileInfo_LOCKED Cellular_SIMProfileInfo_State = 2 // No data connection available and not in a failed state. Cellular_SIMProfileInfo_NO_NETWORK Cellular_SIMProfileInfo_State = 3 // The device is registered with a network provider, and data connections and messaging may be available for use. Cellular_SIMProfileInfo_WORKING Cellular_SIMProfileInfo_State = 4 // The configuration in UFS doesn't match what is on the SIM or is incomplete. Cellular_SIMProfileInfo_WRONG_CONFIG Cellular_SIMProfileInfo_State = 5 )
func (Cellular_SIMProfileInfo_State) Descriptor ¶
func (Cellular_SIMProfileInfo_State) Descriptor() protoreflect.EnumDescriptor
func (Cellular_SIMProfileInfo_State) Enum ¶
func (x Cellular_SIMProfileInfo_State) Enum() *Cellular_SIMProfileInfo_State
func (Cellular_SIMProfileInfo_State) EnumDescriptor
deprecated
func (Cellular_SIMProfileInfo_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cellular_SIMProfileInfo_State.Descriptor instead.
func (Cellular_SIMProfileInfo_State) Number ¶
func (x Cellular_SIMProfileInfo_State) Number() protoreflect.EnumNumber
func (Cellular_SIMProfileInfo_State) String ¶
func (x Cellular_SIMProfileInfo_State) String() string
func (Cellular_SIMProfileInfo_State) Type ¶
func (Cellular_SIMProfileInfo_State) Type() protoreflect.EnumType
type Cellular_SIMType ¶
type Cellular_SIMType int32
The type of SIM in the slot.
const ( Cellular_SIM_UNSPECIFIED Cellular_SIMType = 0 Cellular_SIM_PHYSICAL Cellular_SIMType = 1 Cellular_SIM_DIGITAL Cellular_SIMType = 2 )
func (Cellular_SIMType) Descriptor ¶
func (Cellular_SIMType) Descriptor() protoreflect.EnumDescriptor
func (Cellular_SIMType) Enum ¶
func (x Cellular_SIMType) Enum() *Cellular_SIMType
func (Cellular_SIMType) EnumDescriptor
deprecated
func (Cellular_SIMType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cellular_SIMType.Descriptor instead.
func (Cellular_SIMType) Number ¶
func (x Cellular_SIMType) Number() protoreflect.EnumNumber
func (Cellular_SIMType) String ¶
func (x Cellular_SIMType) String() string
func (Cellular_SIMType) Type ¶
func (Cellular_SIMType) Type() protoreflect.EnumType
type Cellular_StarfishState ¶
type Cellular_StarfishState int32
StarfishState describes the state of a starfish device in a testbed.
const ( Cellular_STARFISH_STATE_UNSPECIFIED Cellular_StarfishState = 0 // Starfish is working and SIMS detected as expected. Cellular_STARFISH_STATE_WORKING Cellular_StarfishState = 1 // Starfish is not working or SIMs are not detected as expected. Cellular_STARFISH_STATE_BROKEN Cellular_StarfishState = 2 // Does not apply to this device. Cellular_STARFISH_STATE_NOT_APPLICABLE Cellular_StarfishState = 3 )
func (Cellular_StarfishState) Descriptor ¶
func (Cellular_StarfishState) Descriptor() protoreflect.EnumDescriptor
func (Cellular_StarfishState) Enum ¶
func (x Cellular_StarfishState) Enum() *Cellular_StarfishState
func (Cellular_StarfishState) EnumDescriptor
deprecated
func (Cellular_StarfishState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cellular_StarfishState.Descriptor instead.
func (Cellular_StarfishState) Number ¶
func (x Cellular_StarfishState) Number() protoreflect.EnumNumber
func (Cellular_StarfishState) String ¶
func (x Cellular_StarfishState) String() string
func (Cellular_StarfishState) Type ¶
func (Cellular_StarfishState) Type() protoreflect.EnumType
type Chameleon ¶
type Chameleon struct { // Name is the resource name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // State of the device. State Chameleon_State `protobuf:"varint,2,opt,name=state,proto3,enum=chromeos.recovery.Chameleon_State" json:"state,omitempty"` // RPMOutlet of the Chameleon. RPMOutlet *RPMOutlet `protobuf:"bytes,3,opt,name=RPMOutlet,proto3" json:"RPMOutlet,omitempty"` // State of the AudioBoxJackPlugger Audioboxjackpluggerstate Chameleon_AudioBoxJackPluggerState `` /* 160-byte string literal not displayed */ // contains filtered or unexported fields }
Chameleon holds info about chameleon device.
func (*Chameleon) Descriptor
deprecated
func (*Chameleon) GetAudioboxjackpluggerstate ¶
func (x *Chameleon) GetAudioboxjackpluggerstate() Chameleon_AudioBoxJackPluggerState
func (*Chameleon) GetRPMOutlet ¶
func (*Chameleon) GetState ¶
func (x *Chameleon) GetState() Chameleon_State
func (*Chameleon) ProtoMessage ¶
func (*Chameleon) ProtoMessage()
func (*Chameleon) ProtoReflect ¶
func (x *Chameleon) ProtoReflect() protoreflect.Message
type Chameleon_AudioBoxJackPluggerState ¶
type Chameleon_AudioBoxJackPluggerState int32
AudioBoxJackPluggerState describes the state of AudioboxJackplugger
const ( Chameleon_AUDIOBOX_JACKPLUGGER_UNSPECIFIED Chameleon_AudioBoxJackPluggerState = 0 // Device and software on it is working as expected. Chameleon_AUDIOBOX_JACKPLUGGER_WORKING Chameleon_AudioBoxJackPluggerState = 1 // Device is broken or not working as expected. Chameleon_AUDIOBOX_JACKPLUGGER_BROKEN Chameleon_AudioBoxJackPluggerState = 2 // Device is not applicable to this testbed Chameleon_AUDIOBOX_JACKPLUGGER_NOT_APPLICABLE Chameleon_AudioBoxJackPluggerState = 3 )
func (Chameleon_AudioBoxJackPluggerState) Descriptor ¶
func (Chameleon_AudioBoxJackPluggerState) Descriptor() protoreflect.EnumDescriptor
func (Chameleon_AudioBoxJackPluggerState) Enum ¶
func (x Chameleon_AudioBoxJackPluggerState) Enum() *Chameleon_AudioBoxJackPluggerState
func (Chameleon_AudioBoxJackPluggerState) EnumDescriptor
deprecated
func (Chameleon_AudioBoxJackPluggerState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Chameleon_AudioBoxJackPluggerState.Descriptor instead.
func (Chameleon_AudioBoxJackPluggerState) Number ¶
func (x Chameleon_AudioBoxJackPluggerState) Number() protoreflect.EnumNumber
func (Chameleon_AudioBoxJackPluggerState) String ¶
func (x Chameleon_AudioBoxJackPluggerState) String() string
func (Chameleon_AudioBoxJackPluggerState) Type ¶
func (Chameleon_AudioBoxJackPluggerState) Type() protoreflect.EnumType
type Chameleon_State ¶
type Chameleon_State int32
State describes the state of chameleon device.
const ( Chameleon_STATE_UNSPECIFIED Chameleon_State = 0 // Device and software on it is working as expected. Chameleon_WORKING Chameleon_State = 1 // Device is broken or not working as expected. Chameleon_BROKEN Chameleon_State = 2 // Device State is not applicable. Chameleon_NOT_APPLICABLE Chameleon_State = 3 )
func (Chameleon_State) Descriptor ¶
func (Chameleon_State) Descriptor() protoreflect.EnumDescriptor
func (Chameleon_State) Enum ¶
func (x Chameleon_State) Enum() *Chameleon_State
func (Chameleon_State) EnumDescriptor
deprecated
func (Chameleon_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Chameleon_State.Descriptor instead.
func (Chameleon_State) Number ¶
func (x Chameleon_State) Number() protoreflect.EnumNumber
func (Chameleon_State) String ¶
func (x Chameleon_State) String() string
func (Chameleon_State) Type ¶
func (Chameleon_State) Type() protoreflect.EnumType
type ChromeOS ¶
type ChromeOS struct { // Is OS based on Android. // If not then based on Chrome. IsAndroidBased bool `protobuf:"varint,1,opt,name=is_android_based,json=isAndroidBased,proto3" json:"is_android_based,omitempty"` // Board name of the DUT. Board string `protobuf:"bytes,2,opt,name=board,proto3" json:"board,omitempty"` // Model name of the DUT. Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"` // Hardware identifier. Hwid string `protobuf:"bytes,4,opt,name=hwid,proto3" json:"hwid,omitempty"` // Hardware phase. Phase string `protobuf:"bytes,5,opt,name=phase,proto3" json:"phase,omitempty"` // Serial number of the DUT. SerialNumber string `protobuf:"bytes,6,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` // FirmwareInfo describes DUT firmware data. FirmwareInfo *FirmwareInfo `protobuf:"bytes,32,opt,name=firmware_info,json=firmwareInfo,proto3" json:"firmware_info,omitempty"` // PowerSupplyType describes the DUT's power supply type. PowerSupplyType ChromeOS_PowerSupplyType `` /* 157-byte string literal not displayed */ // Cr50 firmware phase used on the DUT. Cr50Phase ChromeOS_Cr50Phase `` /* 131-byte string literal not displayed */ // Key env for RW Cr50 firmware version. Cr50KeyEnv ChromeOS_Cr50KeyEnv `` /* 137-byte string literal not displayed */ // Audio info. Audio *DUTAudio `protobuf:"bytes,10,opt,name=audio,proto3" json:"audio,omitempty"` // Stock-keeping unit of the DUT. DeviceSku string `protobuf:"bytes,11,opt,name=device_sku,json=deviceSku,proto3" json:"device_sku,omitempty"` // DLM SKU ID of the DUT DlmSkuId string `protobuf:"bytes,31,opt,name=dlm_sku_id,json=dlmSkuId,proto3" json:"dlm_sku_id,omitempty"` // Physical parts of DUT. // Internal storage info. Storage *Storage `protobuf:"bytes,12,opt,name=storage,proto3" json:"storage,omitempty"` // Battery info. Battery *Battery `protobuf:"bytes,13,opt,name=battery,proto3" json:"battery,omitempty"` // Wifi info. Wifi *Wifi `protobuf:"bytes,14,opt,name=wifi,proto3" json:"wifi,omitempty"` // Bluetooth info. Bluetooth *Bluetooth `protobuf:"bytes,15,opt,name=bluetooth,proto3" json:"bluetooth,omitempty"` // Peripheral devices. // Servo setup of the DUT setup. Servo *ServoHost `protobuf:"bytes,16,opt,name=servo,proto3" json:"servo,omitempty"` // Chameleon device of the DUT setup. Chameleon *Chameleon `protobuf:"bytes,17,opt,name=chameleon,proto3" json:"chameleon,omitempty"` // BluetoothPeer info of DUT setup. BluetoothPeers []*BluetoothPeer `protobuf:"bytes,18,rep,name=bluetooth_peers,json=bluetoothPeers,proto3" json:"bluetooth_peers,omitempty"` // Array of Wifi Router peripheral devices. WifiRouters []*WifiRouterHost `protobuf:"bytes,19,rep,name=wifi_routers,json=wifiRouters,proto3" json:"wifi_routers,omitempty"` // Peripheral Wifi state of testbed PeripheralWifiState ChromeOS_PeripheralWifiState `` /* 174-byte string literal not displayed */ // WifiRouterFeatures that are supported by all wifi routers in the testbed. // // If there are no wifi routers this will be empty. // If any routers have unknown features, this will just have a single // WIFI_ROUTER_FEATURE_UNKNOWN entry. // If any routers' features has a WIFI_ROUTER_FEATURE_INVALID feature, a // WIFI_ROUTER_FEATURE_INVALID feature will be included along with the other // common, valid features. // If there are no common, valid features between all routers, this will just // have a single WIFI_ROUTER_FEATURE_INVALID entry. WifiRouterFeatures []api.WifiRouterFeature `` /* 173-byte string literal not displayed */ // RPMOutlet of the DUT setup. RpmOutlet *RPMOutlet `protobuf:"bytes,21,opt,name=rpm_outlet,json=rpmOutlet,proto3" json:"rpm_outlet,omitempty"` // Map of key value pairs from RO_VPD. RoVpdMap map[string]string `` /* 162-byte string literal not displayed */ // CBI contents on the DUT Cbi *api.Cbi `protobuf:"bytes,23,opt,name=cbi,proto3" json:"cbi,omitempty"` // Cellular info. Cellular *Cellular `protobuf:"bytes,24,opt,name=cellular,proto3" json:"cellular,omitempty"` // Capability to support Chromebook X features Cbx bool `protobuf:"varint,25,opt,name=cbx,proto3" json:"cbx,omitempty"` // Human Motion Robot info. HumanMotionRobot *HumanMotionRobot `protobuf:"bytes,26,opt,name=human_motion_robot,json=humanMotionRobot,proto3" json:"human_motion_robot,omitempty"` // Testbed Capability info TestbedCapability *TestbedCapability `protobuf:"bytes,28,opt,name=testbed_capability,json=testbedCapability,proto3" json:"testbed_capability,omitempty"` // Audio Latency Toolkit info. AudioLatencyToolkit *AudioLatencyToolkit `protobuf:"bytes,29,opt,name=audio_latency_toolkit,json=audioLatencyToolkit,proto3" json:"audio_latency_toolkit,omitempty"` // Dolos device info. Dolos *Dolos `protobuf:"bytes,30,opt,name=dolos,proto3" json:"dolos,omitempty"` GpuId string `protobuf:"bytes,33,opt,name=gpu_id,json=gpuId,proto3" json:"gpu_id,omitempty"` // AMT management info. AmtManager *AMTManager `protobuf:"bytes,34,opt,name=amt_manager,json=amtManager,proto3" json:"amt_manager,omitempty"` // Camera info Camera *Camera `protobuf:"bytes,35,opt,name=camera,proto3" json:"camera,omitempty"` // Fingerprint Fingerprint *Fingerprint `protobuf:"bytes,36,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // contains filtered or unexported fields }
Chrome OS specific DUT details NEXT TAG: 37
func (*ChromeOS) Descriptor
deprecated
func (*ChromeOS) GetAmtManager ¶
func (x *ChromeOS) GetAmtManager() *AMTManager
func (*ChromeOS) GetAudioLatencyToolkit ¶
func (x *ChromeOS) GetAudioLatencyToolkit() *AudioLatencyToolkit
func (*ChromeOS) GetBattery ¶
func (*ChromeOS) GetBluetooth ¶
func (*ChromeOS) GetBluetoothPeers ¶
func (x *ChromeOS) GetBluetoothPeers() []*BluetoothPeer
func (*ChromeOS) GetCellular ¶
func (*ChromeOS) GetChameleon ¶
func (*ChromeOS) GetCr50KeyEnv ¶
func (x *ChromeOS) GetCr50KeyEnv() ChromeOS_Cr50KeyEnv
func (*ChromeOS) GetCr50Phase ¶
func (x *ChromeOS) GetCr50Phase() ChromeOS_Cr50Phase
func (*ChromeOS) GetDeviceSku ¶
func (*ChromeOS) GetDlmSkuId ¶
func (*ChromeOS) GetFingerprint ¶
func (x *ChromeOS) GetFingerprint() *Fingerprint
func (*ChromeOS) GetFirmwareInfo ¶
func (x *ChromeOS) GetFirmwareInfo() *FirmwareInfo
func (*ChromeOS) GetHumanMotionRobot ¶
func (x *ChromeOS) GetHumanMotionRobot() *HumanMotionRobot
func (*ChromeOS) GetIsAndroidBased ¶
func (*ChromeOS) GetPeripheralWifiState ¶
func (x *ChromeOS) GetPeripheralWifiState() ChromeOS_PeripheralWifiState
func (*ChromeOS) GetPowerSupplyType ¶
func (x *ChromeOS) GetPowerSupplyType() ChromeOS_PowerSupplyType
func (*ChromeOS) GetRoVpdMap ¶
func (*ChromeOS) GetRpmOutlet ¶
func (*ChromeOS) GetSerialNumber ¶
func (*ChromeOS) GetStorage ¶
func (*ChromeOS) GetTestbedCapability ¶
func (x *ChromeOS) GetTestbedCapability() *TestbedCapability
func (*ChromeOS) GetWifiRouterFeatures ¶
func (x *ChromeOS) GetWifiRouterFeatures() []api.WifiRouterFeature
func (*ChromeOS) GetWifiRouters ¶
func (x *ChromeOS) GetWifiRouters() []*WifiRouterHost
func (*ChromeOS) ProtoMessage ¶
func (*ChromeOS) ProtoMessage()
func (*ChromeOS) ProtoReflect ¶
func (x *ChromeOS) ProtoReflect() protoreflect.Message
type ChromeOS_Cr50KeyEnv ¶
type ChromeOS_Cr50KeyEnv int32
Cr50KeyEnv describes key env for cr50 RW version. Label indicating the cr50 RW version.
const ( ChromeOS_CR50_KEYENV_UNSPECIFIED ChromeOS_Cr50KeyEnv = 0 ChromeOS_CR50_KEYENV_PROD ChromeOS_Cr50KeyEnv = 1 ChromeOS_CR50_KEYENV_DEV ChromeOS_Cr50KeyEnv = 2 )
func (ChromeOS_Cr50KeyEnv) Descriptor ¶
func (ChromeOS_Cr50KeyEnv) Descriptor() protoreflect.EnumDescriptor
func (ChromeOS_Cr50KeyEnv) Enum ¶
func (x ChromeOS_Cr50KeyEnv) Enum() *ChromeOS_Cr50KeyEnv
func (ChromeOS_Cr50KeyEnv) EnumDescriptor
deprecated
func (ChromeOS_Cr50KeyEnv) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChromeOS_Cr50KeyEnv.Descriptor instead.
func (ChromeOS_Cr50KeyEnv) Number ¶
func (x ChromeOS_Cr50KeyEnv) Number() protoreflect.EnumNumber
func (ChromeOS_Cr50KeyEnv) String ¶
func (x ChromeOS_Cr50KeyEnv) String() string
func (ChromeOS_Cr50KeyEnv) Type ¶
func (ChromeOS_Cr50KeyEnv) Type() protoreflect.EnumType
type ChromeOS_Cr50Phase ¶
type ChromeOS_Cr50Phase int32
Cr50Phase describes different phases of CR50 firmware used on DUT. Label indicating the cr50 image type.
const ( ChromeOS_CR50_PHASE_UNSPECIFIED ChromeOS_Cr50Phase = 0 ChromeOS_CR50_PHASE_PVT ChromeOS_Cr50Phase = 1 ChromeOS_CR50_PHASE_PREPVT ChromeOS_Cr50Phase = 2 )
func (ChromeOS_Cr50Phase) Descriptor ¶
func (ChromeOS_Cr50Phase) Descriptor() protoreflect.EnumDescriptor
func (ChromeOS_Cr50Phase) Enum ¶
func (x ChromeOS_Cr50Phase) Enum() *ChromeOS_Cr50Phase
func (ChromeOS_Cr50Phase) EnumDescriptor
deprecated
func (ChromeOS_Cr50Phase) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChromeOS_Cr50Phase.Descriptor instead.
func (ChromeOS_Cr50Phase) Number ¶
func (x ChromeOS_Cr50Phase) Number() protoreflect.EnumNumber
func (ChromeOS_Cr50Phase) String ¶
func (x ChromeOS_Cr50Phase) String() string
func (ChromeOS_Cr50Phase) Type ¶
func (ChromeOS_Cr50Phase) Type() protoreflect.EnumType
type ChromeOS_PeripheralWifiState ¶
type ChromeOS_PeripheralWifiState int32
PeripheralWifiState describes the state of peripheral wifi testbed.
const ( ChromeOS_PERIPHERAL_WIFI_STATE_UNSPECIFIED ChromeOS_PeripheralWifiState = 0 // All wifirouters are working as expected. ChromeOS_PERIPHERAL_WIFI_STATE_WORKING ChromeOS_PeripheralWifiState = 2 // Not all wifirouters are working as expected. ChromeOS_PERIPHERAL_WIFI_STATE_BROKEN ChromeOS_PeripheralWifiState = 3 // State is not applicable for setup. ChromeOS_PERIPHERAL_WIFI_STATE_NOT_APPLICABLE ChromeOS_PeripheralWifiState = 4 )
func (ChromeOS_PeripheralWifiState) Descriptor ¶
func (ChromeOS_PeripheralWifiState) Descriptor() protoreflect.EnumDescriptor
func (ChromeOS_PeripheralWifiState) Enum ¶
func (x ChromeOS_PeripheralWifiState) Enum() *ChromeOS_PeripheralWifiState
func (ChromeOS_PeripheralWifiState) EnumDescriptor
deprecated
func (ChromeOS_PeripheralWifiState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChromeOS_PeripheralWifiState.Descriptor instead.
func (ChromeOS_PeripheralWifiState) Number ¶
func (x ChromeOS_PeripheralWifiState) Number() protoreflect.EnumNumber
func (ChromeOS_PeripheralWifiState) String ¶
func (x ChromeOS_PeripheralWifiState) String() string
func (ChromeOS_PeripheralWifiState) Type ¶
func (ChromeOS_PeripheralWifiState) Type() protoreflect.EnumType
type ChromeOS_PowerSupplyType ¶
type ChromeOS_PowerSupplyType int32
PowerSupplyType describes different power supply types for a DUT.
const ( ChromeOS_POWER_SUPPLY_UNSPECIFIED ChromeOS_PowerSupplyType = 0 // Primary power source of the devices is wall-power. Devices does not have // a battery. ChromeOS_AC_ONLY ChromeOS_PowerSupplyType = 1 // Primary power source of the devices is battery. Devices still connected // to wall-power to charge it. ChromeOS_BATTERY ChromeOS_PowerSupplyType = 2 )
func (ChromeOS_PowerSupplyType) Descriptor ¶
func (ChromeOS_PowerSupplyType) Descriptor() protoreflect.EnumDescriptor
func (ChromeOS_PowerSupplyType) Enum ¶
func (x ChromeOS_PowerSupplyType) Enum() *ChromeOS_PowerSupplyType
func (ChromeOS_PowerSupplyType) EnumDescriptor
deprecated
func (ChromeOS_PowerSupplyType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChromeOS_PowerSupplyType.Descriptor instead.
func (ChromeOS_PowerSupplyType) Number ¶
func (x ChromeOS_PowerSupplyType) Number() protoreflect.EnumNumber
func (ChromeOS_PowerSupplyType) String ¶
func (x ChromeOS_PowerSupplyType) String() string
func (ChromeOS_PowerSupplyType) Type ¶
func (ChromeOS_PowerSupplyType) Type() protoreflect.EnumType
type CopyRequest ¶
type CopyRequest struct { // Resource name Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // Path to source file or directory. PathSource string `protobuf:"bytes,2,opt,name=path_source,json=pathSource,proto3" json:"path_source,omitempty"` // Path to destination file or directory. PathDestination string `protobuf:"bytes,3,opt,name=path_destination,json=pathDestination,proto3" json:"path_destination,omitempty"` // contains filtered or unexported fields }
CopyRequest represents data to perform copy data from/to resource.
func (*CopyRequest) Descriptor
deprecated
func (*CopyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CopyRequest.ProtoReflect.Descriptor instead.
func (*CopyRequest) GetPathDestination ¶
func (x *CopyRequest) GetPathDestination() string
func (*CopyRequest) GetPathSource ¶
func (x *CopyRequest) GetPathSource() string
func (*CopyRequest) GetResource ¶
func (x *CopyRequest) GetResource() string
func (*CopyRequest) ProtoMessage ¶
func (*CopyRequest) ProtoMessage()
func (*CopyRequest) ProtoReflect ¶
func (x *CopyRequest) ProtoReflect() protoreflect.Message
func (*CopyRequest) Reset ¶
func (x *CopyRequest) Reset()
func (*CopyRequest) String ¶
func (x *CopyRequest) String() string
type DUTAudio ¶
type DUTAudio struct { // Indicate if the DUT is housed in an audio box to record / replay audio // for audio testing. InBox bool `protobuf:"varint,1,opt,name=in_box,json=inBox,proto3" json:"in_box,omitempty"` // Indicate if the DUT is connected to Atrus speakermic Atrus bool `protobuf:"varint,2,opt,name=atrus,proto3" json:"atrus,omitempty"` // Indicate if the DUT is connected to chameleon through static audio cable StaticCable bool `protobuf:"varint,3,opt,name=static_cable,json=staticCable,proto3" json:"static_cable,omitempty"` // Audio loopback dongle is plugged in. LoopbackState DUTAudio_LoopbackState `` /* 147-byte string literal not displayed */ // The type of Audio Beamforming on the DUT. Beamforming string `protobuf:"bytes,5,opt,name=beamforming,proto3" json:"beamforming,omitempty"` // contains filtered or unexported fields }
CrosAudio holds infor for audio information of the DUT.
func (*DUTAudio) Descriptor
deprecated
func (*DUTAudio) GetBeamforming ¶
func (*DUTAudio) GetLoopbackState ¶
func (x *DUTAudio) GetLoopbackState() DUTAudio_LoopbackState
func (*DUTAudio) GetStaticCable ¶
func (*DUTAudio) ProtoMessage ¶
func (*DUTAudio) ProtoMessage()
func (*DUTAudio) ProtoReflect ¶
func (x *DUTAudio) ProtoReflect() protoreflect.Message
type DUTAudio_LoopbackState ¶
type DUTAudio_LoopbackState int32
LoopbackState representes states for loopback dongle.
const ( DUTAudio_LOOPBACK_UNSPECIFIED DUTAudio_LoopbackState = 0 // Device and software on it is working as expected. DUTAudio_LOOPBACK_WORKING DUTAudio_LoopbackState = 1 )
func (DUTAudio_LoopbackState) Descriptor ¶
func (DUTAudio_LoopbackState) Descriptor() protoreflect.EnumDescriptor
func (DUTAudio_LoopbackState) Enum ¶
func (x DUTAudio_LoopbackState) Enum() *DUTAudio_LoopbackState
func (DUTAudio_LoopbackState) EnumDescriptor
deprecated
func (DUTAudio_LoopbackState) EnumDescriptor() ([]byte, []int)
Deprecated: Use DUTAudio_LoopbackState.Descriptor instead.
func (DUTAudio_LoopbackState) Number ¶
func (x DUTAudio_LoopbackState) Number() protoreflect.EnumNumber
func (DUTAudio_LoopbackState) String ¶
func (x DUTAudio_LoopbackState) String() string
func (DUTAudio_LoopbackState) Type ¶
func (DUTAudio_LoopbackState) Type() protoreflect.EnumType
type DUTSetupType ¶
type DUTSetupType int32
DUTSetupType describes different DUT setups.
const ( DUTSetupType_UNSPECIFIED DUTSetupType = 0 // Special setup of servo-host represented as labstation. DUTSetupType_LABSTATION DUTSetupType = 1 // Special setup for routers. DUTSetupType_JETSTREAM DUTSetupType = 2 // Special setup for ChromeOS devices. DUTSetupType_CROS DUTSetupType = 3 // Special setup for ChromeOS devices for browser testing. DUTSetupType_CROS_BROWSER DUTSetupType = 4 // Special setup for Android devices. DUTSetupType_ANDROID DUTSetupType = 5 // Special setup for IOS devices. DUTSetupType_IOS DUTSetupType = 6 // Special setup for CrOSVM fake devices. DUTSetupType_CROSVM DUTSetupType = 7 // Special setup for DevBoard devices. DUTSetupType_DEV_BOARD DUTSetupType = 8 )
func (DUTSetupType) Descriptor ¶
func (DUTSetupType) Descriptor() protoreflect.EnumDescriptor
func (DUTSetupType) Enum ¶
func (x DUTSetupType) Enum() *DUTSetupType
func (DUTSetupType) EnumDescriptor
deprecated
func (DUTSetupType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DUTSetupType.Descriptor instead.
func (DUTSetupType) Number ¶
func (x DUTSetupType) Number() protoreflect.EnumNumber
func (DUTSetupType) String ¶
func (x DUTSetupType) String() string
func (DUTSetupType) Type ¶
func (DUTSetupType) Type() protoreflect.EnumType
type DevBoard ¶
type DevBoard struct { // Board name of the DUT. Board string `protobuf:"bytes,2,opt,name=board,proto3" json:"board,omitempty"` // Model name of the DUT. Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"` // Serial number of the DUT. SerialNumber string `protobuf:"bytes,4,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` // Peripheral devices. // Servo setup of the DUT setup. Servo *ServoHost `protobuf:"bytes,5,opt,name=servo,proto3" json:"servo,omitempty"` // contains filtered or unexported fields }
DevBoard specific DUT details.
func (*DevBoard) Descriptor
deprecated
func (*DevBoard) GetSerialNumber ¶
func (*DevBoard) ProtoMessage ¶
func (*DevBoard) ProtoMessage()
func (*DevBoard) ProtoReflect ¶
func (x *DevBoard) ProtoReflect() protoreflect.Message
type Dolos ¶
type Dolos struct { // Serial used to identify device over USB SerialCable string `protobuf:"bytes,1,opt,name=serial_cable,json=serialCable,proto3" json:"serial_cable,omitempty"` // Serial of the cable_cable SerialUsb string `protobuf:"bytes,2,opt,name=serial_usb,json=serialUsb,proto3" json:"serial_usb,omitempty"` // Hardware revision HwMajorRevision Dolos_DolosHWMajorRevision `` /* 159-byte string literal not displayed */ // Dolos firmware version FwVersion string `protobuf:"bytes,4,opt,name=fw_version,json=fwVersion,proto3" json:"fw_version,omitempty"` // Hostname of the host machine the dolos connected to via USB cable. Hostname string `protobuf:"bytes,5,opt,name=hostname,proto3" json:"hostname,omitempty"` // State of the device. State Dolos_State `protobuf:"varint,6,opt,name=state,proto3,enum=chromeos.recovery.Dolos_State" json:"state,omitempty"` // RPMOutlet of the Dolos setup. RpmOutlet *RPMOutlet `protobuf:"bytes,7,opt,name=rpm_outlet,json=rpmOutlet,proto3" json:"rpm_outlet,omitempty"` // contains filtered or unexported fields }
Dolos holds info about a Dolos device of the DUT.
func (*Dolos) Descriptor
deprecated
func (*Dolos) GetFwVersion ¶
func (*Dolos) GetHostname ¶
func (*Dolos) GetHwMajorRevision ¶
func (x *Dolos) GetHwMajorRevision() Dolos_DolosHWMajorRevision
func (*Dolos) GetRpmOutlet ¶
func (*Dolos) GetSerialCable ¶
func (*Dolos) GetSerialUsb ¶
func (*Dolos) GetState ¶
func (x *Dolos) GetState() Dolos_State
func (*Dolos) ProtoMessage ¶
func (*Dolos) ProtoMessage()
func (*Dolos) ProtoReflect ¶
func (x *Dolos) ProtoReflect() protoreflect.Message
type Dolos_DolosHWMajorRevision ¶
type Dolos_DolosHWMajorRevision int32
const ( // Default unset value Dolos_DOLOS_UNSPECIFIED Dolos_DolosHWMajorRevision = 0 Dolos_DOLOS_V1 Dolos_DolosHWMajorRevision = 1 )
func (Dolos_DolosHWMajorRevision) Descriptor ¶
func (Dolos_DolosHWMajorRevision) Descriptor() protoreflect.EnumDescriptor
func (Dolos_DolosHWMajorRevision) Enum ¶
func (x Dolos_DolosHWMajorRevision) Enum() *Dolos_DolosHWMajorRevision
func (Dolos_DolosHWMajorRevision) EnumDescriptor
deprecated
func (Dolos_DolosHWMajorRevision) EnumDescriptor() ([]byte, []int)
Deprecated: Use Dolos_DolosHWMajorRevision.Descriptor instead.
func (Dolos_DolosHWMajorRevision) Number ¶
func (x Dolos_DolosHWMajorRevision) Number() protoreflect.EnumNumber
func (Dolos_DolosHWMajorRevision) String ¶
func (x Dolos_DolosHWMajorRevision) String() string
func (Dolos_DolosHWMajorRevision) Type ¶
func (Dolos_DolosHWMajorRevision) Type() protoreflect.EnumType
type Dolos_State ¶
type Dolos_State int32
State describes the state of Dolos.
const ( Dolos_STATE_UNSPECIFIED Dolos_State = 0 // Deprecated: Marked as deprecated in go.chromium.org/infra/cros/recovery/tlw/models.proto. Dolos_WORKING Dolos_State = 1 // Deprecated: Marked as deprecated in go.chromium.org/infra/cros/recovery/tlw/models.proto. Dolos_BROKEN Dolos_State = 2 // Deprecated: Marked as deprecated in go.chromium.org/infra/cros/recovery/tlw/models.proto. Dolos_NOT_APPLICABLE Dolos_State = 3 Dolos_DOLOS_UNKNOWN Dolos_State = 4 Dolos_DOLOS_NO_POWER_SUPPLIED Dolos_State = 5 Dolos_DOLOS_OUTPUT_POWER_FAILED Dolos_State = 6 Dolos_DOLOS_BMS_STATE_INVALID Dolos_State = 7 Dolos_DOLOS_SMBUS_COMM_NOT_DETECTED Dolos_State = 8 Dolos_DOLOS_EEPROM_FAILURE Dolos_State = 9 Dolos_DOLOS_OK Dolos_State = 10 Dolos_DOLOS_NO_COMMUNICATION Dolos_State = 11 Dolos_DOLOS_NOT_PRESENT Dolos_State = 12 Dolos_NO_SSH Dolos_State = 13 )
func (Dolos_State) Descriptor ¶
func (Dolos_State) Descriptor() protoreflect.EnumDescriptor
func (Dolos_State) Enum ¶
func (x Dolos_State) Enum() *Dolos_State
func (Dolos_State) EnumDescriptor
deprecated
func (Dolos_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Dolos_State.Descriptor instead.
func (Dolos_State) Number ¶
func (x Dolos_State) Number() protoreflect.EnumNumber
func (Dolos_State) String ¶
func (x Dolos_State) String() string
func (Dolos_State) Type ¶
func (Dolos_State) Type() protoreflect.EnumType
type Dut ¶
type Dut struct { // Unique identifier in inventory. // Should never be changed in processes. Id string // Name is the resource name for the DUT. Name string // SetupType describes the setup of the DUT, which affects how it is verified/repaired. SetupType DUTSetupType // State of the DUT. State dutstate.State // ProvisionedInfo tells provisioned info for the DUT. // TODO: Remove this once confirmed new VersionInfo works from end-to-end. ProvisionedInfo *ProvisionedInfo // VersionInfo tells current system version(e.g. OS, firmware) info for the DUT. VersionInfo *VersionInfo // Explain why the DUT state was set. // The value may not be available, and is used to indicate reason of a bad // state. DutStateReason DutStateReason // Extra attrubes of the DUT. // Used to provide any other mapping data which can be used for custom actions. // All values has to be converted to string. // Example: pools, force_flashing, restrictions and special abilities. ExtraAttributes map[string][]string // List of repair-requestes specified by external services. RepairRequests []RepairRequest // Chromeos hold specific data for ChromeOS device's data. Chromeos *ChromeOS // Android hold specific data for Android device's data. Android *Android // DevBoard hold specific data for DevBoard device's data. DevBoard *DevBoard }
Dut holds info about setup used as testbed.
func (*Dut) GetAndroid ¶
GetAndroid returns Android device. The method created to mimic proto syntactic.
func (*Dut) GetChromeos ¶
GetChromeos returns ChromeOS device. The method created to mimic proto syntactic.
func (*Dut) GetDevBoard ¶
GetDevBoard returns DevBoard device. The method created to mimic proto syntactic.
func (*Dut) GetVersionInfo ¶
func (d *Dut) GetVersionInfo() *VersionInfo
type DutStateReason ¶
type DutStateReason string
DutStateReason describes different reason for states.
func (DutStateReason) NotEmpty ¶
func (r DutStateReason) NotEmpty() bool
NotEmpty checks that the reason is not empty.
type Fingerprint ¶
type Fingerprint struct { // Fingerprint Board Board string `protobuf:"bytes,1,opt,name=board,proto3" json:"board,omitempty"` // Fingerprint MCU Mcu string `protobuf:"bytes,2,opt,name=mcu,proto3" json:"mcu,omitempty"` // Fingerprint Sensor Sensor string `protobuf:"bytes,3,opt,name=sensor,proto3" json:"sensor,omitempty"` // contains filtered or unexported fields }
Fingerprint holds info about the fingerprint hw on the dut.
func (*Fingerprint) Descriptor
deprecated
func (*Fingerprint) Descriptor() ([]byte, []int)
Deprecated: Use Fingerprint.ProtoReflect.Descriptor instead.
func (*Fingerprint) GetBoard ¶
func (x *Fingerprint) GetBoard() string
func (*Fingerprint) GetMcu ¶
func (x *Fingerprint) GetMcu() string
func (*Fingerprint) GetSensor ¶
func (x *Fingerprint) GetSensor() string
func (*Fingerprint) ProtoMessage ¶
func (*Fingerprint) ProtoMessage()
func (*Fingerprint) ProtoReflect ¶
func (x *Fingerprint) ProtoReflect() protoreflect.Message
func (*Fingerprint) Reset ¶
func (x *Fingerprint) Reset()
func (*Fingerprint) String ¶
func (x *Fingerprint) String() string
type FirmwareInfo ¶
type FirmwareInfo struct { // Target names for EC and AP. In majority cases they are the same. // Example: `target1` will generate names // // ec: target1/ec/bin and target1/npcx_monitor.bin // ap: image-target1.bin EcTarget string `protobuf:"bytes,1,opt,name=ec_target,json=ecTarget,proto3" json:"ec_target,omitempty"` ApTarget string `protobuf:"bytes,2,opt,name=ap_target,json=apTarget,proto3" json:"ap_target,omitempty"` // contains filtered or unexported fields }
FirmwareInfo hold info to describe FW information.
func (*FirmwareInfo) Descriptor
deprecated
func (*FirmwareInfo) Descriptor() ([]byte, []int)
Deprecated: Use FirmwareInfo.ProtoReflect.Descriptor instead.
func (*FirmwareInfo) GetApTarget ¶
func (x *FirmwareInfo) GetApTarget() string
func (*FirmwareInfo) GetEcTarget ¶
func (x *FirmwareInfo) GetEcTarget() string
func (*FirmwareInfo) ProtoMessage ¶
func (*FirmwareInfo) ProtoMessage()
func (*FirmwareInfo) ProtoReflect ¶
func (x *FirmwareInfo) ProtoReflect() protoreflect.Message
func (*FirmwareInfo) Reset ¶
func (x *FirmwareInfo) Reset()
func (*FirmwareInfo) String ¶
func (x *FirmwareInfo) String() string
type HardwareState ¶
type HardwareState int32
HardwareState describes the state of hardware components.
const ( // keep for all unspecified state by default. HardwareState_HARDWARE_UNSPECIFIED HardwareState = 0 // Hardware is in good shape and pass all verifiers. HardwareState_HARDWARE_NORMAL HardwareState = 1 // Hardware is still good but some not critical verifiers did not pass or // provided border values. (used for DUT storage when usage reached 98%) HardwareState_HARDWARE_ACCEPTABLE HardwareState = 2 // Hardware is broken or bad (did not pass verifiers). HardwareState_HARDWARE_NEED_REPLACEMENT HardwareState = 3 // Hardware is not detected to run verifiers. // (used for USB-drive when it expected but not detected on the device) HardwareState_HARDWARE_NOT_DETECTED HardwareState = 4 )
func (HardwareState) Descriptor ¶
func (HardwareState) Descriptor() protoreflect.EnumDescriptor
func (HardwareState) Enum ¶
func (x HardwareState) Enum() *HardwareState
func (HardwareState) EnumDescriptor
deprecated
func (HardwareState) EnumDescriptor() ([]byte, []int)
Deprecated: Use HardwareState.Descriptor instead.
func (HardwareState) Number ¶
func (x HardwareState) Number() protoreflect.EnumNumber
func (HardwareState) String ¶
func (x HardwareState) String() string
func (HardwareState) Type ¶
func (HardwareState) Type() protoreflect.EnumType
type HumanMotionRobot ¶
type HumanMotionRobot struct { // Hostname of HMR-Pi Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // State of the device. State HumanMotionRobot_State `protobuf:"varint,2,opt,name=state,proto3,enum=chromeos.recovery.HumanMotionRobot_State" json:"state,omitempty"` // Hostname of Gateway host (touchhost) Pi Touchhost string `protobuf:"bytes,3,opt,name=touchhost,proto3" json:"touchhost,omitempty"` // contains filtered or unexported fields }
HumanMotionRobot holds info about human motion robot of the DUT
func (*HumanMotionRobot) Descriptor
deprecated
func (*HumanMotionRobot) Descriptor() ([]byte, []int)
Deprecated: Use HumanMotionRobot.ProtoReflect.Descriptor instead.
func (*HumanMotionRobot) GetName ¶
func (x *HumanMotionRobot) GetName() string
func (*HumanMotionRobot) GetState ¶
func (x *HumanMotionRobot) GetState() HumanMotionRobot_State
func (*HumanMotionRobot) GetTouchhost ¶
func (x *HumanMotionRobot) GetTouchhost() string
func (*HumanMotionRobot) ProtoMessage ¶
func (*HumanMotionRobot) ProtoMessage()
func (*HumanMotionRobot) ProtoReflect ¶
func (x *HumanMotionRobot) ProtoReflect() protoreflect.Message
func (*HumanMotionRobot) Reset ¶
func (x *HumanMotionRobot) Reset()
func (*HumanMotionRobot) String ¶
func (x *HumanMotionRobot) String() string
type HumanMotionRobot_State ¶
type HumanMotionRobot_State int32
State describes the state of device.
const ( HumanMotionRobot_STATE_UNSPECIFIED HumanMotionRobot_State = 0 // Device and software on it is working as expected. HumanMotionRobot_WORKING HumanMotionRobot_State = 1 // Device is broken or not working as expected. HumanMotionRobot_BROKEN HumanMotionRobot_State = 2 // Device State is not applicable. HumanMotionRobot_NOT_APPLICABLE HumanMotionRobot_State = 3 )
func (HumanMotionRobot_State) Descriptor ¶
func (HumanMotionRobot_State) Descriptor() protoreflect.EnumDescriptor
func (HumanMotionRobot_State) Enum ¶
func (x HumanMotionRobot_State) Enum() *HumanMotionRobot_State
func (HumanMotionRobot_State) EnumDescriptor
deprecated
func (HumanMotionRobot_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use HumanMotionRobot_State.Descriptor instead.
func (HumanMotionRobot_State) Number ¶
func (x HumanMotionRobot_State) Number() protoreflect.EnumNumber
func (HumanMotionRobot_State) String ¶
func (x HumanMotionRobot_State) String() string
func (HumanMotionRobot_State) Type ¶
func (HumanMotionRobot_State) Type() protoreflect.EnumType
type InitServodRequest ¶
type InitServodRequest struct { // Resource name of device. Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // ServodOptions options to provide options for servod daemon. Options *ServodOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` // Prepare servo-host without servod service. NoServod bool `protobuf:"varint,3,opt,name=no_servod,json=noServod,proto3" json:"no_servod,omitempty"` // contains filtered or unexported fields }
InitServodRequest represents data to initiate servod daemon on servo-host.
func (*InitServodRequest) Descriptor
deprecated
func (*InitServodRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitServodRequest.ProtoReflect.Descriptor instead.
func (*InitServodRequest) GetNoServod ¶
func (x *InitServodRequest) GetNoServod() bool
func (*InitServodRequest) GetOptions ¶
func (x *InitServodRequest) GetOptions() *ServodOptions
func (*InitServodRequest) GetResource ¶
func (x *InitServodRequest) GetResource() string
func (*InitServodRequest) ProtoMessage ¶
func (*InitServodRequest) ProtoMessage()
func (*InitServodRequest) ProtoReflect ¶
func (x *InitServodRequest) ProtoReflect() protoreflect.Message
func (*InitServodRequest) Reset ¶
func (x *InitServodRequest) Reset()
func (*InitServodRequest) String ¶
func (x *InitServodRequest) String() string
type OpenWrtRouterControllerState ¶
type OpenWrtRouterControllerState struct { DeviceBuildInfo *api.CrosOpenWrtImageBuildInfo `protobuf:"bytes,1,opt,name=device_build_info,json=deviceBuildInfo,proto3" json:"device_build_info,omitempty"` Config *api.OpenWrtWifiRouterDeviceConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` ExpectedImageUuid string `protobuf:"bytes,3,opt,name=expected_image_uuid,json=expectedImageUuid,proto3" json:"expected_image_uuid,omitempty"` // contains filtered or unexported fields }
func (*OpenWrtRouterControllerState) Descriptor
deprecated
func (*OpenWrtRouterControllerState) Descriptor() ([]byte, []int)
Deprecated: Use OpenWrtRouterControllerState.ProtoReflect.Descriptor instead.
func (*OpenWrtRouterControllerState) GetConfig ¶
func (x *OpenWrtRouterControllerState) GetConfig() *api.OpenWrtWifiRouterDeviceConfig
func (*OpenWrtRouterControllerState) GetDeviceBuildInfo ¶
func (x *OpenWrtRouterControllerState) GetDeviceBuildInfo() *api.CrosOpenWrtImageBuildInfo
func (*OpenWrtRouterControllerState) GetExpectedImageUuid ¶
func (x *OpenWrtRouterControllerState) GetExpectedImageUuid() string
func (*OpenWrtRouterControllerState) ProtoMessage ¶
func (*OpenWrtRouterControllerState) ProtoMessage()
func (*OpenWrtRouterControllerState) ProtoReflect ¶
func (x *OpenWrtRouterControllerState) ProtoReflect() protoreflect.Message
func (*OpenWrtRouterControllerState) Reset ¶
func (x *OpenWrtRouterControllerState) Reset()
func (*OpenWrtRouterControllerState) String ¶
func (x *OpenWrtRouterControllerState) String() string
type ProvisionRequest ¶
type ProvisionRequest struct { // Resource name Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // Path to system image. // Path to the GS file. // Example: gs://bucket/file_name SystemImagePath string `protobuf:"bytes,2,opt,name=system_image_path,json=systemImagePath,proto3" json:"system_image_path,omitempty"` // Prevent reboot during provision OS. PreventReboot bool `protobuf:"varint,3,opt,name=prevent_reboot,json=preventReboot,proto3" json:"prevent_reboot,omitempty"` // contains filtered or unexported fields }
ProvisionRequest provides data to perform provisioning of the device.
func (*ProvisionRequest) Descriptor
deprecated
func (*ProvisionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionRequest.ProtoReflect.Descriptor instead.
func (*ProvisionRequest) GetPreventReboot ¶
func (x *ProvisionRequest) GetPreventReboot() bool
func (*ProvisionRequest) GetResource ¶
func (x *ProvisionRequest) GetResource() string
func (*ProvisionRequest) GetSystemImagePath ¶
func (x *ProvisionRequest) GetSystemImagePath() string
func (*ProvisionRequest) ProtoMessage ¶
func (*ProvisionRequest) ProtoMessage()
func (*ProvisionRequest) ProtoReflect ¶
func (x *ProvisionRequest) ProtoReflect() protoreflect.Message
func (*ProvisionRequest) Reset ¶
func (x *ProvisionRequest) Reset()
func (*ProvisionRequest) String ¶
func (x *ProvisionRequest) String() string
type ProvisionedInfo ¶
type ProvisionedInfo struct { // CrosVersion tells which ChromeOS version is on the DUT. // Example: board-release/R90-13816.47.0 CrosVersion string `protobuf:"bytes,1,opt,name=cros_version,json=crosVersion,proto3" json:"cros_version,omitempty"` // JobRepoUrl provide path to download client code to the DUT. // Example: http://{cache_server}:8082/download/{gs_path} JobRepoUrl string `protobuf:"bytes,2,opt,name=job_repo_url,json=jobRepoUrl,proto3" json:"job_repo_url,omitempty"` // contains filtered or unexported fields }
ProvisionedInfo holds info about provisioned info for the DUT.
func (*ProvisionedInfo) Descriptor
deprecated
func (*ProvisionedInfo) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionedInfo.ProtoReflect.Descriptor instead.
func (*ProvisionedInfo) GetCrosVersion ¶
func (x *ProvisionedInfo) GetCrosVersion() string
func (*ProvisionedInfo) GetJobRepoUrl ¶
func (x *ProvisionedInfo) GetJobRepoUrl() string
func (*ProvisionedInfo) ProtoMessage ¶
func (*ProvisionedInfo) ProtoMessage()
func (*ProvisionedInfo) ProtoReflect ¶
func (x *ProvisionedInfo) ProtoReflect() protoreflect.Message
func (*ProvisionedInfo) Reset ¶
func (x *ProvisionedInfo) Reset()
func (*ProvisionedInfo) String ¶
func (x *ProvisionedInfo) String() string
type RPMOutlet ¶
type RPMOutlet struct { // Hostname of the RPM power unit, e.g. "chromeos6-row13_14-rack15-rpm2". Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` // Name to locate a specific outlet from a RPM power unit, e.g. ".A7". Outlet string `protobuf:"bytes,2,opt,name=outlet,proto3" json:"outlet,omitempty"` // State of the component. State RPMOutlet_State `protobuf:"varint,3,opt,name=state,proto3,enum=chromeos.recovery.RPMOutlet_State" json:"state,omitempty"` // RPM type to operate on Type RPMType `protobuf:"varint,4,opt,name=type,proto3,enum=chromeos.recovery.RPMType" json:"type,omitempty"` // contains filtered or unexported fields }
RPMOutlet is remote power management outlet allows perform an action to do OFF/ON/CYCLE on it.
func (*RPMOutlet) Descriptor
deprecated
func (*RPMOutlet) GetHostname ¶
func (*RPMOutlet) GetState ¶
func (x *RPMOutlet) GetState() RPMOutlet_State
func (*RPMOutlet) ProtoMessage ¶
func (*RPMOutlet) ProtoMessage()
func (*RPMOutlet) ProtoReflect ¶
func (x *RPMOutlet) ProtoReflect() protoreflect.Message
type RPMOutlet_State ¶
type RPMOutlet_State int32
RPMState describes the state of RPM outlet.
const ( RPMOutlet_UNSPECIFIED RPMOutlet_State = 0 // Configuration for RPM outlet missed which block from execution the // actions. RPMOutlet_MISSING_CONFIG RPMOutlet_State = 1 // Configuration for RPM outlet provided but does not working which can be // several reasons. RPMOutlet_WRONG_CONFIG RPMOutlet_State = 2 // RPM outlet can successfully perform the actions. RPMOutlet_WORKING RPMOutlet_State = 3 )
func (RPMOutlet_State) Descriptor ¶
func (RPMOutlet_State) Descriptor() protoreflect.EnumDescriptor
func (RPMOutlet_State) Enum ¶
func (x RPMOutlet_State) Enum() *RPMOutlet_State
func (RPMOutlet_State) EnumDescriptor
deprecated
func (RPMOutlet_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use RPMOutlet_State.Descriptor instead.
func (RPMOutlet_State) Number ¶
func (x RPMOutlet_State) Number() protoreflect.EnumNumber
func (RPMOutlet_State) String ¶
func (x RPMOutlet_State) String() string
func (RPMOutlet_State) Type ¶
func (RPMOutlet_State) Type() protoreflect.EnumType
type RPMType ¶
type RPMType int32
RPMType is the RPM model/protocol attached to the device
func (RPMType) Descriptor ¶
func (RPMType) Descriptor() protoreflect.EnumDescriptor
func (RPMType) EnumDescriptor
deprecated
func (RPMType) Number ¶
func (x RPMType) Number() protoreflect.EnumNumber
func (RPMType) Type ¶
func (RPMType) Type() protoreflect.EnumType
type RepairRequest ¶
type RepairRequest int32
RepairRequest describes different repair-requests.
const ( RepairRequest_REPAIR_REQUEST_UNKNOWN RepairRequest = 0 // Request to re-provision DUT. RepairRequest_REPAIR_REQUEST_PROVISION RepairRequest = 1 // Request to reimage DUT by USB-key. RepairRequest_REPAIR_REQUEST_REIMAGE_BY_USBKEY RepairRequest = 2 // Request to re-download image to USB-key. RepairRequest_REPAIR_REQUEST_UPDATE_USBKEY_IMAGE RepairRequest = 3 // Request to re-flash firmware of the DUT. RepairRequest_REPAIR_REQUEST_REFLASH_FW RepairRequest = 4 )
func (RepairRequest) Descriptor ¶
func (RepairRequest) Descriptor() protoreflect.EnumDescriptor
func (RepairRequest) Enum ¶
func (x RepairRequest) Enum() *RepairRequest
func (RepairRequest) EnumDescriptor
deprecated
func (RepairRequest) EnumDescriptor() ([]byte, []int)
Deprecated: Use RepairRequest.Descriptor instead.
func (RepairRequest) Number ¶
func (x RepairRequest) Number() protoreflect.EnumNumber
func (RepairRequest) String ¶
func (x RepairRequest) String() string
func (RepairRequest) Type ¶
func (RepairRequest) Type() protoreflect.EnumType
type RunRPMActionRequest ¶
type RunRPMActionRequest struct { // Hostname of the DUT. Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` // Hostname of the RPM power unit, e.g. "chromeos6-row13_14-rack15-rpm2". RpmHostname string `protobuf:"bytes,2,opt,name=rpm_hostname,json=rpmHostname,proto3" json:"rpm_hostname,omitempty"` // Name to locate a specific outlet from a RPM power unit, e.g. ".A7". RpmOutlet string `protobuf:"bytes,3,opt,name=rpm_outlet,json=rpmOutlet,proto3" json:"rpm_outlet,omitempty"` // Expected state to switch on. Action RunRPMActionRequest_Action `protobuf:"varint,4,opt,name=action,proto3,enum=chromeos.recovery.RunRPMActionRequest_Action" json:"action,omitempty"` // RPM type to operate on RpmType RPMType `protobuf:"varint,5,opt,name=rpm_type,json=rpmType,proto3,enum=chromeos.recovery.RPMType" json:"rpm_type,omitempty"` // contains filtered or unexported fields }
RunRPMActionRequest represents data to perform action on RPM outlet.
func (*RunRPMActionRequest) Descriptor
deprecated
func (*RunRPMActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunRPMActionRequest.ProtoReflect.Descriptor instead.
func (*RunRPMActionRequest) GetAction ¶
func (x *RunRPMActionRequest) GetAction() RunRPMActionRequest_Action
func (*RunRPMActionRequest) GetHostname ¶
func (x *RunRPMActionRequest) GetHostname() string
func (*RunRPMActionRequest) GetRpmHostname ¶
func (x *RunRPMActionRequest) GetRpmHostname() string
func (*RunRPMActionRequest) GetRpmOutlet ¶
func (x *RunRPMActionRequest) GetRpmOutlet() string
func (*RunRPMActionRequest) GetRpmType ¶
func (x *RunRPMActionRequest) GetRpmType() RPMType
func (*RunRPMActionRequest) ProtoMessage ¶
func (*RunRPMActionRequest) ProtoMessage()
func (*RunRPMActionRequest) ProtoReflect ¶
func (x *RunRPMActionRequest) ProtoReflect() protoreflect.Message
func (*RunRPMActionRequest) Reset ¶
func (x *RunRPMActionRequest) Reset()
func (*RunRPMActionRequest) String ¶
func (x *RunRPMActionRequest) String() string
type RunRPMActionRequest_Action ¶
type RunRPMActionRequest_Action int32
Action represents action expecting to perform on power supplier.
const ( RunRPMActionRequest_UNSPECIFIED RunRPMActionRequest_Action = 0 // Switch state to ON. RunRPMActionRequest_ON RunRPMActionRequest_Action = 1 // Switch state to OFF. RunRPMActionRequest_OFF RunRPMActionRequest_Action = 2 // Switch state to OFF and then ON with delay 5 seconds. RunRPMActionRequest_CYCLE RunRPMActionRequest_Action = 3 )
func (RunRPMActionRequest_Action) Descriptor ¶
func (RunRPMActionRequest_Action) Descriptor() protoreflect.EnumDescriptor
func (RunRPMActionRequest_Action) Enum ¶
func (x RunRPMActionRequest_Action) Enum() *RunRPMActionRequest_Action
func (RunRPMActionRequest_Action) EnumDescriptor
deprecated
func (RunRPMActionRequest_Action) EnumDescriptor() ([]byte, []int)
Deprecated: Use RunRPMActionRequest_Action.Descriptor instead.
func (RunRPMActionRequest_Action) Number ¶
func (x RunRPMActionRequest_Action) Number() protoreflect.EnumNumber
func (RunRPMActionRequest_Action) String ¶
func (x RunRPMActionRequest_Action) String() string
func (RunRPMActionRequest_Action) Type ¶
func (RunRPMActionRequest_Action) Type() protoreflect.EnumType
type RunRequest ¶
type RunRequest struct { // Resource name Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // Command executed on the resource. Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"` // Command arguments. Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` // Command execution timeout. Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` // Run command in background. InBackground bool `protobuf:"varint,5,opt,name=in_background,json=inBackground,proto3" json:"in_background,omitempty"` // SSH username to use. Leave unset to use default (root). SshUsername string `protobuf:"bytes,6,opt,name=ssh_username,json=sshUsername,proto3" json:"ssh_username,omitempty"` // contains filtered or unexported fields }
RunRequest represents result of executed command.
func (*RunRequest) Descriptor
deprecated
func (*RunRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunRequest.ProtoReflect.Descriptor instead.
func (*RunRequest) GetArgs ¶
func (x *RunRequest) GetArgs() []string
func (*RunRequest) GetCommand ¶
func (x *RunRequest) GetCommand() string
func (*RunRequest) GetInBackground ¶
func (x *RunRequest) GetInBackground() bool
func (*RunRequest) GetResource ¶
func (x *RunRequest) GetResource() string
func (*RunRequest) GetSshUsername ¶
func (x *RunRequest) GetSshUsername() string
func (*RunRequest) GetTimeout ¶
func (x *RunRequest) GetTimeout() *durationpb.Duration
func (*RunRequest) ProtoMessage ¶
func (*RunRequest) ProtoMessage()
func (*RunRequest) ProtoReflect ¶
func (x *RunRequest) ProtoReflect() protoreflect.Message
func (*RunRequest) Reset ¶
func (x *RunRequest) Reset()
func (*RunRequest) String ¶
func (x *RunRequest) String() string
type RunResult ¶
type RunResult struct { // Full command executed on the resource. Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"` // Exit code return. // Eg: 0 - everything is good // // 1 - executed stop with error code `1` // 15 - timeout of execution ExitCode int32 `protobuf:"varint,2,opt,name=ExitCode,proto3" json:"ExitCode,omitempty"` // Standard output Stdout string `protobuf:"bytes,3,opt,name=stdout,proto3" json:"stdout,omitempty"` // Standard error output Stderr string `protobuf:"bytes,4,opt,name=stderr,proto3" json:"stderr,omitempty"` // contains filtered or unexported fields }
RunResult represents result of executed command.
func (*RunResult) Descriptor
deprecated
func (*RunResult) GetCommand ¶
func (*RunResult) GetExitCode ¶
func (*RunResult) ProtoMessage ¶
func (*RunResult) ProtoMessage()
func (*RunResult) ProtoReflect ¶
func (x *RunResult) ProtoReflect() protoreflect.Message
type ServoFwChannel ¶
type ServoFwChannel int32
Servo Firmware Channel describes the firmware expected to have on servos.
const ( ServoFwChannel_FW_UNSPECIFIED ServoFwChannel = 0 // Servo firmware from Stable channel. ServoFwChannel_STABLE ServoFwChannel = 1 // The previous Servo firmware from Stable channel. ServoFwChannel_PREV ServoFwChannel = 2 // Servo firmware from Dev channel. ServoFwChannel_DEV ServoFwChannel = 3 // Servo firmware from Alpha channel. ServoFwChannel_ALPHA ServoFwChannel = 4 )
func (ServoFwChannel) Descriptor ¶
func (ServoFwChannel) Descriptor() protoreflect.EnumDescriptor
func (ServoFwChannel) Enum ¶
func (x ServoFwChannel) Enum() *ServoFwChannel
func (ServoFwChannel) EnumDescriptor
deprecated
func (ServoFwChannel) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServoFwChannel.Descriptor instead.
func (ServoFwChannel) Number ¶
func (x ServoFwChannel) Number() protoreflect.EnumNumber
func (ServoFwChannel) String ¶
func (x ServoFwChannel) String() string
func (ServoFwChannel) Type ¶
func (ServoFwChannel) Type() protoreflect.EnumType
type ServoHost ¶
type ServoHost struct { // Name is the resource name. Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` State ServoHost_State `protobuf:"varint,2,opt,name=state,proto3,enum=chromeos.recovery.ServoHost_State" json:"state,omitempty"` // Serial number of the root servo device. SerialNumber string `protobuf:"bytes,3,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` // Channel of firmware used on servo devices. FirmwareChannel ServoFwChannel `` /* 145-byte string literal not displayed */ // Self representation of servo-setup by servod. // Example: servo_v4_with_servo_micro, servo_v4_with_ccd_cr50. ServodType string `protobuf:"bytes,5,opt,name=servod_type,json=servodType,proto3" json:"servod_type,omitempty"` // State of the USB-key connected to the servo. UsbkeyState HardwareState `` /* 132-byte string literal not displayed */ // Port user on the host to run servod daemon. Expected value between 9900 // and 9999. ServodPort int32 `protobuf:"varint,7,opt,name=servod_port,json=servodPort,proto3" json:"servod_port,omitempty"` // Smart USB-hub is present on setup. SmartUsbhubPresent bool `protobuf:"varint,8,opt,name=smart_usbhub_present,json=smartUsbhubPresent,proto3" json:"smart_usbhub_present,omitempty"` // Servo Topology of servo devices. ServoTopology *ServoTopology `protobuf:"bytes,9,opt,name=servo_topology,json=servoTopology,proto3" json:"servo_topology,omitempty"` // Name of the servod container if the servo uses a // servod-container. ContainerName string `protobuf:"bytes,10,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` // UsbDrive contains details of the servo's plugged USB drive. UsbDrive *api.UsbDrive `protobuf:"bytes,11,opt,name=usb_drive,json=usbDrive,proto3" json:"usb_drive,omitempty"` // contains filtered or unexported fields }
ServoHost holds info about host to manage servod services and verify connected servo devices. Example: labstation, servo-host container.
func (*ServoHost) Descriptor
deprecated
func (*ServoHost) GetContainerName ¶
func (*ServoHost) GetFirmwareChannel ¶
func (x *ServoHost) GetFirmwareChannel() ServoFwChannel
func (*ServoHost) GetSerialNumber ¶
func (*ServoHost) GetServoTopology ¶
func (x *ServoHost) GetServoTopology() *ServoTopology
func (*ServoHost) GetServodPort ¶
func (*ServoHost) GetServodType ¶
func (*ServoHost) GetSmartUsbhubPresent ¶
func (*ServoHost) GetState ¶
func (x *ServoHost) GetState() ServoHost_State
func (*ServoHost) GetUsbDrive ¶
func (*ServoHost) GetUsbkeyState ¶
func (x *ServoHost) GetUsbkeyState() HardwareState
func (*ServoHost) ProtoMessage ¶
func (*ServoHost) ProtoMessage()
func (*ServoHost) ProtoReflect ¶
func (x *ServoHost) ProtoReflect() protoreflect.Message
type ServoHost_State ¶
type ServoHost_State int32
State of the servo.
const ( ServoHost_STATE_UNSPECIFIED ServoHost_State = 0 // Device and software on it is working as expected. ServoHost_WORKING ServoHost_State = 1 // Configuration for device is not provided. ServoHost_MISSING_CONFIG ServoHost_State = 2 // Configuration contains incorrect information. ServoHost_WRONG_CONFIG ServoHost_State = 3 // Device is not connected/plugged. ServoHost_NOT_CONNECTED ServoHost_State = 4 // Device is not reachable over ssh. ServoHost_NO_SSH ServoHost_State = 5 // Device is broken or not working as expected. the state used if no // specified state for the issue. ServoHost_BROKEN ServoHost_State = 6 // Device cannot be repaired or required manual attention to fix/replace it. ServoHost_NEED_REPLACEMENT ServoHost_State = 7 // Cr50 console missing or unresponsive. ServoHost_CR50_CONSOLE_MISSING ServoHost_State = 8 // Servod daemon cannot start on servo-host because cr50 testlab not // enabled. ServoHost_CCD_TESTLAB_ISSUE ServoHost_State = 9 // Servod daemon cannot start on servo-host. ServoHost_SERVOD_ISSUE ServoHost_State = 10 // Device lid is not open. ServoHost_LID_OPEN_FAILED ServoHost_State = 11 // The ribbon cable between servo and DUT is broken or not connected. ServoHost_BAD_RIBBON_CABLE ServoHost_State = 12 // The EC on the DUT has issue. ServoHost_EC_BROKEN ServoHost_State = 13 // Servo is not connected to the DUT. ServoHost_DUT_NOT_CONNECTED ServoHost_State = 14 // Some component in servo-topology missed or not detected. ServoHost_TOPOLOGY_ISSUE ServoHost_State = 15 // SBU voltage issues effect CR50 detection. ServoHost_SBU_LOW_VOLTAGE ServoHost_State = 16 // CR50 SBU voltage detected but device was not enumerated. ServoHost_CR50_NOT_ENUMERATED ServoHost_State = 17 // Servo serial mismatch, when servo not detected and another serial // detected on previous used port. ServoHost_SERVO_SERIAL_MISMATCH ServoHost_State = 18 // Issue to connect to servod by XMLRPC proxy. ServoHost_SERVOD_PROXY_ISSUE ServoHost_State = 19 // Issue related to servo-host. Timeout to start servod or issue with // detecting devices. ServoHost_SERVO_HOST_ISSUE ServoHost_State = 20 // Issue related to servo_updater on the servo-host. ServoHost_SERVO_UPDATER_ISSUE ServoHost_State = 21 // Issue related to power button pin on the servo host. ServoHost_SERVOD_DUT_CONTROLLER_MISSING ServoHost_State = 22 // Issue related to cold reset pin on the DUT. ServoHost_COLD_RESET_PIN_ISSUE ServoHost_State = 23 // Issue related to warm reset pin on the DUT. ServoHost_WARM_RESET_PIN_ISSUE ServoHost_State = 24 // Issue related to power button pin on the DUT. ServoHost_POWER_BUTTON_PIN_ISSUE ServoHost_State = 25 // The servo device connected to debug header is not detected. // Reported by dut_controller_missing_fault control. ServoHost_DEBUG_HEADER_SERVO_MISSING ServoHost_State = 27 )
func (ServoHost_State) Descriptor ¶
func (ServoHost_State) Descriptor() protoreflect.EnumDescriptor
func (ServoHost_State) Enum ¶
func (x ServoHost_State) Enum() *ServoHost_State
func (ServoHost_State) EnumDescriptor
deprecated
func (ServoHost_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServoHost_State.Descriptor instead.
func (ServoHost_State) Number ¶
func (x ServoHost_State) Number() protoreflect.EnumNumber
func (ServoHost_State) String ¶
func (x ServoHost_State) String() string
func (ServoHost_State) Type ¶
func (ServoHost_State) Type() protoreflect.EnumType
type ServoTopology ¶
type ServoTopology struct { Root *ServoTopologyItem `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` Children []*ServoTopologyItem `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
ServoTopology describes servo devices used to provide servo functionality.
func (*ServoTopology) Descriptor
deprecated
func (*ServoTopology) Descriptor() ([]byte, []int)
Deprecated: Use ServoTopology.ProtoReflect.Descriptor instead.
func (*ServoTopology) GetChildren ¶
func (x *ServoTopology) GetChildren() []*ServoTopologyItem
func (*ServoTopology) GetRoot ¶
func (x *ServoTopology) GetRoot() *ServoTopologyItem
func (*ServoTopology) ProtoMessage ¶
func (*ServoTopology) ProtoMessage()
func (*ServoTopology) ProtoReflect ¶
func (x *ServoTopology) ProtoReflect() protoreflect.Message
func (*ServoTopology) Reset ¶
func (x *ServoTopology) Reset()
func (*ServoTopology) String ¶
func (x *ServoTopology) String() string
type ServoTopologyItem ¶
type ServoTopologyItem struct { // type provides the type of servo device. Keeping as String to avoid issue // with introduce new type. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // sysfs_product provides the product name of the device recorded in File // System. SysfsProduct string `protobuf:"bytes,2,opt,name=sysfs_product,json=sysfsProduct,proto3" json:"sysfs_product,omitempty"` // serial provides the serial number of the device. Serial string `protobuf:"bytes,3,opt,name=serial,proto3" json:"serial,omitempty"` // usb_hub_port provides the port connection to the device. // e.g. '1-6.2.2' where // // '1-6' - port on the labstation // '2' - port on smart-hub connected to the labstation // '2' - port on servo hub (part of servo_v4 or servo_v4.1) connected to // the smart-hub // // The same path will look '1-6.2' if connected servo_v4 directly to the // labstation. UsbHubPort string `protobuf:"bytes,4,opt,name=usb_hub_port,json=usbHubPort,proto3" json:"usb_hub_port,omitempty"` // This is the complete path on the file system for the servo device. SysfsPath string `protobuf:"bytes,5,opt,name=sysfs_path,json=sysfsPath,proto3" json:"sysfs_path,omitempty"` // This is the version of servo device. FwVersion string `protobuf:"bytes,6,opt,name=fw_version,json=fwVersion,proto3" json:"fw_version,omitempty"` // contains filtered or unexported fields }
ServoTopologyItem describes details of one servo device.
func (*ServoTopologyItem) Descriptor
deprecated
func (*ServoTopologyItem) Descriptor() ([]byte, []int)
Deprecated: Use ServoTopologyItem.ProtoReflect.Descriptor instead.
func (*ServoTopologyItem) GetFwVersion ¶
func (x *ServoTopologyItem) GetFwVersion() string
func (*ServoTopologyItem) GetSerial ¶
func (x *ServoTopologyItem) GetSerial() string
func (*ServoTopologyItem) GetSysfsPath ¶
func (x *ServoTopologyItem) GetSysfsPath() string
func (*ServoTopologyItem) GetSysfsProduct ¶
func (x *ServoTopologyItem) GetSysfsProduct() string
func (*ServoTopologyItem) GetType ¶
func (x *ServoTopologyItem) GetType() string
func (*ServoTopologyItem) GetUsbHubPort ¶
func (x *ServoTopologyItem) GetUsbHubPort() string
func (*ServoTopologyItem) ProtoMessage ¶
func (*ServoTopologyItem) ProtoMessage()
func (*ServoTopologyItem) ProtoReflect ¶
func (x *ServoTopologyItem) ProtoReflect() protoreflect.Message
func (*ServoTopologyItem) Reset ¶
func (x *ServoTopologyItem) Reset()
func (*ServoTopologyItem) String ¶
func (x *ServoTopologyItem) String() string
type ServodOptions ¶
type ServodOptions struct { // Board of DUT connected to servod. DutBoard string `protobuf:"bytes,1,opt,name=dut_board,json=dutBoard,proto3" json:"dut_board,omitempty"` // Model of DUT connected to servod. DutModel string `protobuf:"bytes,2,opt,name=dut_model,json=dutModel,proto3" json:"dut_model,omitempty"` // Port assigned to servod. ServodPort int32 `protobuf:"varint,3,opt,name=servod_port,json=servodPort,proto3" json:"servod_port,omitempty"` // Servo board serial. ServoSerial string `protobuf:"bytes,4,opt,name=servo_serial,json=servoSerial,proto3" json:"servo_serial,omitempty"` // Specified dual setup for servod. ServoDual bool `protobuf:"varint,5,opt,name=servo_dual,json=servoDual,proto3" json:"servo_dual,omitempty"` // Specified if need apply CR50 config. UseCr50Config bool `protobuf:"varint,6,opt,name=use_cr50_config,json=useCr50Config,proto3" json:"use_cr50_config,omitempty"` // Use recovery mode when start servod. RecoveryMode bool `protobuf:"varint,7,opt,name=recovery_mode,json=recoveryMode,proto3" json:"recovery_mode,omitempty"` // contains filtered or unexported fields }
ServodOption represents options to start servod.
func (*ServodOptions) Descriptor
deprecated
func (*ServodOptions) Descriptor() ([]byte, []int)
Deprecated: Use ServodOptions.ProtoReflect.Descriptor instead.
func (*ServodOptions) GetDutBoard ¶
func (x *ServodOptions) GetDutBoard() string
func (*ServodOptions) GetDutModel ¶
func (x *ServodOptions) GetDutModel() string
func (*ServodOptions) GetRecoveryMode ¶
func (x *ServodOptions) GetRecoveryMode() bool
func (*ServodOptions) GetServoDual ¶
func (x *ServodOptions) GetServoDual() bool
func (*ServodOptions) GetServoSerial ¶
func (x *ServodOptions) GetServoSerial() string
func (*ServodOptions) GetServodPort ¶
func (x *ServodOptions) GetServodPort() int32
func (*ServodOptions) GetUseCr50Config ¶
func (x *ServodOptions) GetUseCr50Config() bool
func (*ServodOptions) ProtoMessage ¶
func (*ServodOptions) ProtoMessage()
func (*ServodOptions) ProtoReflect ¶
func (x *ServodOptions) ProtoReflect() protoreflect.Message
func (*ServodOptions) Reset ¶
func (x *ServodOptions) Reset()
func (*ServodOptions) String ¶
func (x *ServodOptions) String() string
type Storage ¶
type Storage struct { // State of the component. State HardwareState `protobuf:"varint,1,opt,name=state,proto3,enum=chromeos.recovery.HardwareState" json:"state,omitempty"` // Type of storage used on device. Type Storage_Type `protobuf:"varint,2,opt,name=type,proto3,enum=chromeos.recovery.Storage_Type" json:"type,omitempty"` // contains filtered or unexported fields }
Storage holds info about internal storage of the DUT.
func (*Storage) Descriptor
deprecated
func (*Storage) GetState ¶
func (x *Storage) GetState() HardwareState
func (*Storage) GetType ¶
func (x *Storage) GetType() Storage_Type
func (*Storage) ProtoMessage ¶
func (*Storage) ProtoMessage()
func (*Storage) ProtoReflect ¶
func (x *Storage) ProtoReflect() protoreflect.Message
type Storage_Type ¶
type Storage_Type int32
Type describes which type or storage used on the DUT.
const ( Storage_TYPE_UNSPECIFIED Storage_Type = 0 Storage_SSD Storage_Type = 1 Storage_HDD Storage_Type = 2 Storage_MMC Storage_Type = 3 Storage_NVME Storage_Type = 4 Storage_UFS Storage_Type = 5 )
func (Storage_Type) Descriptor ¶
func (Storage_Type) Descriptor() protoreflect.EnumDescriptor
func (Storage_Type) Enum ¶
func (x Storage_Type) Enum() *Storage_Type
func (Storage_Type) EnumDescriptor
deprecated
func (Storage_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Storage_Type.Descriptor instead.
func (Storage_Type) Number ¶
func (x Storage_Type) Number() protoreflect.EnumNumber
func (Storage_Type) String ¶
func (x Storage_Type) String() string
func (Storage_Type) Type ¶
func (Storage_Type) Type() protoreflect.EnumType
type TestbedCapability ¶
type TestbedCapability struct { // Testbed with specific setup and capable to run 3.5mm Audio jack detection tests on DUT. Audiojack bool `protobuf:"varint,2,opt,name=audiojack,proto3" json:"audiojack,omitempty"` // Testbed with specific setup and capable to run USB audio peripherals tests on DUT. Usbaudio bool `protobuf:"varint,3,opt,name=usbaudio,proto3" json:"usbaudio,omitempty"` // Testbed with specific setup and capable to run USB printer tests on DUT. Usbprinting bool `protobuf:"varint,4,opt,name=usbprinting,proto3" json:"usbprinting,omitempty"` // Testbed with specific setup and capable to run HDMI peripherals tests on DUT. Hdmiaudio bool `protobuf:"varint,5,opt,name=hdmiaudio,proto3" json:"hdmiaudio,omitempty"` // contains filtered or unexported fields }
TestbedCapability specifies whether the testbed can execute certain tests. It is used as test dependency - as the specific testbed required to run certain e2e tests.
func (*TestbedCapability) Descriptor
deprecated
func (*TestbedCapability) Descriptor() ([]byte, []int)
Deprecated: Use TestbedCapability.ProtoReflect.Descriptor instead.
func (*TestbedCapability) GetAudiojack ¶
func (x *TestbedCapability) GetAudiojack() bool
func (*TestbedCapability) GetHdmiaudio ¶
func (x *TestbedCapability) GetHdmiaudio() bool
func (*TestbedCapability) GetUsbaudio ¶
func (x *TestbedCapability) GetUsbaudio() bool
func (*TestbedCapability) GetUsbprinting ¶
func (x *TestbedCapability) GetUsbprinting() bool
func (*TestbedCapability) ProtoMessage ¶
func (*TestbedCapability) ProtoMessage()
func (*TestbedCapability) ProtoReflect ¶
func (x *TestbedCapability) ProtoReflect() protoreflect.Message
func (*TestbedCapability) Reset ¶
func (x *TestbedCapability) Reset()
func (*TestbedCapability) String ¶
func (x *TestbedCapability) String() string
type UbuntuRouterControllerState ¶
type UbuntuRouterControllerState struct { // The system product name as specified in the device's DMI table. SystemProductName string `protobuf:"bytes,1,opt,name=system_product_name,json=systemProductName,proto3" json:"system_product_name,omitempty"` // The name of the network controller found on the device. NetworkControllerName string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
UbuntuRouterControllerState holds exec state information for wifirouter execs that use the UbuntuRouterController. Used only as internal state for scope. Do not use for store data.
func (*UbuntuRouterControllerState) Descriptor
deprecated
func (*UbuntuRouterControllerState) Descriptor() ([]byte, []int)
Deprecated: Use UbuntuRouterControllerState.ProtoReflect.Descriptor instead.
func (*UbuntuRouterControllerState) GetNetworkControllerName ¶
func (x *UbuntuRouterControllerState) GetNetworkControllerName() string
func (*UbuntuRouterControllerState) GetSystemProductName ¶
func (x *UbuntuRouterControllerState) GetSystemProductName() string
func (*UbuntuRouterControllerState) ProtoMessage ¶
func (*UbuntuRouterControllerState) ProtoMessage()
func (*UbuntuRouterControllerState) ProtoReflect ¶
func (x *UbuntuRouterControllerState) ProtoReflect() protoreflect.Message
func (*UbuntuRouterControllerState) Reset ¶
func (x *UbuntuRouterControllerState) Reset()
func (*UbuntuRouterControllerState) String ¶
func (x *UbuntuRouterControllerState) String() string
type VersionInfo ¶
type VersionInfo struct { Os string `protobuf:"bytes,1,opt,name=os,proto3" json:"os,omitempty"` RoFirmware string `protobuf:"bytes,2,opt,name=ro_firmware,json=roFirmware,proto3" json:"ro_firmware,omitempty"` RwFirmware string `protobuf:"bytes,3,opt,name=rw_firmware,json=rwFirmware,proto3" json:"rw_firmware,omitempty"` OsType VersionInfo_OsType `protobuf:"varint,4,opt,name=os_type,json=osType,proto3,enum=chromeos.recovery.VersionInfo_OsType" json:"os_type,omitempty"` // contains filtered or unexported fields }
This proto define common version info we want to record from a device. Next Tag: 5
func (*VersionInfo) Descriptor
deprecated
func (*VersionInfo) Descriptor() ([]byte, []int)
Deprecated: Use VersionInfo.ProtoReflect.Descriptor instead.
func (*VersionInfo) GetOs ¶
func (x *VersionInfo) GetOs() string
func (*VersionInfo) GetOsType ¶
func (x *VersionInfo) GetOsType() VersionInfo_OsType
func (*VersionInfo) GetRoFirmware ¶
func (x *VersionInfo) GetRoFirmware() string
func (*VersionInfo) GetRwFirmware ¶
func (x *VersionInfo) GetRwFirmware() string
func (*VersionInfo) ProtoMessage ¶
func (*VersionInfo) ProtoMessage()
func (*VersionInfo) ProtoReflect ¶
func (x *VersionInfo) ProtoReflect() protoreflect.Message
func (*VersionInfo) Reset ¶
func (x *VersionInfo) Reset()
func (*VersionInfo) String ¶
func (x *VersionInfo) String() string
type VersionInfo_OsType ¶
type VersionInfo_OsType int32
Need to exactly matches VersionInfo_OsType in UFS dut_state.
const ( VersionInfo_UNKNOWN VersionInfo_OsType = 0 VersionInfo_CHROMEOS VersionInfo_OsType = 1 VersionInfo_ANDROID VersionInfo_OsType = 2 )
func (VersionInfo_OsType) Descriptor ¶
func (VersionInfo_OsType) Descriptor() protoreflect.EnumDescriptor
func (VersionInfo_OsType) Enum ¶
func (x VersionInfo_OsType) Enum() *VersionInfo_OsType
func (VersionInfo_OsType) EnumDescriptor
deprecated
func (VersionInfo_OsType) EnumDescriptor() ([]byte, []int)
Deprecated: Use VersionInfo_OsType.Descriptor instead.
func (VersionInfo_OsType) Number ¶
func (x VersionInfo_OsType) Number() protoreflect.EnumNumber
func (VersionInfo_OsType) String ¶
func (x VersionInfo_OsType) String() string
func (VersionInfo_OsType) Type ¶
func (VersionInfo_OsType) Type() protoreflect.EnumType
type Wifi ¶
type Wifi struct { // State of the component. State HardwareState `protobuf:"varint,1,opt,name=state,proto3,enum=chromeos.recovery.HardwareState" json:"state,omitempty"` // Name of wifi chip used on the device. ChipName string `protobuf:"bytes,2,opt,name=chip_name,json=chipName,proto3" json:"chip_name,omitempty"` // contains filtered or unexported fields }
Wifi holds info about internal wifi of the DUT.
func (*Wifi) Descriptor
deprecated
func (*Wifi) GetChipName ¶
func (*Wifi) GetState ¶
func (x *Wifi) GetState() HardwareState
func (*Wifi) ProtoMessage ¶
func (*Wifi) ProtoMessage()
func (*Wifi) ProtoReflect ¶
func (x *Wifi) ProtoReflect() protoreflect.Message
type WifiRouterHost ¶
type WifiRouterHost struct { // Name name of router device e.g. "chromeos15-row99-rack33-host105-router". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state of the wifi router. State WifiRouterHost_State `protobuf:"varint,2,opt,name=state,proto3,enum=chromeos.recovery.WifiRouterHost_State" json:"state,omitempty"` // The model of the router. Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"` // The board of the router. Deprecated as it is not used by anything anymore. // // Deprecated: Marked as deprecated in go.chromium.org/infra/cros/recovery/tlw/models.proto. Board string `protobuf:"bytes,4,opt,name=board,proto3" json:"board,omitempty"` // RPMOutlet the router power connects to if it exists. RPMOutlet *RPMOutlet `protobuf:"bytes,5,opt,name=RPMOutlet,proto3" json:"RPMOutlet,omitempty"` // Supported test router hardware and software features. Features []api.WifiRouterFeature `protobuf:"varint,6,rep,packed,name=features,proto3,enum=chromiumos.test.lab.api.WifiRouterFeature" json:"features,omitempty"` // The type of router device this is (e.g. OpenWrt-based, ChromeOS Gale). DeviceType api.WifiRouterDeviceType `` /* 142-byte string literal not displayed */ // contains filtered or unexported fields }
Router devices
func (*WifiRouterHost) Descriptor
deprecated
func (*WifiRouterHost) Descriptor() ([]byte, []int)
Deprecated: Use WifiRouterHost.ProtoReflect.Descriptor instead.
func (*WifiRouterHost) GetBoard
deprecated
func (x *WifiRouterHost) GetBoard() string
Deprecated: Marked as deprecated in go.chromium.org/infra/cros/recovery/tlw/models.proto.
func (*WifiRouterHost) GetDeviceType ¶
func (x *WifiRouterHost) GetDeviceType() api.WifiRouterDeviceType
func (*WifiRouterHost) GetFeatures ¶
func (x *WifiRouterHost) GetFeatures() []api.WifiRouterFeature
func (*WifiRouterHost) GetModel ¶
func (x *WifiRouterHost) GetModel() string
func (*WifiRouterHost) GetName ¶
func (x *WifiRouterHost) GetName() string
func (*WifiRouterHost) GetRPMOutlet ¶
func (x *WifiRouterHost) GetRPMOutlet() *RPMOutlet
func (*WifiRouterHost) GetState ¶
func (x *WifiRouterHost) GetState() WifiRouterHost_State
func (*WifiRouterHost) ProtoMessage ¶
func (*WifiRouterHost) ProtoMessage()
func (*WifiRouterHost) ProtoReflect ¶
func (x *WifiRouterHost) ProtoReflect() protoreflect.Message
func (*WifiRouterHost) Reset ¶
func (x *WifiRouterHost) Reset()
func (*WifiRouterHost) String ¶
func (x *WifiRouterHost) String() string
type WifiRouterHost_State ¶
type WifiRouterHost_State int32
State of the device.
const ( WifiRouterHost_UNSPECIFIED WifiRouterHost_State = 0 WifiRouterHost_WORKING WifiRouterHost_State = 1 WifiRouterHost_BROKEN WifiRouterHost_State = 2 )
func (WifiRouterHost_State) Descriptor ¶
func (WifiRouterHost_State) Descriptor() protoreflect.EnumDescriptor
func (WifiRouterHost_State) Enum ¶
func (x WifiRouterHost_State) Enum() *WifiRouterHost_State
func (WifiRouterHost_State) EnumDescriptor
deprecated
func (WifiRouterHost_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use WifiRouterHost_State.Descriptor instead.
func (WifiRouterHost_State) Number ¶
func (x WifiRouterHost_State) Number() protoreflect.EnumNumber
func (WifiRouterHost_State) String ¶
func (x WifiRouterHost_State) String() string
func (WifiRouterHost_State) Type ¶
func (WifiRouterHost_State) Type() protoreflect.EnumType