Documentation
¶
Index ¶
- func Del(ctx context.Context, ID string, projectId int64) (err error)
- type CategoryMenuService
- func (cmService *CategoryMenuService) CreateCategoryMenu(ctx context.Context, cm *platform.CategoryMenu) (err error)
- func (cmService *CategoryMenuService) DeleteCategoryMenu(ctx context.Context, ID string, projectId int64) (err error)
- func (cmService *CategoryMenuService) DeleteCategoryMenuByIds(ctx context.Context, IDs []string) (err error)
- func (cmService *CategoryMenuService) GetCategoryMenu(ctx context.Context, ID string) (cm platform.CategoryMenu, err error)
- func (cmService *CategoryMenuService) GetCategoryMenuInfoList(ctx context.Context, info platformReq.CategoryMenuSearch) (list []CustomCategoryMenuTree, err error)
- func (cmService *CategoryMenuService) GetCategoryMenuInfoTree(list []platform.CategoryMenu) []CustomCategoryMenuTree
- func (cmService *CategoryMenuService) GetCategoryMenuPublic(ctx context.Context)
- func (cmService *CategoryMenuService) UpdateCategoryMenu(ctx context.Context, cm platform.CategoryMenu, projectId int64) (err error)
- type CustomCategoryMenuTree
- type EnvDetailService
- func (edService *EnvDetailService) CreateEnvDetail(ctx context.Context, ed *platform.EnvDetail) (err error)
- func (edService *EnvDetailService) DeleteEnvDetail(ctx context.Context, ID string, projectId int64) (err error)
- func (edService *EnvDetailService) DeleteEnvDetailByIds(ctx context.Context, IDs []string) (err error)
- func (edService *EnvDetailService) GetEnvDetail(ctx context.Context, ID string) (ed platform.EnvDetail, err error)
- func (edService *EnvDetailService) GetEnvDetailInfoList(ctx context.Context, info platformReq.EnvDetailSearch) (list []platform.EnvDetail, total int64, err error)
- func (edService *EnvDetailService) GetEnvDetailPublic(ctx context.Context)
- func (edService *EnvDetailService) UpdateEnvDetail(ctx context.Context, ed platform.EnvDetail, projectId int64) (err error)
- type EnvService
- func (envService *EnvService) CreateEnv(ctx context.Context, env *platform.Env) (err error)
- func (envService *EnvService) DeleteEnv(ctx context.Context, ID string, projectId int64) (err error)
- func (envService *EnvService) DeleteEnvByIds(ctx context.Context, IDs []string) (err error)
- func (envService *EnvService) GetEnv(ctx context.Context, ID string) (env platform.Env, err error)
- func (envService *EnvService) GetEnvInfoList(ctx context.Context, info platformReq.EnvSearch) (list []platform.Env, total int64, err error)
- func (envService *EnvService) GetEnvPublic(ctx context.Context)
- func (envService *EnvService) UpdateEnv(ctx context.Context, env platform.Env, projectId int64) (err error)
- type PythonCodeDebugService
- func (pcdService *PythonCodeDebugService) CreatePythonCodeDebug(ctx context.Context, pcd *platform.PythonCodeDebug) (data interface{}, err error)
- func (pcdService *PythonCodeDebugService) DeletePythonCodeDebug(ctx context.Context, ID string, projectId int64) (err error)
- func (pcdService *PythonCodeDebugService) DeletePythonCodeDebugByIds(ctx context.Context, IDs []string) (err error)
- func (pcdService *PythonCodeDebugService) GetPythonCodeDebug(ctx context.Context, ID string) (pcd platform.PythonCodeDebug, err error)
- func (pcdService *PythonCodeDebugService) GetPythonCodeDebugInfoList(ctx context.Context, info platformReq.PythonCodeDebugSearch) (list []platform.PythonCodeDebug, total int64, err error)
- func (pcdService *PythonCodeDebugService) GetPythonCodeDebugPublic(ctx context.Context)
- func (pcdService *PythonCodeDebugService) UpdatePythonCodeDebug(ctx context.Context, pcd platform.PythonCodeDebug, projectId int64) (err error)
- type PythonCodeFuncService
- func (pcfService *PythonCodeFuncService) CreatePythonCodeFunc(ctx context.Context, pcf *platform.PythonCodeFunc) (err error)
- func (pcfService *PythonCodeFuncService) DeletePythonCodeFunc(ctx context.Context, ID string, projectId int64) (err error)
- func (pcfService *PythonCodeFuncService) DeletePythonCodeFuncByIds(ctx context.Context, IDs []string) (err error)
- func (pcfService *PythonCodeFuncService) GetPythonCodeFunc(ctx context.Context, ID string) (pcf platform.PythonCodeFunc, err error)
- func (pcfService *PythonCodeFuncService) GetPythonCodeFuncInfoList(ctx context.Context, info platformReq.PythonCodeFuncSearch) (list []platform.PythonCodeFunc, total int64, err error)
- func (pcfService *PythonCodeFuncService) GetPythonCodeFuncPublic(ctx context.Context)
- func (pcfService *PythonCodeFuncService) UpdatePythonCodeFunc(ctx context.Context, pcfs platformReq.PythonCodeFuncSearch, projectId int64) (err error)
- type PythonCodeService
- func (pcService *PythonCodeService) CreatePythonCode(ctx context.Context, pc *platform.PythonCode) (err error)
- func (pcService *PythonCodeService) DeletePythonCode(ctx context.Context, ID string, projectId int64) (err error)
- func (pcService *PythonCodeService) DeletePythonCodeByIds(ctx context.Context, IDs []string) (err error)
- func (pcService *PythonCodeService) GetPythonCode(ctx context.Context, pageInfo platformReq.PythonCodeSearch, projectId uint) (pc platform.PythonCode, err error)
- func (pcService *PythonCodeService) GetPythonCodeInfoList(ctx context.Context, info platformReq.PythonCodeSearch) (list []platform.PythonCode, total int64, err error)
- func (pcService *PythonCodeService) GetPythonCodePublic(ctx context.Context)
- func (pcService *PythonCodeService) UpdatePythonCode(ctx context.Context, pc platform.PythonCode, projectId int64) (err error)
- type PythonPackageService
- func (ppService *PythonPackageService) CreatePythonPackage(ctx context.Context, pp *platform.PythonPackage) (err error)
- func (ppService *PythonPackageService) DeletePythonPackage(ctx context.Context, ID string, projectId int64) (err error)
- func (ppService *PythonPackageService) DeletePythonPackageByIds(ctx context.Context, IDs []string) (err error)
- func (ppService *PythonPackageService) GetPythonPackage(ctx context.Context, ID string) (pp platform.PythonPackage, err error)
- func (ppService *PythonPackageService) GetPythonPackageInfoList(ctx context.Context, info platformReq.PythonPackageSearch) (list []platform.PythonPackage, total int64, err error)
- func (ppService *PythonPackageService) GetPythonPackagePublic(ctx context.Context)
- func (ppService *PythonPackageService) GetPythonPackageVersions(ctx context.Context, pkg string) (versions []string, err error)
- func (ppService *PythonPackageService) UpdatePythonPackage(ctx context.Context, pp platform.PythonPackage, projectId int64) (err error)
- type RunConfigService
- func (rcService *RunConfigService) CreateRunConfig(ctx context.Context, rc *platform.RunConfig) (err error)
- func (rcService *RunConfigService) DeleteRunConfig(ctx context.Context, ID string, projectId int64) (err error)
- func (rcService *RunConfigService) DeleteRunConfigByIds(ctx context.Context, IDs []string) (err error)
- func (rcService *RunConfigService) GetRunConfig(ctx context.Context, ID string) (rc platform.RunConfig, err error)
- func (rcService *RunConfigService) GetRunConfigInfoList(ctx context.Context, info platformReq.RunConfigSearch) (list []platform.RunConfig, total int64, err error)
- func (rcService *RunConfigService) GetRunConfigPublic(ctx context.Context)
- func (rcService *RunConfigService) UpdateRunConfig(ctx context.Context, rc platform.RunConfig, projectId int64) (err error)
- type RunnerNodeService
- func (rnService *RunnerNodeService) CreateRunnerNode(ctx context.Context, rn *platform.RunnerNode) (err error)
- func (rnService *RunnerNodeService) DeleteRunnerNode(ctx context.Context, ID string) (err error)
- func (rnService *RunnerNodeService) DeleteRunnerNodeByIds(ctx context.Context, IDs []string) (err error)
- func (rnService *RunnerNodeService) GetRunnerNode(ctx context.Context, ID string) (rn platform.RunnerNode, err error)
- func (rnService *RunnerNodeService) GetRunnerNodeInfoList(ctx context.Context, info platformReq.RunnerNodeSearch) (list []platform.RunnerNode, total int64, err error)
- func (rnService *RunnerNodeService) GetRunnerNodePublic(ctx context.Context)
- func (rnService *RunnerNodeService) UpdateRunnerNode(ctx context.Context, rn platform.RunnerNode) (err error)
- type RunnerService
- type ServiceGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CategoryMenuService ¶
type CategoryMenuService struct{}
func (*CategoryMenuService) CreateCategoryMenu ¶
func (cmService *CategoryMenuService) CreateCategoryMenu(ctx context.Context, cm *platform.CategoryMenu) (err error)
CreateCategoryMenu 创建自动化菜单记录 Author [yourname](https://github.com/yourname)
func (*CategoryMenuService) DeleteCategoryMenu ¶
func (cmService *CategoryMenuService) DeleteCategoryMenu(ctx context.Context, ID string, projectId int64) (err error)
DeleteCategoryMenu 删除自动化菜单记录 Author [yourname](https://github.com/yourname)
func (*CategoryMenuService) DeleteCategoryMenuByIds ¶
func (cmService *CategoryMenuService) DeleteCategoryMenuByIds(ctx context.Context, IDs []string) (err error)
DeleteCategoryMenuByIds 批量删除自动化菜单记录 Author [yourname](https://github.com/yourname)
func (*CategoryMenuService) GetCategoryMenu ¶
func (cmService *CategoryMenuService) GetCategoryMenu(ctx context.Context, ID string) (cm platform.CategoryMenu, err error)
GetCategoryMenu 根据ID获取自动化菜单记录 Author [yourname](https://github.com/yourname)
func (*CategoryMenuService) GetCategoryMenuInfoList ¶
func (cmService *CategoryMenuService) GetCategoryMenuInfoList(ctx context.Context, info platformReq.CategoryMenuSearch) (list []CustomCategoryMenuTree, err error)
GetCategoryMenuInfoList 分页获取自动化菜单记录 Author [yourname](https://github.com/yourname)
func (*CategoryMenuService) GetCategoryMenuInfoTree ¶
func (cmService *CategoryMenuService) GetCategoryMenuInfoTree(list []platform.CategoryMenu) []CustomCategoryMenuTree
递归构建树形结构
func (*CategoryMenuService) GetCategoryMenuPublic ¶
func (cmService *CategoryMenuService) GetCategoryMenuPublic(ctx context.Context)
func (*CategoryMenuService) UpdateCategoryMenu ¶
func (cmService *CategoryMenuService) UpdateCategoryMenu(ctx context.Context, cm platform.CategoryMenu, projectId int64) (err error)
UpdateCategoryMenu 更新自动化菜单记录 Author [yourname](https://github.com/yourname)
type CustomCategoryMenuTree ¶
type CustomCategoryMenuTree struct {
ID uint `json:"id"` // 菜单ID
Key uint `json:"key"`
Name string `json:"name"` // 菜单名称
Label string `json:"label"`
Title string `json:"title"`
Parent uint `json:"parent"` // 父菜单ID
Children []CustomCategoryMenuTree `json:"children"` // 子菜单列表,支持N层嵌套
}
自定义树形菜单结构体,仅包含需要返回的字段
type EnvDetailService ¶
type EnvDetailService struct{}
func (*EnvDetailService) CreateEnvDetail ¶
func (edService *EnvDetailService) CreateEnvDetail(ctx context.Context, ed *platform.EnvDetail) (err error)
CreateEnvDetail 创建环境详情记录 Author [yourname](https://github.com/yourname)
func (*EnvDetailService) DeleteEnvDetail ¶
func (edService *EnvDetailService) DeleteEnvDetail(ctx context.Context, ID string, projectId int64) (err error)
DeleteEnvDetail 删除环境详情记录 Author [yourname](https://github.com/yourname)
func (*EnvDetailService) DeleteEnvDetailByIds ¶
func (edService *EnvDetailService) DeleteEnvDetailByIds(ctx context.Context, IDs []string) (err error)
DeleteEnvDetailByIds 批量删除环境详情记录 Author [yourname](https://github.com/yourname)
func (*EnvDetailService) GetEnvDetail ¶
func (edService *EnvDetailService) GetEnvDetail(ctx context.Context, ID string) (ed platform.EnvDetail, err error)
GetEnvDetail 根据ID获取环境详情记录 Author [yourname](https://github.com/yourname)
func (*EnvDetailService) GetEnvDetailInfoList ¶
func (edService *EnvDetailService) GetEnvDetailInfoList(ctx context.Context, info platformReq.EnvDetailSearch) (list []platform.EnvDetail, total int64, err error)
GetEnvDetailInfoList 分页获取环境详情记录 Author [yourname](https://github.com/yourname)
func (*EnvDetailService) GetEnvDetailPublic ¶
func (edService *EnvDetailService) GetEnvDetailPublic(ctx context.Context)
func (*EnvDetailService) UpdateEnvDetail ¶
func (edService *EnvDetailService) UpdateEnvDetail(ctx context.Context, ed platform.EnvDetail, projectId int64) (err error)
UpdateEnvDetail 更新环境详情记录 Author [yourname](https://github.com/yourname)
type EnvService ¶
type EnvService struct{}
func (*EnvService) CreateEnv ¶
CreateEnv 创建环境配置记录 Author [yourname](https://github.com/yourname)
func (*EnvService) DeleteEnv ¶
func (envService *EnvService) DeleteEnv(ctx context.Context, ID string, projectId int64) (err error)
DeleteEnv 删除环境配置记录 Author [yourname](https://github.com/yourname)
func (*EnvService) DeleteEnvByIds ¶
func (envService *EnvService) DeleteEnvByIds(ctx context.Context, IDs []string) (err error)
DeleteEnvByIds 批量删除环境配置记录 Author [yourname](https://github.com/yourname)
func (*EnvService) GetEnv ¶
GetEnv 根据ID获取环境配置记录 Author [yourname](https://github.com/yourname)
func (*EnvService) GetEnvInfoList ¶
func (envService *EnvService) GetEnvInfoList(ctx context.Context, info platformReq.EnvSearch) (list []platform.Env, total int64, err error)
GetEnvInfoList 分页获取环境配置记录 Author [yourname](https://github.com/yourname)
func (*EnvService) GetEnvPublic ¶
func (envService *EnvService) GetEnvPublic(ctx context.Context)
func (*EnvService) UpdateEnv ¶
func (envService *EnvService) UpdateEnv(ctx context.Context, env platform.Env, projectId int64) (err error)
UpdateEnv 更新环境配置记录 Author [yourname](https://github.com/yourname)
type PythonCodeDebugService ¶
type PythonCodeDebugService struct{}
func (*PythonCodeDebugService) CreatePythonCodeDebug ¶
func (pcdService *PythonCodeDebugService) CreatePythonCodeDebug(ctx context.Context, pcd *platform.PythonCodeDebug) (data interface{}, err error)
CreatePythonCodeDebug 创建代码调试记录记录 Author [yourname](https://github.com/yourname)
func (*PythonCodeDebugService) DeletePythonCodeDebug ¶
func (pcdService *PythonCodeDebugService) DeletePythonCodeDebug(ctx context.Context, ID string, projectId int64) (err error)
DeletePythonCodeDebug 删除代码调试记录记录 Author [yourname](https://github.com/yourname)
func (*PythonCodeDebugService) DeletePythonCodeDebugByIds ¶
func (pcdService *PythonCodeDebugService) DeletePythonCodeDebugByIds(ctx context.Context, IDs []string) (err error)
DeletePythonCodeDebugByIds 批量删除代码调试记录记录 Author [yourname](https://github.com/yourname)
func (*PythonCodeDebugService) GetPythonCodeDebug ¶
func (pcdService *PythonCodeDebugService) GetPythonCodeDebug(ctx context.Context, ID string) (pcd platform.PythonCodeDebug, err error)
GetPythonCodeDebug 根据ID获取代码调试记录记录 Author [yourname](https://github.com/yourname)
func (*PythonCodeDebugService) GetPythonCodeDebugInfoList ¶
func (pcdService *PythonCodeDebugService) GetPythonCodeDebugInfoList(ctx context.Context, info platformReq.PythonCodeDebugSearch) (list []platform.PythonCodeDebug, total int64, err error)
GetPythonCodeDebugInfoList 分页获取代码调试记录记录 Author [yourname](https://github.com/yourname)
func (*PythonCodeDebugService) GetPythonCodeDebugPublic ¶
func (pcdService *PythonCodeDebugService) GetPythonCodeDebugPublic(ctx context.Context)
func (*PythonCodeDebugService) UpdatePythonCodeDebug ¶
func (pcdService *PythonCodeDebugService) UpdatePythonCodeDebug(ctx context.Context, pcd platform.PythonCodeDebug, projectId int64) (err error)
UpdatePythonCodeDebug 更新代码调试记录记录 Author [yourname](https://github.com/yourname)
type PythonCodeFuncService ¶
type PythonCodeFuncService struct{}
func (*PythonCodeFuncService) CreatePythonCodeFunc ¶
func (pcfService *PythonCodeFuncService) CreatePythonCodeFunc(ctx context.Context, pcf *platform.PythonCodeFunc) (err error)
CreatePythonCodeFunc 创建python函数详情记录 Author [yourname](https://github.com/yourname)
func (*PythonCodeFuncService) DeletePythonCodeFunc ¶
func (pcfService *PythonCodeFuncService) DeletePythonCodeFunc(ctx context.Context, ID string, projectId int64) (err error)
DeletePythonCodeFunc 删除python函数详情记录 Author [yourname](https://github.com/yourname)
func (*PythonCodeFuncService) DeletePythonCodeFuncByIds ¶
func (pcfService *PythonCodeFuncService) DeletePythonCodeFuncByIds(ctx context.Context, IDs []string) (err error)
DeletePythonCodeFuncByIds 批量删除python函数详情记录 Author [yourname](https://github.com/yourname)
func (*PythonCodeFuncService) GetPythonCodeFunc ¶
func (pcfService *PythonCodeFuncService) GetPythonCodeFunc(ctx context.Context, ID string) (pcf platform.PythonCodeFunc, err error)
GetPythonCodeFunc 根据ID获取python函数详情记录 Author [yourname](https://github.com/yourname)
func (*PythonCodeFuncService) GetPythonCodeFuncInfoList ¶
func (pcfService *PythonCodeFuncService) GetPythonCodeFuncInfoList(ctx context.Context, info platformReq.PythonCodeFuncSearch) (list []platform.PythonCodeFunc, total int64, err error)
GetPythonCodeFuncInfoList 分页获取python函数详情记录 Author [yourname](https://github.com/yourname)
func (*PythonCodeFuncService) GetPythonCodeFuncPublic ¶
func (pcfService *PythonCodeFuncService) GetPythonCodeFuncPublic(ctx context.Context)
func (*PythonCodeFuncService) UpdatePythonCodeFunc ¶
func (pcfService *PythonCodeFuncService) UpdatePythonCodeFunc(ctx context.Context, pcfs platformReq.PythonCodeFuncSearch, projectId int64) (err error)
UpdatePythonCodeFunc 更新python函数详情记录 Author [yourname](https://github.com/yourname)
type PythonCodeService ¶
type PythonCodeService struct{}
func (*PythonCodeService) CreatePythonCode ¶
func (pcService *PythonCodeService) CreatePythonCode(ctx context.Context, pc *platform.PythonCode) (err error)
CreatePythonCode 创建python 函数记录 Author [yourname](https://github.com/yourname)
func (*PythonCodeService) DeletePythonCode ¶
func (pcService *PythonCodeService) DeletePythonCode(ctx context.Context, ID string, projectId int64) (err error)
DeletePythonCode 删除python 函数记录 Author [yourname](https://github.com/yourname)
func (*PythonCodeService) DeletePythonCodeByIds ¶
func (pcService *PythonCodeService) DeletePythonCodeByIds(ctx context.Context, IDs []string) (err error)
DeletePythonCodeByIds 批量删除python 函数记录 Author [yourname](https://github.com/yourname)
func (*PythonCodeService) GetPythonCode ¶
func (pcService *PythonCodeService) GetPythonCode(ctx context.Context, pageInfo platformReq.PythonCodeSearch, projectId uint) (pc platform.PythonCode, err error)
GetPythonCode 根据ID获取python 函数记录 Author [yourname](https://github.com/yourname)
func (*PythonCodeService) GetPythonCodeInfoList ¶
func (pcService *PythonCodeService) GetPythonCodeInfoList(ctx context.Context, info platformReq.PythonCodeSearch) (list []platform.PythonCode, total int64, err error)
GetPythonCodeInfoList 分页获取python 函数记录 Author [yourname](https://github.com/yourname)
func (*PythonCodeService) GetPythonCodePublic ¶
func (pcService *PythonCodeService) GetPythonCodePublic(ctx context.Context)
func (*PythonCodeService) UpdatePythonCode ¶
func (pcService *PythonCodeService) UpdatePythonCode(ctx context.Context, pc platform.PythonCode, projectId int64) (err error)
UpdatePythonCode 更新python 函数记录 Author [yourname](https://github.com/yourname)
type PythonPackageService ¶
type PythonPackageService struct{}
func (*PythonPackageService) CreatePythonPackage ¶
func (ppService *PythonPackageService) CreatePythonPackage(ctx context.Context, pp *platform.PythonPackage) (err error)
CreatePythonPackage 创建py 第三方库记录 Author [yourname](https://github.com/yourname)
func (*PythonPackageService) DeletePythonPackage ¶
func (ppService *PythonPackageService) DeletePythonPackage(ctx context.Context, ID string, projectId int64) (err error)
DeletePythonPackage 删除py 第三方库记录 Author [yourname](https://github.com/yourname)
func (*PythonPackageService) DeletePythonPackageByIds ¶
func (ppService *PythonPackageService) DeletePythonPackageByIds(ctx context.Context, IDs []string) (err error)
DeletePythonPackageByIds 批量删除py 第三方库记录 Author [yourname](https://github.com/yourname)
func (*PythonPackageService) GetPythonPackage ¶
func (ppService *PythonPackageService) GetPythonPackage(ctx context.Context, ID string) (pp platform.PythonPackage, err error)
GetPythonPackage 根据ID获取py 第三方库记录 Author [yourname](https://github.com/yourname)
func (*PythonPackageService) GetPythonPackageInfoList ¶
func (ppService *PythonPackageService) GetPythonPackageInfoList(ctx context.Context, info platformReq.PythonPackageSearch) (list []platform.PythonPackage, total int64, err error)
GetPythonPackageInfoList 分页获取py 第三方库记录 Author [yourname](https://github.com/yourname)
func (*PythonPackageService) GetPythonPackagePublic ¶
func (ppService *PythonPackageService) GetPythonPackagePublic(ctx context.Context)
func (*PythonPackageService) GetPythonPackageVersions ¶
func (*PythonPackageService) UpdatePythonPackage ¶
func (ppService *PythonPackageService) UpdatePythonPackage(ctx context.Context, pp platform.PythonPackage, projectId int64) (err error)
UpdatePythonPackage 更新py 第三方库记录 Author [yourname](https://github.com/yourname)
type RunConfigService ¶
type RunConfigService struct{}
func (*RunConfigService) CreateRunConfig ¶
func (rcService *RunConfigService) CreateRunConfig(ctx context.Context, rc *platform.RunConfig) (err error)
CreateRunConfig 创建运行配置记录 Author [yourname](https://github.com/yourname)
func (*RunConfigService) DeleteRunConfig ¶
func (rcService *RunConfigService) DeleteRunConfig(ctx context.Context, ID string, projectId int64) (err error)
DeleteRunConfig 删除运行配置记录 Author [yourname](https://github.com/yourname)
func (*RunConfigService) DeleteRunConfigByIds ¶
func (rcService *RunConfigService) DeleteRunConfigByIds(ctx context.Context, IDs []string) (err error)
DeleteRunConfigByIds 批量删除运行配置记录 Author [yourname](https://github.com/yourname)
func (*RunConfigService) GetRunConfig ¶
func (rcService *RunConfigService) GetRunConfig(ctx context.Context, ID string) (rc platform.RunConfig, err error)
GetRunConfig 根据ID获取运行配置记录 Author [yourname](https://github.com/yourname)
func (*RunConfigService) GetRunConfigInfoList ¶
func (rcService *RunConfigService) GetRunConfigInfoList(ctx context.Context, info platformReq.RunConfigSearch) (list []platform.RunConfig, total int64, err error)
GetRunConfigInfoList 分页获取运行配置记录 Author [yourname](https://github.com/yourname)
func (*RunConfigService) GetRunConfigPublic ¶
func (rcService *RunConfigService) GetRunConfigPublic(ctx context.Context)
func (*RunConfigService) UpdateRunConfig ¶
func (rcService *RunConfigService) UpdateRunConfig(ctx context.Context, rc platform.RunConfig, projectId int64) (err error)
UpdateRunConfig 更新运行配置记录 Author [yourname](https://github.com/yourname)
type RunnerNodeService ¶
type RunnerNodeService struct{}
func (*RunnerNodeService) CreateRunnerNode ¶
func (rnService *RunnerNodeService) CreateRunnerNode(ctx context.Context, rn *platform.RunnerNode) (err error)
CreateRunnerNode 创建节点记录 Author [yourname](https://github.com/yourname)
func (*RunnerNodeService) DeleteRunnerNode ¶
func (rnService *RunnerNodeService) DeleteRunnerNode(ctx context.Context, ID string) (err error)
DeleteRunnerNode 删除节点记录 Author [yourname](https://github.com/yourname)
func (*RunnerNodeService) DeleteRunnerNodeByIds ¶
func (rnService *RunnerNodeService) DeleteRunnerNodeByIds(ctx context.Context, IDs []string) (err error)
DeleteRunnerNodeByIds 批量删除节点记录 Author [yourname](https://github.com/yourname)
func (*RunnerNodeService) GetRunnerNode ¶
func (rnService *RunnerNodeService) GetRunnerNode(ctx context.Context, ID string) (rn platform.RunnerNode, err error)
GetRunnerNode 根据ID获取节点记录 Author [yourname](https://github.com/yourname)
func (*RunnerNodeService) GetRunnerNodeInfoList ¶
func (rnService *RunnerNodeService) GetRunnerNodeInfoList(ctx context.Context, info platformReq.RunnerNodeSearch) (list []platform.RunnerNode, total int64, err error)
GetRunnerNodeInfoList 分页获取节点记录 Author [yourname](https://github.com/yourname)
func (*RunnerNodeService) GetRunnerNodePublic ¶
func (rnService *RunnerNodeService) GetRunnerNodePublic(ctx context.Context)
func (*RunnerNodeService) UpdateRunnerNode ¶
func (rnService *RunnerNodeService) UpdateRunnerNode(ctx context.Context, rn platform.RunnerNode) (err error)
UpdateRunnerNode 更新节点记录 Author [yourname](https://github.com/yourname)
type RunnerService ¶
type RunnerService struct{}
func (*RunnerService) RunTask ¶
func (s *RunnerService) RunTask(req request.RunnerRequest) (*request.RunnerResponse, error)
RunTask 运行任务