datasource

package
v1.1.37 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricService

type MetricService struct {
	datasourceapi.UnimplementedMetricServer
	// contains filtered or unexported fields
}

MetricService 指标服务

func NewMetricService

func NewMetricService(metricBiz *biz.MetricBiz) *MetricService

NewMetricService 创建指标服务

func (*MetricService) DeleteMetric

DeleteMetric 删除指标

func (*MetricService) GetMetric

GetMetric 获取指标

func (*MetricService) ListMetric

ListMetric 获取指标列表

func (*MetricService) SelectMetric

SelectMetric 获取指标下拉列表

func (*MetricService) SyncMetric

SyncMetric 同步指标

func (*MetricService) UpdateMetric

UpdateMetric 更新指标

type MqDatasourceService added in v1.1.37

type MqDatasourceService struct {
	mqapi.UnimplementedMqDatasourceServer
	// contains filtered or unexported fields
}

MqDatasourceService mq datasource service

func NewMqDatasourceService added in v1.1.37

func NewMqDatasourceService(mqDataSourceBiz *biz.MqDataSourceBiz) *MqDatasourceService

NewMqDatasourceService 创建 mq 数据源服务

func (*MqDatasourceService) CreateMqDatasource added in v1.1.37

CreateMqDatasource 创建 mq 数据源

func (*MqDatasourceService) DeleteMqDatasource added in v1.1.37

DeleteMqDatasource 删除 mq 数据源

func (*MqDatasourceService) GetMqDatasource added in v1.1.37

GetMqDatasource 获取 mq 数据源

func (*MqDatasourceService) GetMqDatasourceSelect added in v1.1.37

GetMqDatasourceSelect 获取 mq 数据源选择列表

func (*MqDatasourceService) ListMqDatasource added in v1.1.37

ListMqDatasource 获取 mq 数据源列表

func (*MqDatasourceService) UpdateMqDatasource added in v1.1.37

UpdateMqDatasource 更新 mq 数据源

func (*MqDatasourceService) UpdateMqDatasourceStatus added in v1.1.37

UpdateMqDatasourceStatus 更新 mq 数据源状态

type Service

type Service struct {
	datasourceapi.UnimplementedDatasourceServer
	// contains filtered or unexported fields
}

Service 数据源服务

func NewDatasourceService

func NewDatasourceService(datasourceBiz *biz.DatasourceBiz) *Service

NewDatasourceService 创建数据源服务

func (*Service) CreateDatasource

CreateDatasource 创建数据源

func (*Service) DataSourceProxy added in v1.1.36

func (s *Service) DataSourceProxy() http.HandlerFunc

DataSourceProxy 数据源健康检查

func (*Service) DatasourceQuery

DatasourceQuery 查询数据

func (*Service) DeleteDatasource

DeleteDatasource 删除数据源

func (*Service) GetDatasource

GetDatasource 获取数据源详情

func (*Service) GetDatasourceSelect

GetDatasourceSelect 获取数据源下拉列表

func (*Service) ListDatasource

ListDatasource 获取数据源列表

func (*Service) MetricProxy added in v1.1.9

func (s *Service) MetricProxy() http.HandlerFunc

MetricProxy 指标数据源代理

func (*Service) ProxyQuery

func (s *Service) ProxyQuery(ctx http.Context) error

ProxyQuery 查询数据

func (*Service) SyncDatasourceMeta

SyncDatasourceMeta 同步数据源元数据

func (*Service) UpdateDatasource

UpdateDatasource 更新数据源

func (*Service) UpdateDatasourceStatus

UpdateDatasourceStatus 更新数据源状态

Jump to

Keyboard shortcuts

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