Documentation ¶
Index ¶
- type ImpSoftwareSetService
- func (inst *ImpSoftwareSetService) GetOne(ctx context.Context, id dxo.SoftwarePackageID) (*dto.SoftwareSet, error)
- func (inst *ImpSoftwareSetService) Install(ctx context.Context, ss *dto.SoftwareSet) error
- func (inst *ImpSoftwareSetService) ListAll(ctx context.Context) ([]*dto.SoftwareSet, error)
- func (inst *ImpSoftwareSetService) ReInstall(ctx context.Context, ss *dto.SoftwareSet) error
- func (inst *ImpSoftwareSetService) Uninstall(ctx context.Context, ss *dto.SoftwareSet) error
- func (inst *ImpSoftwareSetService) Upgrade(ctx context.Context, ss *dto.SoftwareSet) error
- type PluginDaoImpl
- func (inst *PluginDaoImpl) Find(id dxo.SoftwarePackageID) (*entity.SoftwarePackage, error)
- func (inst *PluginDaoImpl) Insert(o *entity.SoftwarePackage) (*entity.SoftwarePackage, error)
- func (inst *PluginDaoImpl) ListAll() ([]*entity.SoftwarePackage, error)
- func (inst *PluginDaoImpl) ListByModuleName(mod string) ([]*entity.SoftwarePackage, error)
- func (inst *PluginDaoImpl) Remove(id dxo.SoftwarePackageID) error
- func (inst *PluginDaoImpl) Update(id dxo.SoftwarePackageID, o1 *entity.SoftwarePackage) (*entity.SoftwarePackage, error)
- type PluginServiceImpl
- func (inst *PluginServiceImpl) Find(ctx context.Context, id dxo.SoftwarePackageID) (*dto.SoftwarePackage, error)
- func (inst *PluginServiceImpl) Insert(ctx context.Context, o1 *dto.SoftwarePackage) (*dto.SoftwarePackage, error)
- func (inst *PluginServiceImpl) Install(ctx context.Context, id dxo.SoftwarePackageID) error
- func (inst *PluginServiceImpl) ListAll(ctx context.Context) ([]*dto.SoftwarePackage, error)
- func (inst *PluginServiceImpl) ListByModuleName(ctx context.Context, moduleName string) ([]*dto.SoftwarePackage, error)
- func (inst *PluginServiceImpl) Remove(ctx context.Context, id dxo.SoftwarePackageID) error
- func (inst *PluginServiceImpl) Uninstall(ctx context.Context, id dxo.SoftwarePackageID) error
- func (inst *PluginServiceImpl) UpdateItem(ctx context.Context, id dxo.SoftwarePackageID, o1 *dto.SoftwarePackage) (*dto.SoftwarePackage, error)
- func (inst *PluginServiceImpl) UpdateList(ctx context.Context) error
- type SoftwarePackageController
- type SoftwareSetController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImpSoftwareSetService ¶
type ImpSoftwareSetService struct { markup.Component `id:"SoftwareSetService"` SoftwarePackageService service.SoftwarePackageService `inject:"#SoftwarePackageService"` }
ImpSoftwareSetService ...
func (*ImpSoftwareSetService) GetOne ¶ added in v0.1.2
func (inst *ImpSoftwareSetService) GetOne(ctx context.Context, id dxo.SoftwarePackageID) (*dto.SoftwareSet, error)
GetOne ...
func (*ImpSoftwareSetService) Install ¶
func (inst *ImpSoftwareSetService) Install(ctx context.Context, ss *dto.SoftwareSet) error
Install ... 安装指定的软件集合
func (*ImpSoftwareSetService) ListAll ¶
func (inst *ImpSoftwareSetService) ListAll(ctx context.Context) ([]*dto.SoftwareSet, error)
ListAll ...
func (*ImpSoftwareSetService) ReInstall ¶
func (inst *ImpSoftwareSetService) ReInstall(ctx context.Context, ss *dto.SoftwareSet) error
ReInstall ... 重新安装指定的软件集合
func (*ImpSoftwareSetService) Uninstall ¶
func (inst *ImpSoftwareSetService) Uninstall(ctx context.Context, ss *dto.SoftwareSet) error
Uninstall ... 卸载指定的软件集合
func (*ImpSoftwareSetService) Upgrade ¶
func (inst *ImpSoftwareSetService) Upgrade(ctx context.Context, ss *dto.SoftwareSet) error
Upgrade ... 升级指定的软件集合
type PluginDaoImpl ¶
type PluginDaoImpl struct { markup.Component `id:"SoftwarePackageDAO"` Agent dbagent.GormDBAgent `inject:"#GormDBAgent"` TrashService service.TrashService `inject:"#TrashService"` UUIDGenService service.UUIDGenService `inject:"#UUIDGenService"` }
PluginDaoImpl ...
func (*PluginDaoImpl) Find ¶
func (inst *PluginDaoImpl) Find(id dxo.SoftwarePackageID) (*entity.SoftwarePackage, error)
Find ...
func (*PluginDaoImpl) Insert ¶
func (inst *PluginDaoImpl) Insert(o *entity.SoftwarePackage) (*entity.SoftwarePackage, error)
Insert ...
func (*PluginDaoImpl) ListAll ¶
func (inst *PluginDaoImpl) ListAll() ([]*entity.SoftwarePackage, error)
ListAll ...
func (*PluginDaoImpl) ListByModuleName ¶ added in v0.1.2
func (inst *PluginDaoImpl) ListByModuleName(mod string) ([]*entity.SoftwarePackage, error)
ListByModuleName ...
func (*PluginDaoImpl) Remove ¶
func (inst *PluginDaoImpl) Remove(id dxo.SoftwarePackageID) error
Remove ...
func (*PluginDaoImpl) Update ¶
func (inst *PluginDaoImpl) Update(id dxo.SoftwarePackageID, o1 *entity.SoftwarePackage) (*entity.SoftwarePackage, error)
Update ...
type PluginServiceImpl ¶
type PluginServiceImpl struct { markup.Component `id:"SoftwarePackageService"` SoftwarePackageDAO dao.SoftwarePackageDAO `inject:"#SoftwarePackageDAO"` GormDBAgent dbagent.GormDBAgent `inject:"#GormDBAgent"` NamespaceService service.NamespaceService `inject:"#NamespaceService"` HTTPClient service.HTTPClientService `inject:"#HTTPClientService"` HTTPClientEx service.HTTPClientExService `inject:"#HTTPClientExService"` TrashService service.TrashService `inject:"#TrashService"` IntentTemplateSer service.IntentTemplateService `inject:"#IntentTemplateService"` ExecutableSer service.ExecutableService `inject:"#ExecutableService"` ContentTypeSer service.ContentTypeService `inject:"#ContentTypeService"` MediaSer service.MediaService `inject:"#MediaService"` // contains filtered or unexported fields }
PluginServiceImpl ...
func (*PluginServiceImpl) Find ¶
func (inst *PluginServiceImpl) Find(ctx context.Context, id dxo.SoftwarePackageID) (*dto.SoftwarePackage, error)
Find ...
func (*PluginServiceImpl) Insert ¶
func (inst *PluginServiceImpl) Insert(ctx context.Context, o1 *dto.SoftwarePackage) (*dto.SoftwarePackage, error)
Insert ...
func (*PluginServiceImpl) Install ¶ added in v0.1.2
func (inst *PluginServiceImpl) Install(ctx context.Context, id dxo.SoftwarePackageID) error
Install ...
func (*PluginServiceImpl) ListAll ¶
func (inst *PluginServiceImpl) ListAll(ctx context.Context) ([]*dto.SoftwarePackage, error)
ListAll ...
func (*PluginServiceImpl) ListByModuleName ¶ added in v0.1.2
func (inst *PluginServiceImpl) ListByModuleName(ctx context.Context, moduleName string) ([]*dto.SoftwarePackage, error)
ListByModuleName ...
func (*PluginServiceImpl) Remove ¶
func (inst *PluginServiceImpl) Remove(ctx context.Context, id dxo.SoftwarePackageID) error
Remove ...
func (*PluginServiceImpl) Uninstall ¶ added in v0.1.2
func (inst *PluginServiceImpl) Uninstall(ctx context.Context, id dxo.SoftwarePackageID) error
Uninstall ...
func (*PluginServiceImpl) UpdateItem ¶
func (inst *PluginServiceImpl) UpdateItem(ctx context.Context, id dxo.SoftwarePackageID, o1 *dto.SoftwarePackage) (*dto.SoftwarePackage, error)
UpdateItem ...
func (*PluginServiceImpl) UpdateList ¶
func (inst *PluginServiceImpl) UpdateList(ctx context.Context) error
UpdateList ...
type SoftwarePackageController ¶
type SoftwarePackageController struct { markup.RestController `class:"rest-controller"` SoftwarePackageService service.SoftwarePackageService `inject:"#SoftwarePackageService"` Responder glass.MainResponder `inject:"#glass-main-responder"` }
SoftwarePackageController 软件包控制器
func (*SoftwarePackageController) Init ¶
func (inst *SoftwarePackageController) Init(ec glass.EngineConnection) error
Init 初始化
type SoftwareSetController ¶
type SoftwareSetController struct { markup.RestController `class:"rest-controller"` SoftwareSetService service.SoftwareSetService `inject:"#SoftwareSetService"` Responder glass.MainResponder `inject:"#glass-main-responder"` }
SoftwareSetController 软件包控制器
func (*SoftwareSetController) Init ¶
func (inst *SoftwareSetController) Init(ec glass.EngineConnection) error
Init 初始化
Click to show internal directories.
Click to hide internal directories.