server

package
v0.10.7 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

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 (*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 (*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 (*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 (s *OtaManageServer) OtaModuleInfoDelete(ctx context.Context, in *dm.WithID) (*dm.Empty, error)

func (*OtaManageServer) OtaModuleInfoIndex

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)

Jump to

Keyboard shortcuts

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