otaEvent

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OtaEvent

type OtaEvent struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewOtaEvent

func NewOtaEvent(svcCtx *svc.ServiceContext, ctx context.Context) *OtaEvent

func (*OtaEvent) AddDevice added in v1.0.4

func (l *OtaEvent) AddDevice(dmOtaJob *relationDB.DmOtaFirmwareJob) error

func (*OtaEvent) DeviceUpgradePush

func (o *OtaEvent) DeviceUpgradePush() error

func (*OtaEvent) DevicesTimeout added in v1.0.4

func (l *OtaEvent) DevicesTimeout(jobInfos []*relationDB.DmOtaFirmwareJob) error

func (*OtaEvent) JobDelayRun

func (o *OtaEvent) JobDelayRun(jobID int64) error

Jump to

Keyboard shortcuts

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