plugins

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: MIT Imports: 25 Imported by: 0

Documentation

Index

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

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

Find ...

func (*PluginDaoImpl) Insert

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

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

Find ...

func (*PluginServiceImpl) Insert

Insert ...

func (*PluginServiceImpl) Install added in v0.1.2

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

Remove ...

func (*PluginServiceImpl) Uninstall added in v0.1.2

func (inst *PluginServiceImpl) Uninstall(ctx context.Context, id dxo.SoftwarePackageID) error

Uninstall ...

func (*PluginServiceImpl) UpdateItem

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

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

Init 初始化

Jump to

Keyboard shortcuts

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