services

package
v0.6.0-beta.20211009.1648 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2021 License: MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DependencyService

type DependencyService interface {
	Init()
	GetRepoList(c *gin.Context)
	GetDependencies(params entity.UpdateParams) (deps []models.Dependency, err error)
	InstallDependencies(params entity.InstallParams) (err error)
	UninstallDependencies(params entity.UninstallParams) (err error)
	GetLatestVersion(dep models.Dependency) (v string, err error)
}

type NodeService

type NodeService struct {
	// contains filtered or unexported fields
}

func NewNodeService

func NewNodeService(parent *Service) (svc *NodeService)

func (*NodeService) GetDependencies

func (svc *NodeService) GetDependencies(params entity.UpdateParams) (deps []models.Dependency, err error)

func (*NodeService) GetLatestVersion

func (svc *NodeService) GetLatestVersion(dep models.Dependency) (v string, err error)

func (*NodeService) GetRepoList

func (svc *NodeService) GetRepoList(c *gin.Context)

func (*NodeService) Init

func (svc *NodeService) Init()

func (*NodeService) InstallDependencies

func (svc *NodeService) InstallDependencies(params entity.InstallParams) (err error)

func (NodeService) Start

func (svc NodeService) Start()

func (*NodeService) UninstallDependencies

func (svc *NodeService) UninstallDependencies(params entity.UninstallParams) (err error)

type PythonService

type PythonService struct {
	// contains filtered or unexported fields
}

func NewPythonService

func NewPythonService(parent *Service) (svc *PythonService)

func (*PythonService) GetDependencies

func (svc *PythonService) GetDependencies(params entity.UpdateParams) (deps []models.Dependency, err error)

func (*PythonService) GetLatestVersion

func (svc *PythonService) GetLatestVersion(dep models.Dependency) (v string, err error)

func (*PythonService) GetRepoList

func (svc *PythonService) GetRepoList(c *gin.Context)

func (*PythonService) Init

func (svc *PythonService) Init()

func (*PythonService) InstallDependencies

func (svc *PythonService) InstallDependencies(params entity.InstallParams) (err error)

func (PythonService) Start

func (svc PythonService) Start()

func (*PythonService) UninstallDependencies

func (svc *PythonService) UninstallDependencies(params entity.UninstallParams) (err error)

type Service

type Service struct {
	*plugin.Internal
	// contains filtered or unexported fields
}

func NewService

func NewService() *Service

func (*Service) Init

func (svc *Service) Init() (err error)

func (*Service) Start

func (svc *Service) Start() (err error)

func (*Service) Stop

func (svc *Service) Stop() (err error)

type SettingService

type SettingService struct {
	// contains filtered or unexported fields
}

func NewSettingService

func NewSettingService(parent *Service) (svc *SettingService)

func (*SettingService) Init

func (svc *SettingService) Init()

type TaskService

type TaskService struct {
	// contains filtered or unexported fields
}

func NewTaskService

func NewTaskService(parent *Service) (svc *TaskService)

func (*TaskService) Init

func (svc *TaskService) Init()

Jump to

Keyboard shortcuts

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