Documentation ¶
Index ¶
- type Option
- type Service
- func (svc *Service) BatchDelete(req *apistructs.SonarMetricRulesBatchDeleteRequest) (httpserver.Responser, error)
- func (svc *Service) BatchInsert(req *apistructs.SonarMetricRulesBatchInsertRequest) (httpserver.Responser, error)
- func (svc *Service) Delete(req *apistructs.SonarMetricRulesDeleteRequest) (httpserver.Responser, error)
- func (svc *Service) Get(ID int64) (httpserver.Responser, error)
- func (svc *Service) Paging(req apistructs.SonarMetricRulesPagingRequest, local *i18n.LocaleResource) (httpserver.Responser, error)
- func (svc *Service) QueryMetricDefinition(req *apistructs.SonarMetricRulesDefinitionListRequest, ...) (httpserver.Responser, error)
- func (svc *Service) QueryMetricKeys(req *apistructs.SonarMetricRulesListRequest) (httpserver.Responser, error)
- func (svc *Service) Update(req apistructs.SonarMetricRulesUpdateRequest) (httpserver.Responser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service testSet 实例对象封装
func (*Service) BatchDelete ¶
func (svc *Service) BatchDelete(req *apistructs.SonarMetricRulesBatchDeleteRequest) (httpserver.Responser, error)
func (*Service) BatchInsert ¶
func (svc *Service) BatchInsert(req *apistructs.SonarMetricRulesBatchInsertRequest) (httpserver.Responser, error)
Create 创建测试集
func (*Service) Delete ¶
func (svc *Service) Delete(req *apistructs.SonarMetricRulesDeleteRequest) (httpserver.Responser, error)
Create 创建测试集
func (*Service) Paging ¶
func (svc *Service) Paging(req apistructs.SonarMetricRulesPagingRequest, local *i18n.LocaleResource) (httpserver.Responser, error)
func (*Service) QueryMetricDefinition ¶
func (svc *Service) QueryMetricDefinition(req *apistructs.SonarMetricRulesDefinitionListRequest, local *i18n.LocaleResource) (httpserver.Responser, error)
func (*Service) QueryMetricKeys ¶
func (svc *Service) QueryMetricKeys(req *apistructs.SonarMetricRulesListRequest) (httpserver.Responser, error)
func (*Service) Update ¶
func (svc *Service) Update(req apistructs.SonarMetricRulesUpdateRequest) (httpserver.Responser, error)
Click to show internal directories.
Click to hide internal directories.