build

package
v1.1.44 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlarmAPIBuilder

type AlarmAPIBuilder struct {
	*api.AlarmItem
}

AlarmAPIBuilder alarm api builder

func NewAlarmAPIBuilder

func NewAlarmAPIBuilder(alarm *api.AlarmItem) *AlarmAPIBuilder

NewAlarmAPIBuilder new alarm api builder

func (*AlarmAPIBuilder) ToBo

func (a *AlarmAPIBuilder) ToBo() *bo.Alarm

ToBo to bo

type AlarmBuilder

type AlarmBuilder struct {
	*bo.Alarm
}

AlarmBuilder alarm 构造器

func NewAlarmBuilder

func NewAlarmBuilder(alarm *bo.Alarm) *AlarmBuilder

NewAlarmBuilder 创建 alarm 构造器

func (*AlarmBuilder) ToAPI

func (a *AlarmBuilder) ToAPI() *api.AlarmItem

ToAPI 转换为 api 对象

type AlertAPIBuilder

type AlertAPIBuilder struct {
	*api.AlertItem
}

AlertAPIBuilder alert builder

func NewAlertAPIBuilder

func NewAlertAPIBuilder(alert *api.AlertItem) *AlertAPIBuilder

NewAlertAPIBuilder new alert builder

func (*AlertAPIBuilder) ToBo

func (a *AlertAPIBuilder) ToBo() *bo.Alert

ToBo to bo

type AlertBuilder

type AlertBuilder struct {
	*bo.Alert
}

AlertBuilder alert 构造器

func NewAlertBuilder

func NewAlertBuilder(alert *bo.Alert) *AlertBuilder

NewAlertBuilder 创建 alert 构造器

func (*AlertBuilder) ToAPI

func (a *AlertBuilder) ToAPI() *api.AlertItem

ToAPI 转换为 api 对象

type DatasourceAPIBuilder

type DatasourceAPIBuilder struct {
	*api.Datasource
}

DatasourceAPIBuilder 数据源api构建器

func NewDatasourceAPIBuilder

func NewDatasourceAPIBuilder(datasource *api.Datasource) *DatasourceAPIBuilder

NewDatasourceAPIBuilder 创建数据源api构建器

func (*DatasourceAPIBuilder) ToBo

func (b *DatasourceAPIBuilder) ToBo() *bo.Datasource

ToBo 转换为业务对象

type DomainStrategyBuilder added in v1.1.0

type DomainStrategyBuilder struct {
	*api.DomainStrategyItem
}

DomainStrategyBuilder 域名策略构建器

func NewDomainStrategyBuilder added in v1.1.0

func NewDomainStrategyBuilder(strategyInfo *api.DomainStrategyItem) *DomainStrategyBuilder

NewDomainStrategyBuilder 创建域名策略构建器

func (*DomainStrategyBuilder) ToBo added in v1.1.0

ToBo 转换为业务对象

type EventStrategyBuilder added in v1.1.38

type EventStrategyBuilder struct {
	*api.MQStrategyItem
}

EventStrategyBuilder MQ策略构建器

func NewMQStrategyBuilder added in v1.1.38

func NewMQStrategyBuilder(strategyInfo *api.MQStrategyItem) *EventStrategyBuilder

NewMQStrategyBuilder 创建MQ策略构建器

func (*EventStrategyBuilder) ToBo added in v1.1.38

ToBo 转换为业务对象

type HTTPStrategyBuilder added in v1.1.0

type HTTPStrategyBuilder struct {
	*api.HttpStrategyItem
}

HTTPStrategyBuilder HTTP策略构建器

func NewHTTPStrategyBuilder added in v1.1.0

func NewHTTPStrategyBuilder(strategyInfo *api.HttpStrategyItem) *HTTPStrategyBuilder

NewHTTPStrategyBuilder 创建HTTP策略构建器

func (*HTTPStrategyBuilder) ToBo added in v1.1.0

ToBo 转换为业务对象

type MQDatasourceAPIBuilder added in v1.1.38

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

MQDatasourceAPIBuilder MQ数据源api构建器

func NewMQDatasourceAPIBuilder added in v1.1.38

func NewMQDatasourceAPIBuilder(datasource ...*api.MQDatasource) *MQDatasourceAPIBuilder

NewMQDatasourceAPIBuilder 创建MQ数据源api构建器

func (*MQDatasourceAPIBuilder) ToBo added in v1.1.38

ToBo 转换为业务对象

func (*MQDatasourceAPIBuilder) ToBos added in v1.1.38

func (b *MQDatasourceAPIBuilder) ToBos() []*bo.MQDatasource

ToBos 转换为业务对象数组

type MetricBuilder

type MetricBuilder struct {
	*bo.MetricDetail
}

MetricBuilder 构建Metric对象

func NewMetricBuilder

func NewMetricBuilder(metricDetail *bo.MetricDetail) *MetricBuilder

NewMetricBuilder 创建Metric构造器

func (*MetricBuilder) ToAPI

func (b *MetricBuilder) ToAPI() *api.MetricDetail

ToAPI 转换为api对象

type MetricQueryBuilder

type MetricQueryBuilder struct {
	*datasource.QueryResponse
}

MetricQueryBuilder 构建MetricQuery对象

func NewMetricQueryBuilder

func NewMetricQueryBuilder(queryResponse *datasource.QueryResponse) *MetricQueryBuilder

NewMetricQueryBuilder 创建MetricQuery构造器

func (*MetricQueryBuilder) ToAPI

ToAPI 转换为api对象

type PingStrategyBuilder added in v1.1.0

type PingStrategyBuilder struct {
	*api.PingStrategyItem
}

PingStrategyBuilder Ping策略构建器

func NewPingStrategyBuilder added in v1.1.0

func NewPingStrategyBuilder(strategyInfo *api.PingStrategyItem) *PingStrategyBuilder

NewPingStrategyBuilder 创建Ping策略构建器

func (*PingStrategyBuilder) ToBo added in v1.1.0

func (a *PingStrategyBuilder) ToBo() *bo.StrategyPing

ToBo 转换为业务对象

type StrategyBuilder

type StrategyBuilder struct {
	*api.MetricStrategyItem
}

StrategyBuilder 策略构建器

func NewStrategyBuilder

func NewStrategyBuilder(strategyInfo *api.MetricStrategyItem) *StrategyBuilder

NewStrategyBuilder 创建策略构建器

func (*StrategyBuilder) ToBo

func (a *StrategyBuilder) ToBo() *bo.StrategyMetric

ToBo 转换为业务对象

Jump to

Keyboard shortcuts

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