Documentation ¶
Index ¶
- func CodeArtsCheckClientBuilder() *httpclient.HcHttpClientBuilder
- func GenReqDefForCheckParameters() *def.HttpRequestDef
- func GenReqDefForCheckRecord() *def.HttpRequestDef
- func GenReqDefForCheckRulesetParameters() *def.HttpRequestDef
- func GenReqDefForCreateRuleset() *def.HttpRequestDef
- func GenReqDefForCreateTask() *def.HttpRequestDef
- func GenReqDefForDeleteRuleset() *def.HttpRequestDef
- func GenReqDefForDeleteTask() *def.HttpRequestDef
- func GenReqDefForListRules() *def.HttpRequestDef
- func GenReqDefForListRulesets() *def.HttpRequestDef
- func GenReqDefForListTaskParameter() *def.HttpRequestDef
- func GenReqDefForListTaskRuleset() *def.HttpRequestDef
- func GenReqDefForListTemplateRules() *def.HttpRequestDef
- func GenReqDefForRunTask() *def.HttpRequestDef
- func GenReqDefForSetDefaulTemplate() *def.HttpRequestDef
- func GenReqDefForShowProgressDetail() *def.HttpRequestDef
- func GenReqDefForShowTaskCmetrics() *def.HttpRequestDef
- func GenReqDefForShowTaskDefects() *def.HttpRequestDef
- func GenReqDefForShowTaskDefectsStatistic() *def.HttpRequestDef
- func GenReqDefForShowTaskDetail() *def.HttpRequestDef
- func GenReqDefForShowTaskListByProjectId() *def.HttpRequestDef
- func GenReqDefForShowTaskPathTree() *def.HttpRequestDef
- func GenReqDefForShowTaskSettings() *def.HttpRequestDef
- func GenReqDefForShowTasklog() *def.HttpRequestDef
- func GenReqDefForShowTasksRulesets() *def.HttpRequestDef
- func GenReqDefForStopTaskById() *def.HttpRequestDef
- func GenReqDefForUpdateDefectStatus() *def.HttpRequestDef
- func GenReqDefForUpdateIgnorePath() *def.HttpRequestDef
- func GenReqDefForUpdateTaskRuleset() *def.HttpRequestDef
- func GenReqDefForUpdateTaskSettings() *def.HttpRequestDef
- type CheckParametersInvoker
- type CheckRecordInvoker
- type CheckRulesetParametersInvoker
- type CodeArtsCheckClient
- func (c *CodeArtsCheckClient) CheckParameters(request *model.CheckParametersRequest) (*model.CheckParametersResponse, error)
- func (c *CodeArtsCheckClient) CheckParametersInvoker(request *model.CheckParametersRequest) *CheckParametersInvoker
- func (c *CodeArtsCheckClient) CheckRecord(request *model.CheckRecordRequest) (*model.CheckRecordResponse, error)
- func (c *CodeArtsCheckClient) CheckRecordInvoker(request *model.CheckRecordRequest) *CheckRecordInvoker
- func (c *CodeArtsCheckClient) CheckRulesetParameters(request *model.CheckRulesetParametersRequest) (*model.CheckRulesetParametersResponse, error)
- func (c *CodeArtsCheckClient) CheckRulesetParametersInvoker(request *model.CheckRulesetParametersRequest) *CheckRulesetParametersInvoker
- func (c *CodeArtsCheckClient) CreateRuleset(request *model.CreateRulesetRequest) (*model.CreateRulesetResponse, error)
- func (c *CodeArtsCheckClient) CreateRulesetInvoker(request *model.CreateRulesetRequest) *CreateRulesetInvoker
- func (c *CodeArtsCheckClient) CreateTask(request *model.CreateTaskRequest) (*model.CreateTaskResponse, error)
- func (c *CodeArtsCheckClient) CreateTaskInvoker(request *model.CreateTaskRequest) *CreateTaskInvoker
- func (c *CodeArtsCheckClient) DeleteRuleset(request *model.DeleteRulesetRequest) (*model.DeleteRulesetResponse, error)
- func (c *CodeArtsCheckClient) DeleteRulesetInvoker(request *model.DeleteRulesetRequest) *DeleteRulesetInvoker
- func (c *CodeArtsCheckClient) DeleteTask(request *model.DeleteTaskRequest) (*model.DeleteTaskResponse, error)
- func (c *CodeArtsCheckClient) DeleteTaskInvoker(request *model.DeleteTaskRequest) *DeleteTaskInvoker
- func (c *CodeArtsCheckClient) ListRules(request *model.ListRulesRequest) (*model.ListRulesResponse, error)
- func (c *CodeArtsCheckClient) ListRulesInvoker(request *model.ListRulesRequest) *ListRulesInvoker
- func (c *CodeArtsCheckClient) ListRulesets(request *model.ListRulesetsRequest) (*model.ListRulesetsResponse, error)
- func (c *CodeArtsCheckClient) ListRulesetsInvoker(request *model.ListRulesetsRequest) *ListRulesetsInvoker
- func (c *CodeArtsCheckClient) ListTaskParameter(request *model.ListTaskParameterRequest) (*model.ListTaskParameterResponse, error)
- func (c *CodeArtsCheckClient) ListTaskParameterInvoker(request *model.ListTaskParameterRequest) *ListTaskParameterInvoker
- func (c *CodeArtsCheckClient) ListTaskRuleset(request *model.ListTaskRulesetRequest) (*model.ListTaskRulesetResponse, error)
- func (c *CodeArtsCheckClient) ListTaskRulesetInvoker(request *model.ListTaskRulesetRequest) *ListTaskRulesetInvoker
- func (c *CodeArtsCheckClient) ListTemplateRules(request *model.ListTemplateRulesRequest) (*model.ListTemplateRulesResponse, error)
- func (c *CodeArtsCheckClient) ListTemplateRulesInvoker(request *model.ListTemplateRulesRequest) *ListTemplateRulesInvoker
- func (c *CodeArtsCheckClient) RunTask(request *model.RunTaskRequest) (*model.RunTaskResponse, error)
- func (c *CodeArtsCheckClient) RunTaskInvoker(request *model.RunTaskRequest) *RunTaskInvoker
- func (c *CodeArtsCheckClient) SetDefaulTemplate(request *model.SetDefaulTemplateRequest) (*model.SetDefaulTemplateResponse, error)
- func (c *CodeArtsCheckClient) SetDefaulTemplateInvoker(request *model.SetDefaulTemplateRequest) *SetDefaulTemplateInvoker
- func (c *CodeArtsCheckClient) ShowProgressDetail(request *model.ShowProgressDetailRequest) (*model.ShowProgressDetailResponse, error)
- func (c *CodeArtsCheckClient) ShowProgressDetailInvoker(request *model.ShowProgressDetailRequest) *ShowProgressDetailInvoker
- func (c *CodeArtsCheckClient) ShowTaskCmetrics(request *model.ShowTaskCmetricsRequest) (*model.ShowTaskCmetricsResponse, error)
- func (c *CodeArtsCheckClient) ShowTaskCmetricsInvoker(request *model.ShowTaskCmetricsRequest) *ShowTaskCmetricsInvoker
- func (c *CodeArtsCheckClient) ShowTaskDefects(request *model.ShowTaskDefectsRequest) (*model.ShowTaskDefectsResponse, error)
- func (c *CodeArtsCheckClient) ShowTaskDefectsInvoker(request *model.ShowTaskDefectsRequest) *ShowTaskDefectsInvoker
- func (c *CodeArtsCheckClient) ShowTaskDefectsStatistic(request *model.ShowTaskDefectsStatisticRequest) (*model.ShowTaskDefectsStatisticResponse, error)
- func (c *CodeArtsCheckClient) ShowTaskDefectsStatisticInvoker(request *model.ShowTaskDefectsStatisticRequest) *ShowTaskDefectsStatisticInvoker
- func (c *CodeArtsCheckClient) ShowTaskDetail(request *model.ShowTaskDetailRequest) (*model.ShowTaskDetailResponse, error)
- func (c *CodeArtsCheckClient) ShowTaskDetailInvoker(request *model.ShowTaskDetailRequest) *ShowTaskDetailInvoker
- func (c *CodeArtsCheckClient) ShowTaskListByProjectId(request *model.ShowTaskListByProjectIdRequest) (*model.ShowTaskListByProjectIdResponse, error)
- func (c *CodeArtsCheckClient) ShowTaskListByProjectIdInvoker(request *model.ShowTaskListByProjectIdRequest) *ShowTaskListByProjectIdInvoker
- func (c *CodeArtsCheckClient) ShowTaskPathTree(request *model.ShowTaskPathTreeRequest) (*model.ShowTaskPathTreeResponse, error)
- func (c *CodeArtsCheckClient) ShowTaskPathTreeInvoker(request *model.ShowTaskPathTreeRequest) *ShowTaskPathTreeInvoker
- func (c *CodeArtsCheckClient) ShowTaskSettings(request *model.ShowTaskSettingsRequest) (*model.ShowTaskSettingsResponse, error)
- func (c *CodeArtsCheckClient) ShowTaskSettingsInvoker(request *model.ShowTaskSettingsRequest) *ShowTaskSettingsInvoker
- func (c *CodeArtsCheckClient) ShowTasklog(request *model.ShowTasklogRequest) (*model.ShowTasklogResponse, error)
- func (c *CodeArtsCheckClient) ShowTasklogInvoker(request *model.ShowTasklogRequest) *ShowTasklogInvoker
- func (c *CodeArtsCheckClient) ShowTasksRulesets(request *model.ShowTasksRulesetsRequest) (*model.ShowTasksRulesetsResponse, error)
- func (c *CodeArtsCheckClient) ShowTasksRulesetsInvoker(request *model.ShowTasksRulesetsRequest) *ShowTasksRulesetsInvoker
- func (c *CodeArtsCheckClient) StopTaskById(request *model.StopTaskByIdRequest) (*model.StopTaskByIdResponse, error)
- func (c *CodeArtsCheckClient) StopTaskByIdInvoker(request *model.StopTaskByIdRequest) *StopTaskByIdInvoker
- func (c *CodeArtsCheckClient) UpdateDefectStatus(request *model.UpdateDefectStatusRequest) (*model.UpdateDefectStatusResponse, error)
- func (c *CodeArtsCheckClient) UpdateDefectStatusInvoker(request *model.UpdateDefectStatusRequest) *UpdateDefectStatusInvoker
- func (c *CodeArtsCheckClient) UpdateIgnorePath(request *model.UpdateIgnorePathRequest) (*model.UpdateIgnorePathResponse, error)
- func (c *CodeArtsCheckClient) UpdateIgnorePathInvoker(request *model.UpdateIgnorePathRequest) *UpdateIgnorePathInvoker
- func (c *CodeArtsCheckClient) UpdateTaskRuleset(request *model.UpdateTaskRulesetRequest) (*model.UpdateTaskRulesetResponse, error)
- func (c *CodeArtsCheckClient) UpdateTaskRulesetInvoker(request *model.UpdateTaskRulesetRequest) *UpdateTaskRulesetInvoker
- func (c *CodeArtsCheckClient) UpdateTaskSettings(request *model.UpdateTaskSettingsRequest) (*model.UpdateTaskSettingsResponse, error)
- func (c *CodeArtsCheckClient) UpdateTaskSettingsInvoker(request *model.UpdateTaskSettingsRequest) *UpdateTaskSettingsInvoker
- type CreateRulesetInvoker
- type CreateTaskInvoker
- type DeleteRulesetInvoker
- type DeleteTaskInvoker
- type ListRulesInvoker
- type ListRulesetsInvoker
- type ListTaskParameterInvoker
- type ListTaskRulesetInvoker
- type ListTemplateRulesInvoker
- type RunTaskInvoker
- type SetDefaulTemplateInvoker
- type ShowProgressDetailInvoker
- type ShowTaskCmetricsInvoker
- type ShowTaskDefectsInvoker
- type ShowTaskDefectsStatisticInvoker
- type ShowTaskDetailInvoker
- type ShowTaskListByProjectIdInvoker
- type ShowTaskPathTreeInvoker
- type ShowTaskSettingsInvoker
- type ShowTasklogInvoker
- type ShowTasksRulesetsInvoker
- type StopTaskByIdInvoker
- type UpdateDefectStatusInvoker
- type UpdateIgnorePathInvoker
- type UpdateTaskRulesetInvoker
- type UpdateTaskSettingsInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CodeArtsCheckClientBuilder ¶
func CodeArtsCheckClientBuilder() *httpclient.HcHttpClientBuilder
func GenReqDefForCheckParameters ¶
func GenReqDefForCheckParameters() *def.HttpRequestDef
func GenReqDefForCheckRecord ¶
func GenReqDefForCheckRecord() *def.HttpRequestDef
func GenReqDefForCheckRulesetParameters ¶
func GenReqDefForCheckRulesetParameters() *def.HttpRequestDef
func GenReqDefForCreateRuleset ¶
func GenReqDefForCreateRuleset() *def.HttpRequestDef
func GenReqDefForCreateTask ¶
func GenReqDefForCreateTask() *def.HttpRequestDef
func GenReqDefForDeleteRuleset ¶
func GenReqDefForDeleteRuleset() *def.HttpRequestDef
func GenReqDefForDeleteTask ¶
func GenReqDefForDeleteTask() *def.HttpRequestDef
func GenReqDefForListRules ¶
func GenReqDefForListRules() *def.HttpRequestDef
func GenReqDefForListRulesets ¶
func GenReqDefForListRulesets() *def.HttpRequestDef
func GenReqDefForListTaskParameter ¶
func GenReqDefForListTaskParameter() *def.HttpRequestDef
func GenReqDefForListTaskRuleset ¶
func GenReqDefForListTaskRuleset() *def.HttpRequestDef
func GenReqDefForListTemplateRules ¶
func GenReqDefForListTemplateRules() *def.HttpRequestDef
func GenReqDefForRunTask ¶
func GenReqDefForRunTask() *def.HttpRequestDef
func GenReqDefForSetDefaulTemplate ¶
func GenReqDefForSetDefaulTemplate() *def.HttpRequestDef
func GenReqDefForShowProgressDetail ¶
func GenReqDefForShowProgressDetail() *def.HttpRequestDef
func GenReqDefForShowTaskCmetrics ¶
func GenReqDefForShowTaskCmetrics() *def.HttpRequestDef
func GenReqDefForShowTaskDefects ¶
func GenReqDefForShowTaskDefects() *def.HttpRequestDef
func GenReqDefForShowTaskDefectsStatistic ¶
func GenReqDefForShowTaskDefectsStatistic() *def.HttpRequestDef
func GenReqDefForShowTaskDetail ¶
func GenReqDefForShowTaskDetail() *def.HttpRequestDef
func GenReqDefForShowTaskListByProjectId ¶
func GenReqDefForShowTaskListByProjectId() *def.HttpRequestDef
func GenReqDefForShowTaskPathTree ¶
func GenReqDefForShowTaskPathTree() *def.HttpRequestDef
func GenReqDefForShowTaskSettings ¶
func GenReqDefForShowTaskSettings() *def.HttpRequestDef
func GenReqDefForShowTasklog ¶
func GenReqDefForShowTasklog() *def.HttpRequestDef
func GenReqDefForShowTasksRulesets ¶
func GenReqDefForShowTasksRulesets() *def.HttpRequestDef
func GenReqDefForStopTaskById ¶
func GenReqDefForStopTaskById() *def.HttpRequestDef
func GenReqDefForUpdateDefectStatus ¶
func GenReqDefForUpdateDefectStatus() *def.HttpRequestDef
func GenReqDefForUpdateIgnorePath ¶
func GenReqDefForUpdateIgnorePath() *def.HttpRequestDef
func GenReqDefForUpdateTaskRuleset ¶
func GenReqDefForUpdateTaskRuleset() *def.HttpRequestDef
func GenReqDefForUpdateTaskSettings ¶
func GenReqDefForUpdateTaskSettings() *def.HttpRequestDef
Types ¶
type CheckParametersInvoker ¶
type CheckParametersInvoker struct {
*invoker.BaseInvoker
}
func (*CheckParametersInvoker) Invoke ¶
func (i *CheckParametersInvoker) Invoke() (*model.CheckParametersResponse, error)
type CheckRecordInvoker ¶
type CheckRecordInvoker struct {
*invoker.BaseInvoker
}
func (*CheckRecordInvoker) Invoke ¶
func (i *CheckRecordInvoker) Invoke() (*model.CheckRecordResponse, error)
type CheckRulesetParametersInvoker ¶
type CheckRulesetParametersInvoker struct {
*invoker.BaseInvoker
}
func (*CheckRulesetParametersInvoker) Invoke ¶
func (i *CheckRulesetParametersInvoker) Invoke() (*model.CheckRulesetParametersResponse, error)
type CodeArtsCheckClient ¶
type CodeArtsCheckClient struct {
HcClient *httpclient.HcHttpClient
}
func NewCodeArtsCheckClient ¶
func NewCodeArtsCheckClient(hcClient *httpclient.HcHttpClient) *CodeArtsCheckClient
func (*CodeArtsCheckClient) CheckParameters ¶
func (c *CodeArtsCheckClient) CheckParameters(request *model.CheckParametersRequest) (*model.CheckParametersResponse, error)
CheckParameters 查询任务规则集的检查参数
查询任务规则集的检查参数
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) CheckParametersInvoker ¶
func (c *CodeArtsCheckClient) CheckParametersInvoker(request *model.CheckParametersRequest) *CheckParametersInvoker
CheckParametersInvoker 查询任务规则集的检查参数
func (*CodeArtsCheckClient) CheckRecord ¶
func (c *CodeArtsCheckClient) CheckRecord(request *model.CheckRecordRequest) (*model.CheckRecordResponse, error)
CheckRecord 历史扫描结果查询
提供每次扫描的问题数量统计
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) CheckRecordInvoker ¶
func (c *CodeArtsCheckClient) CheckRecordInvoker(request *model.CheckRecordRequest) *CheckRecordInvoker
CheckRecordInvoker 历史扫描结果查询
func (*CodeArtsCheckClient) CheckRulesetParameters ¶
func (c *CodeArtsCheckClient) CheckRulesetParameters(request *model.CheckRulesetParametersRequest) (*model.CheckRulesetParametersResponse, error)
CheckRulesetParameters 查询任务规则集的检查参数
查询任务规则集的检查参数
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) CheckRulesetParametersInvoker ¶
func (c *CodeArtsCheckClient) CheckRulesetParametersInvoker(request *model.CheckRulesetParametersRequest) *CheckRulesetParametersInvoker
CheckRulesetParametersInvoker 查询任务规则集的检查参数
func (*CodeArtsCheckClient) CreateRuleset ¶
func (c *CodeArtsCheckClient) CreateRuleset(request *model.CreateRulesetRequest) (*model.CreateRulesetResponse, error)
CreateRuleset 创建自定义规则集
可根据需求灵活的组合规则。
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) CreateRulesetInvoker ¶
func (c *CodeArtsCheckClient) CreateRulesetInvoker(request *model.CreateRulesetRequest) *CreateRulesetInvoker
CreateRulesetInvoker 创建自定义规则集
func (*CodeArtsCheckClient) CreateTask ¶
func (c *CodeArtsCheckClient) CreateTask(request *model.CreateTaskRequest) (*model.CreateTaskResponse, error)
CreateTask 新建检查任务
新建检查任务但是不执行。
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) CreateTaskInvoker ¶
func (c *CodeArtsCheckClient) CreateTaskInvoker(request *model.CreateTaskRequest) *CreateTaskInvoker
CreateTaskInvoker 新建检查任务
func (*CodeArtsCheckClient) DeleteRuleset ¶
func (c *CodeArtsCheckClient) DeleteRuleset(request *model.DeleteRulesetRequest) (*model.DeleteRulesetResponse, error)
DeleteRuleset 删除自定义规则集
删除自定义规则集,正在使用中的或默认规则集不能删除
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) DeleteRulesetInvoker ¶
func (c *CodeArtsCheckClient) DeleteRulesetInvoker(request *model.DeleteRulesetRequest) *DeleteRulesetInvoker
DeleteRulesetInvoker 删除自定义规则集
func (*CodeArtsCheckClient) DeleteTask ¶
func (c *CodeArtsCheckClient) DeleteTask(request *model.DeleteTaskRequest) (*model.DeleteTaskResponse, error)
DeleteTask 删除检查任务
删除检查任务,执行中的任务删除无法再查看
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) DeleteTaskInvoker ¶
func (c *CodeArtsCheckClient) DeleteTaskInvoker(request *model.DeleteTaskRequest) *DeleteTaskInvoker
DeleteTaskInvoker 删除检查任务
func (*CodeArtsCheckClient) ListRules ¶
func (c *CodeArtsCheckClient) ListRules(request *model.ListRulesRequest) (*model.ListRulesResponse, error)
ListRules 获取规则列表接口
根据语言、问题级别等条件查询规则列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) ListRulesInvoker ¶
func (c *CodeArtsCheckClient) ListRulesInvoker(request *model.ListRulesRequest) *ListRulesInvoker
ListRulesInvoker 获取规则列表接口
func (*CodeArtsCheckClient) ListRulesets ¶
func (c *CodeArtsCheckClient) ListRulesets(request *model.ListRulesetsRequest) (*model.ListRulesetsResponse, error)
ListRulesets 查询规则集列表
根据项目ID、语言等条件查询规则集列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) ListRulesetsInvoker ¶
func (c *CodeArtsCheckClient) ListRulesetsInvoker(request *model.ListRulesetsRequest) *ListRulesetsInvoker
ListRulesetsInvoker 查询规则集列表
func (*CodeArtsCheckClient) ListTaskParameter ¶
func (c *CodeArtsCheckClient) ListTaskParameter(request *model.ListTaskParameterRequest) (*model.ListTaskParameterResponse, error)
ListTaskParameter 任务配置检查参数
任务配置检查参数
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) ListTaskParameterInvoker ¶
func (c *CodeArtsCheckClient) ListTaskParameterInvoker(request *model.ListTaskParameterRequest) *ListTaskParameterInvoker
ListTaskParameterInvoker 任务配置检查参数
func (*CodeArtsCheckClient) ListTaskRuleset ¶
func (c *CodeArtsCheckClient) ListTaskRuleset(request *model.ListTaskRulesetRequest) (*model.ListTaskRulesetResponse, error)
ListTaskRuleset 查询任务的已选规则集列表
查询任务的已选规则集列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) ListTaskRulesetInvoker ¶
func (c *CodeArtsCheckClient) ListTaskRulesetInvoker(request *model.ListTaskRulesetRequest) *ListTaskRulesetInvoker
ListTaskRulesetInvoker 查询任务的已选规则集列表
func (*CodeArtsCheckClient) ListTemplateRules ¶
func (c *CodeArtsCheckClient) ListTemplateRules(request *model.ListTemplateRulesRequest) (*model.ListTemplateRulesResponse, error)
ListTemplateRules 查看规则集的规则列表
根据项目ID、规则集ID等条件查询规则列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) ListTemplateRulesInvoker ¶
func (c *CodeArtsCheckClient) ListTemplateRulesInvoker(request *model.ListTemplateRulesRequest) *ListTemplateRulesInvoker
ListTemplateRulesInvoker 查看规则集的规则列表
func (*CodeArtsCheckClient) RunTask ¶
func (c *CodeArtsCheckClient) RunTask(request *model.RunTaskRequest) (*model.RunTaskResponse, error)
RunTask 执行检查任务
执行检查任务。
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) RunTaskInvoker ¶
func (c *CodeArtsCheckClient) RunTaskInvoker(request *model.RunTaskRequest) *RunTaskInvoker
RunTaskInvoker 执行检查任务
func (*CodeArtsCheckClient) SetDefaulTemplate ¶
func (c *CodeArtsCheckClient) SetDefaulTemplate(request *model.SetDefaulTemplateRequest) (*model.SetDefaulTemplateResponse, error)
SetDefaulTemplate 设置每个项目对应语言的默认规则集配置
设置每个项目对应语言的默认规则集配置。
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) SetDefaulTemplateInvoker ¶
func (c *CodeArtsCheckClient) SetDefaulTemplateInvoker(request *model.SetDefaulTemplateRequest) *SetDefaulTemplateInvoker
SetDefaulTemplateInvoker 设置每个项目对应语言的默认规则集配置
func (*CodeArtsCheckClient) ShowProgressDetail ¶
func (c *CodeArtsCheckClient) ShowProgressDetail(request *model.ShowProgressDetailRequest) (*model.ShowProgressDetailResponse, error)
ShowProgressDetail 查询任务执行状态
根据任务ID查询任务执行状态。任务状态:0表示检查中,1表示检查失败,2表示检查成功,3表示任务中止。只有正在检查中才有进度的详细信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) ShowProgressDetailInvoker ¶
func (c *CodeArtsCheckClient) ShowProgressDetailInvoker(request *model.ShowProgressDetailRequest) *ShowProgressDetailInvoker
ShowProgressDetailInvoker 查询任务执行状态
func (*CodeArtsCheckClient) ShowTaskCmetrics ¶
func (c *CodeArtsCheckClient) ShowTaskCmetrics(request *model.ShowTaskCmetricsRequest) (*model.ShowTaskCmetricsResponse, error)
ShowTaskCmetrics 查询cmertrics缺陷概要
根据检查任务ID查询cmertrics缺陷概要。
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) ShowTaskCmetricsInvoker ¶
func (c *CodeArtsCheckClient) ShowTaskCmetricsInvoker(request *model.ShowTaskCmetricsRequest) *ShowTaskCmetricsInvoker
ShowTaskCmetricsInvoker 查询cmertrics缺陷概要
func (*CodeArtsCheckClient) ShowTaskDefects ¶
func (c *CodeArtsCheckClient) ShowTaskDefects(request *model.ShowTaskDefectsRequest) (*model.ShowTaskDefectsResponse, error)
ShowTaskDefects 查询缺陷详情
根据检查任务ID分页查询缺陷结果详情。
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) ShowTaskDefectsInvoker ¶
func (c *CodeArtsCheckClient) ShowTaskDefectsInvoker(request *model.ShowTaskDefectsRequest) *ShowTaskDefectsInvoker
ShowTaskDefectsInvoker 查询缺陷详情
func (*CodeArtsCheckClient) ShowTaskDefectsStatistic ¶
func (c *CodeArtsCheckClient) ShowTaskDefectsStatistic(request *model.ShowTaskDefectsStatisticRequest) (*model.ShowTaskDefectsStatisticResponse, error)
ShowTaskDefectsStatistic 查询缺陷详情的统计
根据检查任务ID查询缺陷详情的统计
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) ShowTaskDefectsStatisticInvoker ¶
func (c *CodeArtsCheckClient) ShowTaskDefectsStatisticInvoker(request *model.ShowTaskDefectsStatisticRequest) *ShowTaskDefectsStatisticInvoker
ShowTaskDefectsStatisticInvoker 查询缺陷详情的统计
func (*CodeArtsCheckClient) ShowTaskDetail ¶
func (c *CodeArtsCheckClient) ShowTaskDetail(request *model.ShowTaskDetailRequest) (*model.ShowTaskDetailResponse, error)
ShowTaskDetail 查询缺陷概要
根据检查任务ID查询缺陷结果的概要。包括问题概述、问题状态、圈复杂度、代码重复率等。
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) ShowTaskDetailInvoker ¶
func (c *CodeArtsCheckClient) ShowTaskDetailInvoker(request *model.ShowTaskDetailRequest) *ShowTaskDetailInvoker
ShowTaskDetailInvoker 查询缺陷概要
func (*CodeArtsCheckClient) ShowTaskListByProjectId ¶
func (c *CodeArtsCheckClient) ShowTaskListByProjectId(request *model.ShowTaskListByProjectIdRequest) (*model.ShowTaskListByProjectIdResponse, error)
ShowTaskListByProjectId 查询任务列表
根据DEVCLOUD_PROJECT_UUID查询该项目下的任务列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) ShowTaskListByProjectIdInvoker ¶
func (c *CodeArtsCheckClient) ShowTaskListByProjectIdInvoker(request *model.ShowTaskListByProjectIdRequest) *ShowTaskListByProjectIdInvoker
ShowTaskListByProjectIdInvoker 查询任务列表
func (*CodeArtsCheckClient) ShowTaskPathTree ¶
func (c *CodeArtsCheckClient) ShowTaskPathTree(request *model.ShowTaskPathTreeRequest) (*model.ShowTaskPathTreeResponse, error)
ShowTaskPathTree 获取任务的目录树
获取任务的目录树
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) ShowTaskPathTreeInvoker ¶
func (c *CodeArtsCheckClient) ShowTaskPathTreeInvoker(request *model.ShowTaskPathTreeRequest) *ShowTaskPathTreeInvoker
ShowTaskPathTreeInvoker 获取任务的目录树
func (*CodeArtsCheckClient) ShowTaskSettings ¶
func (c *CodeArtsCheckClient) ShowTaskSettings(request *model.ShowTaskSettingsRequest) (*model.ShowTaskSettingsResponse, error)
ShowTaskSettings 查询任务的高级选项
查询任务的高级选项
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) ShowTaskSettingsInvoker ¶
func (c *CodeArtsCheckClient) ShowTaskSettingsInvoker(request *model.ShowTaskSettingsRequest) *ShowTaskSettingsInvoker
ShowTaskSettingsInvoker 查询任务的高级选项
func (*CodeArtsCheckClient) ShowTasklog ¶
func (c *CodeArtsCheckClient) ShowTasklog(request *model.ShowTasklogRequest) (*model.ShowTasklogResponse, error)
ShowTasklog 查询任务检查失败日志
查询任务检查失败日志,不传execute_id则查询最近一次的检查日志
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) ShowTasklogInvoker ¶
func (c *CodeArtsCheckClient) ShowTasklogInvoker(request *model.ShowTasklogRequest) *ShowTasklogInvoker
ShowTasklogInvoker 查询任务检查失败日志
func (*CodeArtsCheckClient) ShowTasksRulesets ¶
func (c *CodeArtsCheckClient) ShowTasksRulesets(request *model.ShowTasksRulesetsRequest) (*model.ShowTasksRulesetsResponse, error)
ShowTasksRulesets 查询任务的已选规则集列表
查询任务的已选规则集列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) ShowTasksRulesetsInvoker ¶
func (c *CodeArtsCheckClient) ShowTasksRulesetsInvoker(request *model.ShowTasksRulesetsRequest) *ShowTasksRulesetsInvoker
ShowTasksRulesetsInvoker 查询任务的已选规则集列表
func (*CodeArtsCheckClient) StopTaskById ¶
func (c *CodeArtsCheckClient) StopTaskById(request *model.StopTaskByIdRequest) (*model.StopTaskByIdResponse, error)
StopTaskById 终止检查任务
根据任务ID终止检查任务。
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) StopTaskByIdInvoker ¶
func (c *CodeArtsCheckClient) StopTaskByIdInvoker(request *model.StopTaskByIdRequest) *StopTaskByIdInvoker
StopTaskByIdInvoker 终止检查任务
func (*CodeArtsCheckClient) UpdateDefectStatus ¶
func (c *CodeArtsCheckClient) UpdateDefectStatus(request *model.UpdateDefectStatusRequest) (*model.UpdateDefectStatusResponse, error)
UpdateDefectStatus 修改缺陷状态
修改检查出的缺陷的状态为已解决、已忽略
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) UpdateDefectStatusInvoker ¶
func (c *CodeArtsCheckClient) UpdateDefectStatusInvoker(request *model.UpdateDefectStatusRequest) *UpdateDefectStatusInvoker
UpdateDefectStatusInvoker 修改缺陷状态
func (*CodeArtsCheckClient) UpdateIgnorePath ¶
func (c *CodeArtsCheckClient) UpdateIgnorePath(request *model.UpdateIgnorePathRequest) (*model.UpdateIgnorePathResponse, error)
UpdateIgnorePath 任务配置屏蔽目录
任务配置屏蔽目录
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) UpdateIgnorePathInvoker ¶
func (c *CodeArtsCheckClient) UpdateIgnorePathInvoker(request *model.UpdateIgnorePathRequest) *UpdateIgnorePathInvoker
UpdateIgnorePathInvoker 任务配置屏蔽目录
func (*CodeArtsCheckClient) UpdateTaskRuleset ¶
func (c *CodeArtsCheckClient) UpdateTaskRuleset(request *model.UpdateTaskRulesetRequest) (*model.UpdateTaskRulesetResponse, error)
UpdateTaskRuleset 修改任务规则集
修改任务规则集。
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) UpdateTaskRulesetInvoker ¶
func (c *CodeArtsCheckClient) UpdateTaskRulesetInvoker(request *model.UpdateTaskRulesetRequest) *UpdateTaskRulesetInvoker
UpdateTaskRulesetInvoker 修改任务规则集
func (*CodeArtsCheckClient) UpdateTaskSettings ¶
func (c *CodeArtsCheckClient) UpdateTaskSettings(request *model.UpdateTaskSettingsRequest) (*model.UpdateTaskSettingsResponse, error)
UpdateTaskSettings 任务配置高级选项
任务配置高级选项,如自定义镜像
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsCheckClient) UpdateTaskSettingsInvoker ¶
func (c *CodeArtsCheckClient) UpdateTaskSettingsInvoker(request *model.UpdateTaskSettingsRequest) *UpdateTaskSettingsInvoker
UpdateTaskSettingsInvoker 任务配置高级选项
type CreateRulesetInvoker ¶
type CreateRulesetInvoker struct {
*invoker.BaseInvoker
}
func (*CreateRulesetInvoker) Invoke ¶
func (i *CreateRulesetInvoker) Invoke() (*model.CreateRulesetResponse, error)
type CreateTaskInvoker ¶
type CreateTaskInvoker struct {
*invoker.BaseInvoker
}
func (*CreateTaskInvoker) Invoke ¶
func (i *CreateTaskInvoker) Invoke() (*model.CreateTaskResponse, error)
type DeleteRulesetInvoker ¶
type DeleteRulesetInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteRulesetInvoker) Invoke ¶
func (i *DeleteRulesetInvoker) Invoke() (*model.DeleteRulesetResponse, error)
type DeleteTaskInvoker ¶
type DeleteTaskInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteTaskInvoker) Invoke ¶
func (i *DeleteTaskInvoker) Invoke() (*model.DeleteTaskResponse, error)
type ListRulesInvoker ¶
type ListRulesInvoker struct {
*invoker.BaseInvoker
}
func (*ListRulesInvoker) Invoke ¶
func (i *ListRulesInvoker) Invoke() (*model.ListRulesResponse, error)
type ListRulesetsInvoker ¶
type ListRulesetsInvoker struct {
*invoker.BaseInvoker
}
func (*ListRulesetsInvoker) Invoke ¶
func (i *ListRulesetsInvoker) Invoke() (*model.ListRulesetsResponse, error)
type ListTaskParameterInvoker ¶
type ListTaskParameterInvoker struct {
*invoker.BaseInvoker
}
func (*ListTaskParameterInvoker) Invoke ¶
func (i *ListTaskParameterInvoker) Invoke() (*model.ListTaskParameterResponse, error)
type ListTaskRulesetInvoker ¶
type ListTaskRulesetInvoker struct {
*invoker.BaseInvoker
}
func (*ListTaskRulesetInvoker) Invoke ¶
func (i *ListTaskRulesetInvoker) Invoke() (*model.ListTaskRulesetResponse, error)
type ListTemplateRulesInvoker ¶
type ListTemplateRulesInvoker struct {
*invoker.BaseInvoker
}
func (*ListTemplateRulesInvoker) Invoke ¶
func (i *ListTemplateRulesInvoker) Invoke() (*model.ListTemplateRulesResponse, error)
type RunTaskInvoker ¶
type RunTaskInvoker struct {
*invoker.BaseInvoker
}
func (*RunTaskInvoker) Invoke ¶
func (i *RunTaskInvoker) Invoke() (*model.RunTaskResponse, error)
type SetDefaulTemplateInvoker ¶
type SetDefaulTemplateInvoker struct {
*invoker.BaseInvoker
}
func (*SetDefaulTemplateInvoker) Invoke ¶
func (i *SetDefaulTemplateInvoker) Invoke() (*model.SetDefaulTemplateResponse, error)
type ShowProgressDetailInvoker ¶
type ShowProgressDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ShowProgressDetailInvoker) Invoke ¶
func (i *ShowProgressDetailInvoker) Invoke() (*model.ShowProgressDetailResponse, error)
type ShowTaskCmetricsInvoker ¶
type ShowTaskCmetricsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowTaskCmetricsInvoker) Invoke ¶
func (i *ShowTaskCmetricsInvoker) Invoke() (*model.ShowTaskCmetricsResponse, error)
type ShowTaskDefectsInvoker ¶
type ShowTaskDefectsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowTaskDefectsInvoker) Invoke ¶
func (i *ShowTaskDefectsInvoker) Invoke() (*model.ShowTaskDefectsResponse, error)
type ShowTaskDefectsStatisticInvoker ¶
type ShowTaskDefectsStatisticInvoker struct {
*invoker.BaseInvoker
}
func (*ShowTaskDefectsStatisticInvoker) Invoke ¶
func (i *ShowTaskDefectsStatisticInvoker) Invoke() (*model.ShowTaskDefectsStatisticResponse, error)
type ShowTaskDetailInvoker ¶
type ShowTaskDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ShowTaskDetailInvoker) Invoke ¶
func (i *ShowTaskDetailInvoker) Invoke() (*model.ShowTaskDetailResponse, error)
type ShowTaskListByProjectIdInvoker ¶
type ShowTaskListByProjectIdInvoker struct {
*invoker.BaseInvoker
}
func (*ShowTaskListByProjectIdInvoker) Invoke ¶
func (i *ShowTaskListByProjectIdInvoker) Invoke() (*model.ShowTaskListByProjectIdResponse, error)
type ShowTaskPathTreeInvoker ¶
type ShowTaskPathTreeInvoker struct {
*invoker.BaseInvoker
}
func (*ShowTaskPathTreeInvoker) Invoke ¶
func (i *ShowTaskPathTreeInvoker) Invoke() (*model.ShowTaskPathTreeResponse, error)
type ShowTaskSettingsInvoker ¶
type ShowTaskSettingsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowTaskSettingsInvoker) Invoke ¶
func (i *ShowTaskSettingsInvoker) Invoke() (*model.ShowTaskSettingsResponse, error)
type ShowTasklogInvoker ¶
type ShowTasklogInvoker struct {
*invoker.BaseInvoker
}
func (*ShowTasklogInvoker) Invoke ¶
func (i *ShowTasklogInvoker) Invoke() (*model.ShowTasklogResponse, error)
type ShowTasksRulesetsInvoker ¶
type ShowTasksRulesetsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowTasksRulesetsInvoker) Invoke ¶
func (i *ShowTasksRulesetsInvoker) Invoke() (*model.ShowTasksRulesetsResponse, error)
type StopTaskByIdInvoker ¶
type StopTaskByIdInvoker struct {
*invoker.BaseInvoker
}
func (*StopTaskByIdInvoker) Invoke ¶
func (i *StopTaskByIdInvoker) Invoke() (*model.StopTaskByIdResponse, error)
type UpdateDefectStatusInvoker ¶
type UpdateDefectStatusInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateDefectStatusInvoker) Invoke ¶
func (i *UpdateDefectStatusInvoker) Invoke() (*model.UpdateDefectStatusResponse, error)
type UpdateIgnorePathInvoker ¶
type UpdateIgnorePathInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateIgnorePathInvoker) Invoke ¶
func (i *UpdateIgnorePathInvoker) Invoke() (*model.UpdateIgnorePathResponse, error)
type UpdateTaskRulesetInvoker ¶
type UpdateTaskRulesetInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateTaskRulesetInvoker) Invoke ¶
func (i *UpdateTaskRulesetInvoker) Invoke() (*model.UpdateTaskRulesetResponse, error)
type UpdateTaskSettingsInvoker ¶
type UpdateTaskSettingsInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateTaskSettingsInvoker) Invoke ¶
func (i *UpdateTaskSettingsInvoker) Invoke() (*model.UpdateTaskSettingsResponse, error)