Documentation ¶
Index ¶
- type DependencyService
- type NodeService
- func (svc *NodeService) GetDependencies(params entity.UpdateParams) (deps []models.Dependency, err error)
- func (svc *NodeService) GetLatestVersion(dep models.Dependency) (v string, err error)
- func (svc *NodeService) GetRepoList(c *gin.Context)
- func (svc *NodeService) Init()
- func (svc *NodeService) InstallDependencies(params entity.InstallParams) (err error)
- func (svc NodeService) Start()
- func (svc *NodeService) UninstallDependencies(params entity.UninstallParams) (err error)
- type PythonService
- func (svc *PythonService) GetDependencies(params entity.UpdateParams) (deps []models.Dependency, err error)
- func (svc *PythonService) GetLatestVersion(dep models.Dependency) (v string, err error)
- func (svc *PythonService) GetRepoList(c *gin.Context)
- func (svc *PythonService) Init()
- func (svc *PythonService) InstallDependencies(params entity.InstallParams) (err error)
- func (svc PythonService) Start()
- func (svc *PythonService) UninstallDependencies(params entity.UninstallParams) (err error)
- type Service
- type SettingService
- type TaskService
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) 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) UninstallDependencies ¶
func (svc *PythonService) UninstallDependencies(params entity.UninstallParams) (err error)
type Service ¶
func NewService ¶
func NewService() *Service
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()
Click to show internal directories.
Click to hide internal directories.