Documentation ¶
Index ¶
- type OtaManageServer
- func (s *OtaManageServer) OtaFirmwareDeviceCancel(ctx context.Context, in *dm.OtaFirmwareDeviceCancelReq) (*dm.Empty, error)
- func (s *OtaManageServer) OtaFirmwareDeviceConfirm(ctx context.Context, in *dm.OtaFirmwareDeviceConfirmReq) (*dm.Empty, error)
- func (s *OtaManageServer) OtaFirmwareDeviceIndex(ctx context.Context, in *dm.OtaFirmwareDeviceIndexReq) (*dm.OtaFirmwareDeviceIndexResp, error)
- func (s *OtaManageServer) OtaFirmwareDeviceRetry(ctx context.Context, in *dm.OtaFirmwareDeviceRetryReq) (*dm.Empty, error)
- func (s *OtaManageServer) OtaFirmwareInfoCreate(ctx context.Context, in *dm.OtaFirmwareInfoCreateReq) (*dm.WithID, error)
- func (s *OtaManageServer) OtaFirmwareInfoDelete(ctx context.Context, in *dm.WithID) (*dm.Empty, error)
- func (s *OtaManageServer) OtaFirmwareInfoIndex(ctx context.Context, in *dm.OtaFirmwareInfoIndexReq) (*dm.OtaFirmwareInfoIndexResp, error)
- func (s *OtaManageServer) OtaFirmwareInfoRead(ctx context.Context, in *dm.WithID) (*dm.OtaFirmwareInfo, error)
- func (s *OtaManageServer) OtaFirmwareInfoUpdate(ctx context.Context, in *dm.OtaFirmwareInfoUpdateReq) (*dm.WithID, error)
- func (s *OtaManageServer) OtaFirmwareJobCreate(ctx context.Context, in *dm.OtaFirmwareJobInfo) (*dm.WithID, error)
- func (s *OtaManageServer) OtaFirmwareJobIndex(ctx context.Context, in *dm.OtaFirmwareJobIndexReq) (*dm.OtaFirmwareJobIndexResp, error)
- func (s *OtaManageServer) OtaFirmwareJobRead(ctx context.Context, in *dm.WithID) (*dm.OtaFirmwareJobInfo, error)
- func (s *OtaManageServer) OtaFirmwareJobUpdate(ctx context.Context, in *dm.OtaFirmwareJobInfo) (*dm.Empty, error)
- func (s *OtaManageServer) OtaModuleInfoCreate(ctx context.Context, in *dm.OtaModuleInfo) (*dm.WithID, error)
- func (s *OtaManageServer) OtaModuleInfoDelete(ctx context.Context, in *dm.WithID) (*dm.Empty, error)
- func (s *OtaManageServer) OtaModuleInfoIndex(ctx context.Context, in *dm.OtaModuleInfoIndexReq) (*dm.OtaModuleInfoIndexResp, error)
- func (s *OtaManageServer) OtaModuleInfoRead(ctx context.Context, in *dm.WithIDCode) (*dm.OtaModuleInfo, error)
- func (s *OtaManageServer) OtaModuleInfoUpdate(ctx context.Context, in *dm.OtaModuleInfo) (*dm.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OtaManageServer ¶
type OtaManageServer struct { dm.UnimplementedOtaManageServer // contains filtered or unexported fields }
func NewOtaManageServer ¶
func NewOtaManageServer(svcCtx *svc.ServiceContext) *OtaManageServer
func (*OtaManageServer) OtaFirmwareDeviceCancel ¶
func (s *OtaManageServer) OtaFirmwareDeviceCancel(ctx context.Context, in *dm.OtaFirmwareDeviceCancelReq) (*dm.Empty, error)
取消指定批次下的设备升级作业
func (*OtaManageServer) OtaFirmwareDeviceConfirm ¶
func (s *OtaManageServer) OtaFirmwareDeviceConfirm(ctx context.Context, in *dm.OtaFirmwareDeviceConfirmReq) (*dm.Empty, error)
app确认设备升级
func (*OtaManageServer) OtaFirmwareDeviceIndex ¶
func (s *OtaManageServer) OtaFirmwareDeviceIndex(ctx context.Context, in *dm.OtaFirmwareDeviceIndexReq) (*dm.OtaFirmwareDeviceIndexResp, error)
查询指定升级批次下的设备升级作业列表
func (*OtaManageServer) OtaFirmwareDeviceRetry ¶
func (s *OtaManageServer) OtaFirmwareDeviceRetry(ctx context.Context, in *dm.OtaFirmwareDeviceRetryReq) (*dm.Empty, error)
重新升级指定批次下升级失败或升级取消的设备升级作业
func (*OtaManageServer) OtaFirmwareInfoCreate ¶
func (s *OtaManageServer) OtaFirmwareInfoCreate(ctx context.Context, in *dm.OtaFirmwareInfoCreateReq) (*dm.WithID, error)
添加升级包
func (*OtaManageServer) OtaFirmwareInfoDelete ¶
func (s *OtaManageServer) OtaFirmwareInfoDelete(ctx context.Context, in *dm.WithID) (*dm.Empty, error)
删除升级包
func (*OtaManageServer) OtaFirmwareInfoIndex ¶
func (s *OtaManageServer) OtaFirmwareInfoIndex(ctx context.Context, in *dm.OtaFirmwareInfoIndexReq) (*dm.OtaFirmwareInfoIndexResp, error)
升级包列表
func (*OtaManageServer) OtaFirmwareInfoRead ¶
func (s *OtaManageServer) OtaFirmwareInfoRead(ctx context.Context, in *dm.WithID) (*dm.OtaFirmwareInfo, error)
查询升级包
func (*OtaManageServer) OtaFirmwareInfoUpdate ¶
func (s *OtaManageServer) OtaFirmwareInfoUpdate(ctx context.Context, in *dm.OtaFirmwareInfoUpdateReq) (*dm.WithID, error)
修改升级包
func (*OtaManageServer) OtaFirmwareJobCreate ¶
func (s *OtaManageServer) OtaFirmwareJobCreate(ctx context.Context, in *dm.OtaFirmwareJobInfo) (*dm.WithID, error)
创建静态升级批次
func (*OtaManageServer) OtaFirmwareJobIndex ¶
func (s *OtaManageServer) OtaFirmwareJobIndex(ctx context.Context, in *dm.OtaFirmwareJobIndexReq) (*dm.OtaFirmwareJobIndexResp, error)
获取升级包下的升级任务批次列表
func (*OtaManageServer) OtaFirmwareJobRead ¶
func (s *OtaManageServer) OtaFirmwareJobRead(ctx context.Context, in *dm.WithID) (*dm.OtaFirmwareJobInfo, error)
查询指定升级批次的详情
func (*OtaManageServer) OtaFirmwareJobUpdate ¶
func (s *OtaManageServer) OtaFirmwareJobUpdate(ctx context.Context, in *dm.OtaFirmwareJobInfo) (*dm.Empty, error)
取消动态升级策略
func (*OtaManageServer) OtaModuleInfoCreate ¶
func (s *OtaManageServer) OtaModuleInfoCreate(ctx context.Context, in *dm.OtaModuleInfo) (*dm.WithID, error)
func (*OtaManageServer) OtaModuleInfoDelete ¶
func (*OtaManageServer) OtaModuleInfoIndex ¶
func (s *OtaManageServer) OtaModuleInfoIndex(ctx context.Context, in *dm.OtaModuleInfoIndexReq) (*dm.OtaModuleInfoIndexResp, error)
func (*OtaManageServer) OtaModuleInfoRead ¶
func (s *OtaManageServer) OtaModuleInfoRead(ctx context.Context, in *dm.WithIDCode) (*dm.OtaModuleInfo, error)
func (*OtaManageServer) OtaModuleInfoUpdate ¶
func (s *OtaManageServer) OtaModuleInfoUpdate(ctx context.Context, in *dm.OtaModuleInfo) (*dm.Empty, error)
Click to show internal directories.
Click to hide internal directories.