plugins

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2023 License: MIT Imports: 20 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) Install

func (inst *ImpSoftwareSetService) Install(ctx context.Context, ss *dto.SoftwareSet) error

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

func (*ImpSoftwareSetService) Uninstall

func (inst *ImpSoftwareSetService) Uninstall(ctx context.Context, ss *dto.SoftwareSet) error

func (*ImpSoftwareSetService) Upgrade

func (inst *ImpSoftwareSetService) Upgrade(ctx context.Context, ss *dto.SoftwareSet) error

type PluginDaoImpl

type PluginDaoImpl struct {
	markup.Component `id:"SoftwarePackageDAO"`

	Agent          dbagent.GormDBAgent    `inject:"#GormDBAgent"`
	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) 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"`

	NamespaceService  service.NamespaceService  `inject:"#NamespaceService"`
	HTTPClientService service.HTTPClientService `inject:"#HTTPClientService"`
}

PluginServiceImpl ...

func (*PluginServiceImpl) Find

Find ...

func (*PluginServiceImpl) Insert

Insert ...

func (*PluginServiceImpl) ListAll

func (inst *PluginServiceImpl) ListAll(ctx context.Context) ([]*dto.SoftwarePackage, error)

ListAll ...

func (*PluginServiceImpl) Remove

Remove ...

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