Documentation
¶
Index ¶
- type AddDevices
- type AppList
- type AppOnlineParam
- type AppVersionList
- type Apps
- type ChildDevices
- type ChildModules
- type ConfDetails
- type ConfInfo
- type DelSubDevices
- type DescribeAppsRespVO
- type DescribeDeployConfigResp
- type DescribeDeployDetailsRespVO
- type DevicePageVo
- type Devices
- type DsOnlineParam
- type DsProtocol
- type EdgeAppList
- type EdgeDetails
- type EdgeInfoVO
- type EdgeNodeList
- type Edges
- type OnlineDetails
- type Operationlogs
- type Operations
- type Page
- type PageinfoVO
- type PropList
- type ProtocolList
- type ProtocolProp
- type ProtocolProps
- type Protocols
- type RouterBody
- type Routers
- type Stats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddDevices ¶
type AddDevices struct {
/* 设备名称 (Optional) */
DeviceName *string `json:"deviceName"`
/* 设备三元组-producyKey (Optional) */
ProductKey *string `json:"productKey"`
/* 设备三元组-identifier (Optional) */
Identifier *string `json:"identifier"`
/* 设备三元组-secret (Optional) */
Secret *string `json:"secret"`
/* 设备服务名称 (Optional) */
DeviceServiceName *string `json:"deviceServiceName"`
/* 设备服务版本 (Optional) */
DeviceServiceVersion *string `json:"deviceServiceVersion"`
/* 设备协议名称 (Optional) */
ProtocolName *string `json:"protocolName"`
/* 协议属性名称和值组成的JSON体 (Optional) */
ProtocolInfo *string `json:"protocolInfo"`
}
type AppList ¶
type AppList struct {
/* App业务编号 (Optional) */
AppId string `json:"appId"`
/* 云翼编译编号 (Optional) */
ArkId string `json:"arkId"`
/* APP版本号 (Optional) */
AppVersion string `json:"appVersion"`
/* 发布时间 (Optional) */
ReleaseTime string `json:"releaseTime"`
/* APP状态,0-发布成功,1-发布失败,2-审核通过,3-审核不通过,4-上线,5-下线,99-发布中 (Optional) */
AppStatus string `json:"appStatus"`
/* 上线时间 (Optional) */
OnlineTime string `json:"onlineTime"`
/* 物模型编号 (Optional) */
TmId string `json:"tmId"`
/* 物模型名称 (Optional) */
TmName string `json:"tmName"`
}
type AppOnlineParam ¶
type AppOnlineParam struct {
/* App名称 (Optional) */
AppName string `json:"appName"`
/* App描述 (Optional) */
AppDesc string `json:"appDesc"`
/* App环境变量 (Optional) */
AppEnv string `json:"appEnv"`
/* App添加卷 (Optional) */
AppVolume string `json:"appVolume"`
/* 是否使用SSL,0-不使用,1-使用 (Optional) */
UseSSL int `json:"useSSL"`
/* 使用特权运行,0-不使用,1-使用 (Optional) */
UsePrivileged int `json:"usePrivileged"`
/* 对外发布端口 (Optional) */
PublishPort int `json:"publishPort"`
}
type AppVersionList ¶
type AppVersionList struct {
/* 应用名称 (Optional) */
AppName string `json:"appName"`
/* 显示名称 (Optional) */
DisplayName string `json:"displayName"`
/* 应用类型 (Optional) */
AppTpye string `json:"appTpye"`
/* 应用地址 (Optional) */
AppAddr string `json:"appAddr"`
/* 应用版本 (Optional) */
AppVersion string `json:"appVersion"`
/* 更新时间 (Optional) */
UpdateTime string `json:"updateTime"`
}
type ChildDevices ¶
type ChildModules ¶
type ChildModules struct {
/* 模块编号 (Optional) */
ModuleId string `json:"moduleId"`
/* 模块名称 (Optional) */
ModuleName string `json:"moduleName"`
/* 模块类型版本 (Optional) */
ModuleTypeVersion string `json:"moduleTypeVersion"`
/* 物模型名称 (Optional) */
OmName string `json:"omName"`
/* 物模型描述 (Optional) */
OmDesc string `json:"omDesc"`
/* 模块状态 (Optional) */
ModuleState string `json:"moduleState"`
}
type ConfDetails ¶
type ConfDetails struct {
/* 设备对应的identifier (Optional) */
Identifier string `json:"identifier"`
/* 配置唯一标识 (Optional) */
ConfId string `json:"confId"`
/* 设备对应的secret (Optional) */
Secret string `json:"secret"`
/* 设备对应的设备服务名称 (Optional) */
DeviceServiceName string `json:"deviceServiceName"`
/* 配置下发服务预期messageId (Optional) */
ExpectMsgId string `json:"expectMsgId"`
/* 配置下发服务当前messageId (Optional) */
TargetMsgId string `json:"targetMsgId"`
/* 设备服务协议列表 (Optional) */
Protocols []Protocols `json:"protocols"`
}
type ConfInfo ¶
type ConfInfo struct {
/* Edge名称 (Optional) */
EdgeName string `json:"edgeName"`
/* Edge产品Key (Optional) */
ProductKey string `json:"productKey"`
/* Edge的identifier信息 (Optional) */
Identifier string `json:"identifier"`
/* Edge的secret信息 (Optional) */
Secret string `json:"secret"`
/* edge的京东云镜像仓库的Token信息 (Optional) */
RegistryToken string `json:"registryToken"`
/* 核心系统安装包下载地址 (Optional) */
InstallerUrl string `json:"installerUrl"`
}
type DelSubDevices ¶
type DescribeAppsRespVO ¶
type DescribeAppsRespVO struct {
/* App名称 (Optional) */
AppName string `json:"appName"`
/* ARKID (Optional) */
ArkId string `json:"arkId"`
/* APPID (Optional) */
AppId string `json:"appId"`
/* APP版本 (Optional) */
AppVersion string `json:"appVersion"`
/* 修改时间 (Optional) */
ReleaseTime string `json:"releaseTime"`
/* APP版本 (Optional) */
AppStatus string `json:"appStatus"`
/* 上线时间 (Optional) */
OnlineTime string `json:"onlineTime"`
/* 镜像地址 (Optional) */
AppDockerPath string `json:"appDockerPath"`
/* 模板ID (Optional) */
TmId string `json:"tmId"`
/* 模板名称 (Optional) */
TmName string `json:"tmName"`
/* APP别名 (Optional) */
AppDisplayName string `json:"appDisplayName"`
/* APP运行状态 (Optional) */
RunStatus string `json:"runStatus"`
/* APP部署状态 (Optional) */
DeployAppStatus string `json:"deployAppStatus"`
/* APP描述 (Optional) */
AppDesc string `json:"appDesc"`
/* App部署产品KEY (Optional) */
ProductKey string `json:"productKey"`
/* AppDeviceIdentifier (Optional) */
Identifier string `json:"identifier"`
}
type DescribeDeployConfigResp ¶
type DescribeDeployConfigResp struct {
/* APP类型 (Optional) */
AppType string `json:"appType"`
/* 是否Ssl (Optional) */
Insecure string `json:"insecure"`
/* 是否特权模式 (Optional) */
Privileged int `json:"privileged"`
/* 部署环境 (Optional) */
Env int `json:"env"`
/* 是否useHost (Optional) */
UseHost int `json:"useHost"`
CpuShares int `json:"cpuShares"`
/* ;内存限制(MB) (Optional) */
MemoryLimit int `json:"memoryLimit"`
/* 重启策略 (Optional) */
RestartPolicy int `json:"restartPolicy"`
/* app名称 (Optional) */
AppName string `json:"appName"`
/* App版本 (Optional) */
Version string `json:"version"`
}
type DescribeDeployDetailsRespVO ¶
type DescribeDeployDetailsRespVO struct {
/* 部署ID (Optional) */
DeployId string `json:"deployId"`
/* edge名称 (Optional) */
EdgeName string `json:"edgeName"`
/* edge标签 (Optional) */
EdgeTag string `json:"edgeTag"`
/* edge部署状态 (Optional) */
EdgeStatus int `json:"edgeStatus"`
/* 应用部署状态 (Optional) */
DeployStatus int `json:"deployStatus"`
/* 应用运行状态 (Optional) */
RunStatus int `json:"runStatus"`
}
type DevicePageVo ¶
type DevicePageVo struct {
/* Edge唯一标识 (Optional) */
Uuid string `json:"uuid"`
/* IoT Hub实例唯一标识 (Optional) */
InstanceId string `json:"instanceId"`
/* 资源唯一标识 (Optional) */
ResourceId string `json:"resourceId"`
/* Edge编号 (Optional) */
EdgeId string `json:"edgeId"`
/* Edge显示名称 (Optional) */
EdgeName string `json:"edgeName"`
/* Edge状态 (Optional) */
EdgeState string `json:"edgeState"`
/* 物模型编号 (Optional) */
OmId string `json:"omId"`
/* 物模型名称 (Optional) */
OmName string `json:"omName"`
/* 最后在线时间 (Optional) */
LastOnlineTime string `json:"lastOnlineTime"`
}
type Devices ¶
type Devices struct {
/* 设备编号 (Optional) */
DeviceId string `json:"deviceId"`
/* 设备名称 (Optional) */
DeviceName string `json:"deviceName"`
/* 产品名称 (Optional) */
ProductName string `json:"productName"`
/* 设备三元组-producyKey (Optional) */
ProductKey string `json:"productKey"`
/* 设备对应的secret-identifier (Optional) */
Identifier string `json:"identifier"`
/* 设备描述 (Optional) */
Desc string `json:"desc"`
/* 设备服务对应的名称 (Optional) */
DsDisplayName string `json:"dsDisplayName"`
/* 设备在线状态 (Optional) */
Status string `json:"status"`
/* 设备命令执行状态[ADDING-添加中,UPDATING-修改中,UPDATE_FAILED-修改失败,DELETING-删除中,空-当前无命令执行] (Optional) */
DeviceServiceStatus string `json:"deviceServiceStatus"`
}
type DsOnlineParam ¶
type DsOnlineParam struct {
/* App名称 (Optional) */
AppName string `json:"appName"`
/* App描述 (Optional) */
AppDesc string `json:"appDesc"`
/* App环境变量 (Optional) */
AppEnv string `json:"appEnv"`
/* App添加卷 (Optional) */
AppVolume string `json:"appVolume"`
/* 是否使用SSL,0-不使用,1-使用 (Optional) */
UseSSL int `json:"useSSL"`
/* 使用特权运行,0-不使用,1-使用 (Optional) */
UsePrivileged int `json:"usePrivileged"`
/* 协议列表维护 (Optional) */
Protocols []DsProtocol `json:"protocols"`
}
type DsProtocol ¶
type DsProtocol struct {
/* 协议名称 (Optional) */
ProtocolName string `json:"protocolName"`
/* 协议属性列表 (Optional) */
ProtocolProps []ProtocolProp `json:"protocolProps"`
}
type EdgeAppList ¶
type EdgeAppList struct {
/* App名称 (Optional) */
AppName string `json:"appName"`
/* App类型 0-deviceService,1-app (Optional) */
AppType string `json:"appType"`
/* App描述 (Optional) */
AppDesc string `json:"appDesc"`
/* App显示名称 (Optional) */
AppDisplayName string `json:"appDisplayName"`
/* APP版本号 (Optional) */
AppVersion string `json:"appVersion"`
/* 发布日期 (Optional) */
ReleaseTime string `json:"releaseTime"`
/* App状态 (Optional) */
AppStatus string `json:"appStatus"`
/* 发布方 0-iotcore, 1-iothub ,2-第三方 (Optional) */
AppSource string `json:"appSource"`
/* device serivce 的描述 (Optional) */
DsDesc string `json:"dsDesc"`
}
type EdgeDetails ¶
type EdgeDetails struct {
/* Edge系统编号 (Optional) */
EdgeId string `json:"edgeId"`
/* Edge名称 (Optional) */
EdgeName string `json:"edgeName"`
/* Edge的identifier (Optional) */
Identifier string `json:"identifier"`
/* Edge描述 (Optional) */
EdgeDesc string `json:"edgeDesc"`
/* Edge的产品Key (Optional) */
ProductKey string `json:"productKey"`
/* 在线状态,0-未激活,1-离线状态,2-在线状态 (Optional) */
Status string `json:"status"`
/* Edge创建时间 (Optional) */
CreateTime string `json:"createTime"`
/* 激活时间 (Optional) */
ActiveTime string `json:"activeTime"`
/* 最后在线时间 (Optional) */
LastOnlineTime string `json:"lastOnlineTime"`
/* 硬件平台 (Optional) */
ArchitectureName string `json:"architectureName"`
/* 操作系统 (Optional) */
OsName string `json:"osName"`
/* Edge生产厂家 (Optional) */
Manufacturer string `json:"manufacturer"`
/* Edge型号 (Optional) */
EdgeModel string `json:"edgeModel"`
/* Edge版本 (Optional) */
EdgeVersion string `json:"edgeVersion"`
/* Edge安装状态 (Optional) */
EdgeUpgradeStatus string `json:"edgeUpgradeStatus"`
/* Edge正在安装的版本 (Optional) */
EdgeUpgradeVersion string `json:"edgeUpgradeVersion"`
/* Edge Mac地址 (Optional) */
EdgeMacAddr string `json:"edgeMacAddr"`
}
type EdgeInfoVO ¶
type EdgeInfoVO struct {
/* 系统流水号 (Optional) */
Uuid string `json:"uuid"`
/* Edge的唯一编号 (Optional) */
EdgeId string `json:"edgeId"`
/* Edge的名称 (Optional) */
EdgeName string `json:"edgeName"`
/* 是否在线【0-离线,1-在线】 (Optional) */
EdgeStatus int `json:"edgeStatus"`
/* 边缘计算说明 (Optional) */
EdgeDesc string `json:"edgeDesc"`
/* Edge版本 (Optional) */
EdgeVersion string `json:"edgeVersion"`
/* Edge创建时间 (Optional) */
CreateTime string `json:"createTime"`
/* 最后在线时间 (Optional) */
LastOnlineTime string `json:"lastOnlineTime"`
/* 最后开机时间 (Optional) */
LastTurnOnTime string `json:"lastTurnOnTime"`
/* IoT Hub实例编号 (Optional) */
IothubInstanceId string `json:"iothubInstanceId"`
/* IoT Hub实例名称 (Optional) */
IothubInstanceName string `json:"iothubInstanceName"`
}
type EdgeNodeList ¶
type Edges ¶
type Edges struct {
/* Edge名称 (Optional) */
EdgeName string `json:"edgeName"`
/* Edge产品Key (Optional) */
ProductKey string `json:"productKey"`
/* Edge的identifier (Optional) */
Identifier string `json:"identifier"`
/* 在线状态,0-未激活,1-离线状态,2-在线状态 (Optional) */
Status string `json:"status"`
/* Edge创建时间 (Optional) */
CreateTime string `json:"createTime"`
/* 最后在线时间 (Optional) */
LastOnlineTime string `json:"lastOnlineTime"`
}
type OnlineDetails ¶
type OnlineDetails struct {
/* APP镜像仓库地址 (Optional) */
AppDockerPath string `json:"appDockerPath"`
/* APP上线参数 (Optional) */
AppOnlineParam AppOnlineParam `json:"appOnlineParam"`
/* DEVICE-SERVICE上线参数 (Optional) */
DsOnlineParam DsOnlineParam `json:"dsOnlineParam"`
}
type Operationlogs ¶
type Operationlogs struct {
/* arkid (Optional) */
ArkId string `json:"arkId"`
/* 文件版本 (Optional) */
SysVersion string `json:"sysVersion"`
/* 操作人 (Optional) */
Operator string `json:"operator"`
/* 操作时间 (Optional) */
LogTime string `json:"logTime"`
/* 文件状态 0-发布成功 4-上线成功 (Optional) */
FileStatus string `json:"fileStatus"`
/* 文件地址,包括路径和文件名 (Optional) */
FileAddr string `json:"fileAddr"`
/* 区域 (Optional) */
Region string `json:"region"`
/* 分支 (Optional) */
Branch string `json:"branch"`
/* 文件类1-核心系统 2-安装包 (Optional) */
FileType string `json:"fileType"`
}
type Operations ¶
type Operations struct {
/* App业务编号 (Optional) */
AppId string `json:"appId"`
/* 云翼编译编号 (Optional) */
ArkId string `json:"arkId"`
/* 编译分支 (Optional) */
Branch string `json:"branch"`
/* 编译包地址 (Optional) */
ArkPackageAddr string `json:"arkPackageAddr"`
/* APP类型,DEVICE-SERVICE|APP (Optional) */
AppType string `json:"appType"`
/* App名称 (Optional) */
AppDisplayName string `json:"appDisplayName"`
/* APP版本号 (Optional) */
AppVersion string `json:"appVersion"`
/* 操作类型【RELEASE-发布|AUDITING-审核|USEING-上下线】 (Optional) */
OperType string `json:"operType"`
/* 所属区域 (Optional) */
Region string `json:"region"`
/* 操作时间 (Optional) */
OperTime string `json:"operTime"`
/* 操作人 (Optional) */
Operater string `json:"operater"`
}
type PageinfoVO ¶
type ProtocolList ¶
type ProtocolProp ¶
type ProtocolProp struct {
/* 属性名称 (Optional) */
PropName string `json:"propName"`
/* 属性描述 (Optional) */
PropDesc string `json:"propDesc"`
/* 属性值长度限制 (Optional) */
InputLength string `json:"inputLength"`
/* 属性默认值 (Optional) */
InputDefault string `json:"inputDefault"`
/* 是否必填,0-非唯一,1-唯一 (Optional) */
Unique int `json:"unique"`
/* 是否必填,0-非必填,1-必填 (Optional) */
Required int `json:"required"`
}
type ProtocolProps ¶
type ProtocolProps struct {
/* 协议属性名称 (Optional) */
PropName string `json:"propName"`
/* 协议属性描述 (Optional) */
PropDesc string `json:"propDesc"`
/* 协议属性值最大长度 (Optional) */
MaxLength string `json:"maxLength"`
/* 协议属性默认值 (Optional) */
DefaultValue string `json:"defaultValue"`
/* 协议属性是否必填,0-非必填, 1-必填 (Optional) */
Required string `json:"required"`
}
type Protocols ¶
type Protocols struct {
/* 协议名称 (Optional) */
ProtocolName string `json:"protocolName"`
/* 协议属性列表 (Optional) */
ProtocolProps []ProtocolProps `json:"protocolProps"`
}
type RouterBody ¶
type RouterBody struct {
/* router类型,subdevice或者app (Optional) */
RouterType string `json:"routerType"`
/* 设备或APP的编号 (Optional) */
RouterInfoId string `json:"routerInfoId"`
/* 设备或APP名称 (Optional) */
RouterInfoName string `json:"routerInfoName"`
/* 设备三元组-identifier,类型为SUBDEVICE时必填 (Optional) */
Identifier string `json:"identifier"`
/* 设备三元组-identifier,类型为SUBDEVICE时必填 (Optional) */
ProductKey string `json:"productKey"`
}
type Routers ¶
type Routers struct {
/* router编号 (Optional) */
RouterId string `json:"routerId"`
/* router名称 (Optional) */
RouterName string `json:"routerName"`
/* router描述 (Optional) */
RouterDesc string `json:"routerDesc"`
/* router状态 (Optional) */
RouterStatus string `json:"routerStatus"`
/* router配置更新状态, SUCCESS-更新成功,UPDATEING-更新中,FAILTURE-更新失败 (Optional) */
RouterUpdateStatus string `json:"routerUpdateStatus"`
/* router创建时间 (Optional) */
CreateTime string `json:"createTime"`
/* router数据源名称 (Optional) */
SourceName string `json:"sourceName"`
/* router数据目标名称 (Optional) */
TargetName string `json:"targetName"`
}
type Stats ¶
type Stats struct {
/* 用户的设备数 (Optional) */
Devices int `json:"devices"`
/* 已激活的设备数 (Optional) */
ActivatedDevices int `json:"activatedDevices"`
/* 在线的设备数 (Optional) */
OnlineDevices int `json:"onlineDevices"`
/* 当月消息数 (Optional) */
MonthMessages int64 `json:"monthMessages"`
/* 当月设备在线时长 (Optional) */
MonthDuration int64 `json:"monthDuration"`
/* 产品数 (Optional) */
Products int64 `json:"products"`
}
Source Files
¶
- AddDevices.go
- AppList.go
- AppOnlineParam.go
- AppVersionList.go
- Apps.go
- ChildDevices.go
- ChildModules.go
- ConfDetails.go
- ConfInfo.go
- DelSubDevices.go
- DescribeAppsRespVO.go
- DescribeDeployConfigResp.go
- DescribeDeployDetailsRespVO.go
- DevicePageVo.go
- Devices.go
- DsOnlineParam.go
- DsProtocol.go
- EdgeAppList.go
- EdgeDetails.go
- EdgeInfoVO.go
- EdgeNodeList.go
- Edges.go
- OnlineDetails.go
- Operationlogs.go
- Operations.go
- Page.go
- PageinfoVO.go
- PropList.go
- ProtocolList.go
- ProtocolProp.go
- ProtocolProps.go
- Protocols.go
- RouterBody.go
- Routers.go
- Stats.go
Click to show internal directories.
Click to hide internal directories.