sonar_metric_rule

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Service)

Option testCase 实例对象配置选项

func WithBundle

func WithBundle(bdl *bundle.Bundle) Option

WithBundle 配置 bundle

func WithDBClient

func WithDBClient(db *dao.DBClient) Option

WithDBClient 配置 db client

func WithTestCaseService

func WithTestCaseService(tcSvc *testcase.Service) Option

type Service

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

Service testSet 实例对象封装

func New

func New(options ...Option) *Service

New 新建 testSet service

func (*Service) BatchInsert

Create 创建测试集

func (*Service) Delete

Create 创建测试集

func (*Service) Get

func (svc *Service) Get(ID int64) (httpserver.Responser, error)

func (*Service) QueryMetricKeys

func (*Service) Update

Jump to

Keyboard shortcuts

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