Documentation
¶
Overview ¶
Package api contains the lab_inventory service API.
Index ¶
- Variables
- func FileDescriptorSet() *descriptorpb.FileDescriptorSet
- func RegisterInventoryServer(s prpc.Registrar, srv InventoryServer)
- type BatchCreateManualRepairRecordsRequest
- func (*BatchCreateManualRepairRecordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateManualRepairRecordsRequest) GetRepairRecords() []*protos.DeviceManualRepairRecord
- func (*BatchCreateManualRepairRecordsRequest) ProtoMessage()
- func (x *BatchCreateManualRepairRecordsRequest) ProtoReflect() protoreflect.Message
- func (x *BatchCreateManualRepairRecordsRequest) Reset()
- func (x *BatchCreateManualRepairRecordsRequest) String() string
- type BatchCreateManualRepairRecordsResponse
- func (*BatchCreateManualRepairRecordsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateManualRepairRecordsResponse) GetRepairRecords() []*ManualRepairRecordResult
- func (*BatchCreateManualRepairRecordsResponse) ProtoMessage()
- func (x *BatchCreateManualRepairRecordsResponse) ProtoReflect() protoreflect.Message
- func (x *BatchCreateManualRepairRecordsResponse) Reset()
- func (x *BatchCreateManualRepairRecordsResponse) String() string
- type BatchGetManualRepairRecordsRequest
- func (*BatchGetManualRepairRecordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchGetManualRepairRecordsRequest) GetHostnames() []string
- func (*BatchGetManualRepairRecordsRequest) ProtoMessage()
- func (x *BatchGetManualRepairRecordsRequest) ProtoReflect() protoreflect.Message
- func (x *BatchGetManualRepairRecordsRequest) Reset()
- func (x *BatchGetManualRepairRecordsRequest) String() string
- type BatchGetManualRepairRecordsResponse
- func (*BatchGetManualRepairRecordsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchGetManualRepairRecordsResponse) GetRepairRecords() []*ManualRepairRecordResult
- func (*BatchGetManualRepairRecordsResponse) ProtoMessage()
- func (x *BatchGetManualRepairRecordsResponse) ProtoReflect() protoreflect.Message
- func (x *BatchGetManualRepairRecordsResponse) Reset()
- func (x *BatchGetManualRepairRecordsResponse) String() string
- type CreateDeviceManualRepairRecordRequest
- func (*CreateDeviceManualRepairRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDeviceManualRepairRecordRequest) GetDeviceRepairRecord() *protos.DeviceManualRepairRecord
- func (*CreateDeviceManualRepairRecordRequest) ProtoMessage()
- func (x *CreateDeviceManualRepairRecordRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDeviceManualRepairRecordRequest) Reset()
- func (x *CreateDeviceManualRepairRecordRequest) String() string
- type CreateDeviceManualRepairRecordResponse
- func (*CreateDeviceManualRepairRecordResponse) Descriptor() ([]byte, []int)deprecated
- func (*CreateDeviceManualRepairRecordResponse) ProtoMessage()
- func (x *CreateDeviceManualRepairRecordResponse) ProtoReflect() protoreflect.Message
- func (x *CreateDeviceManualRepairRecordResponse) Reset()
- func (x *CreateDeviceManualRepairRecordResponse) String() string
- type DecoratedInventory
- func (s *DecoratedInventory) BatchCreateManualRepairRecords(ctx context.Context, req *BatchCreateManualRepairRecordsRequest) (rsp *BatchCreateManualRepairRecordsResponse, err error)
- func (s *DecoratedInventory) BatchGetManualRepairRecords(ctx context.Context, req *BatchGetManualRepairRecordsRequest) (rsp *BatchGetManualRepairRecordsResponse, err error)
- func (s *DecoratedInventory) CreateDeviceManualRepairRecord(ctx context.Context, req *CreateDeviceManualRepairRecordRequest) (rsp *CreateDeviceManualRepairRecordResponse, err error)
- func (s *DecoratedInventory) DeviceConfigsExists(ctx context.Context, req *DeviceConfigsExistsRequest) (rsp *DeviceConfigsExistsResponse, err error)
- func (s *DecoratedInventory) GetCrosDevices(ctx context.Context, req *GetCrosDevicesRequest) (rsp *GetCrosDevicesResponse, err error)
- func (s *DecoratedInventory) GetDeviceConfig(ctx context.Context, req *GetDeviceConfigRequest) (rsp *device.Config, err error)
- func (s *DecoratedInventory) GetDeviceManualRepairRecord(ctx context.Context, req *GetDeviceManualRepairRecordRequest) (rsp *GetDeviceManualRepairRecordResponse, err error)
- func (s *DecoratedInventory) GetHwidData(ctx context.Context, req *GetHwidDataRequest) (rsp *HwidData, err error)
- func (s *DecoratedInventory) GetManufacturingConfig(ctx context.Context, req *GetManufacturingConfigRequest) (rsp *manufacturing.Config, err error)
- func (s *DecoratedInventory) ListCrosDevicesLabConfig(ctx context.Context, req *ListCrosDevicesLabConfigRequest) (rsp *ListCrosDevicesLabConfigResponse, err error)
- func (s *DecoratedInventory) ListDeviceConfigs(ctx context.Context, req *ListDeviceConfigsRequest) (rsp *ListDeviceConfigsResponse, err error)
- func (s *DecoratedInventory) ListManualRepairRecords(ctx context.Context, req *ListManualRepairRecordsRequest) (rsp *ListManualRepairRecordsResponse, err error)
- func (s *DecoratedInventory) UpdateDeviceManualRepairRecord(ctx context.Context, req *UpdateDeviceManualRepairRecordRequest) (rsp *UpdateDeviceManualRepairRecordResponse, err error)
- func (s *DecoratedInventory) UpdateDutsStatus(ctx context.Context, req *UpdateDutsStatusRequest) (rsp *UpdateDutsStatusResponse, err error)
- type DeviceConfigsExistsRequest
- func (*DeviceConfigsExistsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceConfigsExistsRequest) GetConfigIds() []*device.ConfigId
- func (*DeviceConfigsExistsRequest) ProtoMessage()
- func (x *DeviceConfigsExistsRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceConfigsExistsRequest) Reset()
- func (x *DeviceConfigsExistsRequest) String() string
- type DeviceConfigsExistsResponse
- func (*DeviceConfigsExistsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceConfigsExistsResponse) GetExists() map[int32]bool
- func (*DeviceConfigsExistsResponse) ProtoMessage()
- func (x *DeviceConfigsExistsResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceConfigsExistsResponse) Reset()
- func (x *DeviceConfigsExistsResponse) String() string
- type DeviceID
- func (*DeviceID) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceID) GetChromeosDeviceId() string
- func (x *DeviceID) GetHostname() string
- func (x *DeviceID) GetId() isDeviceID_Id
- func (*DeviceID) ProtoMessage()
- func (x *DeviceID) ProtoReflect() protoreflect.Message
- func (x *DeviceID) Reset()
- func (x *DeviceID) String() string
- type DeviceID_ChromeosDeviceId
- type DeviceID_Hostname
- type DeviceOpResult
- func (*DeviceOpResult) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceOpResult) GetErrorMsg() string
- func (x *DeviceOpResult) GetHostname() string
- func (x *DeviceOpResult) GetId() string
- func (*DeviceOpResult) ProtoMessage()
- func (x *DeviceOpResult) ProtoReflect() protoreflect.Message
- func (x *DeviceOpResult) Reset()
- func (x *DeviceOpResult) String() string
- type DeviceProperty
- func (*DeviceProperty) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceProperty) GetHostname() string
- func (x *DeviceProperty) GetPool() string
- func (x *DeviceProperty) GetRpm() *DeviceProperty_Rpm
- func (*DeviceProperty) ProtoMessage()
- func (x *DeviceProperty) ProtoReflect() protoreflect.Message
- func (x *DeviceProperty) Reset()
- func (x *DeviceProperty) String() string
- type DeviceProperty_Rpm
- func (*DeviceProperty_Rpm) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceProperty_Rpm) GetPowerunitName() string
- func (x *DeviceProperty_Rpm) GetPowerunitOutlet() string
- func (*DeviceProperty_Rpm) ProtoMessage()
- func (x *DeviceProperty_Rpm) ProtoReflect() protoreflect.Message
- func (x *DeviceProperty_Rpm) Reset()
- func (x *DeviceProperty_Rpm) String() string
- type DutMeta
- func (*DutMeta) Descriptor() ([]byte, []int)deprecated
- func (x *DutMeta) GetChromeosDeviceId() string
- func (x *DutMeta) GetDeviceSku() string
- func (x *DutMeta) GetHwID() string
- func (x *DutMeta) GetSerialNumber() string
- func (*DutMeta) ProtoMessage()
- func (x *DutMeta) ProtoReflect() protoreflect.Message
- func (x *DutMeta) Reset()
- func (x *DutMeta) String() string
- type ExtendedDeviceData
- func (*ExtendedDeviceData) Descriptor() ([]byte, []int)deprecated
- func (x *ExtendedDeviceData) GetDeviceConfig() *device.Config
- func (x *ExtendedDeviceData) GetDutState() *lab.DutState
- func (x *ExtendedDeviceData) GetHwidData() *HwidData
- func (x *ExtendedDeviceData) GetLabConfig() *lab.ChromeOSDevice
- func (x *ExtendedDeviceData) GetManufacturingConfig() *manufacturing.Config
- func (*ExtendedDeviceData) ProtoMessage()
- func (x *ExtendedDeviceData) ProtoReflect() protoreflect.Message
- func (x *ExtendedDeviceData) Reset()
- func (x *ExtendedDeviceData) String() string
- type GetCrosDevicesRequest
- func (*GetCrosDevicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCrosDevicesRequest) GetIds() []*DeviceID
- func (x *GetCrosDevicesRequest) GetModels() []string
- func (*GetCrosDevicesRequest) ProtoMessage()
- func (x *GetCrosDevicesRequest) ProtoReflect() protoreflect.Message
- func (x *GetCrosDevicesRequest) Reset()
- func (x *GetCrosDevicesRequest) String() string
- type GetCrosDevicesResponse
- func (*GetCrosDevicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCrosDevicesResponse) GetData() []*ExtendedDeviceData
- func (x *GetCrosDevicesResponse) GetFailedDevices() []*DeviceOpResult
- func (*GetCrosDevicesResponse) ProtoMessage()
- func (x *GetCrosDevicesResponse) ProtoReflect() protoreflect.Message
- func (x *GetCrosDevicesResponse) Reset()
- func (x *GetCrosDevicesResponse) String() string
- type GetDeviceConfigRequest
- func (*GetDeviceConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeviceConfigRequest) GetConfigId() *device.ConfigId
- func (*GetDeviceConfigRequest) ProtoMessage()
- func (x *GetDeviceConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeviceConfigRequest) Reset()
- func (x *GetDeviceConfigRequest) String() string
- func (r *GetDeviceConfigRequest) Validate() error
- type GetDeviceManualRepairRecordRequest
- func (*GetDeviceManualRepairRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeviceManualRepairRecordRequest) GetHostname() string
- func (*GetDeviceManualRepairRecordRequest) ProtoMessage()
- func (x *GetDeviceManualRepairRecordRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeviceManualRepairRecordRequest) Reset()
- func (x *GetDeviceManualRepairRecordRequest) String() string
- type GetDeviceManualRepairRecordResponse
- func (*GetDeviceManualRepairRecordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeviceManualRepairRecordResponse) GetDeviceRepairRecord() *protos.DeviceManualRepairRecord
- func (x *GetDeviceManualRepairRecordResponse) GetId() string
- func (*GetDeviceManualRepairRecordResponse) ProtoMessage()
- func (x *GetDeviceManualRepairRecordResponse) ProtoReflect() protoreflect.Message
- func (x *GetDeviceManualRepairRecordResponse) Reset()
- func (x *GetDeviceManualRepairRecordResponse) String() string
- type GetHwidDataRequest
- func (*GetHwidDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHwidDataRequest) GetName() string
- func (*GetHwidDataRequest) ProtoMessage()
- func (x *GetHwidDataRequest) ProtoReflect() protoreflect.Message
- func (x *GetHwidDataRequest) Reset()
- func (x *GetHwidDataRequest) String() string
- type GetManufacturingConfigRequest
- func (*GetManufacturingConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetManufacturingConfigRequest) GetName() string
- func (*GetManufacturingConfigRequest) ProtoMessage()
- func (x *GetManufacturingConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetManufacturingConfigRequest) Reset()
- func (x *GetManufacturingConfigRequest) String() string
- type HwidData
- type InventoryClient
- type InventoryServer
- type LabMeta
- func (*LabMeta) Descriptor() ([]byte, []int)deprecated
- func (x *LabMeta) GetChromeosDeviceId() string
- func (x *LabMeta) GetServoTopology() *lab.ServoTopology
- func (x *LabMeta) GetServoType() string
- func (x *LabMeta) GetSmartUsbhub() bool
- func (*LabMeta) ProtoMessage()
- func (x *LabMeta) ProtoReflect() protoreflect.Message
- func (x *LabMeta) Reset()
- func (x *LabMeta) String() string
- type ListCrosDevicesLabConfigRequest
- func (*ListCrosDevicesLabConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListCrosDevicesLabConfigRequest) ProtoMessage()
- func (x *ListCrosDevicesLabConfigRequest) ProtoReflect() protoreflect.Message
- func (x *ListCrosDevicesLabConfigRequest) Reset()
- func (x *ListCrosDevicesLabConfigRequest) String() string
- type ListCrosDevicesLabConfigResponse
- func (*ListCrosDevicesLabConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCrosDevicesLabConfigResponse) GetLabConfigs() []*ListCrosDevicesLabConfigResponse_LabConfig
- func (*ListCrosDevicesLabConfigResponse) ProtoMessage()
- func (x *ListCrosDevicesLabConfigResponse) ProtoReflect() protoreflect.Message
- func (x *ListCrosDevicesLabConfigResponse) Reset()
- func (x *ListCrosDevicesLabConfigResponse) String() string
- type ListCrosDevicesLabConfigResponse_LabConfig
- func (*ListCrosDevicesLabConfigResponse_LabConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ListCrosDevicesLabConfigResponse_LabConfig) GetConfig() *lab.ChromeOSDevice
- func (x *ListCrosDevicesLabConfigResponse_LabConfig) GetState() *lab.DutState
- func (x *ListCrosDevicesLabConfigResponse_LabConfig) GetUpdatedTime() *timestamppb.Timestamp
- func (*ListCrosDevicesLabConfigResponse_LabConfig) ProtoMessage()
- func (x *ListCrosDevicesLabConfigResponse_LabConfig) ProtoReflect() protoreflect.Message
- func (x *ListCrosDevicesLabConfigResponse_LabConfig) Reset()
- func (x *ListCrosDevicesLabConfigResponse_LabConfig) String() string
- type ListDeviceConfigsRequest
- type ListDeviceConfigsResponse
- func (*ListDeviceConfigsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeviceConfigsResponse) GetDeviceConfigs() []*device.Config
- func (*ListDeviceConfigsResponse) ProtoMessage()
- func (x *ListDeviceConfigsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDeviceConfigsResponse) Reset()
- func (x *ListDeviceConfigsResponse) String() string
- type ListManualRepairRecordsRequest
- func (*ListManualRepairRecordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListManualRepairRecordsRequest) GetAssetTag() string
- func (x *ListManualRepairRecordsRequest) GetHostname() string
- func (x *ListManualRepairRecordsRequest) GetLimit() int32
- func (x *ListManualRepairRecordsRequest) GetOffset() int32
- func (x *ListManualRepairRecordsRequest) GetRepairState() string
- func (x *ListManualRepairRecordsRequest) GetUserLdap() string
- func (*ListManualRepairRecordsRequest) ProtoMessage()
- func (x *ListManualRepairRecordsRequest) ProtoReflect() protoreflect.Message
- func (x *ListManualRepairRecordsRequest) Reset()
- func (x *ListManualRepairRecordsRequest) String() string
- type ListManualRepairRecordsResponse
- func (*ListManualRepairRecordsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListManualRepairRecordsResponse) GetRepairRecords() []*protos.DeviceManualRepairRecord
- func (*ListManualRepairRecordsResponse) ProtoMessage()
- func (x *ListManualRepairRecordsResponse) ProtoReflect() protoreflect.Message
- func (x *ListManualRepairRecordsResponse) Reset()
- func (x *ListManualRepairRecordsResponse) String() string
- type ManualRepairRecordResult
- func (*ManualRepairRecordResult) Descriptor() ([]byte, []int)deprecated
- func (x *ManualRepairRecordResult) GetErrorMsg() string
- func (x *ManualRepairRecordResult) GetHostname() string
- func (x *ManualRepairRecordResult) GetId() string
- func (x *ManualRepairRecordResult) GetRepairRecord() *protos.DeviceManualRepairRecord
- func (*ManualRepairRecordResult) ProtoMessage()
- func (x *ManualRepairRecordResult) ProtoReflect() protoreflect.Message
- func (x *ManualRepairRecordResult) Reset()
- func (x *ManualRepairRecordResult) String() string
- type UnimplementedInventoryServer
- func (*UnimplementedInventoryServer) BatchCreateManualRepairRecords(context.Context, *BatchCreateManualRepairRecordsRequest) (*BatchCreateManualRepairRecordsResponse, error)
- func (*UnimplementedInventoryServer) BatchGetManualRepairRecords(context.Context, *BatchGetManualRepairRecordsRequest) (*BatchGetManualRepairRecordsResponse, error)
- func (*UnimplementedInventoryServer) CreateDeviceManualRepairRecord(context.Context, *CreateDeviceManualRepairRecordRequest) (*CreateDeviceManualRepairRecordResponse, error)
- func (*UnimplementedInventoryServer) DeviceConfigsExists(context.Context, *DeviceConfigsExistsRequest) (*DeviceConfigsExistsResponse, error)
- func (*UnimplementedInventoryServer) GetCrosDevices(context.Context, *GetCrosDevicesRequest) (*GetCrosDevicesResponse, error)
- func (*UnimplementedInventoryServer) GetDeviceConfig(context.Context, *GetDeviceConfigRequest) (*device.Config, error)
- func (*UnimplementedInventoryServer) GetDeviceManualRepairRecord(context.Context, *GetDeviceManualRepairRecordRequest) (*GetDeviceManualRepairRecordResponse, error)
- func (*UnimplementedInventoryServer) GetHwidData(context.Context, *GetHwidDataRequest) (*HwidData, error)
- func (*UnimplementedInventoryServer) GetManufacturingConfig(context.Context, *GetManufacturingConfigRequest) (*manufacturing.Config, error)
- func (*UnimplementedInventoryServer) ListCrosDevicesLabConfig(context.Context, *ListCrosDevicesLabConfigRequest) (*ListCrosDevicesLabConfigResponse, error)
- func (*UnimplementedInventoryServer) ListDeviceConfigs(context.Context, *ListDeviceConfigsRequest) (*ListDeviceConfigsResponse, error)
- func (*UnimplementedInventoryServer) ListManualRepairRecords(context.Context, *ListManualRepairRecordsRequest) (*ListManualRepairRecordsResponse, error)
- func (*UnimplementedInventoryServer) UpdateDeviceManualRepairRecord(context.Context, *UpdateDeviceManualRepairRecordRequest) (*UpdateDeviceManualRepairRecordResponse, error)
- func (*UnimplementedInventoryServer) UpdateDutsStatus(context.Context, *UpdateDutsStatusRequest) (*UpdateDutsStatusResponse, error)
- type UpdateDeviceManualRepairRecordRequest
- func (*UpdateDeviceManualRepairRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDeviceManualRepairRecordRequest) GetDeviceRepairRecord() *protos.DeviceManualRepairRecord
- func (x *UpdateDeviceManualRepairRecordRequest) GetId() string
- func (*UpdateDeviceManualRepairRecordRequest) ProtoMessage()
- func (x *UpdateDeviceManualRepairRecordRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDeviceManualRepairRecordRequest) Reset()
- func (x *UpdateDeviceManualRepairRecordRequest) String() string
- type UpdateDeviceManualRepairRecordResponse
- func (*UpdateDeviceManualRepairRecordResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateDeviceManualRepairRecordResponse) ProtoMessage()
- func (x *UpdateDeviceManualRepairRecordResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateDeviceManualRepairRecordResponse) Reset()
- func (x *UpdateDeviceManualRepairRecordResponse) String() string
- type UpdateDutsStatusRequest
- func (*UpdateDutsStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDutsStatusRequest) GetDutMetas() []*DutMeta
- func (x *UpdateDutsStatusRequest) GetLabMetas() []*LabMeta
- func (x *UpdateDutsStatusRequest) GetReason() string
- func (x *UpdateDutsStatusRequest) GetStates() []*lab.DutState
- func (*UpdateDutsStatusRequest) ProtoMessage()
- func (x *UpdateDutsStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDutsStatusRequest) Reset()
- func (x *UpdateDutsStatusRequest) String() string
- type UpdateDutsStatusResponse
- func (*UpdateDutsStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDutsStatusResponse) GetFailedDevices() []*DeviceOpResult
- func (x *UpdateDutsStatusResponse) GetUpdatedDevices() []*DeviceOpResult
- func (*UpdateDutsStatusResponse) ProtoMessage()
- func (x *UpdateDutsStatusResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateDutsStatusResponse) Reset()
- func (x *UpdateDutsStatusResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_go_chromium_org_infra_appengine_cros_lab_inventory_api_v1_service_proto protoreflect.FileDescriptor
Functions ¶
func FileDescriptorSet ¶
func FileDescriptorSet() *descriptorpb.FileDescriptorSet
FileDescriptorSet returns a descriptor set for this proto package, which includes all defined services, and all transitive dependencies.
Will not return nil.
Do NOT modify the returned descriptor.
func RegisterInventoryServer ¶
func RegisterInventoryServer(s prpc.Registrar, srv InventoryServer)
Types ¶
type BatchCreateManualRepairRecordsRequest ¶
type BatchCreateManualRepairRecordsRequest struct { RepairRecords []*protos.DeviceManualRepairRecord `protobuf:"bytes,1,rep,name=repair_records,json=repairRecords,proto3" json:"repair_records,omitempty"` // contains filtered or unexported fields }
func (*BatchCreateManualRepairRecordsRequest) Descriptor
deprecated
func (*BatchCreateManualRepairRecordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateManualRepairRecordsRequest.ProtoReflect.Descriptor instead.
func (*BatchCreateManualRepairRecordsRequest) GetRepairRecords ¶
func (x *BatchCreateManualRepairRecordsRequest) GetRepairRecords() []*protos.DeviceManualRepairRecord
func (*BatchCreateManualRepairRecordsRequest) ProtoMessage ¶
func (*BatchCreateManualRepairRecordsRequest) ProtoMessage()
func (*BatchCreateManualRepairRecordsRequest) ProtoReflect ¶
func (x *BatchCreateManualRepairRecordsRequest) ProtoReflect() protoreflect.Message
func (*BatchCreateManualRepairRecordsRequest) Reset ¶
func (x *BatchCreateManualRepairRecordsRequest) Reset()
func (*BatchCreateManualRepairRecordsRequest) String ¶
func (x *BatchCreateManualRepairRecordsRequest) String() string
type BatchCreateManualRepairRecordsResponse ¶
type BatchCreateManualRepairRecordsResponse struct { RepairRecords []*ManualRepairRecordResult `protobuf:"bytes,1,rep,name=repair_records,json=repairRecords,proto3" json:"repair_records,omitempty"` // contains filtered or unexported fields }
func (*BatchCreateManualRepairRecordsResponse) Descriptor
deprecated
func (*BatchCreateManualRepairRecordsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateManualRepairRecordsResponse.ProtoReflect.Descriptor instead.
func (*BatchCreateManualRepairRecordsResponse) GetRepairRecords ¶
func (x *BatchCreateManualRepairRecordsResponse) GetRepairRecords() []*ManualRepairRecordResult
func (*BatchCreateManualRepairRecordsResponse) ProtoMessage ¶
func (*BatchCreateManualRepairRecordsResponse) ProtoMessage()
func (*BatchCreateManualRepairRecordsResponse) ProtoReflect ¶
func (x *BatchCreateManualRepairRecordsResponse) ProtoReflect() protoreflect.Message
func (*BatchCreateManualRepairRecordsResponse) Reset ¶
func (x *BatchCreateManualRepairRecordsResponse) Reset()
func (*BatchCreateManualRepairRecordsResponse) String ¶
func (x *BatchCreateManualRepairRecordsResponse) String() string
type BatchGetManualRepairRecordsRequest ¶
type BatchGetManualRepairRecordsRequest struct { Hostnames []string `protobuf:"bytes,1,rep,name=hostnames,proto3" json:"hostnames,omitempty"` // contains filtered or unexported fields }
func (*BatchGetManualRepairRecordsRequest) Descriptor
deprecated
func (*BatchGetManualRepairRecordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchGetManualRepairRecordsRequest.ProtoReflect.Descriptor instead.
func (*BatchGetManualRepairRecordsRequest) GetHostnames ¶
func (x *BatchGetManualRepairRecordsRequest) GetHostnames() []string
func (*BatchGetManualRepairRecordsRequest) ProtoMessage ¶
func (*BatchGetManualRepairRecordsRequest) ProtoMessage()
func (*BatchGetManualRepairRecordsRequest) ProtoReflect ¶
func (x *BatchGetManualRepairRecordsRequest) ProtoReflect() protoreflect.Message
func (*BatchGetManualRepairRecordsRequest) Reset ¶
func (x *BatchGetManualRepairRecordsRequest) Reset()
func (*BatchGetManualRepairRecordsRequest) String ¶
func (x *BatchGetManualRepairRecordsRequest) String() string
type BatchGetManualRepairRecordsResponse ¶
type BatchGetManualRepairRecordsResponse struct { RepairRecords []*ManualRepairRecordResult `protobuf:"bytes,1,rep,name=repair_records,json=repairRecords,proto3" json:"repair_records,omitempty"` // contains filtered or unexported fields }
func (*BatchGetManualRepairRecordsResponse) Descriptor
deprecated
func (*BatchGetManualRepairRecordsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchGetManualRepairRecordsResponse.ProtoReflect.Descriptor instead.
func (*BatchGetManualRepairRecordsResponse) GetRepairRecords ¶
func (x *BatchGetManualRepairRecordsResponse) GetRepairRecords() []*ManualRepairRecordResult
func (*BatchGetManualRepairRecordsResponse) ProtoMessage ¶
func (*BatchGetManualRepairRecordsResponse) ProtoMessage()
func (*BatchGetManualRepairRecordsResponse) ProtoReflect ¶
func (x *BatchGetManualRepairRecordsResponse) ProtoReflect() protoreflect.Message
func (*BatchGetManualRepairRecordsResponse) Reset ¶
func (x *BatchGetManualRepairRecordsResponse) Reset()
func (*BatchGetManualRepairRecordsResponse) String ¶
func (x *BatchGetManualRepairRecordsResponse) String() string
type CreateDeviceManualRepairRecordRequest ¶
type CreateDeviceManualRepairRecordRequest struct { DeviceRepairRecord *protos.DeviceManualRepairRecord `protobuf:"bytes,1,opt,name=device_repair_record,json=deviceRepairRecord,proto3" json:"device_repair_record,omitempty"` // contains filtered or unexported fields }
func (*CreateDeviceManualRepairRecordRequest) Descriptor
deprecated
func (*CreateDeviceManualRepairRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDeviceManualRepairRecordRequest.ProtoReflect.Descriptor instead.
func (*CreateDeviceManualRepairRecordRequest) GetDeviceRepairRecord ¶
func (x *CreateDeviceManualRepairRecordRequest) GetDeviceRepairRecord() *protos.DeviceManualRepairRecord
func (*CreateDeviceManualRepairRecordRequest) ProtoMessage ¶
func (*CreateDeviceManualRepairRecordRequest) ProtoMessage()
func (*CreateDeviceManualRepairRecordRequest) ProtoReflect ¶
func (x *CreateDeviceManualRepairRecordRequest) ProtoReflect() protoreflect.Message
func (*CreateDeviceManualRepairRecordRequest) Reset ¶
func (x *CreateDeviceManualRepairRecordRequest) Reset()
func (*CreateDeviceManualRepairRecordRequest) String ¶
func (x *CreateDeviceManualRepairRecordRequest) String() string
type CreateDeviceManualRepairRecordResponse ¶
type CreateDeviceManualRepairRecordResponse struct {
// contains filtered or unexported fields
}
func (*CreateDeviceManualRepairRecordResponse) Descriptor
deprecated
func (*CreateDeviceManualRepairRecordResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateDeviceManualRepairRecordResponse.ProtoReflect.Descriptor instead.
func (*CreateDeviceManualRepairRecordResponse) ProtoMessage ¶
func (*CreateDeviceManualRepairRecordResponse) ProtoMessage()
func (*CreateDeviceManualRepairRecordResponse) ProtoReflect ¶
func (x *CreateDeviceManualRepairRecordResponse) ProtoReflect() protoreflect.Message
func (*CreateDeviceManualRepairRecordResponse) Reset ¶
func (x *CreateDeviceManualRepairRecordResponse) Reset()
func (*CreateDeviceManualRepairRecordResponse) String ¶
func (x *CreateDeviceManualRepairRecordResponse) String() string
type DecoratedInventory ¶
type DecoratedInventory struct { // Service is the service to decorate. Service InventoryServer // Prelude is called for each method before forwarding the call to Service. // If Prelude returns an error, then the call is skipped and the error is // processed via the Postlude (if one is defined), or it is returned directly. Prelude func(ctx context.Context, methodName string, req proto.Message) (context.Context, error) // Postlude is called for each method after Service has processed the call, or // after the Prelude has returned an error. This takes the Service's // response proto (which may be nil) and/or any error. The decorated // service will return the response (possibly mutated) and error that Postlude // returns. Postlude func(ctx context.Context, methodName string, rsp proto.Message, err error) error }
func (*DecoratedInventory) BatchCreateManualRepairRecords ¶
func (s *DecoratedInventory) BatchCreateManualRepairRecords(ctx context.Context, req *BatchCreateManualRepairRecordsRequest) (rsp *BatchCreateManualRepairRecordsResponse, err error)
func (*DecoratedInventory) BatchGetManualRepairRecords ¶
func (s *DecoratedInventory) BatchGetManualRepairRecords(ctx context.Context, req *BatchGetManualRepairRecordsRequest) (rsp *BatchGetManualRepairRecordsResponse, err error)
func (*DecoratedInventory) CreateDeviceManualRepairRecord ¶
func (s *DecoratedInventory) CreateDeviceManualRepairRecord(ctx context.Context, req *CreateDeviceManualRepairRecordRequest) (rsp *CreateDeviceManualRepairRecordResponse, err error)
func (*DecoratedInventory) DeviceConfigsExists ¶
func (s *DecoratedInventory) DeviceConfigsExists(ctx context.Context, req *DeviceConfigsExistsRequest) (rsp *DeviceConfigsExistsResponse, err error)
func (*DecoratedInventory) GetCrosDevices ¶
func (s *DecoratedInventory) GetCrosDevices(ctx context.Context, req *GetCrosDevicesRequest) (rsp *GetCrosDevicesResponse, err error)
func (*DecoratedInventory) GetDeviceConfig ¶
func (s *DecoratedInventory) GetDeviceConfig(ctx context.Context, req *GetDeviceConfigRequest) (rsp *device.Config, err error)
func (*DecoratedInventory) GetDeviceManualRepairRecord ¶
func (s *DecoratedInventory) GetDeviceManualRepairRecord(ctx context.Context, req *GetDeviceManualRepairRecordRequest) (rsp *GetDeviceManualRepairRecordResponse, err error)
func (*DecoratedInventory) GetHwidData ¶
func (s *DecoratedInventory) GetHwidData(ctx context.Context, req *GetHwidDataRequest) (rsp *HwidData, err error)
func (*DecoratedInventory) GetManufacturingConfig ¶
func (s *DecoratedInventory) GetManufacturingConfig(ctx context.Context, req *GetManufacturingConfigRequest) (rsp *manufacturing.Config, err error)
func (*DecoratedInventory) ListCrosDevicesLabConfig ¶
func (s *DecoratedInventory) ListCrosDevicesLabConfig(ctx context.Context, req *ListCrosDevicesLabConfigRequest) (rsp *ListCrosDevicesLabConfigResponse, err error)
func (*DecoratedInventory) ListDeviceConfigs ¶
func (s *DecoratedInventory) ListDeviceConfigs(ctx context.Context, req *ListDeviceConfigsRequest) (rsp *ListDeviceConfigsResponse, err error)
func (*DecoratedInventory) ListManualRepairRecords ¶
func (s *DecoratedInventory) ListManualRepairRecords(ctx context.Context, req *ListManualRepairRecordsRequest) (rsp *ListManualRepairRecordsResponse, err error)
func (*DecoratedInventory) UpdateDeviceManualRepairRecord ¶
func (s *DecoratedInventory) UpdateDeviceManualRepairRecord(ctx context.Context, req *UpdateDeviceManualRepairRecordRequest) (rsp *UpdateDeviceManualRepairRecordResponse, err error)
func (*DecoratedInventory) UpdateDutsStatus ¶
func (s *DecoratedInventory) UpdateDutsStatus(ctx context.Context, req *UpdateDutsStatusRequest) (rsp *UpdateDutsStatusResponse, err error)
type DeviceConfigsExistsRequest ¶
type DeviceConfigsExistsRequest struct { // device_configs to check ConfigIds []*device.ConfigId `protobuf:"bytes,1,rep,name=configIds,proto3" json:"configIds,omitempty"` // contains filtered or unexported fields }
func (*DeviceConfigsExistsRequest) Descriptor
deprecated
func (*DeviceConfigsExistsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceConfigsExistsRequest.ProtoReflect.Descriptor instead.
func (*DeviceConfigsExistsRequest) GetConfigIds ¶
func (x *DeviceConfigsExistsRequest) GetConfigIds() []*device.ConfigId
func (*DeviceConfigsExistsRequest) ProtoMessage ¶
func (*DeviceConfigsExistsRequest) ProtoMessage()
func (*DeviceConfigsExistsRequest) ProtoReflect ¶
func (x *DeviceConfigsExistsRequest) ProtoReflect() protoreflect.Message
func (*DeviceConfigsExistsRequest) Reset ¶
func (x *DeviceConfigsExistsRequest) Reset()
func (*DeviceConfigsExistsRequest) String ¶
func (x *DeviceConfigsExistsRequest) String() string
type DeviceConfigsExistsResponse ¶
type DeviceConfigsExistsResponse struct { // Exists Map with true/false for the requested configIds // https://developers.google.com/protocol-buffers/docs/proto3#scalar // There is no int(Only int32 and others) scalar type for proto. // int32 maps to int32 in golang. // To iterate over map exists with int values(int i) - use exists[int32(i)] Exists map[int32]bool `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DeviceConfigsExistsResponse) Descriptor
deprecated
func (*DeviceConfigsExistsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceConfigsExistsResponse.ProtoReflect.Descriptor instead.
func (*DeviceConfigsExistsResponse) GetExists ¶
func (x *DeviceConfigsExistsResponse) GetExists() map[int32]bool
func (*DeviceConfigsExistsResponse) ProtoMessage ¶
func (*DeviceConfigsExistsResponse) ProtoMessage()
func (*DeviceConfigsExistsResponse) ProtoReflect ¶
func (x *DeviceConfigsExistsResponse) ProtoReflect() protoreflect.Message
func (*DeviceConfigsExistsResponse) Reset ¶
func (x *DeviceConfigsExistsResponse) Reset()
func (*DeviceConfigsExistsResponse) String ¶
func (x *DeviceConfigsExistsResponse) String() string
type DeviceID ¶
type DeviceID struct { // Types that are valid to be assigned to Id: // // *DeviceID_Hostname // *DeviceID_ChromeosDeviceId Id isDeviceID_Id `protobuf_oneof:"id"` // contains filtered or unexported fields }
func (*DeviceID) Descriptor
deprecated
func (*DeviceID) GetChromeosDeviceId ¶
func (*DeviceID) GetHostname ¶
func (*DeviceID) ProtoMessage ¶
func (*DeviceID) ProtoMessage()
func (*DeviceID) ProtoReflect ¶
func (x *DeviceID) ProtoReflect() protoreflect.Message
type DeviceID_ChromeosDeviceId ¶
type DeviceID_ChromeosDeviceId struct {
ChromeosDeviceId string `protobuf:"bytes,2,opt,name=chromeos_device_id,json=chromeosDeviceId,proto3,oneof"`
}
type DeviceID_Hostname ¶
type DeviceID_Hostname struct {
Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3,oneof"`
}
type DeviceOpResult ¶
type DeviceOpResult struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` ErrorMsg string `protobuf:"bytes,3,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` // contains filtered or unexported fields }
func (*DeviceOpResult) Descriptor
deprecated
func (*DeviceOpResult) Descriptor() ([]byte, []int)
Deprecated: Use DeviceOpResult.ProtoReflect.Descriptor instead.
func (*DeviceOpResult) GetErrorMsg ¶
func (x *DeviceOpResult) GetErrorMsg() string
func (*DeviceOpResult) GetHostname ¶
func (x *DeviceOpResult) GetHostname() string
func (*DeviceOpResult) GetId ¶
func (x *DeviceOpResult) GetId() string
func (*DeviceOpResult) ProtoMessage ¶
func (*DeviceOpResult) ProtoMessage()
func (*DeviceOpResult) ProtoReflect ¶
func (x *DeviceOpResult) ProtoReflect() protoreflect.Message
func (*DeviceOpResult) Reset ¶
func (x *DeviceOpResult) Reset()
func (*DeviceOpResult) String ¶
func (x *DeviceOpResult) String() string
type DeviceProperty ¶
type DeviceProperty struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` Pool string `protobuf:"bytes,2,opt,name=pool,proto3" json:"pool,omitempty"` Rpm *DeviceProperty_Rpm `protobuf:"bytes,3,opt,name=rpm,proto3" json:"rpm,omitempty"` // contains filtered or unexported fields }
func (*DeviceProperty) Descriptor
deprecated
func (*DeviceProperty) Descriptor() ([]byte, []int)
Deprecated: Use DeviceProperty.ProtoReflect.Descriptor instead.
func (*DeviceProperty) GetHostname ¶
func (x *DeviceProperty) GetHostname() string
func (*DeviceProperty) GetPool ¶
func (x *DeviceProperty) GetPool() string
func (*DeviceProperty) GetRpm ¶
func (x *DeviceProperty) GetRpm() *DeviceProperty_Rpm
func (*DeviceProperty) ProtoMessage ¶
func (*DeviceProperty) ProtoMessage()
func (*DeviceProperty) ProtoReflect ¶
func (x *DeviceProperty) ProtoReflect() protoreflect.Message
func (*DeviceProperty) Reset ¶
func (x *DeviceProperty) Reset()
func (*DeviceProperty) String ¶
func (x *DeviceProperty) String() string
type DeviceProperty_Rpm ¶
type DeviceProperty_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 }
func (*DeviceProperty_Rpm) Descriptor
deprecated
func (*DeviceProperty_Rpm) Descriptor() ([]byte, []int)
Deprecated: Use DeviceProperty_Rpm.ProtoReflect.Descriptor instead.
func (*DeviceProperty_Rpm) GetPowerunitName ¶
func (x *DeviceProperty_Rpm) GetPowerunitName() string
func (*DeviceProperty_Rpm) GetPowerunitOutlet ¶
func (x *DeviceProperty_Rpm) GetPowerunitOutlet() string
func (*DeviceProperty_Rpm) ProtoMessage ¶
func (*DeviceProperty_Rpm) ProtoMessage()
func (*DeviceProperty_Rpm) ProtoReflect ¶
func (x *DeviceProperty_Rpm) ProtoReflect() protoreflect.Message
func (*DeviceProperty_Rpm) Reset ¶
func (x *DeviceProperty_Rpm) Reset()
func (*DeviceProperty_Rpm) String ¶
func (x *DeviceProperty_Rpm) String() string
type DutMeta ¶
type DutMeta struct { ChromeosDeviceId string `protobuf:"bytes,1,opt,name=chromeos_device_id,json=chromeosDeviceId,proto3" json:"chromeos_device_id,omitempty"` SerialNumber string `protobuf:"bytes,2,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` HwID string `protobuf:"bytes,3,opt,name=hwID,proto3" json:"hwID,omitempty"` DeviceSku string `protobuf:"bytes,4,opt,name=device_sku,json=deviceSku,proto3" json:"device_sku,omitempty"` // contains filtered or unexported fields }
func (*DutMeta) Descriptor
deprecated
func (*DutMeta) GetChromeosDeviceId ¶
func (*DutMeta) GetDeviceSku ¶
func (*DutMeta) GetSerialNumber ¶
func (*DutMeta) ProtoMessage ¶
func (*DutMeta) ProtoMessage()
func (*DutMeta) ProtoReflect ¶
func (x *DutMeta) ProtoReflect() protoreflect.Message
type ExtendedDeviceData ¶
type ExtendedDeviceData struct { LabConfig *lab.ChromeOSDevice `protobuf:"bytes,1,opt,name=lab_config,json=labConfig,proto3" json:"lab_config,omitempty"` DeviceConfig *device.Config `protobuf:"bytes,2,opt,name=device_config,json=deviceConfig,proto3" json:"device_config,omitempty"` ManufacturingConfig *manufacturing.Config `protobuf:"bytes,3,opt,name=manufacturing_config,json=manufacturingConfig,proto3" json:"manufacturing_config,omitempty"` HwidData *HwidData `protobuf:"bytes,4,opt,name=hwid_data,json=hwidData,proto3" json:"hwid_data,omitempty"` DutState *lab.DutState `protobuf:"bytes,5,opt,name=dut_state,json=dutState,proto3" json:"dut_state,omitempty"` // contains filtered or unexported fields }
func (*ExtendedDeviceData) Descriptor
deprecated
func (*ExtendedDeviceData) Descriptor() ([]byte, []int)
Deprecated: Use ExtendedDeviceData.ProtoReflect.Descriptor instead.
func (*ExtendedDeviceData) GetDeviceConfig ¶
func (x *ExtendedDeviceData) GetDeviceConfig() *device.Config
func (*ExtendedDeviceData) GetDutState ¶
func (x *ExtendedDeviceData) GetDutState() *lab.DutState
func (*ExtendedDeviceData) GetHwidData ¶
func (x *ExtendedDeviceData) GetHwidData() *HwidData
func (*ExtendedDeviceData) GetLabConfig ¶
func (x *ExtendedDeviceData) GetLabConfig() *lab.ChromeOSDevice
func (*ExtendedDeviceData) GetManufacturingConfig ¶
func (x *ExtendedDeviceData) GetManufacturingConfig() *manufacturing.Config
func (*ExtendedDeviceData) ProtoMessage ¶
func (*ExtendedDeviceData) ProtoMessage()
func (*ExtendedDeviceData) ProtoReflect ¶
func (x *ExtendedDeviceData) ProtoReflect() protoreflect.Message
func (*ExtendedDeviceData) Reset ¶
func (x *ExtendedDeviceData) Reset()
func (*ExtendedDeviceData) String ¶
func (x *ExtendedDeviceData) String() string
type GetCrosDevicesRequest ¶
type GetCrosDevicesRequest struct { Ids []*DeviceID `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` Models []string `protobuf:"bytes,2,rep,name=models,proto3" json:"models,omitempty"` // contains filtered or unexported fields }
func (*GetCrosDevicesRequest) Descriptor
deprecated
func (*GetCrosDevicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCrosDevicesRequest.ProtoReflect.Descriptor instead.
func (*GetCrosDevicesRequest) GetIds ¶
func (x *GetCrosDevicesRequest) GetIds() []*DeviceID
func (*GetCrosDevicesRequest) GetModels ¶
func (x *GetCrosDevicesRequest) GetModels() []string
func (*GetCrosDevicesRequest) ProtoMessage ¶
func (*GetCrosDevicesRequest) ProtoMessage()
func (*GetCrosDevicesRequest) ProtoReflect ¶
func (x *GetCrosDevicesRequest) ProtoReflect() protoreflect.Message
func (*GetCrosDevicesRequest) Reset ¶
func (x *GetCrosDevicesRequest) Reset()
func (*GetCrosDevicesRequest) String ¶
func (x *GetCrosDevicesRequest) String() string
type GetCrosDevicesResponse ¶
type GetCrosDevicesResponse struct { Data []*ExtendedDeviceData `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` FailedDevices []*DeviceOpResult `protobuf:"bytes,2,rep,name=failed_devices,json=failedDevices,proto3" json:"failed_devices,omitempty"` // contains filtered or unexported fields }
func (*GetCrosDevicesResponse) Descriptor
deprecated
func (*GetCrosDevicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCrosDevicesResponse.ProtoReflect.Descriptor instead.
func (*GetCrosDevicesResponse) GetData ¶
func (x *GetCrosDevicesResponse) GetData() []*ExtendedDeviceData
func (*GetCrosDevicesResponse) GetFailedDevices ¶
func (x *GetCrosDevicesResponse) GetFailedDevices() []*DeviceOpResult
func (*GetCrosDevicesResponse) ProtoMessage ¶
func (*GetCrosDevicesResponse) ProtoMessage()
func (*GetCrosDevicesResponse) ProtoReflect ¶
func (x *GetCrosDevicesResponse) ProtoReflect() protoreflect.Message
func (*GetCrosDevicesResponse) Reset ¶
func (x *GetCrosDevicesResponse) Reset()
func (*GetCrosDevicesResponse) String ¶
func (x *GetCrosDevicesResponse) String() string
type GetDeviceConfigRequest ¶
type GetDeviceConfigRequest struct { ConfigId *device.ConfigId `protobuf:"bytes,1,opt,name=configId,proto3" json:"configId,omitempty"` // contains filtered or unexported fields }
func (*GetDeviceConfigRequest) Descriptor
deprecated
func (*GetDeviceConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDeviceConfigRequest.ProtoReflect.Descriptor instead.
func (*GetDeviceConfigRequest) GetConfigId ¶
func (x *GetDeviceConfigRequest) GetConfigId() *device.ConfigId
func (*GetDeviceConfigRequest) ProtoMessage ¶
func (*GetDeviceConfigRequest) ProtoMessage()
func (*GetDeviceConfigRequest) ProtoReflect ¶
func (x *GetDeviceConfigRequest) ProtoReflect() protoreflect.Message
func (*GetDeviceConfigRequest) Reset ¶
func (x *GetDeviceConfigRequest) Reset()
func (*GetDeviceConfigRequest) String ¶
func (x *GetDeviceConfigRequest) String() string
func (*GetDeviceConfigRequest) Validate ¶
func (r *GetDeviceConfigRequest) Validate() error
Validate validates input requests of GetDeviceConfig.
type GetDeviceManualRepairRecordRequest ¶
type GetDeviceManualRepairRecordRequest struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` // contains filtered or unexported fields }
func (*GetDeviceManualRepairRecordRequest) Descriptor
deprecated
func (*GetDeviceManualRepairRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDeviceManualRepairRecordRequest.ProtoReflect.Descriptor instead.
func (*GetDeviceManualRepairRecordRequest) GetHostname ¶
func (x *GetDeviceManualRepairRecordRequest) GetHostname() string
func (*GetDeviceManualRepairRecordRequest) ProtoMessage ¶
func (*GetDeviceManualRepairRecordRequest) ProtoMessage()
func (*GetDeviceManualRepairRecordRequest) ProtoReflect ¶
func (x *GetDeviceManualRepairRecordRequest) ProtoReflect() protoreflect.Message
func (*GetDeviceManualRepairRecordRequest) Reset ¶
func (x *GetDeviceManualRepairRecordRequest) Reset()
func (*GetDeviceManualRepairRecordRequest) String ¶
func (x *GetDeviceManualRepairRecordRequest) String() string
type GetDeviceManualRepairRecordResponse ¶
type GetDeviceManualRepairRecordResponse struct { DeviceRepairRecord *protos.DeviceManualRepairRecord `protobuf:"bytes,1,opt,name=device_repair_record,json=deviceRepairRecord,proto3" json:"device_repair_record,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetDeviceManualRepairRecordResponse) Descriptor
deprecated
func (*GetDeviceManualRepairRecordResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDeviceManualRepairRecordResponse.ProtoReflect.Descriptor instead.
func (*GetDeviceManualRepairRecordResponse) GetDeviceRepairRecord ¶
func (x *GetDeviceManualRepairRecordResponse) GetDeviceRepairRecord() *protos.DeviceManualRepairRecord
func (*GetDeviceManualRepairRecordResponse) GetId ¶
func (x *GetDeviceManualRepairRecordResponse) GetId() string
func (*GetDeviceManualRepairRecordResponse) ProtoMessage ¶
func (*GetDeviceManualRepairRecordResponse) ProtoMessage()
func (*GetDeviceManualRepairRecordResponse) ProtoReflect ¶
func (x *GetDeviceManualRepairRecordResponse) ProtoReflect() protoreflect.Message
func (*GetDeviceManualRepairRecordResponse) Reset ¶
func (x *GetDeviceManualRepairRecordResponse) Reset()
func (*GetDeviceManualRepairRecordResponse) String ¶
func (x *GetDeviceManualRepairRecordResponse) String() string
type GetHwidDataRequest ¶
type GetHwidDataRequest struct { // Hwid of the Asset/DUT Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetHwidDataRequest) Descriptor
deprecated
func (*GetHwidDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHwidDataRequest.ProtoReflect.Descriptor instead.
func (*GetHwidDataRequest) GetName ¶
func (x *GetHwidDataRequest) GetName() string
func (*GetHwidDataRequest) ProtoMessage ¶
func (*GetHwidDataRequest) ProtoMessage()
func (*GetHwidDataRequest) ProtoReflect ¶
func (x *GetHwidDataRequest) ProtoReflect() protoreflect.Message
func (*GetHwidDataRequest) Reset ¶
func (x *GetHwidDataRequest) Reset()
func (*GetHwidDataRequest) String ¶
func (x *GetHwidDataRequest) String() string
type GetManufacturingConfigRequest ¶
type GetManufacturingConfigRequest struct { // Hwid of the Asset/DUT Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetManufacturingConfigRequest) Descriptor
deprecated
func (*GetManufacturingConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetManufacturingConfigRequest.ProtoReflect.Descriptor instead.
func (*GetManufacturingConfigRequest) GetName ¶
func (x *GetManufacturingConfigRequest) GetName() string
func (*GetManufacturingConfigRequest) ProtoMessage ¶
func (*GetManufacturingConfigRequest) ProtoMessage()
func (*GetManufacturingConfigRequest) ProtoReflect ¶
func (x *GetManufacturingConfigRequest) ProtoReflect() protoreflect.Message
func (*GetManufacturingConfigRequest) Reset ¶
func (x *GetManufacturingConfigRequest) Reset()
func (*GetManufacturingConfigRequest) String ¶
func (x *GetManufacturingConfigRequest) String() string
type HwidData ¶
type HwidData struct { Sku string `protobuf:"bytes,1,opt,name=sku,proto3" json:"sku,omitempty"` Variant string `protobuf:"bytes,2,opt,name=variant,proto3" json:"variant,omitempty"` // contains filtered or unexported fields }
func (*HwidData) Descriptor
deprecated
func (*HwidData) GetVariant ¶
func (*HwidData) ProtoMessage ¶
func (*HwidData) ProtoMessage()
func (*HwidData) ProtoReflect ¶
func (x *HwidData) ProtoReflect() protoreflect.Message
type InventoryClient ¶
type InventoryClient interface { // Deprecated: Do not use. // GetCrosDevices retrieves requested Chrome OS devices from the inventory. GetCrosDevices(ctx context.Context, in *GetCrosDevicesRequest, opts ...grpc.CallOption) (*GetCrosDevicesResponse, error) // Deprecated: Do not use. // UpdateDutsStatus updates selected Duts' status labels related to testing. UpdateDutsStatus(ctx context.Context, in *UpdateDutsStatusRequest, opts ...grpc.CallOption) (*UpdateDutsStatusResponse, error) // Deprecated: Do not use. // Get a Hwid data for the device from datastore GetHwidData(ctx context.Context, in *GetHwidDataRequest, opts ...grpc.CallOption) (*HwidData, error) // Deprecated: Do not use. // Get manufacturing config for the device from datastore GetManufacturingConfig(ctx context.Context, in *GetManufacturingConfigRequest, opts ...grpc.CallOption) (*manufacturing.Config, error) // Get a device config for the device from datastore GetDeviceConfig(ctx context.Context, in *GetDeviceConfigRequest, opts ...grpc.CallOption) (*device.Config, error) // DeviceConfigsExists checks if the device_configs exists in the datastore DeviceConfigsExists(ctx context.Context, in *DeviceConfigsExistsRequest, opts ...grpc.CallOption) (*DeviceConfigsExistsResponse, error) // ListDeviceConfigs lists all device configs // // Explicitly not implementing AIP practices (https://google.aip.dev/132) due // to desired deprecation of this service. ListDeviceConfigs(ctx context.Context, in *ListDeviceConfigsRequest, opts ...grpc.CallOption) (*ListDeviceConfigsResponse, error) // ListCrosDevicesLabConfig lists the lab configs of all devices saved in Inventor v2. ListCrosDevicesLabConfig(ctx context.Context, in *ListCrosDevicesLabConfigRequest, opts ...grpc.CallOption) (*ListCrosDevicesLabConfigResponse, error) // Get a device manual repair record from datastore GetDeviceManualRepairRecord(ctx context.Context, in *GetDeviceManualRepairRecordRequest, opts ...grpc.CallOption) (*GetDeviceManualRepairRecordResponse, error) // Create a device manual repair record in datastore CreateDeviceManualRepairRecord(ctx context.Context, in *CreateDeviceManualRepairRecordRequest, opts ...grpc.CallOption) (*CreateDeviceManualRepairRecordResponse, error) // Update a device manual repair record in datastore UpdateDeviceManualRepairRecord(ctx context.Context, in *UpdateDeviceManualRepairRecordRequest, opts ...grpc.CallOption) (*UpdateDeviceManualRepairRecordResponse, error) // ListManualRepairRecords lists repair records based on filters passed in the // request. ListManualRepairRecords(ctx context.Context, in *ListManualRepairRecordsRequest, opts ...grpc.CallOption) (*ListManualRepairRecordsResponse, error) // Get the open manual repair records for a batch of hostnames from datastore BatchGetManualRepairRecords(ctx context.Context, in *BatchGetManualRepairRecordsRequest, opts ...grpc.CallOption) (*BatchGetManualRepairRecordsResponse, error) // BatchCreateManualRepairRecords creates multiple manual repair records in // datastore in batch BatchCreateManualRepairRecords(ctx context.Context, in *BatchCreateManualRepairRecordsRequest, opts ...grpc.CallOption) (*BatchCreateManualRepairRecordsResponse, error) }
InventoryClient is the client API for Inventory service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewInventoryClient ¶
func NewInventoryClient(cc grpc.ClientConnInterface) InventoryClient
func NewInventoryPRPCClient ¶
func NewInventoryPRPCClient(client *prpc.Client) InventoryClient
type InventoryServer ¶
type InventoryServer interface { // Deprecated: Do not use. // GetCrosDevices retrieves requested Chrome OS devices from the inventory. GetCrosDevices(context.Context, *GetCrosDevicesRequest) (*GetCrosDevicesResponse, error) // Deprecated: Do not use. // UpdateDutsStatus updates selected Duts' status labels related to testing. UpdateDutsStatus(context.Context, *UpdateDutsStatusRequest) (*UpdateDutsStatusResponse, error) // Deprecated: Do not use. // Get a Hwid data for the device from datastore GetHwidData(context.Context, *GetHwidDataRequest) (*HwidData, error) // Deprecated: Do not use. // Get manufacturing config for the device from datastore GetManufacturingConfig(context.Context, *GetManufacturingConfigRequest) (*manufacturing.Config, error) // Get a device config for the device from datastore GetDeviceConfig(context.Context, *GetDeviceConfigRequest) (*device.Config, error) // DeviceConfigsExists checks if the device_configs exists in the datastore DeviceConfigsExists(context.Context, *DeviceConfigsExistsRequest) (*DeviceConfigsExistsResponse, error) // ListDeviceConfigs lists all device configs // // Explicitly not implementing AIP practices (https://google.aip.dev/132) due // to desired deprecation of this service. ListDeviceConfigs(context.Context, *ListDeviceConfigsRequest) (*ListDeviceConfigsResponse, error) // ListCrosDevicesLabConfig lists the lab configs of all devices saved in Inventor v2. ListCrosDevicesLabConfig(context.Context, *ListCrosDevicesLabConfigRequest) (*ListCrosDevicesLabConfigResponse, error) // Get a device manual repair record from datastore GetDeviceManualRepairRecord(context.Context, *GetDeviceManualRepairRecordRequest) (*GetDeviceManualRepairRecordResponse, error) // Create a device manual repair record in datastore CreateDeviceManualRepairRecord(context.Context, *CreateDeviceManualRepairRecordRequest) (*CreateDeviceManualRepairRecordResponse, error) // Update a device manual repair record in datastore UpdateDeviceManualRepairRecord(context.Context, *UpdateDeviceManualRepairRecordRequest) (*UpdateDeviceManualRepairRecordResponse, error) // ListManualRepairRecords lists repair records based on filters passed in the // request. ListManualRepairRecords(context.Context, *ListManualRepairRecordsRequest) (*ListManualRepairRecordsResponse, error) // Get the open manual repair records for a batch of hostnames from datastore BatchGetManualRepairRecords(context.Context, *BatchGetManualRepairRecordsRequest) (*BatchGetManualRepairRecordsResponse, error) // BatchCreateManualRepairRecords creates multiple manual repair records in // datastore in batch BatchCreateManualRepairRecords(context.Context, *BatchCreateManualRepairRecordsRequest) (*BatchCreateManualRepairRecordsResponse, error) }
InventoryServer is the server API for Inventory service.
type LabMeta ¶
type LabMeta struct { ChromeosDeviceId string `protobuf:"bytes,1,opt,name=chromeos_device_id,json=chromeosDeviceId,proto3" json:"chromeos_device_id,omitempty"` ServoType string `protobuf:"bytes,2,opt,name=servo_type,json=servoType,proto3" json:"servo_type,omitempty"` SmartUsbhub bool `protobuf:"varint,3,opt,name=smart_usbhub,json=smartUsbhub,proto3" json:"smart_usbhub,omitempty"` ServoTopology *lab.ServoTopology `protobuf:"bytes,4,opt,name=servo_topology,json=servoTopology,proto3" json:"servo_topology,omitempty"` // contains filtered or unexported fields }
func (*LabMeta) Descriptor
deprecated
func (*LabMeta) GetChromeosDeviceId ¶
func (*LabMeta) GetServoTopology ¶
func (x *LabMeta) GetServoTopology() *lab.ServoTopology
func (*LabMeta) GetServoType ¶
func (*LabMeta) GetSmartUsbhub ¶
func (*LabMeta) ProtoMessage ¶
func (*LabMeta) ProtoMessage()
func (*LabMeta) ProtoReflect ¶
func (x *LabMeta) ProtoReflect() protoreflect.Message
type ListCrosDevicesLabConfigRequest ¶
type ListCrosDevicesLabConfigRequest struct {
// contains filtered or unexported fields
}
func (*ListCrosDevicesLabConfigRequest) Descriptor
deprecated
func (*ListCrosDevicesLabConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCrosDevicesLabConfigRequest.ProtoReflect.Descriptor instead.
func (*ListCrosDevicesLabConfigRequest) ProtoMessage ¶
func (*ListCrosDevicesLabConfigRequest) ProtoMessage()
func (*ListCrosDevicesLabConfigRequest) ProtoReflect ¶
func (x *ListCrosDevicesLabConfigRequest) ProtoReflect() protoreflect.Message
func (*ListCrosDevicesLabConfigRequest) Reset ¶
func (x *ListCrosDevicesLabConfigRequest) Reset()
func (*ListCrosDevicesLabConfigRequest) String ¶
func (x *ListCrosDevicesLabConfigRequest) String() string
type ListCrosDevicesLabConfigResponse ¶
type ListCrosDevicesLabConfigResponse struct { LabConfigs []*ListCrosDevicesLabConfigResponse_LabConfig `protobuf:"bytes,1,rep,name=lab_configs,json=labConfigs,proto3" json:"lab_configs,omitempty"` // Omit the page tokens as it's only used internally by UFS. // contains filtered or unexported fields }
func (*ListCrosDevicesLabConfigResponse) Descriptor
deprecated
func (*ListCrosDevicesLabConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCrosDevicesLabConfigResponse.ProtoReflect.Descriptor instead.
func (*ListCrosDevicesLabConfigResponse) GetLabConfigs ¶
func (x *ListCrosDevicesLabConfigResponse) GetLabConfigs() []*ListCrosDevicesLabConfigResponse_LabConfig
func (*ListCrosDevicesLabConfigResponse) ProtoMessage ¶
func (*ListCrosDevicesLabConfigResponse) ProtoMessage()
func (*ListCrosDevicesLabConfigResponse) ProtoReflect ¶
func (x *ListCrosDevicesLabConfigResponse) ProtoReflect() protoreflect.Message
func (*ListCrosDevicesLabConfigResponse) Reset ¶
func (x *ListCrosDevicesLabConfigResponse) Reset()
func (*ListCrosDevicesLabConfigResponse) String ¶
func (x *ListCrosDevicesLabConfigResponse) String() string
type ListCrosDevicesLabConfigResponse_LabConfig ¶
type ListCrosDevicesLabConfigResponse_LabConfig struct { Config *lab.ChromeOSDevice `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` State *lab.DutState `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"` // contains filtered or unexported fields }
func (*ListCrosDevicesLabConfigResponse_LabConfig) Descriptor
deprecated
func (*ListCrosDevicesLabConfigResponse_LabConfig) Descriptor() ([]byte, []int)
Deprecated: Use ListCrosDevicesLabConfigResponse_LabConfig.ProtoReflect.Descriptor instead.
func (*ListCrosDevicesLabConfigResponse_LabConfig) GetConfig ¶
func (x *ListCrosDevicesLabConfigResponse_LabConfig) GetConfig() *lab.ChromeOSDevice
func (*ListCrosDevicesLabConfigResponse_LabConfig) GetState ¶
func (x *ListCrosDevicesLabConfigResponse_LabConfig) GetState() *lab.DutState
func (*ListCrosDevicesLabConfigResponse_LabConfig) GetUpdatedTime ¶
func (x *ListCrosDevicesLabConfigResponse_LabConfig) GetUpdatedTime() *timestamppb.Timestamp
func (*ListCrosDevicesLabConfigResponse_LabConfig) ProtoMessage ¶
func (*ListCrosDevicesLabConfigResponse_LabConfig) ProtoMessage()
func (*ListCrosDevicesLabConfigResponse_LabConfig) ProtoReflect ¶
func (x *ListCrosDevicesLabConfigResponse_LabConfig) ProtoReflect() protoreflect.Message
func (*ListCrosDevicesLabConfigResponse_LabConfig) Reset ¶
func (x *ListCrosDevicesLabConfigResponse_LabConfig) Reset()
func (*ListCrosDevicesLabConfigResponse_LabConfig) String ¶
func (x *ListCrosDevicesLabConfigResponse_LabConfig) String() string
type ListDeviceConfigsRequest ¶
type ListDeviceConfigsRequest struct {
// contains filtered or unexported fields
}
ListDeviceConfigsRequest is currently empty as we do not support pagination or filtering due to desired deprecation of this service.
func (*ListDeviceConfigsRequest) Descriptor
deprecated
func (*ListDeviceConfigsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDeviceConfigsRequest.ProtoReflect.Descriptor instead.
func (*ListDeviceConfigsRequest) ProtoMessage ¶
func (*ListDeviceConfigsRequest) ProtoMessage()
func (*ListDeviceConfigsRequest) ProtoReflect ¶
func (x *ListDeviceConfigsRequest) ProtoReflect() protoreflect.Message
func (*ListDeviceConfigsRequest) Reset ¶
func (x *ListDeviceConfigsRequest) Reset()
func (*ListDeviceConfigsRequest) String ¶
func (x *ListDeviceConfigsRequest) String() string
type ListDeviceConfigsResponse ¶
type ListDeviceConfigsResponse struct { DeviceConfigs []*device.Config `protobuf:"bytes,1,rep,name=device_configs,json=deviceConfigs,proto3" json:"device_configs,omitempty"` // contains filtered or unexported fields }
ListDeviceConfigsResponse contains a list of all device configs.
func (*ListDeviceConfigsResponse) Descriptor
deprecated
func (*ListDeviceConfigsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDeviceConfigsResponse.ProtoReflect.Descriptor instead.
func (*ListDeviceConfigsResponse) GetDeviceConfigs ¶
func (x *ListDeviceConfigsResponse) GetDeviceConfigs() []*device.Config
func (*ListDeviceConfigsResponse) ProtoMessage ¶
func (*ListDeviceConfigsResponse) ProtoMessage()
func (*ListDeviceConfigsResponse) ProtoReflect ¶
func (x *ListDeviceConfigsResponse) ProtoReflect() protoreflect.Message
func (*ListDeviceConfigsResponse) Reset ¶
func (x *ListDeviceConfigsResponse) Reset()
func (*ListDeviceConfigsResponse) String ¶
func (x *ListDeviceConfigsResponse) String() string
type ListManualRepairRecordsRequest ¶
type ListManualRepairRecordsRequest struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` AssetTag string `protobuf:"bytes,2,opt,name=asset_tag,json=assetTag,proto3" json:"asset_tag,omitempty"` UserLdap string `protobuf:"bytes,4,opt,name=user_ldap,json=userLdap,proto3" json:"user_ldap,omitempty"` RepairState string `protobuf:"bytes,5,opt,name=repair_state,json=repairState,proto3" json:"repair_state,omitempty"` Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` Offset int32 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
Next tag: 7
func (*ListManualRepairRecordsRequest) Descriptor
deprecated
func (*ListManualRepairRecordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListManualRepairRecordsRequest.ProtoReflect.Descriptor instead.
func (*ListManualRepairRecordsRequest) GetAssetTag ¶
func (x *ListManualRepairRecordsRequest) GetAssetTag() string
func (*ListManualRepairRecordsRequest) GetHostname ¶
func (x *ListManualRepairRecordsRequest) GetHostname() string
func (*ListManualRepairRecordsRequest) GetLimit ¶
func (x *ListManualRepairRecordsRequest) GetLimit() int32
func (*ListManualRepairRecordsRequest) GetOffset ¶
func (x *ListManualRepairRecordsRequest) GetOffset() int32
func (*ListManualRepairRecordsRequest) GetRepairState ¶
func (x *ListManualRepairRecordsRequest) GetRepairState() string
func (*ListManualRepairRecordsRequest) GetUserLdap ¶
func (x *ListManualRepairRecordsRequest) GetUserLdap() string
func (*ListManualRepairRecordsRequest) ProtoMessage ¶
func (*ListManualRepairRecordsRequest) ProtoMessage()
func (*ListManualRepairRecordsRequest) ProtoReflect ¶
func (x *ListManualRepairRecordsRequest) ProtoReflect() protoreflect.Message
func (*ListManualRepairRecordsRequest) Reset ¶
func (x *ListManualRepairRecordsRequest) Reset()
func (*ListManualRepairRecordsRequest) String ¶
func (x *ListManualRepairRecordsRequest) String() string
type ListManualRepairRecordsResponse ¶
type ListManualRepairRecordsResponse struct { RepairRecords []*protos.DeviceManualRepairRecord `protobuf:"bytes,1,rep,name=repair_records,json=repairRecords,proto3" json:"repair_records,omitempty"` // contains filtered or unexported fields }
func (*ListManualRepairRecordsResponse) Descriptor
deprecated
func (*ListManualRepairRecordsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListManualRepairRecordsResponse.ProtoReflect.Descriptor instead.
func (*ListManualRepairRecordsResponse) GetRepairRecords ¶
func (x *ListManualRepairRecordsResponse) GetRepairRecords() []*protos.DeviceManualRepairRecord
func (*ListManualRepairRecordsResponse) ProtoMessage ¶
func (*ListManualRepairRecordsResponse) ProtoMessage()
func (*ListManualRepairRecordsResponse) ProtoReflect ¶
func (x *ListManualRepairRecordsResponse) ProtoReflect() protoreflect.Message
func (*ListManualRepairRecordsResponse) Reset ¶
func (x *ListManualRepairRecordsResponse) Reset()
func (*ListManualRepairRecordsResponse) String ¶
func (x *ListManualRepairRecordsResponse) String() string
type ManualRepairRecordResult ¶
type ManualRepairRecordResult struct { RepairRecord *protos.DeviceManualRepairRecord `protobuf:"bytes,1,opt,name=repair_record,json=repairRecord,proto3" json:"repair_record,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // The existence of an error_msg is used to determine whether a result was a // success or failure. The message content is mainly used for UI side logic. ErrorMsg string `protobuf:"bytes,3,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` Hostname string `protobuf:"bytes,4,opt,name=hostname,proto3" json:"hostname,omitempty"` // contains filtered or unexported fields }
func (*ManualRepairRecordResult) Descriptor
deprecated
func (*ManualRepairRecordResult) Descriptor() ([]byte, []int)
Deprecated: Use ManualRepairRecordResult.ProtoReflect.Descriptor instead.
func (*ManualRepairRecordResult) GetErrorMsg ¶
func (x *ManualRepairRecordResult) GetErrorMsg() string
func (*ManualRepairRecordResult) GetHostname ¶
func (x *ManualRepairRecordResult) GetHostname() string
func (*ManualRepairRecordResult) GetId ¶
func (x *ManualRepairRecordResult) GetId() string
func (*ManualRepairRecordResult) GetRepairRecord ¶
func (x *ManualRepairRecordResult) GetRepairRecord() *protos.DeviceManualRepairRecord
func (*ManualRepairRecordResult) ProtoMessage ¶
func (*ManualRepairRecordResult) ProtoMessage()
func (*ManualRepairRecordResult) ProtoReflect ¶
func (x *ManualRepairRecordResult) ProtoReflect() protoreflect.Message
func (*ManualRepairRecordResult) Reset ¶
func (x *ManualRepairRecordResult) Reset()
func (*ManualRepairRecordResult) String ¶
func (x *ManualRepairRecordResult) String() string
type UnimplementedInventoryServer ¶
type UnimplementedInventoryServer struct { }
UnimplementedInventoryServer can be embedded to have forward compatible implementations.
func (*UnimplementedInventoryServer) BatchCreateManualRepairRecords ¶
func (*UnimplementedInventoryServer) BatchCreateManualRepairRecords(context.Context, *BatchCreateManualRepairRecordsRequest) (*BatchCreateManualRepairRecordsResponse, error)
func (*UnimplementedInventoryServer) BatchGetManualRepairRecords ¶
func (*UnimplementedInventoryServer) BatchGetManualRepairRecords(context.Context, *BatchGetManualRepairRecordsRequest) (*BatchGetManualRepairRecordsResponse, error)
func (*UnimplementedInventoryServer) CreateDeviceManualRepairRecord ¶
func (*UnimplementedInventoryServer) CreateDeviceManualRepairRecord(context.Context, *CreateDeviceManualRepairRecordRequest) (*CreateDeviceManualRepairRecordResponse, error)
func (*UnimplementedInventoryServer) DeviceConfigsExists ¶
func (*UnimplementedInventoryServer) DeviceConfigsExists(context.Context, *DeviceConfigsExistsRequest) (*DeviceConfigsExistsResponse, error)
func (*UnimplementedInventoryServer) GetCrosDevices ¶
func (*UnimplementedInventoryServer) GetCrosDevices(context.Context, *GetCrosDevicesRequest) (*GetCrosDevicesResponse, error)
func (*UnimplementedInventoryServer) GetDeviceConfig ¶
func (*UnimplementedInventoryServer) GetDeviceConfig(context.Context, *GetDeviceConfigRequest) (*device.Config, error)
func (*UnimplementedInventoryServer) GetDeviceManualRepairRecord ¶
func (*UnimplementedInventoryServer) GetDeviceManualRepairRecord(context.Context, *GetDeviceManualRepairRecordRequest) (*GetDeviceManualRepairRecordResponse, error)
func (*UnimplementedInventoryServer) GetHwidData ¶
func (*UnimplementedInventoryServer) GetHwidData(context.Context, *GetHwidDataRequest) (*HwidData, error)
func (*UnimplementedInventoryServer) GetManufacturingConfig ¶
func (*UnimplementedInventoryServer) GetManufacturingConfig(context.Context, *GetManufacturingConfigRequest) (*manufacturing.Config, error)
func (*UnimplementedInventoryServer) ListCrosDevicesLabConfig ¶
func (*UnimplementedInventoryServer) ListCrosDevicesLabConfig(context.Context, *ListCrosDevicesLabConfigRequest) (*ListCrosDevicesLabConfigResponse, error)
func (*UnimplementedInventoryServer) ListDeviceConfigs ¶
func (*UnimplementedInventoryServer) ListDeviceConfigs(context.Context, *ListDeviceConfigsRequest) (*ListDeviceConfigsResponse, error)
func (*UnimplementedInventoryServer) ListManualRepairRecords ¶
func (*UnimplementedInventoryServer) ListManualRepairRecords(context.Context, *ListManualRepairRecordsRequest) (*ListManualRepairRecordsResponse, error)
func (*UnimplementedInventoryServer) UpdateDeviceManualRepairRecord ¶
func (*UnimplementedInventoryServer) UpdateDeviceManualRepairRecord(context.Context, *UpdateDeviceManualRepairRecordRequest) (*UpdateDeviceManualRepairRecordResponse, error)
func (*UnimplementedInventoryServer) UpdateDutsStatus ¶
func (*UnimplementedInventoryServer) UpdateDutsStatus(context.Context, *UpdateDutsStatusRequest) (*UpdateDutsStatusResponse, error)
type UpdateDeviceManualRepairRecordRequest ¶
type UpdateDeviceManualRepairRecordRequest struct { DeviceRepairRecord *protos.DeviceManualRepairRecord `protobuf:"bytes,1,opt,name=device_repair_record,json=deviceRepairRecord,proto3" json:"device_repair_record,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*UpdateDeviceManualRepairRecordRequest) Descriptor
deprecated
func (*UpdateDeviceManualRepairRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeviceManualRepairRecordRequest.ProtoReflect.Descriptor instead.
func (*UpdateDeviceManualRepairRecordRequest) GetDeviceRepairRecord ¶
func (x *UpdateDeviceManualRepairRecordRequest) GetDeviceRepairRecord() *protos.DeviceManualRepairRecord
func (*UpdateDeviceManualRepairRecordRequest) GetId ¶
func (x *UpdateDeviceManualRepairRecordRequest) GetId() string
func (*UpdateDeviceManualRepairRecordRequest) ProtoMessage ¶
func (*UpdateDeviceManualRepairRecordRequest) ProtoMessage()
func (*UpdateDeviceManualRepairRecordRequest) ProtoReflect ¶
func (x *UpdateDeviceManualRepairRecordRequest) ProtoReflect() protoreflect.Message
func (*UpdateDeviceManualRepairRecordRequest) Reset ¶
func (x *UpdateDeviceManualRepairRecordRequest) Reset()
func (*UpdateDeviceManualRepairRecordRequest) String ¶
func (x *UpdateDeviceManualRepairRecordRequest) String() string
type UpdateDeviceManualRepairRecordResponse ¶
type UpdateDeviceManualRepairRecordResponse struct {
// contains filtered or unexported fields
}
func (*UpdateDeviceManualRepairRecordResponse) Descriptor
deprecated
func (*UpdateDeviceManualRepairRecordResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeviceManualRepairRecordResponse.ProtoReflect.Descriptor instead.
func (*UpdateDeviceManualRepairRecordResponse) ProtoMessage ¶
func (*UpdateDeviceManualRepairRecordResponse) ProtoMessage()
func (*UpdateDeviceManualRepairRecordResponse) ProtoReflect ¶
func (x *UpdateDeviceManualRepairRecordResponse) ProtoReflect() protoreflect.Message
func (*UpdateDeviceManualRepairRecordResponse) Reset ¶
func (x *UpdateDeviceManualRepairRecordResponse) Reset()
func (*UpdateDeviceManualRepairRecordResponse) String ¶
func (x *UpdateDeviceManualRepairRecordResponse) String() string
type UpdateDutsStatusRequest ¶
type UpdateDutsStatusRequest struct { States []*lab.DutState `protobuf:"bytes,1,rep,name=states,proto3" json:"states,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // Currently there's no way to get such info before deployment. So temporarily set them // in the request via DutMeta to backfill hwID and serial number. // TODO: find a better way for these infos. DutMetas []*DutMeta `protobuf:"bytes,3,rep,name=dut_metas,json=dutMetas,proto3" json:"dut_metas,omitempty"` LabMetas []*LabMeta `protobuf:"bytes,4,rep,name=lab_metas,json=labMetas,proto3" json:"lab_metas,omitempty"` // contains filtered or unexported fields }
func (*UpdateDutsStatusRequest) Descriptor
deprecated
func (*UpdateDutsStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDutsStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateDutsStatusRequest) GetDutMetas ¶
func (x *UpdateDutsStatusRequest) GetDutMetas() []*DutMeta
func (*UpdateDutsStatusRequest) GetLabMetas ¶
func (x *UpdateDutsStatusRequest) GetLabMetas() []*LabMeta
func (*UpdateDutsStatusRequest) GetReason ¶
func (x *UpdateDutsStatusRequest) GetReason() string
func (*UpdateDutsStatusRequest) GetStates ¶
func (x *UpdateDutsStatusRequest) GetStates() []*lab.DutState
func (*UpdateDutsStatusRequest) ProtoMessage ¶
func (*UpdateDutsStatusRequest) ProtoMessage()
func (*UpdateDutsStatusRequest) ProtoReflect ¶
func (x *UpdateDutsStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdateDutsStatusRequest) Reset ¶
func (x *UpdateDutsStatusRequest) Reset()
func (*UpdateDutsStatusRequest) String ¶
func (x *UpdateDutsStatusRequest) String() string
type UpdateDutsStatusResponse ¶
type UpdateDutsStatusResponse struct { UpdatedDevices []*DeviceOpResult `protobuf:"bytes,1,rep,name=updated_devices,json=updatedDevices,proto3" json:"updated_devices,omitempty"` FailedDevices []*DeviceOpResult `protobuf:"bytes,2,rep,name=failed_devices,json=failedDevices,proto3" json:"failed_devices,omitempty"` // contains filtered or unexported fields }
func (*UpdateDutsStatusResponse) Descriptor
deprecated
func (*UpdateDutsStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDutsStatusResponse.ProtoReflect.Descriptor instead.
func (*UpdateDutsStatusResponse) GetFailedDevices ¶
func (x *UpdateDutsStatusResponse) GetFailedDevices() []*DeviceOpResult
func (*UpdateDutsStatusResponse) GetUpdatedDevices ¶
func (x *UpdateDutsStatusResponse) GetUpdatedDevices() []*DeviceOpResult
func (*UpdateDutsStatusResponse) ProtoMessage ¶
func (*UpdateDutsStatusResponse) ProtoMessage()
func (*UpdateDutsStatusResponse) ProtoReflect ¶
func (x *UpdateDutsStatusResponse) ProtoReflect() protoreflect.Message
func (*UpdateDutsStatusResponse) Reset ¶
func (x *UpdateDutsStatusResponse) Reset()
func (*UpdateDutsStatusResponse) String ¶
func (x *UpdateDutsStatusResponse) String() string