Documentation ¶
Index ¶
- Variables
- func RegisterDutManagerServiceServer(s grpc.ServiceRegistrar, srv DutManagerServiceServer)
- func RegisterDutManagerStorageServiceServer(s grpc.ServiceRegistrar, srv DutManagerStorageServiceServer)
- type Audio
- type Cable
- type CableType
- type Camera
- type CameraType
- type Camerabox
- func (*Camerabox) Descriptor() ([]byte, []int)deprecated
- func (x *Camerabox) GetFacing() Camerabox_Facing
- func (x *Camerabox) GetLight() Camerabox_Light
- func (*Camerabox) ProtoMessage()
- func (x *Camerabox) ProtoReflect() protoreflect.Message
- func (x *Camerabox) Reset()
- func (x *Camerabox) String() string
- type Camerabox_Facing
- func (Camerabox_Facing) Descriptor() protoreflect.EnumDescriptor
- func (x Camerabox_Facing) Enum() *Camerabox_Facing
- func (Camerabox_Facing) EnumDescriptor() ([]byte, []int)deprecated
- func (x Camerabox_Facing) Number() protoreflect.EnumNumber
- func (x Camerabox_Facing) String() string
- func (Camerabox_Facing) Type() protoreflect.EnumType
- type Camerabox_Light
- func (Camerabox_Light) Descriptor() protoreflect.EnumDescriptor
- func (x Camerabox_Light) Enum() *Camerabox_Light
- func (Camerabox_Light) EnumDescriptor() ([]byte, []int)deprecated
- func (x Camerabox_Light) Number() protoreflect.EnumNumber
- func (x Camerabox_Light) String() string
- func (Camerabox_Light) Type() protoreflect.EnumType
- type Chameleon
- func (*Chameleon) Descriptor() ([]byte, []int)deprecated
- func (x *Chameleon) GetAudioBoard() bool
- func (x *Chameleon) GetAudioboxJackplugger() Chameleon_AudioBoxJackPlugger
- func (x *Chameleon) GetChameleonPeripherals() []ChameleonType
- func (x *Chameleon) GetHostname() string
- func (x *Chameleon) GetRpm() *OSRPM
- func (x *Chameleon) GetTrrsType() Chameleon_TRRSType
- func (*Chameleon) ProtoMessage()
- func (x *Chameleon) ProtoReflect() protoreflect.Message
- func (x *Chameleon) Reset()
- func (x *Chameleon) String() string
- type ChameleonType
- func (ChameleonType) Descriptor() protoreflect.EnumDescriptor
- func (x ChameleonType) Enum() *ChameleonType
- func (ChameleonType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChameleonType) Number() protoreflect.EnumNumber
- func (x ChameleonType) String() string
- func (ChameleonType) Type() protoreflect.EnumType
- type Chameleon_AudioBoxJackPlugger
- func (Chameleon_AudioBoxJackPlugger) Descriptor() protoreflect.EnumDescriptor
- func (x Chameleon_AudioBoxJackPlugger) Enum() *Chameleon_AudioBoxJackPlugger
- func (Chameleon_AudioBoxJackPlugger) EnumDescriptor() ([]byte, []int)deprecated
- func (x Chameleon_AudioBoxJackPlugger) Number() protoreflect.EnumNumber
- func (x Chameleon_AudioBoxJackPlugger) String() string
- func (Chameleon_AudioBoxJackPlugger) Type() protoreflect.EnumType
- type Chameleon_TRRSType
- func (Chameleon_TRRSType) Descriptor() protoreflect.EnumDescriptor
- func (x Chameleon_TRRSType) Enum() *Chameleon_TRRSType
- func (Chameleon_TRRSType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Chameleon_TRRSType) Number() protoreflect.EnumNumber
- func (x Chameleon_TRRSType) String() string
- func (Chameleon_TRRSType) Type() protoreflect.EnumType
- type ChromeOSDevice
- func (*ChromeOSDevice) Descriptor() ([]byte, []int)deprecated
- func (m *ChromeOSDevice) GetDevice() isChromeOSDevice_Device
- func (x *ChromeOSDevice) GetDeviceConfigId() *device.ConfigId
- func (x *ChromeOSDevice) GetDut() *DeviceUnderTest
- func (x *ChromeOSDevice) GetId() *ChromeOSDeviceID
- func (x *ChromeOSDevice) GetLabstation() *Labstation
- func (x *ChromeOSDevice) GetManufacturingId() *manufacturing.ConfigID
- func (x *ChromeOSDevice) GetSerialNumber() string
- func (*ChromeOSDevice) ProtoMessage()
- func (x *ChromeOSDevice) ProtoReflect() protoreflect.Message
- func (x *ChromeOSDevice) Reset()
- func (x *ChromeOSDevice) String() string
- type ChromeOSDeviceID
- type ChromeOSDevice_Dut
- type ChromeOSDevice_Labstation
- type CreateDutRequest
- type CreateDutResponse
- type CreateMManagedDutMetadata
- type CreateManagedDutMetadata
- type CreateManagedDutRequest
- func (*CreateManagedDutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateManagedDutRequest) GetDisplayName() string
- func (x *CreateManagedDutRequest) GetName() *NetworkIdentifier
- func (*CreateManagedDutRequest) ProtoMessage()
- func (x *CreateManagedDutRequest) ProtoReflect() protoreflect.Message
- func (x *CreateManagedDutRequest) Reset()
- func (x *CreateManagedDutRequest) String() string
- type CreateManagedDutResponse
- type DeleteDutRequest
- type DeleteDutResponse
- type DeleteManagedDutRequest
- func (*DeleteManagedDutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteManagedDutRequest) GetName() *NetworkIdentifier
- func (*DeleteManagedDutRequest) ProtoMessage()
- func (x *DeleteManagedDutRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteManagedDutRequest) Reset()
- func (x *DeleteManagedDutRequest) String() string
- type DeleteManagedDutResponse
- type DeviceAction
- func (*DeviceAction) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceAction) GetBeginTime() *timestamppb.Timestamp
- func (x *DeviceAction) GetBy() string
- func (x *DeviceAction) GetExpireTime() *timestamppb.Timestamp
- func (x *DeviceAction) GetReason() string
- func (*DeviceAction) ProtoMessage()
- func (x *DeviceAction) ProtoReflect() protoreflect.Message
- func (x *DeviceAction) Reset()
- func (x *DeviceAction) String() string
- type DeviceUnderTest
- func (*DeviceUnderTest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceUnderTest) GetCriticalPools() []DeviceUnderTest_DUTPool
- func (x *DeviceUnderTest) GetHostname() string
- func (x *DeviceUnderTest) GetLicenses() []*License
- func (x *DeviceUnderTest) GetPeripherals() *Peripherals
- func (x *DeviceUnderTest) GetPools() []string
- func (*DeviceUnderTest) ProtoMessage()
- func (x *DeviceUnderTest) ProtoReflect() protoreflect.Message
- func (x *DeviceUnderTest) Reset()
- func (x *DeviceUnderTest) String() string
- type DeviceUnderTest_DUTPool
- func (DeviceUnderTest_DUTPool) Descriptor() protoreflect.EnumDescriptor
- func (x DeviceUnderTest_DUTPool) Enum() *DeviceUnderTest_DUTPool
- func (DeviceUnderTest_DUTPool) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeviceUnderTest_DUTPool) Number() protoreflect.EnumNumber
- func (x DeviceUnderTest_DUTPool) String() string
- func (DeviceUnderTest_DUTPool) Type() protoreflect.EnumType
- type DutManagerServiceClient
- type DutManagerServiceServer
- type DutManagerStorageServiceClient
- type DutManagerStorageServiceServer
- type DutState
- func (*DutState) Descriptor() ([]byte, []int)deprecated
- func (x *DutState) GetAudioLoopbackDongle() PeripheralState
- func (x *DutState) GetBatteryState() HardwareState
- func (x *DutState) GetBluetoothState() HardwareState
- func (x *DutState) GetChameleon() PeripheralState
- func (x *DutState) GetCr50KeyEnv() DutState_CR50KeyEnv
- func (x *DutState) GetCr50Phase() DutState_CR50Phase
- func (x *DutState) GetId() *ChromeOSDeviceID
- func (x *DutState) GetRpmState() PeripheralState
- func (x *DutState) GetServo() PeripheralState
- func (x *DutState) GetServoUsbState() HardwareState
- func (x *DutState) GetStorageState() HardwareState
- func (x *DutState) GetWifiState() HardwareState
- func (x *DutState) GetWorkingBluetoothBtpeer() int32
- func (*DutState) ProtoMessage()
- func (x *DutState) ProtoReflect() protoreflect.Message
- func (x *DutState) Reset()
- func (x *DutState) String() string
- type DutState_CR50KeyEnv
- func (DutState_CR50KeyEnv) Descriptor() protoreflect.EnumDescriptor
- func (x DutState_CR50KeyEnv) Enum() *DutState_CR50KeyEnv
- func (DutState_CR50KeyEnv) EnumDescriptor() ([]byte, []int)deprecated
- func (x DutState_CR50KeyEnv) Number() protoreflect.EnumNumber
- func (x DutState_CR50KeyEnv) String() string
- func (DutState_CR50KeyEnv) Type() protoreflect.EnumType
- type DutState_CR50Phase
- func (DutState_CR50Phase) Descriptor() protoreflect.EnumDescriptor
- func (x DutState_CR50Phase) Enum() *DutState_CR50Phase
- func (DutState_CR50Phase) EnumDescriptor() ([]byte, []int)deprecated
- func (x DutState_CR50Phase) Number() protoreflect.EnumNumber
- func (x DutState_CR50Phase) String() string
- func (DutState_CR50Phase) Type() protoreflect.EnumType
- type ExtendManagedDutLeaseRequest
- func (*ExtendManagedDutLeaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExtendManagedDutLeaseRequest) GetLeaseLengthSecs() int32
- func (x *ExtendManagedDutLeaseRequest) GetName() *NetworkIdentifier
- func (*ExtendManagedDutLeaseRequest) ProtoMessage()
- func (x *ExtendManagedDutLeaseRequest) ProtoReflect() protoreflect.Message
- func (x *ExtendManagedDutLeaseRequest) Reset()
- func (x *ExtendManagedDutLeaseRequest) String() string
- type ExtendManagedDutLeaseResponse
- func (*ExtendManagedDutLeaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExtendManagedDutLeaseResponse) GetExpiryTimeSecs() *timestamppb.Timestamp
- func (*ExtendManagedDutLeaseResponse) ProtoMessage()
- func (x *ExtendManagedDutLeaseResponse) ProtoReflect() protoreflect.Message
- func (x *ExtendManagedDutLeaseResponse) Reset()
- func (x *ExtendManagedDutLeaseResponse) String() string
- type GetDutRequest
- type GetDutResponse
- type GetManagedDutRequest
- func (*GetManagedDutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetManagedDutRequest) GetName() *NetworkIdentifier
- func (*GetManagedDutRequest) ProtoMessage()
- func (x *GetManagedDutRequest) ProtoReflect() protoreflect.Message
- func (x *GetManagedDutRequest) Reset()
- func (x *GetManagedDutRequest) String() string
- type GetManagedDutResponse
- func (*GetManagedDutResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetManagedDutResponse) GetDut() *ManagedDut
- func (*GetManagedDutResponse) ProtoMessage()
- func (x *GetManagedDutResponse) ProtoReflect() protoreflect.Message
- func (x *GetManagedDutResponse) Reset()
- func (x *GetManagedDutResponse) 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 HistoryRecord
- func (*HistoryRecord) Descriptor() ([]byte, []int)deprecated
- func (x *HistoryRecord) GetEndTime() *timestamppb.Timestamp
- func (x *HistoryRecord) GetLeaseOwner() string
- func (x *HistoryRecord) GetNote() string
- func (x *HistoryRecord) GetStartTime() *timestamppb.Timestamp
- func (x *HistoryRecord) GetState() ManagedDut_ManagedState
- func (*HistoryRecord) ProtoMessage()
- func (x *HistoryRecord) ProtoReflect() protoreflect.Message
- func (x *HistoryRecord) Reset()
- func (x *HistoryRecord) String() string
- type LabpackInput
- func (*LabpackInput) Descriptor() ([]byte, []int)deprecated
- func (x *LabpackInput) GetAdminService() string
- func (x *LabpackInput) GetBbid() string
- func (x *LabpackInput) GetCaller() string
- func (x *LabpackInput) GetConfiguration() string
- func (x *LabpackInput) GetDisableCft() bool
- func (x *LabpackInput) GetEnableRecovery() bool
- func (x *LabpackInput) GetInventoryNamespace() string
- func (x *LabpackInput) GetInventoryService() string
- func (x *LabpackInput) GetNoMetrics() bool
- func (x *LabpackInput) GetNoStepper() bool
- func (x *LabpackInput) GetSwarmingTaskId() string
- func (x *LabpackInput) GetTaskName() string
- func (x *LabpackInput) GetUnitName() string
- func (x *LabpackInput) GetUpdateInventory() bool
- func (*LabpackInput) ProtoMessage()
- func (x *LabpackInput) ProtoReflect() protoreflect.Message
- func (x *LabpackInput) Reset()
- func (x *LabpackInput) String() string
- type LabpackResponse
- func (*LabpackResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LabpackResponse) GetFailReason() string
- func (x *LabpackResponse) GetSuccess() bool
- func (*LabpackResponse) ProtoMessage()
- func (x *LabpackResponse) ProtoReflect() protoreflect.Message
- func (x *LabpackResponse) Reset()
- func (x *LabpackResponse) String() string
- type Labstation
- func (*Labstation) Descriptor() ([]byte, []int)deprecated
- func (x *Labstation) GetHostname() string
- func (x *Labstation) GetPools() []string
- func (x *Labstation) GetRpm() *RPM
- func (x *Labstation) GetServos() []*Servo
- func (*Labstation) ProtoMessage()
- func (x *Labstation) ProtoReflect() protoreflect.Message
- func (x *Labstation) Reset()
- func (x *Labstation) String() string
- type LeaseManagedDutRequest
- func (*LeaseManagedDutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LeaseManagedDutRequest) GetLeaseLengthSecs() int32
- func (x *LeaseManagedDutRequest) GetLeaseOwner() string
- func (x *LeaseManagedDutRequest) GetMaxDuts() int32
- func (x *LeaseManagedDutRequest) GetMfgConfigId() *api1.MfgConfigId
- func (x *LeaseManagedDutRequest) GetMinDuts() int32
- func (x *LeaseManagedDutRequest) GetModel() *api.DutAttribute
- func (x *LeaseManagedDutRequest) GetNumberAssociatedDuts() int32
- func (x *LeaseManagedDutRequest) GetPeripheral() *api.DutAttributeList
- func (x *LeaseManagedDutRequest) GetPool() *api.DutAttributeList
- func (x *LeaseManagedDutRequest) GetSoftwarePath() *_go.StoragePath
- func (x *LeaseManagedDutRequest) GetTag() *api.DutAttributeList
- func (*LeaseManagedDutRequest) ProtoMessage()
- func (x *LeaseManagedDutRequest) ProtoReflect() protoreflect.Message
- func (x *LeaseManagedDutRequest) Reset()
- func (x *LeaseManagedDutRequest) String() string
- type LeaseManagedDutResponse
- func (*LeaseManagedDutResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LeaseManagedDutResponse) GetExpiryTimeSecs() *timestamppb.Timestamp
- func (x *LeaseManagedDutResponse) GetName() []*NetworkIdentifier
- func (*LeaseManagedDutResponse) ProtoMessage()
- func (x *LeaseManagedDutResponse) ProtoReflect() protoreflect.Message
- func (x *LeaseManagedDutResponse) Reset()
- func (x *LeaseManagedDutResponse) String() string
- type License
- type LicenseType
- func (LicenseType) Descriptor() protoreflect.EnumDescriptor
- func (x LicenseType) Enum() *LicenseType
- func (LicenseType) EnumDescriptor() ([]byte, []int)deprecated
- func (x LicenseType) Number() protoreflect.EnumNumber
- func (x LicenseType) String() string
- func (LicenseType) Type() protoreflect.EnumType
- type ListDutRequest
- type ListDutResponse
- type ListManagedDutsRequest
- func (*ListManagedDutsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListManagedDutsRequest) GetDuts() []*ManagedDut
- func (*ListManagedDutsRequest) ProtoMessage()
- func (x *ListManagedDutsRequest) ProtoReflect() protoreflect.Message
- func (x *ListManagedDutsRequest) Reset()
- func (x *ListManagedDutsRequest) String() string
- type ListManagedDutsResponse
- func (*ListManagedDutsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListManagedDutsResponse) GetDuts() []*ManagedDut
- func (*ListManagedDutsResponse) ProtoMessage()
- func (x *ListManagedDutsResponse) ProtoReflect() protoreflect.Message
- func (x *ListManagedDutsResponse) Reset()
- func (x *ListManagedDutsResponse) String() string
- type Lock
- type ManagedDut
- func (*ManagedDut) Descriptor() ([]byte, []int)deprecated
- func (x *ManagedDut) GetAssociatedDut() []*NetworkIdentifier
- func (x *ManagedDut) GetDisplayName() string
- func (x *ManagedDut) GetHistory() []*HistoryRecord
- func (x *ManagedDut) GetIsAssociatedDut() bool
- func (x *ManagedDut) GetLock() *Lock
- func (x *ManagedDut) GetMfgConfigId() *api1.MfgConfigId
- func (x *ManagedDut) GetName() *NetworkIdentifier
- func (x *ManagedDut) GetOperatorNotes() string
- func (x *ManagedDut) GetPeripheral() *api.DutAttributeList
- func (x *ManagedDut) GetPool() []*Pool
- func (x *ManagedDut) GetProvisionedBuild() *_go.StoragePath
- func (x *ManagedDut) GetProvisionedFirmwareVersion() string
- func (x *ManagedDut) GetState() ManagedDut_ManagedState
- func (x *ManagedDut) GetTag() *api.DutAttributeList
- func (*ManagedDut) ProtoMessage()
- func (x *ManagedDut) ProtoReflect() protoreflect.Message
- func (x *ManagedDut) Reset()
- func (x *ManagedDut) String() string
- type ManagedDut_ManagedState
- func (ManagedDut_ManagedState) Descriptor() protoreflect.EnumDescriptor
- func (x ManagedDut_ManagedState) Enum() *ManagedDut_ManagedState
- func (ManagedDut_ManagedState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ManagedDut_ManagedState) Number() protoreflect.EnumNumber
- func (x ManagedDut_ManagedState) String() string
- func (ManagedDut_ManagedState) Type() protoreflect.EnumType
- type NetworkIdentifier
- func (*NetworkIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkIdentifier) GetHostname() string
- func (m *NetworkIdentifier) GetIdentifier() isNetworkIdentifier_Identifier
- func (x *NetworkIdentifier) GetIpAddress() string
- func (*NetworkIdentifier) ProtoMessage()
- func (x *NetworkIdentifier) ProtoReflect() protoreflect.Message
- func (x *NetworkIdentifier) Reset()
- func (x *NetworkIdentifier) String() string
- type NetworkIdentifier_Hostname
- type NetworkIdentifier_IpAddress
- type OSRPM
- type PeripheralState
- func (PeripheralState) Descriptor() protoreflect.EnumDescriptor
- func (x PeripheralState) Enum() *PeripheralState
- func (PeripheralState) EnumDescriptor() ([]byte, []int)deprecated
- func (x PeripheralState) Number() protoreflect.EnumNumber
- func (x PeripheralState) String() string
- func (PeripheralState) Type() protoreflect.EnumType
- type Peripherals
- func (*Peripherals) Descriptor() ([]byte, []int)deprecated
- func (x *Peripherals) GetAudio() *Audio
- func (x *Peripherals) GetCable() []*Cable
- func (x *Peripherals) GetCamerabox() bool
- func (x *Peripherals) GetCameraboxInfo() *Camerabox
- func (x *Peripherals) GetCarrier() string
- func (x *Peripherals) GetChameleon() *Chameleon
- func (x *Peripherals) GetChaos() bool
- func (x *Peripherals) GetConnectedCamera() []*Camera
- func (x *Peripherals) GetRpm() *RPM
- func (x *Peripherals) GetServo() *Servo
- func (x *Peripherals) GetSmartUsbhub() bool
- func (x *Peripherals) GetTouch() *Touch
- func (x *Peripherals) GetWifi() *Wifi
- func (*Peripherals) ProtoMessage()
- func (x *Peripherals) ProtoReflect() protoreflect.Message
- func (x *Peripherals) Reset()
- func (x *Peripherals) String() string
- type Pool
- type ProvisionManagedDutRequest
- func (*ProvisionManagedDutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionManagedDutRequest) GetBuildPath() *_go.StoragePath
- func (x *ProvisionManagedDutRequest) GetName() *NetworkIdentifier
- func (*ProvisionManagedDutRequest) ProtoMessage()
- func (x *ProvisionManagedDutRequest) ProtoReflect() protoreflect.Message
- func (x *ProvisionManagedDutRequest) Reset()
- func (x *ProvisionManagedDutRequest) String() string
- type ProvisionManagedDutResponse
- type RPM
- type ReturnManagedDutLeaseRequest
- func (*ReturnManagedDutLeaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReturnManagedDutLeaseRequest) GetForce() bool
- func (x *ReturnManagedDutLeaseRequest) GetForceReason() string
- func (x *ReturnManagedDutLeaseRequest) GetName() *NetworkIdentifier
- func (*ReturnManagedDutLeaseRequest) ProtoMessage()
- func (x *ReturnManagedDutLeaseRequest) ProtoReflect() protoreflect.Message
- func (x *ReturnManagedDutLeaseRequest) Reset()
- func (x *ReturnManagedDutLeaseRequest) String() string
- type ReturnManagedDutLeaseResponse
- func (*ReturnManagedDutLeaseResponse) Descriptor() ([]byte, []int)deprecated
- func (*ReturnManagedDutLeaseResponse) ProtoMessage()
- func (x *ReturnManagedDutLeaseResponse) ProtoReflect() protoreflect.Message
- func (x *ReturnManagedDutLeaseResponse) Reset()
- func (x *ReturnManagedDutLeaseResponse) String() string
- type Servo
- func (*Servo) Descriptor() ([]byte, []int)deprecated
- func (x *Servo) GetServoFwChannel() ServoFwChannel
- func (x *Servo) GetServoHostname() string
- func (x *Servo) GetServoPort() int32
- func (x *Servo) GetServoSerial() string
- func (x *Servo) GetServoSetup() ServoSetupType
- func (x *Servo) GetServoTopology() *ServoTopology
- func (x *Servo) GetServoType() string
- func (*Servo) ProtoMessage()
- func (x *Servo) ProtoReflect() protoreflect.Message
- func (x *Servo) Reset()
- func (x *Servo) 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 ServoSetupType
- func (ServoSetupType) Descriptor() protoreflect.EnumDescriptor
- func (x ServoSetupType) Enum() *ServoSetupType
- func (ServoSetupType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ServoSetupType) Number() protoreflect.EnumNumber
- func (x ServoSetupType) String() string
- func (ServoSetupType) Type() protoreflect.EnumType
- type ServoTopology
- func (*ServoTopology) Descriptor() ([]byte, []int)deprecated
- func (x *ServoTopology) GetChildren() []*ServoTopologyItem
- func (x *ServoTopology) GetMain() *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) 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 Touch
- type UnimplementedDutManagerServiceServer
- func (UnimplementedDutManagerServiceServer) CreateManagedDut(context.Context, *CreateManagedDutRequest) (*longrunning.Operation, error)
- func (UnimplementedDutManagerServiceServer) DeleteManagedDut(context.Context, *DeleteManagedDutRequest) (*DeleteManagedDutResponse, error)
- func (UnimplementedDutManagerServiceServer) ExtendManagedDutLease(context.Context, *ExtendManagedDutLeaseRequest) (*ExtendManagedDutLeaseResponse, error)
- func (UnimplementedDutManagerServiceServer) GetManagedDut(context.Context, *GetManagedDutRequest) (*GetManagedDutResponse, error)
- func (UnimplementedDutManagerServiceServer) LeaseManagedDut(context.Context, *LeaseManagedDutRequest) (*longrunning.Operation, error)
- func (UnimplementedDutManagerServiceServer) ListManagedDuts(context.Context, *ListManagedDutsRequest) (*ListManagedDutsResponse, error)
- func (UnimplementedDutManagerServiceServer) ProvisionManagedDut(context.Context, *ProvisionManagedDutRequest) (*ProvisionManagedDutResponse, error)
- func (UnimplementedDutManagerServiceServer) ReturnManagedDutLease(context.Context, *ReturnManagedDutLeaseRequest) (*ReturnManagedDutLeaseResponse, error)
- func (UnimplementedDutManagerServiceServer) UpdateManagedDut(context.Context, *UpdateManagedDutRequest) (*UpdateManagedDutResponse, error)
- func (UnimplementedDutManagerServiceServer) VerifyManagedDut(context.Context, *VerifyManagedDutRequest) (*VerifyManagedDutResponse, error)
- type UnimplementedDutManagerStorageServiceServer
- func (UnimplementedDutManagerStorageServiceServer) CreateDut(context.Context, *CreateDutRequest) (*CreateDutResponse, error)
- func (UnimplementedDutManagerStorageServiceServer) DeleteDut(context.Context, *DeleteDutRequest) (*DeleteDutResponse, error)
- func (UnimplementedDutManagerStorageServiceServer) GetDut(context.Context, *GetDutRequest) (*GetDutResponse, error)
- func (UnimplementedDutManagerStorageServiceServer) ListDut(context.Context, *ListDutRequest) (*ListDutResponse, error)
- func (UnimplementedDutManagerStorageServiceServer) UpdateDut(context.Context, *UpdateDutRequest) (*UpdateDutResponse, error)
- type UnsafeDutManagerServiceServer
- type UnsafeDutManagerStorageServiceServer
- type UpdateDutRequest
- func (*UpdateDutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDutRequest) GetDut() *ManagedDut
- func (x *UpdateDutRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateDutRequest) ProtoMessage()
- func (x *UpdateDutRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDutRequest) Reset()
- func (x *UpdateDutRequest) String() string
- type UpdateDutResponse
- type UpdateManagedDutRequest
- func (*UpdateManagedDutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateManagedDutRequest) GetDut() *ManagedDut
- func (x *UpdateManagedDutRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateManagedDutRequest) ProtoMessage()
- func (x *UpdateManagedDutRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateManagedDutRequest) Reset()
- func (x *UpdateManagedDutRequest) String() string
- type UpdateManagedDutResponse
- type VerifyManagedDutRequest
- func (*VerifyManagedDutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyManagedDutRequest) GetName() *NetworkIdentifier
- func (*VerifyManagedDutRequest) ProtoMessage()
- func (x *VerifyManagedDutRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyManagedDutRequest) Reset()
- func (x *VerifyManagedDutRequest) String() string
- type VerifyManagedDutResponse
- type Wifi
- func (*Wifi) Descriptor() ([]byte, []int)deprecated
- func (x *Wifi) GetAntennaConn() Wifi_AntennaConnection
- func (x *Wifi) GetRouter() Wifi_Router
- func (x *Wifi) GetWificell() bool
- func (*Wifi) ProtoMessage()
- func (x *Wifi) ProtoReflect() protoreflect.Message
- func (x *Wifi) Reset()
- func (x *Wifi) String() string
- type Wifi_AntennaConnection
- func (Wifi_AntennaConnection) Descriptor() protoreflect.EnumDescriptor
- func (x Wifi_AntennaConnection) Enum() *Wifi_AntennaConnection
- func (Wifi_AntennaConnection) EnumDescriptor() ([]byte, []int)deprecated
- func (x Wifi_AntennaConnection) Number() protoreflect.EnumNumber
- func (x Wifi_AntennaConnection) String() string
- func (Wifi_AntennaConnection) Type() protoreflect.EnumType
- type Wifi_Router
- func (Wifi_Router) Descriptor() protoreflect.EnumDescriptor
- func (x Wifi_Router) Enum() *Wifi_Router
- func (Wifi_Router) EnumDescriptor() ([]byte, []int)deprecated
- func (x Wifi_Router) Number() protoreflect.EnumNumber
- func (x Wifi_Router) String() string
- func (Wifi_Router) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( ChameleonType_name = map[int32]string{ 0: "CHAMELEON_TYPE_INVALID", 2: "CHAMELEON_TYPE_DP", 3: "CHAMELEON_TYPE_DP_HDMI", 4: "CHAMELEON_TYPE_VGA", 5: "CHAMELEON_TYPE_HDMI", 9: "CHAMELEON_TYPE_V2", 10: "CHAMELEON_TYPE_V3", 11: "CHAMELEON_TYPE_RPI", } ChameleonType_value = map[string]int32{ "CHAMELEON_TYPE_INVALID": 0, "CHAMELEON_TYPE_DP": 2, "CHAMELEON_TYPE_DP_HDMI": 3, "CHAMELEON_TYPE_VGA": 4, "CHAMELEON_TYPE_HDMI": 5, "CHAMELEON_TYPE_V2": 9, "CHAMELEON_TYPE_V3": 10, "CHAMELEON_TYPE_RPI": 11, } )
Enum value maps for ChameleonType.
var ( Chameleon_AudioBoxJackPlugger_name = map[int32]string{ 0: "AUDIOBOX_JACKPLUGGER_UNSPECIFIED", 1: "AUDIOBOX_JACKPLUGGER_WORKING", 2: "AUDIOBOX_JACKPLUGGER_BROKEN", 3: "AUDIOBOX_JACKPLUGGER_NOT_APPLICABLE", } Chameleon_AudioBoxJackPlugger_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_AudioBoxJackPlugger.
var ( Chameleon_TRRSType_name = map[int32]string{ 0: "TRRS_TYPE_UNSPECIFIED", 1: "TRRS_TYPE_CTIA", 2: "TRRS_TYPE_OMTP", } Chameleon_TRRSType_value = map[string]int32{ "TRRS_TYPE_UNSPECIFIED": 0, "TRRS_TYPE_CTIA": 1, "TRRS_TYPE_OMTP": 2, } )
Enum value maps for Chameleon_TRRSType.
var ( DeviceUnderTest_DUTPool_name = map[int32]string{ 0: "DUT_POOL_INVALID", 1: "DUT_POOL_CQ", 2: "DUT_POOL_BVT", 3: "DUT_POOL_SUITES", 4: "DUT_POOL_CTS", 5: "DUT_POOL_CTS_PERBUILD", 6: "DUT_POOL_CONTINUOUS", 7: "DUT_POOL_ARC_PRESUBMIT", 8: "DUT_POOL_QUOTA", } DeviceUnderTest_DUTPool_value = map[string]int32{ "DUT_POOL_INVALID": 0, "DUT_POOL_CQ": 1, "DUT_POOL_BVT": 2, "DUT_POOL_SUITES": 3, "DUT_POOL_CTS": 4, "DUT_POOL_CTS_PERBUILD": 5, "DUT_POOL_CONTINUOUS": 6, "DUT_POOL_ARC_PRESUBMIT": 7, "DUT_POOL_QUOTA": 8, } )
Enum value maps for DeviceUnderTest_DUTPool.
var ( PeripheralState_name = map[int32]string{ 0: "UNKNOWN", 1: "WORKING", 5: "MISSING_CONFIG", 4: "WRONG_CONFIG", 2: "NOT_CONNECTED", 6: "NO_SSH", 3: "BROKEN", 7: "NEED_REPLACEMENT", 13: "CR50_CONSOLE_MISSING", 8: "CCD_TESTLAB_ISSUE", 9: "SERVOD_ISSUE", 10: "LID_OPEN_FAILED", 11: "BAD_RIBBON_CABLE", 12: "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", 26: "NOT_APPLICABLE", 27: "DEBUG_HEADER_SERVO_MISSING", } PeripheralState_value = map[string]int32{ "UNKNOWN": 0, "WORKING": 1, "MISSING_CONFIG": 5, "WRONG_CONFIG": 4, "NOT_CONNECTED": 2, "NO_SSH": 6, "BROKEN": 3, "NEED_REPLACEMENT": 7, "CR50_CONSOLE_MISSING": 13, "CCD_TESTLAB_ISSUE": 8, "SERVOD_ISSUE": 9, "LID_OPEN_FAILED": 10, "BAD_RIBBON_CABLE": 11, "EC_BROKEN": 12, "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, "NOT_APPLICABLE": 26, "DEBUG_HEADER_SERVO_MISSING": 27, } )
Enum value maps for PeripheralState.
var ( HardwareState_name = map[int32]string{ 0: "HARDWARE_UNKNOWN", 1: "HARDWARE_NORMAL", 2: "HARDWARE_ACCEPTABLE", 3: "HARDWARE_NEED_REPLACEMENT", 4: "HARDWARE_NOT_DETECTED", } HardwareState_value = map[string]int32{ "HARDWARE_UNKNOWN": 0, "HARDWARE_NORMAL": 1, "HARDWARE_ACCEPTABLE": 2, "HARDWARE_NEED_REPLACEMENT": 3, "HARDWARE_NOT_DETECTED": 4, } )
Enum value maps for HardwareState.
var ( DutState_CR50Phase_name = map[int32]string{ 0: "CR50_PHASE_INVALID", 1: "CR50_PHASE_PREPVT", 2: "CR50_PHASE_PVT", } DutState_CR50Phase_value = map[string]int32{ "CR50_PHASE_INVALID": 0, "CR50_PHASE_PREPVT": 1, "CR50_PHASE_PVT": 2, } )
Enum value maps for DutState_CR50Phase.
var ( DutState_CR50KeyEnv_name = map[int32]string{ 0: "CR50_KEYENV_INVALID", 1: "CR50_KEYENV_PROD", 2: "CR50_KEYENV_DEV", } DutState_CR50KeyEnv_value = map[string]int32{ "CR50_KEYENV_INVALID": 0, "CR50_KEYENV_PROD": 1, "CR50_KEYENV_DEV": 2, } )
Enum value maps for DutState_CR50KeyEnv.
var ( LicenseType_name = map[int32]string{ 0: "LICENSE_TYPE_UNSPECIFIED", 1: "LICENSE_TYPE_WINDOWS_10_PRO", 2: "LICENSE_TYPE_MS_OFFICE_STANDARD", } LicenseType_value = map[string]int32{ "LICENSE_TYPE_UNSPECIFIED": 0, "LICENSE_TYPE_WINDOWS_10_PRO": 1, "LICENSE_TYPE_MS_OFFICE_STANDARD": 2, } )
Enum value maps for LicenseType.
var ( ManagedDut_ManagedState_name = map[int32]string{ 0: "UNKNOWN", 1: "READY", 2: "PROVISION", 3: "VERIFY", 4: "LEASED", 5: "FAILED", 6: "RESET", } ManagedDut_ManagedState_value = map[string]int32{ "UNKNOWN": 0, "READY": 1, "PROVISION": 2, "VERIFY": 3, "LEASED": 4, "FAILED": 5, "RESET": 6, } )
Enum value maps for ManagedDut_ManagedState.
var ( CameraType_name = map[int32]string{ 0: "CAMERA_INVALID", 1: "CAMERA_HUDDLY", 2: "CAMERA_PTZPRO2", } CameraType_value = map[string]int32{ "CAMERA_INVALID": 0, "CAMERA_HUDDLY": 1, "CAMERA_PTZPRO2": 2, } )
Enum value maps for CameraType.
var ( CableType_name = map[int32]string{ 0: "CABLE_INVALID", 1: "CABLE_AUDIOJACK", 2: "CABLE_USBAUDIO", 3: "CABLE_USBPRINTING", 4: "CABLE_HDMIAUDIO", } CableType_value = map[string]int32{ "CABLE_INVALID": 0, "CABLE_AUDIOJACK": 1, "CABLE_USBAUDIO": 2, "CABLE_USBPRINTING": 3, "CABLE_HDMIAUDIO": 4, } )
Enum value maps for CableType.
var ( Wifi_AntennaConnection_name = map[int32]string{ 0: "CONN_UNKNOWN", 1: "CONN_CONDUCTIVE", 2: "CONN_OTA", } Wifi_AntennaConnection_value = map[string]int32{ "CONN_UNKNOWN": 0, "CONN_CONDUCTIVE": 1, "CONN_OTA": 2, } )
Enum value maps for Wifi_AntennaConnection.
var ( Wifi_Router_name = map[int32]string{ 0: "ROUTER_UNSPECIFIED", 1: "ROUTER_802_11AX", } Wifi_Router_value = map[string]int32{ "ROUTER_UNSPECIFIED": 0, "ROUTER_802_11AX": 1, } )
Enum value maps for Wifi_Router.
var ( Camerabox_Facing_name = map[int32]string{ 0: "FACING_UNKNOWN", 1: "FACING_BACK", 2: "FACING_FRONT", } Camerabox_Facing_value = map[string]int32{ "FACING_UNKNOWN": 0, "FACING_BACK": 1, "FACING_FRONT": 2, } )
Enum value maps for Camerabox_Facing.
var ( Camerabox_Light_name = map[int32]string{ 0: "LIGHT_UNKNOWN", 1: "LIGHT_LED", 2: "LIGHT_NOLED", } Camerabox_Light_value = map[string]int32{ "LIGHT_UNKNOWN": 0, "LIGHT_LED": 1, "LIGHT_NOLED": 2, } )
Enum value maps for Camerabox_Light.
var ( ServoSetupType_name = map[int32]string{ 0: "SERVO_SETUP_REGULAR", 1: "SERVO_SETUP_DUAL_V4", 2: "SERVO_SETUP_INVALID", } ServoSetupType_value = map[string]int32{ "SERVO_SETUP_REGULAR": 0, "SERVO_SETUP_DUAL_V4": 1, "SERVO_SETUP_INVALID": 2, } )
Enum value maps for ServoSetupType.
var ( ServoFwChannel_name = map[int32]string{ 0: "SERVO_FW_STABLE", 1: "SERVO_FW_PREV", 2: "SERVO_FW_DEV", 3: "SERVO_FW_ALPHA", } ServoFwChannel_value = map[string]int32{ "SERVO_FW_STABLE": 0, "SERVO_FW_PREV": 1, "SERVO_FW_DEV": 2, "SERVO_FW_ALPHA": 3, } )
Enum value maps for ServoFwChannel.
var DutManagerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "lab.DutManagerService", HandlerType: (*DutManagerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateManagedDut", Handler: _DutManagerService_CreateManagedDut_Handler, }, { MethodName: "DeleteManagedDut", Handler: _DutManagerService_DeleteManagedDut_Handler, }, { MethodName: "ListManagedDuts", Handler: _DutManagerService_ListManagedDuts_Handler, }, { MethodName: "GetManagedDut", Handler: _DutManagerService_GetManagedDut_Handler, }, { MethodName: "UpdateManagedDut", Handler: _DutManagerService_UpdateManagedDut_Handler, }, { MethodName: "LeaseManagedDut", Handler: _DutManagerService_LeaseManagedDut_Handler, }, { MethodName: "ReturnManagedDutLease", Handler: _DutManagerService_ReturnManagedDutLease_Handler, }, { MethodName: "ExtendManagedDutLease", Handler: _DutManagerService_ExtendManagedDutLease_Handler, }, { MethodName: "ProvisionManagedDut", Handler: _DutManagerService_ProvisionManagedDut_Handler, }, { MethodName: "VerifyManagedDut", Handler: _DutManagerService_VerifyManagedDut_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "lab/dut_manager.proto", }
DutManagerService_ServiceDesc is the grpc.ServiceDesc for DutManagerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DutManagerStorageService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "lab.DutManagerStorageService", HandlerType: (*DutManagerStorageServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateDut", Handler: _DutManagerStorageService_CreateDut_Handler, }, { MethodName: "DeleteDut", Handler: _DutManagerStorageService_DeleteDut_Handler, }, { MethodName: "ListDut", Handler: _DutManagerStorageService_ListDut_Handler, }, { MethodName: "GetDut", Handler: _DutManagerStorageService_GetDut_Handler, }, { MethodName: "UpdateDut", Handler: _DutManagerStorageService_UpdateDut_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "lab/dut_manager_storage.proto", }
DutManagerStorageService_ServiceDesc is the grpc.ServiceDesc for DutManagerStorageService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_lab_chameleon_proto protoreflect.FileDescriptor
var File_lab_chromeos_device_id_proto protoreflect.FileDescriptor
var File_lab_device_action_proto protoreflect.FileDescriptor
var File_lab_device_proto protoreflect.FileDescriptor
var File_lab_dut_manager_proto protoreflect.FileDescriptor
var File_lab_dut_manager_storage_proto protoreflect.FileDescriptor
var File_lab_dut_state_proto protoreflect.FileDescriptor
var File_lab_labpack_proto protoreflect.FileDescriptor
var File_lab_license_proto protoreflect.FileDescriptor
var File_lab_managed_dut_proto protoreflect.FileDescriptor
var File_lab_peripherals_proto protoreflect.FileDescriptor
var File_lab_rpm_proto protoreflect.FileDescriptor
var File_lab_servo_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDutManagerServiceServer ¶
func RegisterDutManagerServiceServer(s grpc.ServiceRegistrar, srv DutManagerServiceServer)
func RegisterDutManagerStorageServiceServer ¶
func RegisterDutManagerStorageServiceServer(s grpc.ServiceRegistrar, srv DutManagerStorageServiceServer)
Types ¶
type Audio ¶
type Audio struct { // Indicate if the DUT is housed in an audio box to record / replay audio // for audio testing. AudioBox bool `protobuf:"varint,1,opt,name=audio_box,json=audioBox,proto3" json:"audio_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 AudioCable bool `protobuf:"varint,3,opt,name=audio_cable,json=audioCable,proto3" json:"audio_cable,omitempty"` // contains filtered or unexported fields }
Next Tag: 4
func (*Audio) Descriptor
deprecated
func (*Audio) GetAudioBox ¶
func (*Audio) GetAudioCable ¶
func (*Audio) ProtoMessage ¶
func (*Audio) ProtoMessage()
func (*Audio) ProtoReflect ¶
func (x *Audio) ProtoReflect() protoreflect.Message
type Cable ¶
type Cable struct { Type CableType `protobuf:"varint,1,opt,name=type,proto3,enum=lab.CableType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Cable) Descriptor
deprecated
func (*Cable) ProtoMessage ¶
func (*Cable) ProtoMessage()
func (*Cable) ProtoReflect ¶
func (x *Cable) ProtoReflect() protoreflect.Message
type CableType ¶
type CableType int32
func (CableType) Descriptor ¶
func (CableType) Descriptor() protoreflect.EnumDescriptor
func (CableType) EnumDescriptor
deprecated
func (CableType) Number ¶
func (x CableType) Number() protoreflect.EnumNumber
func (CableType) Type ¶
func (CableType) Type() protoreflect.EnumType
type Camera ¶
type Camera struct { CameraType CameraType `protobuf:"varint,1,opt,name=camera_type,json=cameraType,proto3,enum=lab.CameraType" json:"camera_type,omitempty"` // contains filtered or unexported fields }
Next Tag: 2
func (*Camera) Descriptor
deprecated
func (*Camera) GetCameraType ¶
func (x *Camera) GetCameraType() CameraType
func (*Camera) ProtoMessage ¶
func (*Camera) ProtoMessage()
func (*Camera) ProtoReflect ¶
func (x *Camera) ProtoReflect() protoreflect.Message
type CameraType ¶
type CameraType int32
Next Tag: 3
const ( CameraType_CAMERA_INVALID CameraType = 0 // camera Huddly GO CameraType_CAMERA_HUDDLY CameraType = 1 // camera Logitech PTZ Pro 2 CameraType_CAMERA_PTZPRO2 CameraType = 2 )
func (CameraType) Descriptor ¶
func (CameraType) Descriptor() protoreflect.EnumDescriptor
func (CameraType) Enum ¶
func (x CameraType) Enum() *CameraType
func (CameraType) EnumDescriptor
deprecated
func (CameraType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CameraType.Descriptor instead.
func (CameraType) Number ¶
func (x CameraType) Number() protoreflect.EnumNumber
func (CameraType) String ¶
func (x CameraType) String() string
func (CameraType) Type ¶
func (CameraType) Type() protoreflect.EnumType
type Camerabox ¶
type Camerabox struct { Facing Camerabox_Facing `protobuf:"varint,1,opt,name=facing,proto3,enum=lab.Camerabox_Facing" json:"facing,omitempty"` Light Camerabox_Light `protobuf:"varint,2,opt,name=light,proto3,enum=lab.Camerabox_Light" json:"light,omitempty"` // contains filtered or unexported fields }
Next Tag: 3
func (*Camerabox) Descriptor
deprecated
func (*Camerabox) GetFacing ¶
func (x *Camerabox) GetFacing() Camerabox_Facing
func (*Camerabox) GetLight ¶
func (x *Camerabox) GetLight() Camerabox_Light
func (*Camerabox) ProtoMessage ¶
func (*Camerabox) ProtoMessage()
func (*Camerabox) ProtoReflect ¶
func (x *Camerabox) ProtoReflect() protoreflect.Message
type Camerabox_Facing ¶
type Camerabox_Facing int32
Facing of DUT's camera to be tested whose FOV should cover chart tablet's screen. Next Tag: 3
const ( Camerabox_FACING_UNKNOWN Camerabox_Facing = 0 // DUT's back camera is facing to chart tablet. Camerabox_FACING_BACK Camerabox_Facing = 1 // DUT's front camera is facing to chart tablet. Camerabox_FACING_FRONT Camerabox_Facing = 2 )
func (Camerabox_Facing) Descriptor ¶
func (Camerabox_Facing) Descriptor() protoreflect.EnumDescriptor
func (Camerabox_Facing) Enum ¶
func (x Camerabox_Facing) Enum() *Camerabox_Facing
func (Camerabox_Facing) EnumDescriptor
deprecated
func (Camerabox_Facing) EnumDescriptor() ([]byte, []int)
Deprecated: Use Camerabox_Facing.Descriptor instead.
func (Camerabox_Facing) Number ¶
func (x Camerabox_Facing) Number() protoreflect.EnumNumber
func (Camerabox_Facing) String ¶
func (x Camerabox_Facing) String() string
func (Camerabox_Facing) Type ¶
func (Camerabox_Facing) Type() protoreflect.EnumType
type Camerabox_Light ¶
type Camerabox_Light int32
Light provision of camerabox, if LED is present or not. Next Tag: 3
const ( Camerabox_LIGHT_UNKNOWN Camerabox_Light = 0 // Camerabox has LED light provisioned. Camerabox_LIGHT_LED Camerabox_Light = 1 // Camerabox do not have LED light provision. Camerabox_LIGHT_NOLED Camerabox_Light = 2 )
func (Camerabox_Light) Descriptor ¶
func (Camerabox_Light) Descriptor() protoreflect.EnumDescriptor
func (Camerabox_Light) Enum ¶
func (x Camerabox_Light) Enum() *Camerabox_Light
func (Camerabox_Light) EnumDescriptor
deprecated
func (Camerabox_Light) EnumDescriptor() ([]byte, []int)
Deprecated: Use Camerabox_Light.Descriptor instead.
func (Camerabox_Light) Number ¶
func (x Camerabox_Light) Number() protoreflect.EnumNumber
func (Camerabox_Light) String ¶
func (x Camerabox_Light) String() string
func (Camerabox_Light) Type ¶
func (Camerabox_Light) Type() protoreflect.EnumType
type Chameleon ¶
type Chameleon struct { ChameleonPeripherals []ChameleonType `` /* 152-byte string literal not displayed */ // Indicate if there's audio_board in the chameleon. AudioBoard bool `protobuf:"varint,2,opt,name=audio_board,json=audioBoard,proto3" json:"audio_board,omitempty"` Hostname string `protobuf:"bytes,4,opt,name=hostname,proto3" json:"hostname,omitempty"` // Remote Power Management for chameleon device. Rpm *OSRPM `protobuf:"bytes,5,opt,name=rpm,proto3" json:"rpm,omitempty"` AudioboxJackplugger Chameleon_AudioBoxJackPlugger `` /* 158-byte string literal not displayed */ // Indicate the type of audio cable TrrsType Chameleon_TRRSType `protobuf:"varint,7,opt,name=trrs_type,json=trrsType,proto3,enum=lab.Chameleon_TRRSType" json:"trrs_type,omitempty"` // contains filtered or unexported fields }
Next Tag: 8
func (*Chameleon) Descriptor
deprecated
func (*Chameleon) GetAudioBoard ¶
func (*Chameleon) GetAudioboxJackplugger ¶
func (x *Chameleon) GetAudioboxJackplugger() Chameleon_AudioBoxJackPlugger
func (*Chameleon) GetChameleonPeripherals ¶
func (x *Chameleon) GetChameleonPeripherals() []ChameleonType
func (*Chameleon) GetHostname ¶
func (*Chameleon) GetTrrsType ¶
func (x *Chameleon) GetTrrsType() Chameleon_TRRSType
func (*Chameleon) ProtoMessage ¶
func (*Chameleon) ProtoMessage()
func (*Chameleon) ProtoReflect ¶
func (x *Chameleon) ProtoReflect() protoreflect.Message
type ChameleonType ¶
type ChameleonType int32
Next Tag: 12
const ( ChameleonType_CHAMELEON_TYPE_INVALID ChameleonType = 0 ChameleonType_CHAMELEON_TYPE_DP ChameleonType = 2 // Deprecated: Do not use. ChameleonType_CHAMELEON_TYPE_DP_HDMI ChameleonType = 3 // Deprecated: Do not use. ChameleonType_CHAMELEON_TYPE_VGA ChameleonType = 4 ChameleonType_CHAMELEON_TYPE_HDMI ChameleonType = 5 ChameleonType_CHAMELEON_TYPE_V2 ChameleonType = 9 ChameleonType_CHAMELEON_TYPE_V3 ChameleonType = 10 ChameleonType_CHAMELEON_TYPE_RPI ChameleonType = 11 )
func (ChameleonType) Descriptor ¶
func (ChameleonType) Descriptor() protoreflect.EnumDescriptor
func (ChameleonType) Enum ¶
func (x ChameleonType) Enum() *ChameleonType
func (ChameleonType) EnumDescriptor
deprecated
func (ChameleonType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChameleonType.Descriptor instead.
func (ChameleonType) Number ¶
func (x ChameleonType) Number() protoreflect.EnumNumber
func (ChameleonType) String ¶
func (x ChameleonType) String() string
func (ChameleonType) Type ¶
func (ChameleonType) Type() protoreflect.EnumType
type Chameleon_AudioBoxJackPlugger ¶
type Chameleon_AudioBoxJackPlugger int32
Indicate the audio box jack plugger state Next Tag: 4
const ( Chameleon_AUDIOBOX_JACKPLUGGER_UNSPECIFIED Chameleon_AudioBoxJackPlugger = 0 Chameleon_AUDIOBOX_JACKPLUGGER_WORKING Chameleon_AudioBoxJackPlugger = 1 Chameleon_AUDIOBOX_JACKPLUGGER_BROKEN Chameleon_AudioBoxJackPlugger = 2 Chameleon_AUDIOBOX_JACKPLUGGER_NOT_APPLICABLE Chameleon_AudioBoxJackPlugger = 3 )
func (Chameleon_AudioBoxJackPlugger) Descriptor ¶
func (Chameleon_AudioBoxJackPlugger) Descriptor() protoreflect.EnumDescriptor
func (Chameleon_AudioBoxJackPlugger) Enum ¶
func (x Chameleon_AudioBoxJackPlugger) Enum() *Chameleon_AudioBoxJackPlugger
func (Chameleon_AudioBoxJackPlugger) EnumDescriptor
deprecated
func (Chameleon_AudioBoxJackPlugger) EnumDescriptor() ([]byte, []int)
Deprecated: Use Chameleon_AudioBoxJackPlugger.Descriptor instead.
func (Chameleon_AudioBoxJackPlugger) Number ¶
func (x Chameleon_AudioBoxJackPlugger) Number() protoreflect.EnumNumber
func (Chameleon_AudioBoxJackPlugger) String ¶
func (x Chameleon_AudioBoxJackPlugger) String() string
func (Chameleon_AudioBoxJackPlugger) Type ¶
func (Chameleon_AudioBoxJackPlugger) Type() protoreflect.EnumType
type Chameleon_TRRSType ¶
type Chameleon_TRRSType int32
Indicate the trrs types Next Tag: 3
const ( Chameleon_TRRS_TYPE_UNSPECIFIED Chameleon_TRRSType = 0 Chameleon_TRRS_TYPE_CTIA Chameleon_TRRSType = 1 Chameleon_TRRS_TYPE_OMTP Chameleon_TRRSType = 2 // Refer "go/wiki/Phone_connector_(audio)#TRRS_standards" for more types )
func (Chameleon_TRRSType) Descriptor ¶
func (Chameleon_TRRSType) Descriptor() protoreflect.EnumDescriptor
func (Chameleon_TRRSType) Enum ¶
func (x Chameleon_TRRSType) Enum() *Chameleon_TRRSType
func (Chameleon_TRRSType) EnumDescriptor
deprecated
func (Chameleon_TRRSType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Chameleon_TRRSType.Descriptor instead.
func (Chameleon_TRRSType) Number ¶
func (x Chameleon_TRRSType) Number() protoreflect.EnumNumber
func (Chameleon_TRRSType) String ¶
func (x Chameleon_TRRSType) String() string
func (Chameleon_TRRSType) Type ¶
func (Chameleon_TRRSType) Type() protoreflect.EnumType
type ChromeOSDevice ¶
type ChromeOSDevice struct { // A unique ID for chromeos device, a randomly generated uuid or AssetTag. Id *ChromeOSDeviceID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` SerialNumber string `protobuf:"bytes,2,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` ManufacturingId *manufacturing.ConfigID `protobuf:"bytes,3,opt,name=manufacturing_id,json=manufacturingId,proto3" json:"manufacturing_id,omitempty"` // Device config identifiers. // These values will be extracted from DUT and joinable to device config. DeviceConfigId *device.ConfigId `protobuf:"bytes,4,opt,name=device_config_id,json=deviceConfigId,proto3" json:"device_config_id,omitempty"` // Types that are assignable to Device: // *ChromeOSDevice_Dut // *ChromeOSDevice_Labstation Device isChromeOSDevice_Device `protobuf_oneof:"device"` // contains filtered or unexported fields }
Next Tag: 7
func (*ChromeOSDevice) Descriptor
deprecated
func (*ChromeOSDevice) Descriptor() ([]byte, []int)
Deprecated: Use ChromeOSDevice.ProtoReflect.Descriptor instead.
func (*ChromeOSDevice) GetDevice ¶
func (m *ChromeOSDevice) GetDevice() isChromeOSDevice_Device
func (*ChromeOSDevice) GetDeviceConfigId ¶
func (x *ChromeOSDevice) GetDeviceConfigId() *device.ConfigId
func (*ChromeOSDevice) GetDut ¶
func (x *ChromeOSDevice) GetDut() *DeviceUnderTest
func (*ChromeOSDevice) GetId ¶
func (x *ChromeOSDevice) GetId() *ChromeOSDeviceID
func (*ChromeOSDevice) GetLabstation ¶
func (x *ChromeOSDevice) GetLabstation() *Labstation
func (*ChromeOSDevice) GetManufacturingId ¶
func (x *ChromeOSDevice) GetManufacturingId() *manufacturing.ConfigID
func (*ChromeOSDevice) GetSerialNumber ¶
func (x *ChromeOSDevice) GetSerialNumber() string
func (*ChromeOSDevice) ProtoMessage ¶
func (*ChromeOSDevice) ProtoMessage()
func (*ChromeOSDevice) ProtoReflect ¶
func (x *ChromeOSDevice) ProtoReflect() protoreflect.Message
func (*ChromeOSDevice) Reset ¶
func (x *ChromeOSDevice) Reset()
func (*ChromeOSDevice) String ¶
func (x *ChromeOSDevice) String() string
type ChromeOSDeviceID ¶
type ChromeOSDeviceID struct { // A unique ID for chromeos device, a randomly generated uuid or AssetTag. Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ChromeOSDeviceID) Descriptor
deprecated
func (*ChromeOSDeviceID) Descriptor() ([]byte, []int)
Deprecated: Use ChromeOSDeviceID.ProtoReflect.Descriptor instead.
func (*ChromeOSDeviceID) GetValue ¶
func (x *ChromeOSDeviceID) GetValue() string
func (*ChromeOSDeviceID) ProtoMessage ¶
func (*ChromeOSDeviceID) ProtoMessage()
func (*ChromeOSDeviceID) ProtoReflect ¶
func (x *ChromeOSDeviceID) ProtoReflect() protoreflect.Message
func (*ChromeOSDeviceID) Reset ¶
func (x *ChromeOSDeviceID) Reset()
func (*ChromeOSDeviceID) String ¶
func (x *ChromeOSDeviceID) String() string
type ChromeOSDevice_Dut ¶
type ChromeOSDevice_Dut struct {
Dut *DeviceUnderTest `protobuf:"bytes,5,opt,name=dut,proto3,oneof"`
}
type ChromeOSDevice_Labstation ¶
type ChromeOSDevice_Labstation struct {
Labstation *Labstation `protobuf:"bytes,6,opt,name=labstation,proto3,oneof"`
}
type CreateDutRequest ¶
type CreateDutRequest struct { Dut *ManagedDut `protobuf:"bytes,1,opt,name=dut,proto3" json:"dut,omitempty"` // contains filtered or unexported fields }
func (*CreateDutRequest) Descriptor
deprecated
func (*CreateDutRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDutRequest.ProtoReflect.Descriptor instead.
func (*CreateDutRequest) GetDut ¶
func (x *CreateDutRequest) GetDut() *ManagedDut
func (*CreateDutRequest) ProtoMessage ¶
func (*CreateDutRequest) ProtoMessage()
func (*CreateDutRequest) ProtoReflect ¶
func (x *CreateDutRequest) ProtoReflect() protoreflect.Message
func (*CreateDutRequest) Reset ¶
func (x *CreateDutRequest) Reset()
func (*CreateDutRequest) String ¶
func (x *CreateDutRequest) String() string
type CreateDutResponse ¶
type CreateDutResponse struct {
// contains filtered or unexported fields
}
func (*CreateDutResponse) Descriptor
deprecated
func (*CreateDutResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateDutResponse.ProtoReflect.Descriptor instead.
func (*CreateDutResponse) ProtoMessage ¶
func (*CreateDutResponse) ProtoMessage()
func (*CreateDutResponse) ProtoReflect ¶
func (x *CreateDutResponse) ProtoReflect() protoreflect.Message
func (*CreateDutResponse) Reset ¶
func (x *CreateDutResponse) Reset()
func (*CreateDutResponse) String ¶
func (x *CreateDutResponse) String() string
type CreateMManagedDutMetadata ¶
type CreateMManagedDutMetadata struct {
// contains filtered or unexported fields
}
func (*CreateMManagedDutMetadata) Descriptor
deprecated
func (*CreateMManagedDutMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateMManagedDutMetadata.ProtoReflect.Descriptor instead.
func (*CreateMManagedDutMetadata) ProtoMessage ¶
func (*CreateMManagedDutMetadata) ProtoMessage()
func (*CreateMManagedDutMetadata) ProtoReflect ¶
func (x *CreateMManagedDutMetadata) ProtoReflect() protoreflect.Message
func (*CreateMManagedDutMetadata) Reset ¶
func (x *CreateMManagedDutMetadata) Reset()
func (*CreateMManagedDutMetadata) String ¶
func (x *CreateMManagedDutMetadata) String() string
type CreateManagedDutMetadata ¶
type CreateManagedDutMetadata struct {
// contains filtered or unexported fields
}
func (*CreateManagedDutMetadata) Descriptor
deprecated
func (*CreateManagedDutMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateManagedDutMetadata.ProtoReflect.Descriptor instead.
func (*CreateManagedDutMetadata) ProtoMessage ¶
func (*CreateManagedDutMetadata) ProtoMessage()
func (*CreateManagedDutMetadata) ProtoReflect ¶
func (x *CreateManagedDutMetadata) ProtoReflect() protoreflect.Message
func (*CreateManagedDutMetadata) Reset ¶
func (x *CreateManagedDutMetadata) Reset()
func (*CreateManagedDutMetadata) String ¶
func (x *CreateManagedDutMetadata) String() string
type CreateManagedDutRequest ¶
type CreateManagedDutRequest struct { Name *NetworkIdentifier `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // contains filtered or unexported fields }
func (*CreateManagedDutRequest) Descriptor
deprecated
func (*CreateManagedDutRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateManagedDutRequest.ProtoReflect.Descriptor instead.
func (*CreateManagedDutRequest) GetDisplayName ¶
func (x *CreateManagedDutRequest) GetDisplayName() string
func (*CreateManagedDutRequest) GetName ¶
func (x *CreateManagedDutRequest) GetName() *NetworkIdentifier
func (*CreateManagedDutRequest) ProtoMessage ¶
func (*CreateManagedDutRequest) ProtoMessage()
func (*CreateManagedDutRequest) ProtoReflect ¶
func (x *CreateManagedDutRequest) ProtoReflect() protoreflect.Message
func (*CreateManagedDutRequest) Reset ¶
func (x *CreateManagedDutRequest) Reset()
func (*CreateManagedDutRequest) String ¶
func (x *CreateManagedDutRequest) String() string
type CreateManagedDutResponse ¶
type CreateManagedDutResponse struct {
// contains filtered or unexported fields
}
func (*CreateManagedDutResponse) Descriptor
deprecated
func (*CreateManagedDutResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateManagedDutResponse.ProtoReflect.Descriptor instead.
func (*CreateManagedDutResponse) ProtoMessage ¶
func (*CreateManagedDutResponse) ProtoMessage()
func (*CreateManagedDutResponse) ProtoReflect ¶
func (x *CreateManagedDutResponse) ProtoReflect() protoreflect.Message
func (*CreateManagedDutResponse) Reset ¶
func (x *CreateManagedDutResponse) Reset()
func (*CreateManagedDutResponse) String ¶
func (x *CreateManagedDutResponse) String() string
type DeleteDutRequest ¶
type DeleteDutRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteDutRequest) Descriptor
deprecated
func (*DeleteDutRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDutRequest.ProtoReflect.Descriptor instead.
func (*DeleteDutRequest) GetName ¶
func (x *DeleteDutRequest) GetName() string
func (*DeleteDutRequest) ProtoMessage ¶
func (*DeleteDutRequest) ProtoMessage()
func (*DeleteDutRequest) ProtoReflect ¶
func (x *DeleteDutRequest) ProtoReflect() protoreflect.Message
func (*DeleteDutRequest) Reset ¶
func (x *DeleteDutRequest) Reset()
func (*DeleteDutRequest) String ¶
func (x *DeleteDutRequest) String() string
type DeleteDutResponse ¶
type DeleteDutResponse struct {
// contains filtered or unexported fields
}
func (*DeleteDutResponse) Descriptor
deprecated
func (*DeleteDutResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDutResponse.ProtoReflect.Descriptor instead.
func (*DeleteDutResponse) ProtoMessage ¶
func (*DeleteDutResponse) ProtoMessage()
func (*DeleteDutResponse) ProtoReflect ¶
func (x *DeleteDutResponse) ProtoReflect() protoreflect.Message
func (*DeleteDutResponse) Reset ¶
func (x *DeleteDutResponse) Reset()
func (*DeleteDutResponse) String ¶
func (x *DeleteDutResponse) String() string
type DeleteManagedDutRequest ¶
type DeleteManagedDutRequest struct { Name *NetworkIdentifier `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteManagedDutRequest) Descriptor
deprecated
func (*DeleteManagedDutRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteManagedDutRequest.ProtoReflect.Descriptor instead.
func (*DeleteManagedDutRequest) GetName ¶
func (x *DeleteManagedDutRequest) GetName() *NetworkIdentifier
func (*DeleteManagedDutRequest) ProtoMessage ¶
func (*DeleteManagedDutRequest) ProtoMessage()
func (*DeleteManagedDutRequest) ProtoReflect ¶
func (x *DeleteManagedDutRequest) ProtoReflect() protoreflect.Message
func (*DeleteManagedDutRequest) Reset ¶
func (x *DeleteManagedDutRequest) Reset()
func (*DeleteManagedDutRequest) String ¶
func (x *DeleteManagedDutRequest) String() string
type DeleteManagedDutResponse ¶
type DeleteManagedDutResponse struct {
// contains filtered or unexported fields
}
func (*DeleteManagedDutResponse) Descriptor
deprecated
func (*DeleteManagedDutResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteManagedDutResponse.ProtoReflect.Descriptor instead.
func (*DeleteManagedDutResponse) ProtoMessage ¶
func (*DeleteManagedDutResponse) ProtoMessage()
func (*DeleteManagedDutResponse) ProtoReflect ¶
func (x *DeleteManagedDutResponse) ProtoReflect() protoreflect.Message
func (*DeleteManagedDutResponse) Reset ¶
func (x *DeleteManagedDutResponse) Reset()
func (*DeleteManagedDutResponse) String ¶
func (x *DeleteManagedDutResponse) String() string
type DeviceAction ¶
type DeviceAction struct { // This field is informational only. Do not assume this as a real user // identity in any auth domain. By string `protobuf:"bytes,1,opt,name=by,proto3" json:"by,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` BeginTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"` ExpireTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // contains filtered or unexported fields }
Device action is for adding/removing/locking lab devices/servers. NEXT TAG: 5
func (*DeviceAction) Descriptor
deprecated
func (*DeviceAction) Descriptor() ([]byte, []int)
Deprecated: Use DeviceAction.ProtoReflect.Descriptor instead.
func (*DeviceAction) GetBeginTime ¶
func (x *DeviceAction) GetBeginTime() *timestamppb.Timestamp
func (*DeviceAction) GetBy ¶
func (x *DeviceAction) GetBy() string
func (*DeviceAction) GetExpireTime ¶
func (x *DeviceAction) GetExpireTime() *timestamppb.Timestamp
func (*DeviceAction) GetReason ¶
func (x *DeviceAction) GetReason() string
func (*DeviceAction) ProtoMessage ¶
func (*DeviceAction) ProtoMessage()
func (*DeviceAction) ProtoReflect ¶
func (x *DeviceAction) ProtoReflect() protoreflect.Message
func (*DeviceAction) Reset ¶
func (x *DeviceAction) Reset()
func (*DeviceAction) String ¶
func (x *DeviceAction) String() string
type DeviceUnderTest ¶
type DeviceUnderTest struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` Peripherals *Peripherals `protobuf:"bytes,2,opt,name=peripherals,proto3" json:"peripherals,omitempty"` CriticalPools []DeviceUnderTest_DUTPool `` /* 141-byte string literal not displayed */ Pools []string `protobuf:"bytes,4,rep,name=pools,proto3" json:"pools,omitempty"` Licenses []*License `protobuf:"bytes,5,rep,name=licenses,proto3" json:"licenses,omitempty"` // contains filtered or unexported fields }
Next Tag: 6
func (*DeviceUnderTest) Descriptor
deprecated
func (*DeviceUnderTest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceUnderTest.ProtoReflect.Descriptor instead.
func (*DeviceUnderTest) GetCriticalPools ¶
func (x *DeviceUnderTest) GetCriticalPools() []DeviceUnderTest_DUTPool
func (*DeviceUnderTest) GetHostname ¶
func (x *DeviceUnderTest) GetHostname() string
func (*DeviceUnderTest) GetLicenses ¶
func (x *DeviceUnderTest) GetLicenses() []*License
func (*DeviceUnderTest) GetPeripherals ¶
func (x *DeviceUnderTest) GetPeripherals() *Peripherals
func (*DeviceUnderTest) GetPools ¶
func (x *DeviceUnderTest) GetPools() []string
func (*DeviceUnderTest) ProtoMessage ¶
func (*DeviceUnderTest) ProtoMessage()
func (*DeviceUnderTest) ProtoReflect ¶
func (x *DeviceUnderTest) ProtoReflect() protoreflect.Message
func (*DeviceUnderTest) Reset ¶
func (x *DeviceUnderTest) Reset()
func (*DeviceUnderTest) String ¶
func (x *DeviceUnderTest) String() string
type DeviceUnderTest_DUTPool ¶
type DeviceUnderTest_DUTPool int32
critical_pools are pool labels that the builders are dependent on, and that the cros-infra team is responsible for managing explicitly. All other pool labels used for adhoc labeling of DUTs go into self_serve_pools. TO BE DELETED
const ( DeviceUnderTest_DUT_POOL_INVALID DeviceUnderTest_DUTPool = 0 DeviceUnderTest_DUT_POOL_CQ DeviceUnderTest_DUTPool = 1 DeviceUnderTest_DUT_POOL_BVT DeviceUnderTest_DUTPool = 2 DeviceUnderTest_DUT_POOL_SUITES DeviceUnderTest_DUTPool = 3 DeviceUnderTest_DUT_POOL_CTS DeviceUnderTest_DUTPool = 4 DeviceUnderTest_DUT_POOL_CTS_PERBUILD DeviceUnderTest_DUTPool = 5 DeviceUnderTest_DUT_POOL_CONTINUOUS DeviceUnderTest_DUTPool = 6 DeviceUnderTest_DUT_POOL_ARC_PRESUBMIT DeviceUnderTest_DUTPool = 7 DeviceUnderTest_DUT_POOL_QUOTA DeviceUnderTest_DUTPool = 8 )
func (DeviceUnderTest_DUTPool) Descriptor ¶
func (DeviceUnderTest_DUTPool) Descriptor() protoreflect.EnumDescriptor
func (DeviceUnderTest_DUTPool) Enum ¶
func (x DeviceUnderTest_DUTPool) Enum() *DeviceUnderTest_DUTPool
func (DeviceUnderTest_DUTPool) EnumDescriptor
deprecated
func (DeviceUnderTest_DUTPool) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceUnderTest_DUTPool.Descriptor instead.
func (DeviceUnderTest_DUTPool) Number ¶
func (x DeviceUnderTest_DUTPool) Number() protoreflect.EnumNumber
func (DeviceUnderTest_DUTPool) String ¶
func (x DeviceUnderTest_DUTPool) String() string
func (DeviceUnderTest_DUTPool) Type ¶
func (DeviceUnderTest_DUTPool) Type() protoreflect.EnumType
type DutManagerServiceClient ¶
type DutManagerServiceClient interface { // Give the DutManager control over a Dut. CreateManagedDut(ctx context.Context, in *CreateManagedDutRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) DeleteManagedDut(ctx context.Context, in *DeleteManagedDutRequest, opts ...grpc.CallOption) (*DeleteManagedDutResponse, error) // List all the Dut's and their current state. // this is a MVP - future versions will allow filter params to be // passed in so you can list all the failed Dut's etc/ // The state history will not be populated in List requests. ListManagedDuts(ctx context.Context, in *ListManagedDutsRequest, opts ...grpc.CallOption) (*ListManagedDutsResponse, error) // Get details including state history for a given Dut. GetManagedDut(ctx context.Context, in *GetManagedDutRequest, opts ...grpc.CallOption) (*GetManagedDutResponse, error) UpdateManagedDut(ctx context.Context, in *UpdateManagedDutRequest, opts ...grpc.CallOption) (*UpdateManagedDutResponse, error) // Tests request temporary ownership of a Dut to run test on. // test metadata specifies what type of hardware/software is required. // Leases should be given a timeout, ideally the request would indicate the // length of lease required and that lease time would be used. LeaseManagedDut(ctx context.Context, in *LeaseManagedDutRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // When a test is done with a Dut it should return the lease. ReturnManagedDutLease(ctx context.Context, in *ReturnManagedDutLeaseRequest, opts ...grpc.CallOption) (*ReturnManagedDutLeaseResponse, error) // If a test needs to extend the time it owns the Dut is should renew // the lease. ExtendManagedDutLease(ctx context.Context, in *ExtendManagedDutLeaseRequest, opts ...grpc.CallOption) (*ExtendManagedDutLeaseResponse, error) // Provision a Dut, used in the Moblab "flashstation" user journey. ProvisionManagedDut(ctx context.Context, in *ProvisionManagedDutRequest, opts ...grpc.CallOption) (*ProvisionManagedDutResponse, error) // Request that a Dut be verified, if the verify fails it should be // put into repairs. The call returns when the verification has started // not when complete/repaired. // Use case is when a Dut has been manually repaired this is how a user // can request that the Dut be checked and returned to READY state. VerifyManagedDut(ctx context.Context, in *VerifyManagedDutRequest, opts ...grpc.CallOption) (*VerifyManagedDutResponse, error) }
DutManagerServiceClient is the client API for DutManagerService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDutManagerServiceClient ¶
func NewDutManagerServiceClient(cc grpc.ClientConnInterface) DutManagerServiceClient
type DutManagerServiceServer ¶
type DutManagerServiceServer interface { // Give the DutManager control over a Dut. CreateManagedDut(context.Context, *CreateManagedDutRequest) (*longrunning.Operation, error) DeleteManagedDut(context.Context, *DeleteManagedDutRequest) (*DeleteManagedDutResponse, error) // List all the Dut's and their current state. // this is a MVP - future versions will allow filter params to be // passed in so you can list all the failed Dut's etc/ // The state history will not be populated in List requests. ListManagedDuts(context.Context, *ListManagedDutsRequest) (*ListManagedDutsResponse, error) // Get details including state history for a given Dut. GetManagedDut(context.Context, *GetManagedDutRequest) (*GetManagedDutResponse, error) UpdateManagedDut(context.Context, *UpdateManagedDutRequest) (*UpdateManagedDutResponse, error) // Tests request temporary ownership of a Dut to run test on. // test metadata specifies what type of hardware/software is required. // Leases should be given a timeout, ideally the request would indicate the // length of lease required and that lease time would be used. LeaseManagedDut(context.Context, *LeaseManagedDutRequest) (*longrunning.Operation, error) // When a test is done with a Dut it should return the lease. ReturnManagedDutLease(context.Context, *ReturnManagedDutLeaseRequest) (*ReturnManagedDutLeaseResponse, error) // If a test needs to extend the time it owns the Dut is should renew // the lease. ExtendManagedDutLease(context.Context, *ExtendManagedDutLeaseRequest) (*ExtendManagedDutLeaseResponse, error) // Provision a Dut, used in the Moblab "flashstation" user journey. ProvisionManagedDut(context.Context, *ProvisionManagedDutRequest) (*ProvisionManagedDutResponse, error) // Request that a Dut be verified, if the verify fails it should be // put into repairs. The call returns when the verification has started // not when complete/repaired. // Use case is when a Dut has been manually repaired this is how a user // can request that the Dut be checked and returned to READY state. VerifyManagedDut(context.Context, *VerifyManagedDutRequest) (*VerifyManagedDutResponse, error) // contains filtered or unexported methods }
DutManagerServiceServer is the server API for DutManagerService service. All implementations must embed UnimplementedDutManagerServiceServer for forward compatibility
type DutManagerStorageServiceClient ¶
type DutManagerStorageServiceClient interface { CreateDut(ctx context.Context, in *CreateDutRequest, opts ...grpc.CallOption) (*CreateDutResponse, error) DeleteDut(ctx context.Context, in *DeleteDutRequest, opts ...grpc.CallOption) (*DeleteDutResponse, error) ListDut(ctx context.Context, in *ListDutRequest, opts ...grpc.CallOption) (*ListDutResponse, error) GetDut(ctx context.Context, in *GetDutRequest, opts ...grpc.CallOption) (*GetDutResponse, error) UpdateDut(ctx context.Context, in *UpdateDutRequest, opts ...grpc.CallOption) (*UpdateDutResponse, error) }
DutManagerStorageServiceClient is the client API for DutManagerStorageService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDutManagerStorageServiceClient ¶
func NewDutManagerStorageServiceClient(cc grpc.ClientConnInterface) DutManagerStorageServiceClient
type DutManagerStorageServiceServer ¶
type DutManagerStorageServiceServer interface { CreateDut(context.Context, *CreateDutRequest) (*CreateDutResponse, error) DeleteDut(context.Context, *DeleteDutRequest) (*DeleteDutResponse, error) ListDut(context.Context, *ListDutRequest) (*ListDutResponse, error) GetDut(context.Context, *GetDutRequest) (*GetDutResponse, error) UpdateDut(context.Context, *UpdateDutRequest) (*UpdateDutResponse, error) // contains filtered or unexported methods }
DutManagerStorageServiceServer is the server API for DutManagerStorageService service. All implementations must embed UnimplementedDutManagerStorageServiceServer for forward compatibility
type DutState ¶
type DutState struct { Id *ChromeOSDeviceID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Servo PeripheralState `protobuf:"varint,2,opt,name=servo,proto3,enum=lab.PeripheralState" json:"servo,omitempty"` Chameleon PeripheralState `protobuf:"varint,3,opt,name=chameleon,proto3,enum=lab.PeripheralState" json:"chameleon,omitempty"` AudioLoopbackDongle PeripheralState `` /* 146-byte string literal not displayed */ // Indicate how many working bluetooth btpeer for a device. WorkingBluetoothBtpeer int32 `` /* 130-byte string literal not displayed */ Cr50Phase DutState_CR50Phase `protobuf:"varint,6,opt,name=cr50_phase,json=cr50Phase,proto3,enum=lab.DutState_CR50Phase" json:"cr50_phase,omitempty"` // Detected based on the cr50 RW version that the DUT is running on. Cr50KeyEnv DutState_CR50KeyEnv `protobuf:"varint,7,opt,name=cr50_key_env,json=cr50KeyEnv,proto3,enum=lab.DutState_CR50KeyEnv" json:"cr50_key_env,omitempty"` // Detected during running admin tasks. StorageState HardwareState `protobuf:"varint,8,opt,name=storage_state,json=storageState,proto3,enum=lab.HardwareState" json:"storage_state,omitempty"` ServoUsbState HardwareState `` /* 126-byte string literal not displayed */ BatteryState HardwareState `protobuf:"varint,11,opt,name=battery_state,json=batteryState,proto3,enum=lab.HardwareState" json:"battery_state,omitempty"` WifiState HardwareState `protobuf:"varint,12,opt,name=wifi_state,json=wifiState,proto3,enum=lab.HardwareState" json:"wifi_state,omitempty"` BluetoothState HardwareState `` /* 128-byte string literal not displayed */ RpmState PeripheralState `protobuf:"varint,10,opt,name=rpm_state,json=rpmState,proto3,enum=lab.PeripheralState" json:"rpm_state,omitempty"` // contains filtered or unexported fields }
Next Tag: 14
func (*DutState) Descriptor
deprecated
func (*DutState) GetAudioLoopbackDongle ¶
func (x *DutState) GetAudioLoopbackDongle() PeripheralState
func (*DutState) GetBatteryState ¶
func (x *DutState) GetBatteryState() HardwareState
func (*DutState) GetBluetoothState ¶
func (x *DutState) GetBluetoothState() HardwareState
func (*DutState) GetChameleon ¶
func (x *DutState) GetChameleon() PeripheralState
func (*DutState) GetCr50KeyEnv ¶
func (x *DutState) GetCr50KeyEnv() DutState_CR50KeyEnv
func (*DutState) GetCr50Phase ¶
func (x *DutState) GetCr50Phase() DutState_CR50Phase
func (*DutState) GetId ¶
func (x *DutState) GetId() *ChromeOSDeviceID
func (*DutState) GetRpmState ¶
func (x *DutState) GetRpmState() PeripheralState
func (*DutState) GetServo ¶
func (x *DutState) GetServo() PeripheralState
func (*DutState) GetServoUsbState ¶
func (x *DutState) GetServoUsbState() HardwareState
func (*DutState) GetStorageState ¶
func (x *DutState) GetStorageState() HardwareState
func (*DutState) GetWifiState ¶
func (x *DutState) GetWifiState() HardwareState
func (*DutState) GetWorkingBluetoothBtpeer ¶
func (*DutState) ProtoMessage ¶
func (*DutState) ProtoMessage()
func (*DutState) ProtoReflect ¶
func (x *DutState) ProtoReflect() protoreflect.Message
type DutState_CR50KeyEnv ¶
type DutState_CR50KeyEnv int32
key env for cr50 RW version. Next Tag: 3
const ( DutState_CR50_KEYENV_INVALID DutState_CR50KeyEnv = 0 DutState_CR50_KEYENV_PROD DutState_CR50KeyEnv = 1 DutState_CR50_KEYENV_DEV DutState_CR50KeyEnv = 2 )
func (DutState_CR50KeyEnv) Descriptor ¶
func (DutState_CR50KeyEnv) Descriptor() protoreflect.EnumDescriptor
func (DutState_CR50KeyEnv) Enum ¶
func (x DutState_CR50KeyEnv) Enum() *DutState_CR50KeyEnv
func (DutState_CR50KeyEnv) EnumDescriptor
deprecated
func (DutState_CR50KeyEnv) EnumDescriptor() ([]byte, []int)
Deprecated: Use DutState_CR50KeyEnv.Descriptor instead.
func (DutState_CR50KeyEnv) Number ¶
func (x DutState_CR50KeyEnv) Number() protoreflect.EnumNumber
func (DutState_CR50KeyEnv) String ¶
func (x DutState_CR50KeyEnv) String() string
func (DutState_CR50KeyEnv) Type ¶
func (DutState_CR50KeyEnv) Type() protoreflect.EnumType
type DutState_CR50Phase ¶
type DutState_CR50Phase int32
CR50-related configs by definition shouldn't be a state config, but a build config. However, we don't have a way to source it from any external configuration system, and it's changed frequently enough to handle cr50 tests, which makes it basically impossible for manual updatings: See crbug.com/1057145 for the troubles it causes.
So we temporarily set it in state config so that repair job can update it. For further changes of it, please see tracking bug crbug.com/1057719.
phases for cr50 module. Next Tag: 3
const ( DutState_CR50_PHASE_INVALID DutState_CR50Phase = 0 DutState_CR50_PHASE_PREPVT DutState_CR50Phase = 1 DutState_CR50_PHASE_PVT DutState_CR50Phase = 2 )
func (DutState_CR50Phase) Descriptor ¶
func (DutState_CR50Phase) Descriptor() protoreflect.EnumDescriptor
func (DutState_CR50Phase) Enum ¶
func (x DutState_CR50Phase) Enum() *DutState_CR50Phase
func (DutState_CR50Phase) EnumDescriptor
deprecated
func (DutState_CR50Phase) EnumDescriptor() ([]byte, []int)
Deprecated: Use DutState_CR50Phase.Descriptor instead.
func (DutState_CR50Phase) Number ¶
func (x DutState_CR50Phase) Number() protoreflect.EnumNumber
func (DutState_CR50Phase) String ¶
func (x DutState_CR50Phase) String() string
func (DutState_CR50Phase) Type ¶
func (DutState_CR50Phase) Type() protoreflect.EnumType
type ExtendManagedDutLeaseRequest ¶
type ExtendManagedDutLeaseRequest struct { Name *NetworkIdentifier `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` LeaseLengthSecs int32 `protobuf:"varint,3,opt,name=lease_length_secs,json=leaseLengthSecs,proto3" json:"lease_length_secs,omitempty"` // contains filtered or unexported fields }
func (*ExtendManagedDutLeaseRequest) Descriptor
deprecated
func (*ExtendManagedDutLeaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExtendManagedDutLeaseRequest.ProtoReflect.Descriptor instead.
func (*ExtendManagedDutLeaseRequest) GetLeaseLengthSecs ¶
func (x *ExtendManagedDutLeaseRequest) GetLeaseLengthSecs() int32
func (*ExtendManagedDutLeaseRequest) GetName ¶
func (x *ExtendManagedDutLeaseRequest) GetName() *NetworkIdentifier
func (*ExtendManagedDutLeaseRequest) ProtoMessage ¶
func (*ExtendManagedDutLeaseRequest) ProtoMessage()
func (*ExtendManagedDutLeaseRequest) ProtoReflect ¶
func (x *ExtendManagedDutLeaseRequest) ProtoReflect() protoreflect.Message
func (*ExtendManagedDutLeaseRequest) Reset ¶
func (x *ExtendManagedDutLeaseRequest) Reset()
func (*ExtendManagedDutLeaseRequest) String ¶
func (x *ExtendManagedDutLeaseRequest) String() string
type ExtendManagedDutLeaseResponse ¶
type ExtendManagedDutLeaseResponse struct { ExpiryTimeSecs *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expiry_time_secs,json=expiryTimeSecs,proto3" json:"expiry_time_secs,omitempty"` // contains filtered or unexported fields }
func (*ExtendManagedDutLeaseResponse) Descriptor
deprecated
func (*ExtendManagedDutLeaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExtendManagedDutLeaseResponse.ProtoReflect.Descriptor instead.
func (*ExtendManagedDutLeaseResponse) GetExpiryTimeSecs ¶
func (x *ExtendManagedDutLeaseResponse) GetExpiryTimeSecs() *timestamppb.Timestamp
func (*ExtendManagedDutLeaseResponse) ProtoMessage ¶
func (*ExtendManagedDutLeaseResponse) ProtoMessage()
func (*ExtendManagedDutLeaseResponse) ProtoReflect ¶
func (x *ExtendManagedDutLeaseResponse) ProtoReflect() protoreflect.Message
func (*ExtendManagedDutLeaseResponse) Reset ¶
func (x *ExtendManagedDutLeaseResponse) Reset()
func (*ExtendManagedDutLeaseResponse) String ¶
func (x *ExtendManagedDutLeaseResponse) String() string
type GetDutRequest ¶
type GetDutRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetDutRequest) Descriptor
deprecated
func (*GetDutRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDutRequest.ProtoReflect.Descriptor instead.
func (*GetDutRequest) GetName ¶
func (x *GetDutRequest) GetName() string
func (*GetDutRequest) ProtoMessage ¶
func (*GetDutRequest) ProtoMessage()
func (*GetDutRequest) ProtoReflect ¶
func (x *GetDutRequest) ProtoReflect() protoreflect.Message
func (*GetDutRequest) Reset ¶
func (x *GetDutRequest) Reset()
func (*GetDutRequest) String ¶
func (x *GetDutRequest) String() string
type GetDutResponse ¶
type GetDutResponse struct { Dut *ManagedDut `protobuf:"bytes,1,opt,name=dut,proto3" json:"dut,omitempty"` // contains filtered or unexported fields }
func (*GetDutResponse) Descriptor
deprecated
func (*GetDutResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDutResponse.ProtoReflect.Descriptor instead.
func (*GetDutResponse) GetDut ¶
func (x *GetDutResponse) GetDut() *ManagedDut
func (*GetDutResponse) ProtoMessage ¶
func (*GetDutResponse) ProtoMessage()
func (*GetDutResponse) ProtoReflect ¶
func (x *GetDutResponse) ProtoReflect() protoreflect.Message
func (*GetDutResponse) Reset ¶
func (x *GetDutResponse) Reset()
func (*GetDutResponse) String ¶
func (x *GetDutResponse) String() string
type GetManagedDutRequest ¶
type GetManagedDutRequest struct { Name *NetworkIdentifier `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetManagedDutRequest) Descriptor
deprecated
func (*GetManagedDutRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetManagedDutRequest.ProtoReflect.Descriptor instead.
func (*GetManagedDutRequest) GetName ¶
func (x *GetManagedDutRequest) GetName() *NetworkIdentifier
func (*GetManagedDutRequest) ProtoMessage ¶
func (*GetManagedDutRequest) ProtoMessage()
func (*GetManagedDutRequest) ProtoReflect ¶
func (x *GetManagedDutRequest) ProtoReflect() protoreflect.Message
func (*GetManagedDutRequest) Reset ¶
func (x *GetManagedDutRequest) Reset()
func (*GetManagedDutRequest) String ¶
func (x *GetManagedDutRequest) String() string
type GetManagedDutResponse ¶
type GetManagedDutResponse struct { Dut *ManagedDut `protobuf:"bytes,1,opt,name=dut,proto3" json:"dut,omitempty"` // contains filtered or unexported fields }
func (*GetManagedDutResponse) Descriptor
deprecated
func (*GetManagedDutResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetManagedDutResponse.ProtoReflect.Descriptor instead.
func (*GetManagedDutResponse) GetDut ¶
func (x *GetManagedDutResponse) GetDut() *ManagedDut
func (*GetManagedDutResponse) ProtoMessage ¶
func (*GetManagedDutResponse) ProtoMessage()
func (*GetManagedDutResponse) ProtoReflect ¶
func (x *GetManagedDutResponse) ProtoReflect() protoreflect.Message
func (*GetManagedDutResponse) Reset ¶
func (x *GetManagedDutResponse) Reset()
func (*GetManagedDutResponse) String ¶
func (x *GetManagedDutResponse) String() string
type HardwareState ¶
type HardwareState int32
The states are using for DUT storage and USB-drive on servo. Next Tag: 5
const ( // keep for all unknown state by default. HardwareState_HARDWARE_UNKNOWN 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 HistoryRecord ¶
type HistoryRecord struct { State ManagedDut_ManagedState `protobuf:"varint,1,opt,name=state,proto3,enum=lab.ManagedDut_ManagedState" json:"state,omitempty"` StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Note string `protobuf:"bytes,4,opt,name=note,proto3" json:"note,omitempty"` LeaseOwner string `protobuf:"bytes,5,opt,name=lease_owner,json=leaseOwner,proto3" json:"lease_owner,omitempty"` // contains filtered or unexported fields }
func (*HistoryRecord) Descriptor
deprecated
func (*HistoryRecord) Descriptor() ([]byte, []int)
Deprecated: Use HistoryRecord.ProtoReflect.Descriptor instead.
func (*HistoryRecord) GetEndTime ¶
func (x *HistoryRecord) GetEndTime() *timestamppb.Timestamp
func (*HistoryRecord) GetLeaseOwner ¶
func (x *HistoryRecord) GetLeaseOwner() string
func (*HistoryRecord) GetNote ¶
func (x *HistoryRecord) GetNote() string
func (*HistoryRecord) GetStartTime ¶
func (x *HistoryRecord) GetStartTime() *timestamppb.Timestamp
func (*HistoryRecord) GetState ¶
func (x *HistoryRecord) GetState() ManagedDut_ManagedState
func (*HistoryRecord) ProtoMessage ¶
func (*HistoryRecord) ProtoMessage()
func (*HistoryRecord) ProtoReflect ¶
func (x *HistoryRecord) ProtoReflect() protoreflect.Message
func (*HistoryRecord) Reset ¶
func (x *HistoryRecord) Reset()
func (*HistoryRecord) String ¶
func (x *HistoryRecord) String() string
type LabpackInput ¶
type LabpackInput struct { // Unit name represents some device setup against which running the task. UnitName string `protobuf:"bytes,1,opt,name=unit_name,json=unitName,proto3" json:"unit_name,omitempty"` // Task name running against unit. TaskName string `protobuf:"bytes,2,opt,name=task_name,json=taskName,proto3" json:"task_name,omitempty"` // Enable recovery tells if recovery actions are enabled. EnableRecovery bool `protobuf:"varint,3,opt,name=enable_recovery,json=enableRecovery,proto3" json:"enable_recovery,omitempty"` // Update inventory tells if process ellow update inventory during execution. UpdateInventory bool `protobuf:"varint,4,opt,name=update_inventory,json=updateInventory,proto3" json:"update_inventory,omitempty"` // Admin service path to initialie local TLW. AdminService string `protobuf:"bytes,5,opt,name=admin_service,json=adminService,proto3" json:"admin_service,omitempty"` // Inventory service path to initialie local TLW. InventoryService string `protobuf:"bytes,6,opt,name=inventory_service,json=inventoryService,proto3" json:"inventory_service,omitempty"` // Do not use stepper during execution. NoStepper bool `protobuf:"varint,7,opt,name=no_stepper,json=noStepper,proto3" json:"no_stepper,omitempty"` // Do not use metrics during execution. NoMetrics bool `protobuf:"varint,9,opt,name=no_metrics,json=noMetrics,proto3" json:"no_metrics,omitempty"` // Custom configuration. Configuration string `protobuf:"bytes,8,opt,name=configuration,proto3" json:"configuration,omitempty"` // Namespace to use when fetching/updating DUT information InventoryNamespace string `protobuf:"bytes,10,opt,name=inventory_namespace,json=inventoryNamespace,proto3" json:"inventory_namespace,omitempty"` // bbid is the buildbucket id of the task that invoked us, primarily intended // for the ile-de-france use case. Bbid string `protobuf:"bytes,11,opt,name=bbid,proto3" json:"bbid,omitempty"` // swarming_task_id is the ID of the swarming task. SwarmingTaskId string `protobuf:"bytes,12,opt,name=swarming_task_id,json=swarmingTaskId,proto3" json:"swarming_task_id,omitempty"` // Caller identifies who or what called labpack or caused it to be executed. // Prototypical examples include "test_runner.py" or "cros_test_runner". Caller string `protobuf:"bytes,13,opt,name=caller,proto3" json:"caller,omitempty"` // Disable CFT initialization. Do not start CTR. // Default is initialize CFT. DisableCft bool `protobuf:"varint,14,opt,name=disable_cft,json=disableCft,proto3" json:"disable_cft,omitempty"` // contains filtered or unexported fields }
LabpackInput represents list of input parameters.
func (*LabpackInput) Descriptor
deprecated
func (*LabpackInput) Descriptor() ([]byte, []int)
Deprecated: Use LabpackInput.ProtoReflect.Descriptor instead.
func (*LabpackInput) GetAdminService ¶
func (x *LabpackInput) GetAdminService() string
func (*LabpackInput) GetBbid ¶
func (x *LabpackInput) GetBbid() string
func (*LabpackInput) GetCaller ¶
func (x *LabpackInput) GetCaller() string
func (*LabpackInput) GetConfiguration ¶
func (x *LabpackInput) GetConfiguration() string
func (*LabpackInput) GetDisableCft ¶
func (x *LabpackInput) GetDisableCft() bool
func (*LabpackInput) GetEnableRecovery ¶
func (x *LabpackInput) GetEnableRecovery() bool
func (*LabpackInput) GetInventoryNamespace ¶
func (x *LabpackInput) GetInventoryNamespace() string
func (*LabpackInput) GetInventoryService ¶
func (x *LabpackInput) GetInventoryService() string
func (*LabpackInput) GetNoMetrics ¶
func (x *LabpackInput) GetNoMetrics() bool
func (*LabpackInput) GetNoStepper ¶
func (x *LabpackInput) GetNoStepper() bool
func (*LabpackInput) GetSwarmingTaskId ¶
func (x *LabpackInput) GetSwarmingTaskId() string
func (*LabpackInput) GetTaskName ¶
func (x *LabpackInput) GetTaskName() string
func (*LabpackInput) GetUnitName ¶
func (x *LabpackInput) GetUnitName() string
func (*LabpackInput) GetUpdateInventory ¶
func (x *LabpackInput) GetUpdateInventory() bool
func (*LabpackInput) ProtoMessage ¶
func (*LabpackInput) ProtoMessage()
func (*LabpackInput) ProtoReflect ¶
func (x *LabpackInput) ProtoReflect() protoreflect.Message
func (*LabpackInput) Reset ¶
func (x *LabpackInput) Reset()
func (*LabpackInput) String ¶
func (x *LabpackInput) String() string
type LabpackResponse ¶
type LabpackResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // Tells what was the reason of failure. FailReason string `protobuf:"bytes,2,opt,name=fail_reason,json=failReason,proto3" json:"fail_reason,omitempty"` // contains filtered or unexported fields }
LabpackResponse represents result of execution the task on unit.
func (*LabpackResponse) Descriptor
deprecated
func (*LabpackResponse) Descriptor() ([]byte, []int)
Deprecated: Use LabpackResponse.ProtoReflect.Descriptor instead.
func (*LabpackResponse) GetFailReason ¶
func (x *LabpackResponse) GetFailReason() string
func (*LabpackResponse) GetSuccess ¶
func (x *LabpackResponse) GetSuccess() bool
func (*LabpackResponse) ProtoMessage ¶
func (*LabpackResponse) ProtoMessage()
func (*LabpackResponse) ProtoReflect ¶
func (x *LabpackResponse) ProtoReflect() protoreflect.Message
func (*LabpackResponse) Reset ¶
func (x *LabpackResponse) Reset()
func (*LabpackResponse) String ¶
func (x *LabpackResponse) String() string
type Labstation ¶
type Labstation struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` Servos []*Servo `protobuf:"bytes,2,rep,name=servos,proto3" json:"servos,omitempty"` Rpm *RPM `protobuf:"bytes,3,opt,name=rpm,proto3" json:"rpm,omitempty"` Pools []string `protobuf:"bytes,4,rep,name=pools,proto3" json:"pools,omitempty"` // contains filtered or unexported fields }
Next Tag: 5
func (*Labstation) Descriptor
deprecated
func (*Labstation) Descriptor() ([]byte, []int)
Deprecated: Use Labstation.ProtoReflect.Descriptor instead.
func (*Labstation) GetHostname ¶
func (x *Labstation) GetHostname() string
func (*Labstation) GetPools ¶
func (x *Labstation) GetPools() []string
func (*Labstation) GetRpm ¶
func (x *Labstation) GetRpm() *RPM
func (*Labstation) GetServos ¶
func (x *Labstation) GetServos() []*Servo
func (*Labstation) ProtoMessage ¶
func (*Labstation) ProtoMessage()
func (*Labstation) ProtoReflect ¶
func (x *Labstation) ProtoReflect() protoreflect.Message
func (*Labstation) Reset ¶
func (x *Labstation) Reset()
func (*Labstation) String ¶
func (x *Labstation) String() string
type LeaseManagedDutRequest ¶
type LeaseManagedDutRequest struct { Model *api.DutAttribute `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` LeaseOwner string `protobuf:"bytes,2,opt,name=lease_owner,json=leaseOwner,proto3" json:"lease_owner,omitempty"` // The task id / test id of the lease holder SoftwarePath *_go.StoragePath `protobuf:"bytes,3,opt,name=software_path,json=softwarePath,proto3" json:"software_path,omitempty"` // provision_service.proto LeaseLengthSecs int32 `protobuf:"varint,4,opt,name=lease_length_secs,json=leaseLengthSecs,proto3" json:"lease_length_secs,omitempty"` // requested time in second Tag *api.DutAttributeList `protobuf:"bytes,5,opt,name=tag,proto3" json:"tag,omitempty"` Pool *api.DutAttributeList `protobuf:"bytes,6,opt,name=pool,proto3" json:"pool,omitempty"` Peripheral *api.DutAttributeList `protobuf:"bytes,7,opt,name=peripheral,proto3" json:"peripheral,omitempty"` MfgConfigId *api1.MfgConfigId `protobuf:"bytes,8,opt,name=mfg_config_id,json=mfgConfigId,proto3" json:"mfg_config_id,omitempty"` MinDuts int32 `protobuf:"varint,9,opt,name=min_duts,json=minDuts,proto3" json:"min_duts,omitempty"` // Minimum number of Duts requested, for multi dut MaxDuts int32 `protobuf:"varint,10,opt,name=max_duts,json=maxDuts,proto3" json:"max_duts,omitempty"` // Maximum number of Duts requested, for multi dut NumberAssociatedDuts int32 `protobuf:"varint,11,opt,name=number_associated_duts,json=numberAssociatedDuts,proto3" json:"number_associated_duts,omitempty"` // Get a lease on a Dut that is associated with another DUT and not // contains filtered or unexported fields }
func (*LeaseManagedDutRequest) Descriptor
deprecated
func (*LeaseManagedDutRequest) Descriptor() ([]byte, []int)
Deprecated: Use LeaseManagedDutRequest.ProtoReflect.Descriptor instead.
func (*LeaseManagedDutRequest) GetLeaseLengthSecs ¶
func (x *LeaseManagedDutRequest) GetLeaseLengthSecs() int32
func (*LeaseManagedDutRequest) GetLeaseOwner ¶
func (x *LeaseManagedDutRequest) GetLeaseOwner() string
func (*LeaseManagedDutRequest) GetMaxDuts ¶
func (x *LeaseManagedDutRequest) GetMaxDuts() int32
func (*LeaseManagedDutRequest) GetMfgConfigId ¶
func (x *LeaseManagedDutRequest) GetMfgConfigId() *api1.MfgConfigId
func (*LeaseManagedDutRequest) GetMinDuts ¶
func (x *LeaseManagedDutRequest) GetMinDuts() int32
func (*LeaseManagedDutRequest) GetModel ¶
func (x *LeaseManagedDutRequest) GetModel() *api.DutAttribute
func (*LeaseManagedDutRequest) GetNumberAssociatedDuts ¶
func (x *LeaseManagedDutRequest) GetNumberAssociatedDuts() int32
func (*LeaseManagedDutRequest) GetPeripheral ¶
func (x *LeaseManagedDutRequest) GetPeripheral() *api.DutAttributeList
func (*LeaseManagedDutRequest) GetPool ¶
func (x *LeaseManagedDutRequest) GetPool() *api.DutAttributeList
func (*LeaseManagedDutRequest) GetSoftwarePath ¶
func (x *LeaseManagedDutRequest) GetSoftwarePath() *_go.StoragePath
func (*LeaseManagedDutRequest) GetTag ¶
func (x *LeaseManagedDutRequest) GetTag() *api.DutAttributeList
func (*LeaseManagedDutRequest) ProtoMessage ¶
func (*LeaseManagedDutRequest) ProtoMessage()
func (*LeaseManagedDutRequest) ProtoReflect ¶
func (x *LeaseManagedDutRequest) ProtoReflect() protoreflect.Message
func (*LeaseManagedDutRequest) Reset ¶
func (x *LeaseManagedDutRequest) Reset()
func (*LeaseManagedDutRequest) String ¶
func (x *LeaseManagedDutRequest) String() string
type LeaseManagedDutResponse ¶
type LeaseManagedDutResponse struct { Name []*NetworkIdentifier `protobuf:"bytes,1,rep,name=name,proto3" json:"name,omitempty"` ExpiryTimeSecs *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expiry_time_secs,json=expiryTimeSecs,proto3" json:"expiry_time_secs,omitempty"` // contains filtered or unexported fields }
func (*LeaseManagedDutResponse) Descriptor
deprecated
func (*LeaseManagedDutResponse) Descriptor() ([]byte, []int)
Deprecated: Use LeaseManagedDutResponse.ProtoReflect.Descriptor instead.
func (*LeaseManagedDutResponse) GetExpiryTimeSecs ¶
func (x *LeaseManagedDutResponse) GetExpiryTimeSecs() *timestamppb.Timestamp
func (*LeaseManagedDutResponse) GetName ¶
func (x *LeaseManagedDutResponse) GetName() []*NetworkIdentifier
func (*LeaseManagedDutResponse) ProtoMessage ¶
func (*LeaseManagedDutResponse) ProtoMessage()
func (*LeaseManagedDutResponse) ProtoReflect ¶
func (x *LeaseManagedDutResponse) ProtoReflect() protoreflect.Message
func (*LeaseManagedDutResponse) Reset ¶
func (x *LeaseManagedDutResponse) Reset()
func (*LeaseManagedDutResponse) String ¶
func (x *LeaseManagedDutResponse) String() string
type License ¶
type License struct { Type LicenseType `protobuf:"varint,1,opt,name=type,proto3,enum=lab.LicenseType" json:"type,omitempty"` // An optional string to uniquely identify the license that was assigned, // for tracking purposes. Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"` // contains filtered or unexported fields }
Represents a Software License assigned to a device. Next Tag: 3
func (*License) Descriptor
deprecated
func (*License) GetIdentifier ¶
func (*License) GetType ¶
func (x *License) GetType() LicenseType
func (*License) ProtoMessage ¶
func (*License) ProtoMessage()
func (*License) ProtoReflect ¶
func (x *License) ProtoReflect() protoreflect.Message
type LicenseType ¶
type LicenseType int32
Next Tag: 3
const ( LicenseType_LICENSE_TYPE_UNSPECIFIED LicenseType = 0 // Microsoft Windows 10 Professional Desktop Operating System. // Contact the ChromeOS Parallels team for license specifics. LicenseType_LICENSE_TYPE_WINDOWS_10_PRO LicenseType = 1 // Microsoft Office Standard. // Contact the ChromeOS Parallels team for license specifics. LicenseType_LICENSE_TYPE_MS_OFFICE_STANDARD LicenseType = 2 )
func (LicenseType) Descriptor ¶
func (LicenseType) Descriptor() protoreflect.EnumDescriptor
func (LicenseType) Enum ¶
func (x LicenseType) Enum() *LicenseType
func (LicenseType) EnumDescriptor
deprecated
func (LicenseType) EnumDescriptor() ([]byte, []int)
Deprecated: Use LicenseType.Descriptor instead.
func (LicenseType) Number ¶
func (x LicenseType) Number() protoreflect.EnumNumber
func (LicenseType) String ¶
func (x LicenseType) String() string
func (LicenseType) Type ¶
func (LicenseType) Type() protoreflect.EnumType
type ListDutRequest ¶
type ListDutRequest struct {
// contains filtered or unexported fields
}
func (*ListDutRequest) Descriptor
deprecated
func (*ListDutRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDutRequest.ProtoReflect.Descriptor instead.
func (*ListDutRequest) ProtoMessage ¶
func (*ListDutRequest) ProtoMessage()
func (*ListDutRequest) ProtoReflect ¶
func (x *ListDutRequest) ProtoReflect() protoreflect.Message
func (*ListDutRequest) Reset ¶
func (x *ListDutRequest) Reset()
func (*ListDutRequest) String ¶
func (x *ListDutRequest) String() string
type ListDutResponse ¶
type ListDutResponse struct { Duts []*ManagedDut `protobuf:"bytes,1,rep,name=duts,proto3" json:"duts,omitempty"` // contains filtered or unexported fields }
func (*ListDutResponse) Descriptor
deprecated
func (*ListDutResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDutResponse.ProtoReflect.Descriptor instead.
func (*ListDutResponse) GetDuts ¶
func (x *ListDutResponse) GetDuts() []*ManagedDut
func (*ListDutResponse) ProtoMessage ¶
func (*ListDutResponse) ProtoMessage()
func (*ListDutResponse) ProtoReflect ¶
func (x *ListDutResponse) ProtoReflect() protoreflect.Message
func (*ListDutResponse) Reset ¶
func (x *ListDutResponse) Reset()
func (*ListDutResponse) String ¶
func (x *ListDutResponse) String() string
type ListManagedDutsRequest ¶
type ListManagedDutsRequest struct { Duts []*ManagedDut `protobuf:"bytes,1,rep,name=duts,proto3" json:"duts,omitempty"` // contains filtered or unexported fields }
func (*ListManagedDutsRequest) Descriptor
deprecated
func (*ListManagedDutsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListManagedDutsRequest.ProtoReflect.Descriptor instead.
func (*ListManagedDutsRequest) GetDuts ¶
func (x *ListManagedDutsRequest) GetDuts() []*ManagedDut
func (*ListManagedDutsRequest) ProtoMessage ¶
func (*ListManagedDutsRequest) ProtoMessage()
func (*ListManagedDutsRequest) ProtoReflect ¶
func (x *ListManagedDutsRequest) ProtoReflect() protoreflect.Message
func (*ListManagedDutsRequest) Reset ¶
func (x *ListManagedDutsRequest) Reset()
func (*ListManagedDutsRequest) String ¶
func (x *ListManagedDutsRequest) String() string
type ListManagedDutsResponse ¶
type ListManagedDutsResponse struct { Duts []*ManagedDut `protobuf:"bytes,1,rep,name=duts,proto3" json:"duts,omitempty"` // contains filtered or unexported fields }
func (*ListManagedDutsResponse) Descriptor
deprecated
func (*ListManagedDutsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListManagedDutsResponse.ProtoReflect.Descriptor instead.
func (*ListManagedDutsResponse) GetDuts ¶
func (x *ListManagedDutsResponse) GetDuts() []*ManagedDut
func (*ListManagedDutsResponse) ProtoMessage ¶
func (*ListManagedDutsResponse) ProtoMessage()
func (*ListManagedDutsResponse) ProtoReflect ¶
func (x *ListManagedDutsResponse) ProtoReflect() protoreflect.Message
func (*ListManagedDutsResponse) Reset ¶
func (x *ListManagedDutsResponse) Reset()
func (*ListManagedDutsResponse) String ¶
func (x *ListManagedDutsResponse) String() string
type Lock ¶
type Lock struct { Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*Lock) Descriptor
deprecated
func (*Lock) ProtoMessage ¶
func (*Lock) ProtoMessage()
func (*Lock) ProtoReflect ¶
func (x *Lock) ProtoReflect() protoreflect.Message
type ManagedDut ¶
type ManagedDut struct { Name *NetworkIdentifier `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Hostname or IP address or other network identifier. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Arbitrary test fields describing characteristics of a Dut that are used // Tests, specify similar tags for test constraints e.g. touchscreen these // tags are used to match a Dut to a test. Tag *api.DutAttributeList `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` // Pools are just arbitrary groupings of Duts useful for test scheduling. // for example allowing a lab to split half the devices for one particular // test suite and the rest for a different. // Pools are really just arbitrary strings and could be in the tags field, // but for better user administration of pools it is better to keep them // separate. Pool []*Pool `protobuf:"bytes,4,rep,name=pool,proto3" json:"pool,omitempty"` // Tags that detail if a Dut has a particular periheral or not, example // servo. These again are kept separate from generic tags for ease of // administration. Peripheral *api.DutAttributeList `protobuf:"bytes,5,opt,name=peripheral,proto3" json:"peripheral,omitempty"` // Labels that users configure for servo etc. MfgConfigId *api1.MfgConfigId `protobuf:"bytes,6,opt,name=mfg_config_id,json=mfgConfigId,proto3" json:"mfg_config_id,omitempty"` ProvisionedBuild *_go.StoragePath `protobuf:"bytes,7,opt,name=provisioned_build,json=provisionedBuild,proto3" json:"provisioned_build,omitempty"` // provision_service.proto State ManagedDut_ManagedState `protobuf:"varint,8,opt,name=state,proto3,enum=lab.ManagedDut_ManagedState" json:"state,omitempty"` Lock *Lock `protobuf:"bytes,9,opt,name=lock,proto3" json:"lock,omitempty"` // A lock can be in any state, so it is a separate field. OperatorNotes string `protobuf:"bytes,10,opt,name=operator_notes,json=operatorNotes,proto3" json:"operator_notes,omitempty"` // Lock reason or any other free text information. ProvisionedFirmwareVersion string `` // Current Dut RW firmware. /* 142-byte string literal not displayed */ History []*HistoryRecord `protobuf:"bytes,12,rep,name=history,proto3" json:"history,omitempty"` // State changes over time. // DUT's that are associated ( close by ) this DUT, the string should // be a network identifier and the DUT should be known to the DUT // Manager. Schedulers that wish to give the assoiciated Dut to a test // must obtain a lease on that Dut. AssociatedDut []*NetworkIdentifier `protobuf:"bytes,13,rep,name=associated_dut,json=associatedDut,proto3" json:"associated_dut,omitempty"` IsAssociatedDut bool `protobuf:"varint,14,opt,name=is_associated_dut,json=isAssociatedDut,proto3" json:"is_associated_dut,omitempty"` // Associated DUT's should be excluded from general lease requests ? // contains filtered or unexported fields }
func (*ManagedDut) Descriptor
deprecated
func (*ManagedDut) Descriptor() ([]byte, []int)
Deprecated: Use ManagedDut.ProtoReflect.Descriptor instead.
func (*ManagedDut) GetAssociatedDut ¶
func (x *ManagedDut) GetAssociatedDut() []*NetworkIdentifier
func (*ManagedDut) GetDisplayName ¶
func (x *ManagedDut) GetDisplayName() string
func (*ManagedDut) GetHistory ¶
func (x *ManagedDut) GetHistory() []*HistoryRecord
func (*ManagedDut) GetIsAssociatedDut ¶
func (x *ManagedDut) GetIsAssociatedDut() bool
func (*ManagedDut) GetLock ¶
func (x *ManagedDut) GetLock() *Lock
func (*ManagedDut) GetMfgConfigId ¶
func (x *ManagedDut) GetMfgConfigId() *api1.MfgConfigId
func (*ManagedDut) GetName ¶
func (x *ManagedDut) GetName() *NetworkIdentifier
func (*ManagedDut) GetOperatorNotes ¶
func (x *ManagedDut) GetOperatorNotes() string
func (*ManagedDut) GetPeripheral ¶
func (x *ManagedDut) GetPeripheral() *api.DutAttributeList
func (*ManagedDut) GetPool ¶
func (x *ManagedDut) GetPool() []*Pool
func (*ManagedDut) GetProvisionedBuild ¶
func (x *ManagedDut) GetProvisionedBuild() *_go.StoragePath
func (*ManagedDut) GetProvisionedFirmwareVersion ¶
func (x *ManagedDut) GetProvisionedFirmwareVersion() string
func (*ManagedDut) GetState ¶
func (x *ManagedDut) GetState() ManagedDut_ManagedState
func (*ManagedDut) GetTag ¶
func (x *ManagedDut) GetTag() *api.DutAttributeList
func (*ManagedDut) ProtoMessage ¶
func (*ManagedDut) ProtoMessage()
func (*ManagedDut) ProtoReflect ¶
func (x *ManagedDut) ProtoReflect() protoreflect.Message
func (*ManagedDut) Reset ¶
func (x *ManagedDut) Reset()
func (*ManagedDut) String ¶
func (x *ManagedDut) String() string
type ManagedDut_ManagedState ¶
type ManagedDut_ManagedState int32
const ( ManagedDut_UNKNOWN ManagedDut_ManagedState = 0 ManagedDut_READY ManagedDut_ManagedState = 1 // AIP says use ACTIVE - but in this context I disagree. ManagedDut_PROVISION ManagedDut_ManagedState = 2 ManagedDut_VERIFY ManagedDut_ManagedState = 3 ManagedDut_LEASED ManagedDut_ManagedState = 4 ManagedDut_FAILED ManagedDut_ManagedState = 5 ManagedDut_RESET ManagedDut_ManagedState = 6 )
func (ManagedDut_ManagedState) Descriptor ¶
func (ManagedDut_ManagedState) Descriptor() protoreflect.EnumDescriptor
func (ManagedDut_ManagedState) Enum ¶
func (x ManagedDut_ManagedState) Enum() *ManagedDut_ManagedState
func (ManagedDut_ManagedState) EnumDescriptor
deprecated
func (ManagedDut_ManagedState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ManagedDut_ManagedState.Descriptor instead.
func (ManagedDut_ManagedState) Number ¶
func (x ManagedDut_ManagedState) Number() protoreflect.EnumNumber
func (ManagedDut_ManagedState) String ¶
func (x ManagedDut_ManagedState) String() string
func (ManagedDut_ManagedState) Type ¶
func (ManagedDut_ManagedState) Type() protoreflect.EnumType
type NetworkIdentifier ¶
type NetworkIdentifier struct { // Types that are assignable to Identifier: // *NetworkIdentifier_IpAddress // *NetworkIdentifier_Hostname Identifier isNetworkIdentifier_Identifier `protobuf_oneof:"identifier"` // contains filtered or unexported fields }
func (*NetworkIdentifier) Descriptor
deprecated
func (*NetworkIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use NetworkIdentifier.ProtoReflect.Descriptor instead.
func (*NetworkIdentifier) GetHostname ¶
func (x *NetworkIdentifier) GetHostname() string
func (*NetworkIdentifier) GetIdentifier ¶
func (m *NetworkIdentifier) GetIdentifier() isNetworkIdentifier_Identifier
func (*NetworkIdentifier) GetIpAddress ¶
func (x *NetworkIdentifier) GetIpAddress() string
func (*NetworkIdentifier) ProtoMessage ¶
func (*NetworkIdentifier) ProtoMessage()
func (*NetworkIdentifier) ProtoReflect ¶
func (x *NetworkIdentifier) ProtoReflect() protoreflect.Message
func (*NetworkIdentifier) Reset ¶
func (x *NetworkIdentifier) Reset()
func (*NetworkIdentifier) String ¶
func (x *NetworkIdentifier) String() string
type NetworkIdentifier_Hostname ¶
type NetworkIdentifier_Hostname struct {
Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3,oneof"`
}
type NetworkIdentifier_IpAddress ¶
type NetworkIdentifier_IpAddress struct {
IpAddress string `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3,oneof"`
}
type OSRPM ¶
type OSRPM struct { PowerunitName string `protobuf:"bytes,1,opt,name=powerunit_name,json=powerunitName,proto3" json:"powerunit_name,omitempty"` PowerunitOutlet string `protobuf:"bytes,2,opt,name=powerunit_outlet,json=powerunitOutlet,proto3" json:"powerunit_outlet,omitempty"` // contains filtered or unexported fields }
Remote power management info. Next Tag: 3
func (*OSRPM) Descriptor
deprecated
func (*OSRPM) GetPowerunitName ¶
func (*OSRPM) GetPowerunitOutlet ¶
func (*OSRPM) ProtoMessage ¶
func (*OSRPM) ProtoMessage()
func (*OSRPM) ProtoReflect ¶
func (x *OSRPM) ProtoReflect() protoreflect.Message
type PeripheralState ¶
type PeripheralState int32
Next Tag: 26
const ( // Please keep for all unknown states. PeripheralState_UNKNOWN PeripheralState = 0 // Device and software on it is working as expected. PeripheralState_WORKING PeripheralState = 1 // Configuration for device is not provided. PeripheralState_MISSING_CONFIG PeripheralState = 5 // Configuration contains incorrect information. PeripheralState_WRONG_CONFIG PeripheralState = 4 // Device is not connected/plugged. PeripheralState_NOT_CONNECTED PeripheralState = 2 // Device is not reachable over ssh. PeripheralState_NO_SSH PeripheralState = 6 // Device is broken or not working as expected. the state used if no specified // state for the issue. PeripheralState_BROKEN PeripheralState = 3 // Device cannot be repaired or required manual attention to fix/replace it. PeripheralState_NEED_REPLACEMENT PeripheralState = 7 // Servo specific states. // cr50 console missing or unresponsive. PeripheralState_CR50_CONSOLE_MISSING PeripheralState = 13 // Servod daemon cannot start on servo-host because cr50 testlab not enabled. PeripheralState_CCD_TESTLAB_ISSUE PeripheralState = 8 // Servod daemon cannot start on servo-host. PeripheralState_SERVOD_ISSUE PeripheralState = 9 // device lid is not open. PeripheralState_LID_OPEN_FAILED PeripheralState = 10 // the ribbon cable between servo and DUT is broken or not connected. PeripheralState_BAD_RIBBON_CABLE PeripheralState = 11 // the EC on the DUT has issue. PeripheralState_EC_BROKEN PeripheralState = 12 // Servo is not connected to the DUT. PeripheralState_DUT_NOT_CONNECTED PeripheralState = 14 // Some component in servo-topology missed or not detected. PeripheralState_TOPOLOGY_ISSUE PeripheralState = 15 // SBU voltage issues effect CR50 detection. PeripheralState_SBU_LOW_VOLTAGE PeripheralState = 16 // CR50 SBU voltage detected but device was not enumerated. PeripheralState_CR50_NOT_ENUMERATED PeripheralState = 17 // Servo serial mismatch, when servo not detected and another serial detected // on previous used port. PeripheralState_SERVO_SERIAL_MISMATCH PeripheralState = 18 // Issue to connect to servod by XMLRPC proxy. PeripheralState_SERVOD_PROXY_ISSUE PeripheralState = 19 // Issue related to servo-host. Timeout to start servod or issue with // detecting devices. PeripheralState_SERVO_HOST_ISSUE PeripheralState = 20 // Issue related to servo_updater. PeripheralState_SERVO_UPDATER_ISSUE PeripheralState = 21 // Issue detected in servod and reported by dut_controller_missing_fault // control. PeripheralState_SERVOD_DUT_CONTROLLER_MISSING PeripheralState = 22 // Issue related to cold reset pin on the DUT. PeripheralState_COLD_RESET_PIN_ISSUE PeripheralState = 23 // Issue related to warm reset pin on the DUT. PeripheralState_WARM_RESET_PIN_ISSUE PeripheralState = 24 // Issue related to power button pin on the DUT. PeripheralState_POWER_BUTTON_PIN_ISSUE PeripheralState = 25 // Peripheral state is not applicable. PeripheralState_NOT_APPLICABLE PeripheralState = 26 // The servo device connected to debug header is not detected. // Reported by dut_controller_missing_fault control. PeripheralState_DEBUG_HEADER_SERVO_MISSING PeripheralState = 27 )
func (PeripheralState) Descriptor ¶
func (PeripheralState) Descriptor() protoreflect.EnumDescriptor
func (PeripheralState) Enum ¶
func (x PeripheralState) Enum() *PeripheralState
func (PeripheralState) EnumDescriptor
deprecated
func (PeripheralState) EnumDescriptor() ([]byte, []int)
Deprecated: Use PeripheralState.Descriptor instead.
func (PeripheralState) Number ¶
func (x PeripheralState) Number() protoreflect.EnumNumber
func (PeripheralState) String ¶
func (x PeripheralState) String() string
func (PeripheralState) Type ¶
func (PeripheralState) Type() protoreflect.EnumType
type Peripherals ¶
type Peripherals struct { Servo *Servo `protobuf:"bytes,1,opt,name=servo,proto3" json:"servo,omitempty"` Chameleon *Chameleon `protobuf:"bytes,2,opt,name=chameleon,proto3" json:"chameleon,omitempty"` Rpm *RPM `protobuf:"bytes,3,opt,name=rpm,proto3" json:"rpm,omitempty"` // refer to cameras that connected to the device. ConnectedCamera []*Camera `protobuf:"bytes,4,rep,name=connected_camera,json=connectedCamera,proto3" json:"connected_camera,omitempty"` Audio *Audio `protobuf:"bytes,5,opt,name=audio,proto3" json:"audio,omitempty"` Wifi *Wifi `protobuf:"bytes,6,opt,name=wifi,proto3" json:"wifi,omitempty"` Touch *Touch `protobuf:"bytes,7,opt,name=touch,proto3" json:"touch,omitempty"` // e.g: "att", "verizon",.. It's a manual label set by lab, varies dut by dut. Carrier string `protobuf:"bytes,8,opt,name=carrier,proto3" json:"carrier,omitempty"` // Indicate if the device is setup in a steady and controllable camera box // environment for camera test automation. http://go/cros-camera-box Camerabox bool `protobuf:"varint,9,opt,name=camerabox,proto3" json:"camerabox,omitempty"` // Indicate if the device is setup in a chaos environment. It's a special // settings for running wifi interop tests. Chaos bool `protobuf:"varint,10,opt,name=chaos,proto3" json:"chaos,omitempty"` // Indicate the cables that connect audio, printer to the device in ACS lab. Cable []*Cable `protobuf:"bytes,11,rep,name=cable,proto3" json:"cable,omitempty"` // Incompatible upgraded type from bool camerabox=9. CameraboxInfo *Camerabox `protobuf:"bytes,12,opt,name=camerabox_info,json=cameraboxInfo,proto3" json:"camerabox_info,omitempty"` // Indicate if device is connected to a smart usb hub, detected in AdminRepair // task. SmartUsbhub bool `protobuf:"varint,13,opt,name=smart_usbhub,json=smartUsbhub,proto3" json:"smart_usbhub,omitempty"` // contains filtered or unexported fields }
Peripherals of device. Next Tag: 14
func (*Peripherals) Descriptor
deprecated
func (*Peripherals) Descriptor() ([]byte, []int)
Deprecated: Use Peripherals.ProtoReflect.Descriptor instead.
func (*Peripherals) GetAudio ¶
func (x *Peripherals) GetAudio() *Audio
func (*Peripherals) GetCable ¶
func (x *Peripherals) GetCable() []*Cable
func (*Peripherals) GetCamerabox ¶
func (x *Peripherals) GetCamerabox() bool
func (*Peripherals) GetCameraboxInfo ¶
func (x *Peripherals) GetCameraboxInfo() *Camerabox
func (*Peripherals) GetCarrier ¶
func (x *Peripherals) GetCarrier() string
func (*Peripherals) GetChameleon ¶
func (x *Peripherals) GetChameleon() *Chameleon
func (*Peripherals) GetChaos ¶
func (x *Peripherals) GetChaos() bool
func (*Peripherals) GetConnectedCamera ¶
func (x *Peripherals) GetConnectedCamera() []*Camera
func (*Peripherals) GetRpm ¶
func (x *Peripherals) GetRpm() *RPM
func (*Peripherals) GetServo ¶
func (x *Peripherals) GetServo() *Servo
func (*Peripherals) GetSmartUsbhub ¶
func (x *Peripherals) GetSmartUsbhub() bool
func (*Peripherals) GetTouch ¶
func (x *Peripherals) GetTouch() *Touch
func (*Peripherals) GetWifi ¶
func (x *Peripherals) GetWifi() *Wifi
func (*Peripherals) ProtoMessage ¶
func (*Peripherals) ProtoMessage()
func (*Peripherals) ProtoReflect ¶
func (x *Peripherals) ProtoReflect() protoreflect.Message
func (*Peripherals) Reset ¶
func (x *Peripherals) Reset()
func (*Peripherals) String ¶
func (x *Peripherals) String() string
type Pool ¶
type Pool struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Pool) Descriptor
deprecated
func (*Pool) ProtoMessage ¶
func (*Pool) ProtoMessage()
func (*Pool) ProtoReflect ¶
func (x *Pool) ProtoReflect() protoreflect.Message
type ProvisionManagedDutRequest ¶
type ProvisionManagedDutRequest struct { Name *NetworkIdentifier `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` BuildPath *_go.StoragePath `protobuf:"bytes,2,opt,name=build_path,json=buildPath,proto3" json:"build_path,omitempty"` // contains filtered or unexported fields }
func (*ProvisionManagedDutRequest) Descriptor
deprecated
func (*ProvisionManagedDutRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionManagedDutRequest.ProtoReflect.Descriptor instead.
func (*ProvisionManagedDutRequest) GetBuildPath ¶
func (x *ProvisionManagedDutRequest) GetBuildPath() *_go.StoragePath
func (*ProvisionManagedDutRequest) GetName ¶
func (x *ProvisionManagedDutRequest) GetName() *NetworkIdentifier
func (*ProvisionManagedDutRequest) ProtoMessage ¶
func (*ProvisionManagedDutRequest) ProtoMessage()
func (*ProvisionManagedDutRequest) ProtoReflect ¶
func (x *ProvisionManagedDutRequest) ProtoReflect() protoreflect.Message
func (*ProvisionManagedDutRequest) Reset ¶
func (x *ProvisionManagedDutRequest) Reset()
func (*ProvisionManagedDutRequest) String ¶
func (x *ProvisionManagedDutRequest) String() string
type ProvisionManagedDutResponse ¶
type ProvisionManagedDutResponse struct {
// contains filtered or unexported fields
}
func (*ProvisionManagedDutResponse) Descriptor
deprecated
func (*ProvisionManagedDutResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionManagedDutResponse.ProtoReflect.Descriptor instead.
func (*ProvisionManagedDutResponse) ProtoMessage ¶
func (*ProvisionManagedDutResponse) ProtoMessage()
func (*ProvisionManagedDutResponse) ProtoReflect ¶
func (x *ProvisionManagedDutResponse) ProtoReflect() protoreflect.Message
func (*ProvisionManagedDutResponse) Reset ¶
func (x *ProvisionManagedDutResponse) Reset()
func (*ProvisionManagedDutResponse) String ¶
func (x *ProvisionManagedDutResponse) String() string
type RPM ¶
type RPM struct { PowerunitName string `protobuf:"bytes,1,opt,name=powerunit_name,json=powerunitName,proto3" json:"powerunit_name,omitempty"` PowerunitOutlet string `protobuf:"bytes,2,opt,name=powerunit_outlet,json=powerunitOutlet,proto3" json:"powerunit_outlet,omitempty"` // contains filtered or unexported fields }
Remote power management info. Next Tag: 3
func (*RPM) Descriptor
deprecated
func (*RPM) GetPowerunitName ¶
func (*RPM) GetPowerunitOutlet ¶
func (*RPM) ProtoMessage ¶
func (*RPM) ProtoMessage()
func (*RPM) ProtoReflect ¶
func (x *RPM) ProtoReflect() protoreflect.Message
type ReturnManagedDutLeaseRequest ¶
type ReturnManagedDutLeaseRequest struct { Name *NetworkIdentifier `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // someone other than the leaseholder is expiring the lease. ForceReason string `protobuf:"bytes,3,opt,name=force_reason,json=forceReason,proto3" json:"force_reason,omitempty"` // why a forced lease return not by the owner was necessary. // contains filtered or unexported fields }
func (*ReturnManagedDutLeaseRequest) Descriptor
deprecated
func (*ReturnManagedDutLeaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReturnManagedDutLeaseRequest.ProtoReflect.Descriptor instead.
func (*ReturnManagedDutLeaseRequest) GetForce ¶
func (x *ReturnManagedDutLeaseRequest) GetForce() bool
func (*ReturnManagedDutLeaseRequest) GetForceReason ¶
func (x *ReturnManagedDutLeaseRequest) GetForceReason() string
func (*ReturnManagedDutLeaseRequest) GetName ¶
func (x *ReturnManagedDutLeaseRequest) GetName() *NetworkIdentifier
func (*ReturnManagedDutLeaseRequest) ProtoMessage ¶
func (*ReturnManagedDutLeaseRequest) ProtoMessage()
func (*ReturnManagedDutLeaseRequest) ProtoReflect ¶
func (x *ReturnManagedDutLeaseRequest) ProtoReflect() protoreflect.Message
func (*ReturnManagedDutLeaseRequest) Reset ¶
func (x *ReturnManagedDutLeaseRequest) Reset()
func (*ReturnManagedDutLeaseRequest) String ¶
func (x *ReturnManagedDutLeaseRequest) String() string
type ReturnManagedDutLeaseResponse ¶
type ReturnManagedDutLeaseResponse struct {
// contains filtered or unexported fields
}
func (*ReturnManagedDutLeaseResponse) Descriptor
deprecated
func (*ReturnManagedDutLeaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReturnManagedDutLeaseResponse.ProtoReflect.Descriptor instead.
func (*ReturnManagedDutLeaseResponse) ProtoMessage ¶
func (*ReturnManagedDutLeaseResponse) ProtoMessage()
func (*ReturnManagedDutLeaseResponse) ProtoReflect ¶
func (x *ReturnManagedDutLeaseResponse) ProtoReflect() protoreflect.Message
func (*ReturnManagedDutLeaseResponse) Reset ¶
func (x *ReturnManagedDutLeaseResponse) Reset()
func (*ReturnManagedDutLeaseResponse) String ¶
func (x *ReturnManagedDutLeaseResponse) String() string
type Servo ¶
type Servo struct { // Servo-specific configs ServoHostname string `protobuf:"bytes,2,opt,name=servo_hostname,json=servoHostname,proto3" json:"servo_hostname,omitempty"` ServoPort int32 `protobuf:"varint,3,opt,name=servo_port,json=servoPort,proto3" json:"servo_port,omitempty"` ServoSerial string `protobuf:"bytes,4,opt,name=servo_serial,json=servoSerial,proto3" json:"servo_serial,omitempty"` // Based on // https://docs.google.com/document/d/1TPp7yp-uwFUh5xOnBLI4jPYtYD7IcdyQ1dgqFqtcJEU/edit?ts=5d8eafb7#heading=h.csdfk1i6g0l // servo_type will contain different setup of servos. So string is recommended // than enum. ServoType string `protobuf:"bytes,5,opt,name=servo_type,json=servoType,proto3" json:"servo_type,omitempty"` ServoSetup ServoSetupType `protobuf:"varint,7,opt,name=servo_setup,json=servoSetup,proto3,enum=lab.ServoSetupType" json:"servo_setup,omitempty"` // Based on http://go/fleet-servo-topology ServoTopology *ServoTopology `protobuf:"bytes,8,opt,name=servo_topology,json=servoTopology,proto3" json:"servo_topology,omitempty"` ServoFwChannel ServoFwChannel `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
NEXT TAG: 10
func (*Servo) Descriptor
deprecated
func (*Servo) GetServoFwChannel ¶
func (x *Servo) GetServoFwChannel() ServoFwChannel
func (*Servo) GetServoHostname ¶
func (*Servo) GetServoPort ¶
func (*Servo) GetServoSerial ¶
func (*Servo) GetServoSetup ¶
func (x *Servo) GetServoSetup() ServoSetupType
func (*Servo) GetServoTopology ¶
func (x *Servo) GetServoTopology() *ServoTopology
func (*Servo) GetServoType ¶
func (*Servo) ProtoMessage ¶
func (*Servo) ProtoMessage()
func (*Servo) ProtoReflect ¶
func (x *Servo) ProtoReflect() protoreflect.Message
type ServoFwChannel ¶
type ServoFwChannel int32
Servo Firmware Channel describes the firmware expected to have on servos. Next Tag : 4
const ( // Servo firmware from Stable channel. ServoFwChannel_SERVO_FW_STABLE ServoFwChannel = 0 // The previous Servo firmware from Stable channel. ServoFwChannel_SERVO_FW_PREV ServoFwChannel = 1 // Servo firmware from Dev channel. ServoFwChannel_SERVO_FW_DEV ServoFwChannel = 2 // Servo firmware from Alpha channel. ServoFwChannel_SERVO_FW_ALPHA ServoFwChannel = 3 )
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 ServoSetupType ¶
type ServoSetupType int32
Servo Setup Type describes the capabilities of servos. Next Tag : 3
const ( ServoSetupType_SERVO_SETUP_REGULAR ServoSetupType = 0 ServoSetupType_SERVO_SETUP_DUAL_V4 ServoSetupType = 1 // SERVO_SETUP_INVALID explicitly marks errors in servo setup. ServoSetupType_SERVO_SETUP_INVALID ServoSetupType = 2 )
func (ServoSetupType) Descriptor ¶
func (ServoSetupType) Descriptor() protoreflect.EnumDescriptor
func (ServoSetupType) Enum ¶
func (x ServoSetupType) Enum() *ServoSetupType
func (ServoSetupType) EnumDescriptor
deprecated
func (ServoSetupType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServoSetupType.Descriptor instead.
func (ServoSetupType) Number ¶
func (x ServoSetupType) Number() protoreflect.EnumNumber
func (ServoSetupType) String ¶
func (x ServoSetupType) String() string
func (ServoSetupType) Type ¶
func (ServoSetupType) Type() protoreflect.EnumType
type ServoTopology ¶
type ServoTopology struct { Main *ServoTopologyItem `protobuf:"bytes,1,opt,name=main,proto3" json:"main,omitempty"` Children []*ServoTopologyItem `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
Servo Topology describe connected servo devices on DUT set-up to provide Servo functionality. Next Tag : 3
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) GetMain ¶
func (x *ServoTopology) GetMain() *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 firmware version of servo device. FwVersion string `protobuf:"bytes,5,opt,name=fw_version,json=fwVersion,proto3" json:"fw_version,omitempty"` // contains filtered or unexported fields }
Servo Topology Item describe details of one servo device on DUT set-up. Next Tag : 6
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) 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 Touch ¶
type Touch struct { // Has touch monitor mimo. Mimo bool `protobuf:"varint,1,opt,name=mimo,proto3" json:"mimo,omitempty"` // contains filtered or unexported fields }
Next Tag: 2
func (*Touch) Descriptor
deprecated
func (*Touch) ProtoMessage ¶
func (*Touch) ProtoMessage()
func (*Touch) ProtoReflect ¶
func (x *Touch) ProtoReflect() protoreflect.Message
type UnimplementedDutManagerServiceServer ¶
type UnimplementedDutManagerServiceServer struct { }
UnimplementedDutManagerServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedDutManagerServiceServer) CreateManagedDut ¶
func (UnimplementedDutManagerServiceServer) CreateManagedDut(context.Context, *CreateManagedDutRequest) (*longrunning.Operation, error)
func (UnimplementedDutManagerServiceServer) DeleteManagedDut ¶
func (UnimplementedDutManagerServiceServer) DeleteManagedDut(context.Context, *DeleteManagedDutRequest) (*DeleteManagedDutResponse, error)
func (UnimplementedDutManagerServiceServer) ExtendManagedDutLease ¶
func (UnimplementedDutManagerServiceServer) ExtendManagedDutLease(context.Context, *ExtendManagedDutLeaseRequest) (*ExtendManagedDutLeaseResponse, error)
func (UnimplementedDutManagerServiceServer) GetManagedDut ¶
func (UnimplementedDutManagerServiceServer) GetManagedDut(context.Context, *GetManagedDutRequest) (*GetManagedDutResponse, error)
func (UnimplementedDutManagerServiceServer) LeaseManagedDut ¶
func (UnimplementedDutManagerServiceServer) LeaseManagedDut(context.Context, *LeaseManagedDutRequest) (*longrunning.Operation, error)
func (UnimplementedDutManagerServiceServer) ListManagedDuts ¶
func (UnimplementedDutManagerServiceServer) ListManagedDuts(context.Context, *ListManagedDutsRequest) (*ListManagedDutsResponse, error)
func (UnimplementedDutManagerServiceServer) ProvisionManagedDut ¶
func (UnimplementedDutManagerServiceServer) ProvisionManagedDut(context.Context, *ProvisionManagedDutRequest) (*ProvisionManagedDutResponse, error)
func (UnimplementedDutManagerServiceServer) ReturnManagedDutLease ¶
func (UnimplementedDutManagerServiceServer) ReturnManagedDutLease(context.Context, *ReturnManagedDutLeaseRequest) (*ReturnManagedDutLeaseResponse, error)
func (UnimplementedDutManagerServiceServer) UpdateManagedDut ¶
func (UnimplementedDutManagerServiceServer) UpdateManagedDut(context.Context, *UpdateManagedDutRequest) (*UpdateManagedDutResponse, error)
func (UnimplementedDutManagerServiceServer) VerifyManagedDut ¶
func (UnimplementedDutManagerServiceServer) VerifyManagedDut(context.Context, *VerifyManagedDutRequest) (*VerifyManagedDutResponse, error)
type UnimplementedDutManagerStorageServiceServer ¶
type UnimplementedDutManagerStorageServiceServer struct { }
UnimplementedDutManagerStorageServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedDutManagerStorageServiceServer) CreateDut ¶
func (UnimplementedDutManagerStorageServiceServer) CreateDut(context.Context, *CreateDutRequest) (*CreateDutResponse, error)
func (UnimplementedDutManagerStorageServiceServer) DeleteDut ¶
func (UnimplementedDutManagerStorageServiceServer) DeleteDut(context.Context, *DeleteDutRequest) (*DeleteDutResponse, error)
func (UnimplementedDutManagerStorageServiceServer) GetDut ¶
func (UnimplementedDutManagerStorageServiceServer) GetDut(context.Context, *GetDutRequest) (*GetDutResponse, error)
func (UnimplementedDutManagerStorageServiceServer) ListDut ¶
func (UnimplementedDutManagerStorageServiceServer) ListDut(context.Context, *ListDutRequest) (*ListDutResponse, error)
func (UnimplementedDutManagerStorageServiceServer) UpdateDut ¶
func (UnimplementedDutManagerStorageServiceServer) UpdateDut(context.Context, *UpdateDutRequest) (*UpdateDutResponse, error)
type UnsafeDutManagerServiceServer ¶
type UnsafeDutManagerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDutManagerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DutManagerServiceServer will result in compilation errors.
type UnsafeDutManagerStorageServiceServer ¶
type UnsafeDutManagerStorageServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDutManagerStorageServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DutManagerStorageServiceServer will result in compilation errors.
type UpdateDutRequest ¶
type UpdateDutRequest struct { Dut *ManagedDut `protobuf:"bytes,1,opt,name=dut,proto3" json:"dut,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateDutRequest) Descriptor
deprecated
func (*UpdateDutRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDutRequest.ProtoReflect.Descriptor instead.
func (*UpdateDutRequest) GetDut ¶
func (x *UpdateDutRequest) GetDut() *ManagedDut
func (*UpdateDutRequest) GetUpdateMask ¶
func (x *UpdateDutRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateDutRequest) ProtoMessage ¶
func (*UpdateDutRequest) ProtoMessage()
func (*UpdateDutRequest) ProtoReflect ¶
func (x *UpdateDutRequest) ProtoReflect() protoreflect.Message
func (*UpdateDutRequest) Reset ¶
func (x *UpdateDutRequest) Reset()
func (*UpdateDutRequest) String ¶
func (x *UpdateDutRequest) String() string
type UpdateDutResponse ¶
type UpdateDutResponse struct {
// contains filtered or unexported fields
}
func (*UpdateDutResponse) Descriptor
deprecated
func (*UpdateDutResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDutResponse.ProtoReflect.Descriptor instead.
func (*UpdateDutResponse) ProtoMessage ¶
func (*UpdateDutResponse) ProtoMessage()
func (*UpdateDutResponse) ProtoReflect ¶
func (x *UpdateDutResponse) ProtoReflect() protoreflect.Message
func (*UpdateDutResponse) Reset ¶
func (x *UpdateDutResponse) Reset()
func (*UpdateDutResponse) String ¶
func (x *UpdateDutResponse) String() string
type UpdateManagedDutRequest ¶
type UpdateManagedDutRequest struct { Dut *ManagedDut `protobuf:"bytes,1,opt,name=dut,proto3" json:"dut,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateManagedDutRequest) Descriptor
deprecated
func (*UpdateManagedDutRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateManagedDutRequest.ProtoReflect.Descriptor instead.
func (*UpdateManagedDutRequest) GetDut ¶
func (x *UpdateManagedDutRequest) GetDut() *ManagedDut
func (*UpdateManagedDutRequest) GetUpdateMask ¶
func (x *UpdateManagedDutRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateManagedDutRequest) ProtoMessage ¶
func (*UpdateManagedDutRequest) ProtoMessage()
func (*UpdateManagedDutRequest) ProtoReflect ¶
func (x *UpdateManagedDutRequest) ProtoReflect() protoreflect.Message
func (*UpdateManagedDutRequest) Reset ¶
func (x *UpdateManagedDutRequest) Reset()
func (*UpdateManagedDutRequest) String ¶
func (x *UpdateManagedDutRequest) String() string
type UpdateManagedDutResponse ¶
type UpdateManagedDutResponse struct {
// contains filtered or unexported fields
}
func (*UpdateManagedDutResponse) Descriptor
deprecated
func (*UpdateManagedDutResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateManagedDutResponse.ProtoReflect.Descriptor instead.
func (*UpdateManagedDutResponse) ProtoMessage ¶
func (*UpdateManagedDutResponse) ProtoMessage()
func (*UpdateManagedDutResponse) ProtoReflect ¶
func (x *UpdateManagedDutResponse) ProtoReflect() protoreflect.Message
func (*UpdateManagedDutResponse) Reset ¶
func (x *UpdateManagedDutResponse) Reset()
func (*UpdateManagedDutResponse) String ¶
func (x *UpdateManagedDutResponse) String() string
type VerifyManagedDutRequest ¶
type VerifyManagedDutRequest struct { Name *NetworkIdentifier `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*VerifyManagedDutRequest) Descriptor
deprecated
func (*VerifyManagedDutRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyManagedDutRequest.ProtoReflect.Descriptor instead.
func (*VerifyManagedDutRequest) GetName ¶
func (x *VerifyManagedDutRequest) GetName() *NetworkIdentifier
func (*VerifyManagedDutRequest) ProtoMessage ¶
func (*VerifyManagedDutRequest) ProtoMessage()
func (*VerifyManagedDutRequest) ProtoReflect ¶
func (x *VerifyManagedDutRequest) ProtoReflect() protoreflect.Message
func (*VerifyManagedDutRequest) Reset ¶
func (x *VerifyManagedDutRequest) Reset()
func (*VerifyManagedDutRequest) String ¶
func (x *VerifyManagedDutRequest) String() string
type VerifyManagedDutResponse ¶
type VerifyManagedDutResponse struct {
// contains filtered or unexported fields
}
func (*VerifyManagedDutResponse) Descriptor
deprecated
func (*VerifyManagedDutResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyManagedDutResponse.ProtoReflect.Descriptor instead.
func (*VerifyManagedDutResponse) ProtoMessage ¶
func (*VerifyManagedDutResponse) ProtoMessage()
func (*VerifyManagedDutResponse) ProtoReflect ¶
func (x *VerifyManagedDutResponse) ProtoReflect() protoreflect.Message
func (*VerifyManagedDutResponse) Reset ¶
func (x *VerifyManagedDutResponse) Reset()
func (*VerifyManagedDutResponse) String ¶
func (x *VerifyManagedDutResponse) String() string
type Wifi ¶
type Wifi struct { // Indicate if the device is inside a hermetic wifi cell. Wificell bool `protobuf:"varint,1,opt,name=wificell,proto3" json:"wificell,omitempty"` AntennaConn Wifi_AntennaConnection `` /* 127-byte string literal not displayed */ // Indicate if the device is in a pre-setup environment with 802.11ax routers. // crbug.com/1044786 Router Wifi_Router `protobuf:"varint,3,opt,name=router,proto3,enum=lab.Wifi_Router" json:"router,omitempty"` // contains filtered or unexported fields }
Next Tag: 4
func (*Wifi) Descriptor
deprecated
func (*Wifi) GetAntennaConn ¶
func (x *Wifi) GetAntennaConn() Wifi_AntennaConnection
func (*Wifi) GetRouter ¶
func (x *Wifi) GetRouter() Wifi_Router
func (*Wifi) GetWificell ¶
func (*Wifi) ProtoMessage ¶
func (*Wifi) ProtoMessage()
func (*Wifi) ProtoReflect ¶
func (x *Wifi) ProtoReflect() protoreflect.Message
type Wifi_AntennaConnection ¶
type Wifi_AntennaConnection int32
DUT's WiFi antenna's connection. Next Tag: 3
const ( Wifi_CONN_UNKNOWN Wifi_AntennaConnection = 0 // WIFI antenna is connected conductively. Wifi_CONN_CONDUCTIVE Wifi_AntennaConnection = 1 // WIFI antenna is connected over-the-air. Wifi_CONN_OTA Wifi_AntennaConnection = 2 )
func (Wifi_AntennaConnection) Descriptor ¶
func (Wifi_AntennaConnection) Descriptor() protoreflect.EnumDescriptor
func (Wifi_AntennaConnection) Enum ¶
func (x Wifi_AntennaConnection) Enum() *Wifi_AntennaConnection
func (Wifi_AntennaConnection) EnumDescriptor
deprecated
func (Wifi_AntennaConnection) EnumDescriptor() ([]byte, []int)
Deprecated: Use Wifi_AntennaConnection.Descriptor instead.
func (Wifi_AntennaConnection) Number ¶
func (x Wifi_AntennaConnection) Number() protoreflect.EnumNumber
func (Wifi_AntennaConnection) String ¶
func (x Wifi_AntennaConnection) String() string
func (Wifi_AntennaConnection) Type ¶
func (Wifi_AntennaConnection) Type() protoreflect.EnumType
type Wifi_Router ¶
type Wifi_Router int32
const ( Wifi_ROUTER_UNSPECIFIED Wifi_Router = 0 Wifi_ROUTER_802_11AX Wifi_Router = 1 )
func (Wifi_Router) Descriptor ¶
func (Wifi_Router) Descriptor() protoreflect.EnumDescriptor
func (Wifi_Router) Enum ¶
func (x Wifi_Router) Enum() *Wifi_Router
func (Wifi_Router) EnumDescriptor
deprecated
func (Wifi_Router) EnumDescriptor() ([]byte, []int)
Deprecated: Use Wifi_Router.Descriptor instead.
func (Wifi_Router) Number ¶
func (x Wifi_Router) Number() protoreflect.EnumNumber
func (Wifi_Router) String ¶
func (x Wifi_Router) String() string
func (Wifi_Router) Type ¶
func (Wifi_Router) Type() protoreflect.EnumType