api

package
v0.0.0-...-350d524 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Overview

Package api contains the lab_inventory service API.

Index

Constants

This section is empty.

Variables

View Source
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 (*BatchCreateManualRepairRecordsRequest) ProtoMessage

func (*BatchCreateManualRepairRecordsRequest) ProtoMessage()

func (*BatchCreateManualRepairRecordsRequest) ProtoReflect

func (*BatchCreateManualRepairRecordsRequest) Reset

func (*BatchCreateManualRepairRecordsRequest) 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 (*BatchCreateManualRepairRecordsResponse) ProtoMessage

func (*BatchCreateManualRepairRecordsResponse) ProtoReflect

func (*BatchCreateManualRepairRecordsResponse) Reset

func (*BatchCreateManualRepairRecordsResponse) 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 (*BatchGetManualRepairRecordsRequest) Reset

func (*BatchGetManualRepairRecordsRequest) 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 (*BatchGetManualRepairRecordsResponse) ProtoMessage

func (*BatchGetManualRepairRecordsResponse) ProtoMessage()

func (*BatchGetManualRepairRecordsResponse) ProtoReflect

func (*BatchGetManualRepairRecordsResponse) Reset

func (*BatchGetManualRepairRecordsResponse) 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 (*CreateDeviceManualRepairRecordRequest) ProtoMessage

func (*CreateDeviceManualRepairRecordRequest) ProtoMessage()

func (*CreateDeviceManualRepairRecordRequest) ProtoReflect

func (*CreateDeviceManualRepairRecordRequest) Reset

func (*CreateDeviceManualRepairRecordRequest) 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) ProtoReflect

func (*CreateDeviceManualRepairRecordResponse) Reset

func (*CreateDeviceManualRepairRecordResponse) 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 (*DecoratedInventory) BatchGetManualRepairRecords

func (*DecoratedInventory) CreateDeviceManualRepairRecord

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 (*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 (*DecoratedInventory) ListDeviceConfigs

func (s *DecoratedInventory) ListDeviceConfigs(ctx context.Context, req *ListDeviceConfigsRequest) (rsp *ListDeviceConfigsResponse, err error)

func (*DecoratedInventory) ListManualRepairRecords

func (*DecoratedInventory) UpdateDeviceManualRepairRecord

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 (*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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use DeviceID.ProtoReflect.Descriptor instead.

func (*DeviceID) GetChromeosDeviceId

func (x *DeviceID) GetChromeosDeviceId() string

func (*DeviceID) GetHostname

func (x *DeviceID) GetHostname() string

func (*DeviceID) GetId

func (x *DeviceID) GetId() isDeviceID_Id

func (*DeviceID) ProtoMessage

func (*DeviceID) ProtoMessage()

func (*DeviceID) ProtoReflect

func (x *DeviceID) ProtoReflect() protoreflect.Message

func (*DeviceID) Reset

func (x *DeviceID) Reset()

func (*DeviceID) String

func (x *DeviceID) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use DutMeta.ProtoReflect.Descriptor instead.

func (*DutMeta) GetChromeosDeviceId

func (x *DutMeta) GetChromeosDeviceId() string

func (*DutMeta) GetDeviceSku

func (x *DutMeta) GetDeviceSku() string

func (*DutMeta) GetHwID

func (x *DutMeta) GetHwID() string

func (*DutMeta) GetSerialNumber

func (x *DutMeta) GetSerialNumber() string

func (*DutMeta) ProtoMessage

func (*DutMeta) ProtoMessage()

func (*DutMeta) ProtoReflect

func (x *DutMeta) ProtoReflect() protoreflect.Message

func (*DutMeta) Reset

func (x *DutMeta) Reset()

func (*DutMeta) String

func (x *DutMeta) String() string

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 (*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 (*GetDeviceManualRepairRecordRequest) Reset

func (*GetDeviceManualRepairRecordRequest) 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 (*GetDeviceManualRepairRecordResponse) GetId

func (*GetDeviceManualRepairRecordResponse) ProtoMessage

func (*GetDeviceManualRepairRecordResponse) ProtoMessage()

func (*GetDeviceManualRepairRecordResponse) ProtoReflect

func (*GetDeviceManualRepairRecordResponse) Reset

func (*GetDeviceManualRepairRecordResponse) 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 (*GetManufacturingConfigRequest) ProtoMessage

func (*GetManufacturingConfigRequest) ProtoMessage()

func (*GetManufacturingConfigRequest) ProtoReflect

func (*GetManufacturingConfigRequest) Reset

func (x *GetManufacturingConfigRequest) Reset()

func (*GetManufacturingConfigRequest) 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) Descriptor() ([]byte, []int)

Deprecated: Use HwidData.ProtoReflect.Descriptor instead.

func (*HwidData) GetSku

func (x *HwidData) GetSku() string

func (*HwidData) GetVariant

func (x *HwidData) GetVariant() string

func (*HwidData) ProtoMessage

func (*HwidData) ProtoMessage()

func (*HwidData) ProtoReflect

func (x *HwidData) ProtoReflect() protoreflect.Message

func (*HwidData) Reset

func (x *HwidData) Reset()

func (*HwidData) String

func (x *HwidData) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use LabMeta.ProtoReflect.Descriptor instead.

func (*LabMeta) GetChromeosDeviceId

func (x *LabMeta) GetChromeosDeviceId() string

func (*LabMeta) GetServoTopology

func (x *LabMeta) GetServoTopology() *lab.ServoTopology

func (*LabMeta) GetServoType

func (x *LabMeta) GetServoType() string

func (*LabMeta) GetSmartUsbhub

func (x *LabMeta) GetSmartUsbhub() bool

func (*LabMeta) ProtoMessage

func (*LabMeta) ProtoMessage()

func (*LabMeta) ProtoReflect

func (x *LabMeta) ProtoReflect() protoreflect.Message

func (*LabMeta) Reset

func (x *LabMeta) Reset()

func (*LabMeta) String

func (x *LabMeta) String() string

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 (*ListCrosDevicesLabConfigRequest) Reset

func (*ListCrosDevicesLabConfigRequest) 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 (*ListCrosDevicesLabConfigResponse) ProtoMessage

func (*ListCrosDevicesLabConfigResponse) ProtoMessage()

func (*ListCrosDevicesLabConfigResponse) ProtoReflect

func (*ListCrosDevicesLabConfigResponse) Reset

func (*ListCrosDevicesLabConfigResponse) 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

Deprecated: Use ListCrosDevicesLabConfigResponse_LabConfig.ProtoReflect.Descriptor instead.

func (*ListCrosDevicesLabConfigResponse_LabConfig) GetConfig

func (*ListCrosDevicesLabConfigResponse_LabConfig) GetState

func (*ListCrosDevicesLabConfigResponse_LabConfig) GetUpdatedTime

func (*ListCrosDevicesLabConfigResponse_LabConfig) ProtoMessage

func (*ListCrosDevicesLabConfigResponse_LabConfig) ProtoReflect

func (*ListCrosDevicesLabConfigResponse_LabConfig) Reset

func (*ListCrosDevicesLabConfigResponse_LabConfig) 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 (*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 (*ListManualRepairRecordsRequest) Reset

func (x *ListManualRepairRecordsRequest) Reset()

func (*ListManualRepairRecordsRequest) 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 (*ListManualRepairRecordsResponse) ProtoMessage

func (*ListManualRepairRecordsResponse) ProtoMessage()

func (*ListManualRepairRecordsResponse) ProtoReflect

func (*ListManualRepairRecordsResponse) Reset

func (*ListManualRepairRecordsResponse) 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 (*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) DeviceConfigsExists

func (*UnimplementedInventoryServer) GetCrosDevices

func (*UnimplementedInventoryServer) GetDeviceConfig

func (*UnimplementedInventoryServer) GetHwidData

func (*UnimplementedInventoryServer) GetManufacturingConfig

func (*UnimplementedInventoryServer) ListDeviceConfigs

func (*UnimplementedInventoryServer) UpdateDutsStatus

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 (*UpdateDeviceManualRepairRecordRequest) GetId

func (*UpdateDeviceManualRepairRecordRequest) ProtoMessage

func (*UpdateDeviceManualRepairRecordRequest) ProtoMessage()

func (*UpdateDeviceManualRepairRecordRequest) ProtoReflect

func (*UpdateDeviceManualRepairRecordRequest) Reset

func (*UpdateDeviceManualRepairRecordRequest) 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) ProtoReflect

func (*UpdateDeviceManualRepairRecordResponse) Reset

func (*UpdateDeviceManualRepairRecordResponse) 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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