feat: 网元软件包信息
This commit is contained in:
@@ -22,12 +22,10 @@ type INeSoftware interface {
|
||||
// DeleteByIds 批量删除信息
|
||||
DeleteByIds(ids []string) (int64, error)
|
||||
|
||||
// SelectByVersionAndPath 通过文件版本和路径查询
|
||||
SelectByVersionAndPath(version, path string) model.NeSoftware
|
||||
// CheckUniqueTypeAndNameAndVersion 校验网元类型和文件名版本是否唯一
|
||||
CheckUniqueTypeAndNameAndVersion(neType, name, version, id string) bool
|
||||
|
||||
// CheckUniqueTypeAndFileNameAndVersion 校验网元类型和文件名版本是否唯一
|
||||
CheckUniqueTypeAndFileNameAndVersion(neType, fileName, version, id string) bool
|
||||
|
||||
// Install 安装软件包
|
||||
Install(neSoftware model.NeSoftware) (string, error)
|
||||
// UploadToNeHost 安装包上传到网元主机
|
||||
// 返回执行命令步骤
|
||||
UploadToNeHost(neSoftware model.NeSoftware) ([]string, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user