builder

package
v1.1.38 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IAddTeamMemberRequestBuilder

type IAddTeamMemberRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.AddTeamMemberParams
}

IAddTeamMemberRequestBuilder 添加团队成员请求参数构造器

type IAlarmHistoryModuleBuilder added in v1.1.0

type IAlarmHistoryModuleBuilder interface {
	WithGetAlarmHistoryRequest(*historyapi.GetHistoryRequest) IGetAlarmHistoryRequestBuilder
	WithListAlarmHistoryRequest(*historyapi.ListHistoryRequest) IListAlarmHistoryRequestBuilder
	DoAlarmHistoryItemBuilder() IDoAlarmHistoryBuilder
}

IAlarmHistoryModuleBuilder alarm history module builder

type IAlarmModuleBuilder added in v1.1.0

type IAlarmModuleBuilder interface {
	WithCreateAlarmRawInfoRequest(*api.AlarmItem) ICreateAlarmRawInfoRequestBuilder
}

IAlarmModuleBuilder 告警模块构建器

type IAlarmNoticeGroupModuleBuilder

type IAlarmNoticeGroupModuleBuilder interface {
	WithCreateAlarmGroupRequest(*alarmapi.CreateAlarmGroupRequest) ICreateAlarmGroupRequestBuilder
	WithUpdateAlarmGroupRequest(*alarmapi.UpdateAlarmGroupRequest) IUpdateAlarmGroupRequestBuilder
	WithListAlarmGroupRequest(*alarmapi.ListAlarmGroupRequest) IListAlarmGroupRequestBuilder
	WithUpdateAlarmGroupStatusRequest(*alarmapi.UpdateAlarmGroupStatusRequest) IUpdateAlarmGroupStatusRequestBuilder
	APICreateStrategyLabelNoticeRequest() ICreateStrategyLabelNoticeRequestBuilder
	DoAlarmNoticeGroupItemBuilder() IDoAlarmNoticeGroupItemBuilder
	DoLabelNoticeBuilder() IDoLabelNoticeBuilder
	WithAPIMyAlarmGroupListRequest(*alarmapi.MyAlarmGroupRequest) IMyAlarmGroupListParamsBuilder
}

IAlarmNoticeGroupModuleBuilder 告警组模块构造器

type IAlarmSendModuleBuilder added in v1.1.31

type IAlarmSendModuleBuilder interface {
	WithListAlarmSendRequest(ctx context.Context, req *alarmapi.ListAlarmSendRequest) IListAlarmSendRequestBuilder
	WithDoAlarmSendItem(ctx context.Context) IDoAlarmSendItemBuilder

	WithCreateAlarmSendRequest(ctx context.Context, req *hookapi.SendMsgRequest) ICreateAlarmSendRequestBuilder
}

IAlarmSendModuleBuilder 告警发送记录模块

type IBatchCreateMenuRequestBuilder

type IBatchCreateMenuRequestBuilder interface {
	// ToBos 转换为业务对象列表
	ToBos() []*bo.CreateMenuParams
}

IBatchCreateMenuRequestBuilder 批量创建菜单请求参数构造器

type IBatchUpdateDashboardStatusRequestBuilder added in v1.1.0

type IBatchUpdateDashboardStatusRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.BatchUpdateDashboardStatusParams
}

IBatchUpdateDashboardStatusRequestBuilder 批量更新仪表盘状态请求参数构造器

type IBatchUpdateMenuStatusRequestBuilder

type IBatchUpdateMenuStatusRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateMenuStatusParams
}

IBatchUpdateMenuStatusRequestBuilder 批量更新菜单状态请求参数构造器

type IBatchUpdateUserStatusRequestBuilder

type IBatchUpdateUserStatusRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.BatchUpdateUserStatusParams
}

IBatchUpdateUserStatusRequestBuilder 批量更新用户状态请求参数构造器

type IBoAddDashboardParamsBuilder

type IBoAddDashboardParamsBuilder interface {
	// ToModel 转换为业务对象
	ToModel() *bizmodel.Dashboard
	// WithDashboardID 设置仪表盘ID
	WithDashboardID(uint32) IBoAddDashboardParamsBuilder
	// ToDoStrategyGroups 转换为策略组列表
	ToDoStrategyGroups() []*bizmodel.StrategyGroup
	// ToDoCharts 转换为图表列表
	ToDoCharts() []*bizmodel.DashboardChart
}

IBoAddDashboardParamsBuilder 添加仪表盘请求参数构造器

type IBoChartBuilder

type IBoChartBuilder interface {
	// ToBo 转换为业务对象
	ToBo(*adminapi.ChartItem) *bo.ChartItem
	// ToBos 转换为业务对象列表
	ToBos([]*adminapi.ChartItem) []*bo.ChartItem
	// WithDashboardID 设置仪表盘ID
	WithDashboardID(uint32) IBoChartBuilder
}

IBoChartBuilder 图表条目构造器

type IBoDatasourceBuilder

type IBoDatasourceBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*bo.Datasource) *api.Datasource

	// ToAPIs 转换为API对象列表
	ToAPIs([]*bo.Datasource) []*api.Datasource
}

IBoDatasourceBuilder 业务对象构造器

type IBoMetricDataBuilder

type IBoMetricDataBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*bo.MetricQueryData) *api.MetricQueryResult
	// ToAPIs 转换为API对象列表
	ToAPIs([]*bo.MetricQueryData) []*api.MetricQueryResult
}

IBoMetricDataBuilder 指标数据条目构造器

type IBoMetricDataValueBuilder

type IBoMetricDataValueBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*bo.DatasourceQueryValue) *api.MetricQueryValue
	// ToAPIs 转换为API对象列表
	ToAPIs([]*bo.DatasourceQueryValue) []*api.MetricQueryValue
}

IBoMetricDataValueBuilder 指标数据值条目构造器

type IBoStrategyBuilder

type IBoStrategyBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*bo.Strategy) *api.MetricStrategyItem
	// ToAPIs 转换为API对象列表
	ToAPIs([]*bo.Strategy) []*api.MetricStrategyItem
}

IBoStrategyBuilder 策略业务对象构造器

type IBoStrategyDomainBuilder added in v1.1.0

type IBoStrategyDomainBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*bo.StrategyDomain) *api.DomainStrategyItem
}

IBoStrategyDomainBuilder 策略域名业务对象构造器

type IBoStrategyEndpointBuilder added in v1.1.0

type IBoStrategyEndpointBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*bo.StrategyEndpoint) *api.HttpStrategyItem
}

IBoStrategyEndpointBuilder 策略端点业务对象构造器

type IBoStrategyPingBuilder added in v1.1.0

type IBoStrategyPingBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*bo.StrategyPing) *api.PingStrategyItem
}

IBoStrategyPingBuilder 策略Ping业务对象构造器

type IBoUpdateDashboardParamsBuilder

type IBoUpdateDashboardParamsBuilder interface {
	// ToModel 转换为业务对象
	ToModel() *bizmodel.Dashboard
	// WithDashboardID 设置仪表盘ID
	WithDashboardID(uint32) IBoUpdateDashboardParamsBuilder
	// ToDoStrategyGroups 转换为策略组列表
	ToDoStrategyGroups() []*bizmodel.StrategyGroup
	// ToDoCharts 转换为图表列表
	ToDoCharts() []*bizmodel.DashboardChart
}

IBoUpdateDashboardParamsBuilder 更新仪表盘请求参数构造器

type ICreateAlarmGroupRequestBuilder

type ICreateAlarmGroupRequestBuilder interface {
	ToBo() *bo.CreateAlarmNoticeGroupParams
}

ICreateAlarmGroupRequestBuilder 创建告警组请求参数构造器

type ICreateAlarmItemRequestBuilder added in v1.1.0

type ICreateAlarmItemRequestBuilder interface {
}

ICreateAlarmItemRequestBuilder 创建报警项请求构建器

type ICreateAlarmRawInfoRequestBuilder added in v1.1.0

type ICreateAlarmRawInfoRequestBuilder interface {
	ToBo() *bo.CreateAlarmHookRawParams
}

ICreateAlarmRawInfoRequestBuilder 创建告警原始数据请求构建器

type ICreateAlarmSendRequestBuilder added in v1.1.31

type ICreateAlarmSendRequestBuilder interface {
	ToBo() *bo.CreateAlarmSendParams
}

ICreateAlarmSendRequestBuilder 创建告警发送记录

type ICreateDashboardRequestBuilder

type ICreateDashboardRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.AddDashboardParams
}

ICreateDashboardRequestBuilder 创建仪表盘请求参数构造器

type ICreateDatasourceRequestBuilder

type ICreateDatasourceRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.CreateDatasourceParams
}

ICreateDatasourceRequestBuilder 创建数据源请求参数构造器

type ICreateDictRequestBuilder

type ICreateDictRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.CreateDictParams
}

ICreateDictRequestBuilder 创建字典请求参数构造器

type ICreateHookRequestBuilder

type ICreateHookRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.CreateAlarmHookParams
}

ICreateHookRequestBuilder 创建钩子请求参数构造器

type ICreateInviteUserRequestBuilder added in v1.0.2

type ICreateInviteUserRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.InviteUserParams
}

ICreateInviteUserRequestBuilder 创建邀请用户请求参数构造器

type ICreateMenuRequestBuilder

type ICreateMenuRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.CreateMenuParams
}

ICreateMenuRequestBuilder 创建菜单请求参数构造器

type ICreateMqCreateDatasourceRequestBuilder added in v1.1.37

type ICreateMqCreateDatasourceRequestBuilder interface {
	ToBo() *bo.CreateMqDatasourceParams
}

ICreateMqCreateDatasourceRequestBuilder 创建 mq 数据源请求构建器

type ICreateRoleRequestBuilder

type ICreateRoleRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.CreateTeamRoleParams
}

ICreateRoleRequestBuilder 创建角色请求参数构造器

type ICreateStrategyGroupRequestBuilder

type ICreateStrategyGroupRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.CreateStrategyGroupParams
}

ICreateStrategyGroupRequestBuilder 创建策略组请求参数构造器

type ICreateStrategyLabelNoticeRequestBuilder

type ICreateStrategyLabelNoticeRequestBuilder interface {
	ToBo(*strategyapi.CreateStrategyLabelNoticeRequest) *bo.StrategyLabelNotice
	ToBos([]*strategyapi.CreateStrategyLabelNoticeRequest) []*bo.StrategyLabelNotice
}

ICreateStrategyLabelNoticeRequestBuilder 创建策略标签通知请求参数构造器

type ICreateStrategyRequestBuilder

type ICreateStrategyRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.CreateStrategyParams
}

ICreateStrategyRequestBuilder 创建策略请求参数构造器

type ICreateTeamRequestBuilder

type ICreateTeamRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.CreateTeamParams
}

ICreateTeamRequestBuilder 创建团队请求参数构造器

type ICreateTemplateStrategyRequestBuilder

type ICreateTemplateStrategyRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.CreateTemplateStrategyParams
}

ICreateTemplateStrategyRequestBuilder 创建模板策略请求参数构造器

type ICreateUserRequestBuilder

type ICreateUserRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.CreateUserParams
}

ICreateUserRequestBuilder 创建用户请求参数构造器

type IDatasourceModuleBuilder

type IDatasourceModuleBuilder interface {
	// DoDatasourceBuilder 数据源条目构造器
	DoDatasourceBuilder() IDoDatasourceBuilder

	// WithCreateDatasourceRequest 创建数据源请求参数构造器
	WithCreateDatasourceRequest(*datasourceapi.CreateDatasourceRequest) ICreateDatasourceRequestBuilder

	// WithUpdateDatasourceRequest 更新数据源请求参数构造器
	WithUpdateDatasourceRequest(*datasourceapi.UpdateDatasourceRequest) IUpdateDatasourceRequestBuilder

	// WithListDatasourceRequest 获取数据源列表请求参数构造器
	WithListDatasourceRequest(*datasourceapi.ListDatasourceRequest) IListDatasourceRequestBuilder

	// BoDatasourceBuilder 业务对象构造器
	BoDatasourceBuilder() IBoDatasourceBuilder
}

IDatasourceModuleBuilder 数据源模块构造器

type IDatasourceSelectBuilder added in v1.1.37

type IDatasourceSelectBuilder interface {
	ToBo() *bo.QueryMqDatasourceListParams
}

IDatasourceSelectBuilder 数据源选择构建器

type IDeleteDashboardRequestBuilder

type IDeleteDashboardRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.DeleteDashboardParams
}

IDeleteDashboardRequestBuilder 删除仪表盘请求参数构造器

type IDeleteStrategyGroupRequestBuilder

type IDeleteStrategyGroupRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.DelStrategyGroupParams
}

IDeleteStrategyGroupRequestBuilder 删除策略组请求参数构造器

type IDictModuleBuilder

type IDictModuleBuilder interface {
	// WithCreateDictRequest 创建字典请求参数构造器
	WithCreateDictRequest(*dictapi.CreateDictRequest) ICreateDictRequestBuilder
	// WithUpdateDictRequest 更新字典请求参数构造器
	WithUpdateDictRequest(*dictapi.UpdateDictRequest) IUpdateDictRequestBuilder
	// WithListDictRequest 获取字典列表请求参数构造器
	WithListDictRequest(*dictapi.ListDictRequest) IListDictRequestBuilder
	// WithUpdateDictStatusParams 更新字典状态请求参数构造器
	WithUpdateDictStatusParams(*dictapi.BatchUpdateDictStatusRequest) IUpdateDictStatusParamsBuilder
	// DoDictBuilder 字典条目构造器
	DoDictBuilder() IDoDictBuilder
	// DictTypeList 字典类型列表
	DictTypeList() []*api.EnumItem
}

IDictModuleBuilder 字典模块构造器

type IDoAlarmHistoryBuilder added in v1.1.0

type IDoAlarmHistoryBuilder interface {
	ToAPI(*alarmmodel.AlarmHistory) *admin.AlarmHistoryItem
	ToAPIs([]*alarmmodel.AlarmHistory) []*admin.AlarmHistoryItem
}

IDoAlarmHistoryBuilder do alarm history builder

type IDoAlarmNoticeGroupItemBuilder

IDoAlarmNoticeGroupItemBuilder 告警组列表返回值构造器

type IDoAlarmPageSelfBuilder

type IDoAlarmPageSelfBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*bizmodel.AlarmPageSelf) *adminapi.DictItem
	// ToAPIs 转换为API对象列表
	ToAPIs([]*bizmodel.AlarmPageSelf) []*adminapi.DictItem
}

IDoAlarmPageSelfBuilder 告警页面自定义字段条目构造器

type IDoAlarmSendItemBuilder added in v1.1.31

type IDoAlarmSendItemBuilder interface {
	ToAPI(history *alarmmodel.AlarmSendHistory, group *bizmodel.AlarmNoticeGroup) *adminapi.AlarmSendItem
	ToAPIs(histories []*alarmmodel.AlarmSendHistory) []*adminapi.AlarmSendItem
}

IDoAlarmSendItemBuilder 告警发送记录条目构造器

type IDoChartBuilder

type IDoChartBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*bizmodel.DashboardChart) *adminapi.ChartItem
	// ToAPIs 转换为API对象列表
	ToAPIs([]*bizmodel.DashboardChart) []*adminapi.ChartItem
}

IDoChartBuilder 图表条目构造器

type IDoDashboardBuilder

type IDoDashboardBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*bizmodel.Dashboard) *adminapi.DashboardItem
	// ToAPIs 转换为API对象列表
	ToAPIs([]*bizmodel.Dashboard) []*adminapi.DashboardItem
	// ToSelect 转换为选择对象
	ToSelect(*bizmodel.Dashboard) *adminapi.SelectItem
	// ToSelects 转换为选择对象列表
	ToSelects([]*bizmodel.Dashboard) []*adminapi.SelectItem
}

IDoDashboardBuilder 仪表盘条目构造器

type IDoDatasourceBuilder

type IDoDatasourceBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*bizmodel.Datasource, ...map[uint32]*adminapi.UserItem) *adminapi.DatasourceItem

	// ToAPIs 转换为API对象列表
	ToAPIs([]*bizmodel.Datasource) []*adminapi.DatasourceItem

	// ToBo 转换为业务对象
	ToBo(*bizmodel.Datasource) *bo.Datasource

	// ToBos 转换为业务对象列表
	ToBos([]*bizmodel.Datasource) []*bo.Datasource

	// ToSelect 转换为选择对象
	ToSelect(*bizmodel.Datasource) *adminapi.SelectItem

	// ToSelects 转换为选择对象列表
	ToSelects([]*bizmodel.Datasource) []*adminapi.SelectItem
}

IDoDatasourceBuilder 数据源条目构造器

type IDoDictBuilder

type IDoDictBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(imodel.IDict, ...map[uint32]*adminapi.UserItem) *adminapi.DictItem
	// ToAPIs 转换为API对象列表
	ToAPIs([]imodel.IDict) []*adminapi.DictItem
	// ToSelect 转换为选择对象
	ToSelect(imodel.IDict) *adminapi.SelectItem
	// ToSelects 转换为选择对象列表
	ToSelects([]imodel.IDict) []*adminapi.SelectItem
}

IDoDictBuilder 字典条目构造器

type IDoHookBuilder

type IDoHookBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*bizmodel.AlarmHook, ...map[uint32]*adminapi.UserItem) *adminapi.AlarmHookItem
	// ToAPIs 转换为API对象列表
	ToAPIs([]*bizmodel.AlarmHook) []*adminapi.AlarmHookItem
	// ToSelect 转换为选择对象
	ToSelect(*bizmodel.AlarmHook) *adminapi.SelectItem
	// ToSelects 转换为选择对象列表
	ToSelects([]*bizmodel.AlarmHook) []*adminapi.SelectItem
}

IDoHookBuilder 钩子条目构造器

type IDoInviteBuilder added in v1.0.2

type IDoInviteBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*model.SysTeamInvite) *admin.InviteItem
	// ToAPIs 转换为API对象列表
	ToAPIs([]*model.SysTeamInvite) []*admin.InviteItem
}

IDoInviteBuilder 邀请条目构造器

type IDoLabelNoticeBuilder

IDoLabelNoticeBuilder 告警组标签通知对象返回值构造器

type IDoMenuBuilder

type IDoMenuBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*model.SysMenu) *adminapi.MenuItem
	// ToAPIs 转换为API对象列表
	ToAPIs([]*model.SysMenu) []*adminapi.MenuItem
	// ToAPITree 转换为API树形对象列表
	ToAPITree([]*model.SysMenu) []*adminapi.MenuTree
}

IDoMenuBuilder 菜单条目构造器

type IDoMetricBuilder

type IDoMetricBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*bizmodel.DatasourceMetric) *adminapi.MetricItem
	// ToAPIs 转换为API对象列表
	ToAPIs([]*bizmodel.DatasourceMetric) []*adminapi.MetricItem
	// ToSelect 转换为选择对象
	ToSelect(*bizmodel.DatasourceMetric) *adminapi.SelectItem
	// ToSelects 转换为选择对象列表
	ToSelects([]*bizmodel.DatasourceMetric) []*adminapi.SelectItem
}

IDoMetricBuilder 指标条目构造器

type IDoMetricLabelBuilder

type IDoMetricLabelBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*bizmodel.MetricLabel) *adminapi.MetricLabelItem
	// ToAPIs 转换为API对象列表
	ToAPIs([]*bizmodel.MetricLabel) []*adminapi.MetricLabelItem
}

IDoMetricLabelBuilder 指标标签条目构造器

type IDoMqDataSourceBuild added in v1.1.37

IDoMqDataSourceBuild mq 数据源构建器

type IDoRealtimeAlarmBuilder

type IDoRealtimeAlarmBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*alarmmodel.RealtimeAlarm) *adminapi.RealtimeAlarmItem
	// ToAPIs 转换为API对象列表
	ToAPIs([]*alarmmodel.RealtimeAlarm) []*adminapi.RealtimeAlarmItem
}

IDoRealtimeAlarmBuilder 告警条目构造器

type IDoResourceBuilder

type IDoResourceBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(imodel.IResource) *adminapi.ResourceItem
	// ToAPIs 转换为API对象列表
	ToAPIs([]imodel.IResource) []*adminapi.ResourceItem
	// ToSelect 转换为选择对象
	ToSelect(imodel.IResource) *adminapi.SelectItem
	// ToSelects 转换为选择对象列表
	ToSelects([]imodel.IResource) []*adminapi.SelectItem
}

IDoResourceBuilder 资源条目构造器

type IDoRoleBuilder

type IDoRoleBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*bizmodel.SysTeamRole, ...map[uint32]*adminapi.UserItem) *adminapi.TeamRole
	// ToAPIs 转换为API对象列表
	ToAPIs([]*bizmodel.SysTeamRole) []*adminapi.TeamRole
	// ToSelect 转换为选择对象
	ToSelect(*bizmodel.SysTeamRole) *adminapi.SelectItem
	// ToSelects 转换为选择对象列表
	ToSelects([]*bizmodel.SysTeamRole) []*adminapi.SelectItem
}

IDoRoleBuilder 角色条目构造器

type IDoStrategyBuilder

type IDoStrategyBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*bizmodel.Strategy, ...map[uint32]*adminapi.UserItem) *adminapi.StrategyItem
	// ToAPIs 转换为API对象列表
	ToAPIs([]*bizmodel.Strategy) []*adminapi.StrategyItem
	// ToSelect 转换为选择对象
	ToSelect(*bizmodel.Strategy) *adminapi.SelectItem
	// ToSelects 转换为选择对象列表
	ToSelects([]*bizmodel.Strategy) []*adminapi.SelectItem
	// ToBos 转换为业务对象列表
	ToBos(*bizmodel.Strategy) []*bo.Strategy
	// ToBosV2 转换为业务对象列表
	ToBosV2(*bizmodel.Strategy) []*bo.Strategy
	// ToBoMetrics 转换为业务对象列表
	ToBoMetrics(*bizmodel.Strategy) []*bo.Strategy
	// ToMQs 转换为MQ对象列表
	ToMQs(*bizmodel.Strategy) []*bo.Strategy
	// WithStrategyLevelDetail 策略等级详情
	WithStrategyLevelDetail(detailModel *bo.StrategyLevelDetailModel) IDoStrategyBuilder
}

IDoStrategyBuilder 策略条目构造器

type IDoStrategyGroupBuilder

type IDoStrategyGroupBuilder interface {
	// WithStrategyCountMap 设置策略计数映射
	WithStrategyCountMap(*bo.StrategyCountMap) IDoStrategyGroupBuilder
	// ToAPI 转换为API对象
	ToAPI(*bizmodel.StrategyGroup, ...map[uint32]*adminapi.UserItem) *adminapi.StrategyGroupItem
	// ToAPIs 转换为API对象列表
	ToAPIs([]*bizmodel.StrategyGroup) []*adminapi.StrategyGroupItem
	// ToSelect 转换为选择对象
	ToSelect(*bizmodel.StrategyGroup) *adminapi.SelectItem
	// ToSelects 转换为选择对象列表
	ToSelects([]*bizmodel.StrategyGroup) []*adminapi.SelectItem
}

IDoStrategyGroupBuilder 策略组条目构造器

type IDoStrategyLevelBuilder

type IDoStrategyLevelBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*bizmodel.StrategyMetricsLevel, ...map[uint32]*adminapi.UserItem) *adminapi.StrategyMetricLevelItem
	// ToAPIs 转换为API对象列表
	ToAPIs([]*bizmodel.StrategyMetricsLevel) []*adminapi.StrategyMetricLevelItem
	// ToMqAPI 转换为API对象
	ToMqAPI(*bizmodel.StrategyMQLevel, ...map[uint32]*adminapi.UserItem) *adminapi.StrategyMQLevelItem
	// ToMqAPIs 转换为API对象列表
	ToMqAPIs([]*bizmodel.StrategyMQLevel) []*adminapi.StrategyMQLevelItem
}

IDoStrategyLevelBuilder 策略等级条目构造器

type IDoStrategyLevelTemplateBuilder

type IDoStrategyLevelTemplateBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*model.StrategyLevelTemplate, ...map[uint32]*adminapi.UserItem) *adminapi.StrategyLevelTemplateItem
	// ToAPIs 转换为API对象列表
	ToAPIs([]*model.StrategyLevelTemplate) []*adminapi.StrategyLevelTemplateItem
}

IDoStrategyLevelTemplateBuilder 策略等级模板条目构造器

type IDoSubscriberBuilder

type IDoSubscriberBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*bizmodel.StrategySubscriber) *adminapi.StrategySubscriberItem
	// ToAPIs 转换为API对象列表
	ToAPIs([]*bizmodel.StrategySubscriber) []*adminapi.StrategySubscriberItem
	// ToStrategies 转换为策略对象列表
	ToStrategies([]*bizmodel.StrategySubscriber) []*adminapi.StrategyItem
}

IDoSubscriberBuilder 订阅条目构造器

type IDoTeamBuilder

type IDoTeamBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*model.SysTeam, ...map[uint32]*adminapi.UserItem) *adminapi.TeamItem
	// ToAPIs 转换为API对象列表
	ToAPIs([]*model.SysTeam) []*adminapi.TeamItem
	// ToSelect 转换为选择对象
	ToSelect(*model.SysTeam) *adminapi.SelectItem
	// ToSelects 转换为选择对象列表
	ToSelects([]*model.SysTeam) []*adminapi.SelectItem
}

IDoTeamBuilder 团队条目构造器

type IDoTeamMemberBuilder

type IDoTeamMemberBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*bizmodel.SysTeamMember) *adminapi.TeamMemberItem
	// ToAPIs 转换为API对象列表
	ToAPIs([]*bizmodel.SysTeamMember) []*adminapi.TeamMemberItem
	// ToSelect 转换为选择对象
	ToSelect(*bizmodel.SysTeamMember) *adminapi.SelectItem
	// ToSelects 转换为选择对象列表
	ToSelects([]*bizmodel.SysTeamMember) []*adminapi.SelectItem
}

IDoTeamMemberBuilder 团队成员条目构造器

type IDoTemplateStrategyBuilder

type IDoTemplateStrategyBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*model.StrategyTemplate, ...map[uint32]*adminapi.UserItem) *adminapi.StrategyTemplateItem
	// ToAPIs 转换为API对象列表
	ToAPIs([]*model.StrategyTemplate) []*adminapi.StrategyTemplateItem
	// ToSelect 转换为选择对象
	ToSelect(*model.StrategyTemplate) *adminapi.SelectItem
	// ToSelects 转换为选择对象列表
	ToSelects([]*model.StrategyTemplate) []*adminapi.SelectItem
}

IDoTemplateStrategyBuilder 模板策略条目构造器

type IDoUserBuilder

type IDoUserBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*model.SysUser) *adminapi.UserItem
	// ToAPIByID 转换为API对象
	ToAPIByID(ctx context.Context, id uint32) *adminapi.UserItem
	// ToAPIs 转换为API对象列表
	ToAPIs([]*model.SysUser) []*adminapi.UserItem
	// ToSelect 转换为选择对象
	ToSelect(*model.SysUser) *adminapi.SelectItem
	// ToSelects 转换为选择对象列表
	ToSelects([]*model.SysUser) []*adminapi.SelectItem
}

IDoUserBuilder 用户条目构造器

type IFileModuleBuild added in v1.1.0

type IFileModuleBuild interface {
	// WithUpdateFileRequest 更新文件请求参数构造器
	WithUpdateFileRequest(bytes []byte) IUploadFileRequest
}

IFileModuleBuild 文件模块构造器

type IGetAlarmHistoryRequestBuilder added in v1.1.0

type IGetAlarmHistoryRequestBuilder interface {
	ToBo() *bo.GetAlarmHistoryParams
}

IGetAlarmHistoryRequestBuilder get alarm history request builder

type IGetAlarmRequestBuilder

type IGetAlarmRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.GetRealTimeAlarmParams
}

IGetAlarmRequestBuilder 获取告警请求参数构造器

type IGetMetricRequestBuilder

type IGetMetricRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.GetMetricParams
}

IGetMetricRequestBuilder 获取指标请求参数构造器

type IHookModuleBuilder

type IHookModuleBuilder interface {
	// WithCreateHookRequest 创建钩子请求参数构造器
	WithCreateHookRequest(*hookapi.CreateHookRequest) ICreateHookRequestBuilder
	// WithUpdateHookRequest 更新钩子请求参数构造器
	WithUpdateHookRequest(*hookapi.UpdateHookRequest) IUpdateHookRequestBuilder
	// WithListHookRequest 获取钩子列表请求参数构造器
	WithListHookRequest(*hookapi.ListHookRequest) IListHookRequestBuilder
	// WithUpdateHookStatusRequest 更新钩子状态请求参数构造器
	WithUpdateHookStatusRequest(*hookapi.UpdateHookStatusRequest) IUpdateHookStatusRequestBuilder
	// DoHookBuilder 钩子条目构造器
	DoHookBuilder() IDoHookBuilder
}

IHookModuleBuilder 钩子模块构造器

type IListAlarmGroupRequestBuilder

type IListAlarmGroupRequestBuilder interface {
	ToBo() *bo.QueryAlarmNoticeGroupListParams
}

IListAlarmGroupRequestBuilder 获取告警组列表请求参数构造器

type IListAlarmHistoryRequestBuilder added in v1.1.0

type IListAlarmHistoryRequestBuilder interface {
	ToBo() *bo.QueryAlarmHistoryListParams
}

IListAlarmHistoryRequestBuilder list alarm history request builder

type IListAlarmRequestBuilder

type IListAlarmRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.GetRealTimeAlarmsParams
}

IListAlarmRequestBuilder 获取告警列表请求参数构造器

type IListAlarmSendRequestBuilder added in v1.1.31

type IListAlarmSendRequestBuilder interface {
	ToBo() *bo.QueryAlarmSendHistoryListParams
}

IListAlarmSendRequestBuilder 获取告警发送历史列表请求参数构造器

type IListDashboardRequestBuilder

type IListDashboardRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.ListDashboardParams
}

IListDashboardRequestBuilder 获取仪表盘列表请求参数构造器

type IListDatasourceRequestBuilder

type IListDatasourceRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.QueryDatasourceListParams
}

IListDatasourceRequestBuilder 获取数据源列表请求参数构造器

type IListDictRequestBuilder

type IListDictRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.QueryDictListParams
}

IListDictRequestBuilder 获取字典列表请求参数构造器

type IListHookRequestBuilder

type IListHookRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.QueryAlarmHookListParams
}

IListHookRequestBuilder 获取钩子列表请求参数构造器

type IListInviteUserRequestBuilder added in v1.0.2

type IListInviteUserRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.QueryInviteListParams
}

IListInviteUserRequestBuilder 获取邀请用户列表请求参数构造器

type IListMenuRequestBuilder

type IListMenuRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.QueryMenuListParams
}

IListMenuRequestBuilder 获取菜单列表请求参数构造器

type IListMetricRequestBuilder

type IListMetricRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.QueryMetricListParams
}

IListMetricRequestBuilder 获取指标列表请求参数构造器

type IListMqDatasourceRequest added in v1.1.37

type IListMqDatasourceRequest interface {
	ToBo() *bo.QueryMqDatasourceListParams
}

IListMqDatasourceRequest 列表 mq 数据源请求构建器

type IListResourceRequestBuilder

type IListResourceRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.QueryResourceListParams
}

IListResourceRequestBuilder 获取资源列表请求参数构造器

type IListRoleRequestBuilder

type IListRoleRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.ListTeamRoleParams
}

IListRoleRequestBuilder 获取角色列表请求参数构造器

type IListStrategyGroupRequestBuilder

type IListStrategyGroupRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.QueryStrategyGroupListParams
}

IListStrategyGroupRequestBuilder 获取策略组列表请求参数构造器

type IListStrategyRequestBuilder

type IListStrategyRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.QueryStrategyListParams
}

IListStrategyRequestBuilder 获取策略列表请求参数构造器

type IListTeamMemberRequestBuilder

type IListTeamMemberRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.ListTeamMemberParams
}

IListTeamMemberRequestBuilder 获取团队成员列表请求参数构造器

type IListTeamRequestBuilder

type IListTeamRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.QueryTeamListParams
}

IListTeamRequestBuilder 获取团队列表请求参数构造器

type IListTemplateStrategyRequestBuilder

type IListTemplateStrategyRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.QueryTemplateStrategyListParams
}

IListTemplateStrategyRequestBuilder 获取模板策略列表请求参数构造器

type IListUserRequestBuilder

type IListUserRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.QueryUserListParams
}

IListUserRequestBuilder 获取用户列表请求参数构造器

type IMenuModuleBuilder

type IMenuModuleBuilder interface {
	// WithCreateMenuRequest 创建菜单请求参数构造器
	WithCreateMenuRequest(*menuapi.CreateMenuRequest) ICreateMenuRequestBuilder
	// WithBatchCreateMenuRequest 批量创建菜单请求参数构造器
	WithBatchCreateMenuRequest(*menuapi.BatchCreateMenuRequest) IBatchCreateMenuRequestBuilder
	// WithUpdateMenuRequest 更新菜单请求参数构造器
	WithUpdateMenuRequest(*menuapi.UpdateMenuRequest) IUpdateMenuRequestBuilder
	// WithListMenuRequest 获取菜单列表请求参数构造器
	WithListMenuRequest(*menuapi.ListMenuRequest) IListMenuRequestBuilder
	// WithBatchUpdateMenuStatusRequest 批量更新菜单状态请求参数构造器
	WithBatchUpdateMenuStatusRequest(*menuapi.BatchUpdateMenuStatusRequest) IBatchUpdateMenuStatusRequestBuilder
	// WithUpdateMenuTypeParams 更新菜单类型请求参数构造器
	WithUpdateMenuTypeParams(*menuapi.BatchUpdateMenuTypeRequest) IUpdateMenuTypeParams
	// DoMenuBuilder 菜单条目构造器
	DoMenuBuilder() IDoMenuBuilder
}

IMenuModuleBuilder 菜单模块构造器

type IMetricDataModuleBuilder

type IMetricDataModuleBuilder interface {
	// BoMetricDataBuilder 指标数据条目构造器
	BoMetricDataBuilder() IBoMetricDataBuilder
	// BoMetricDataValueBuilder 指标数据值条目构造器
	BoMetricDataValueBuilder() IBoMetricDataValueBuilder
}

IMetricDataModuleBuilder 指标数据模块构造器

type IMetricModuleBuilder

type IMetricModuleBuilder interface {
	// WithUpdateMetricRequest 更新指标请求参数构造器
	WithUpdateMetricRequest(*datasourceapi.UpdateMetricRequest) IUpdateMetricRequestBuilder
	// WithGetMetricRequest 获取指标请求参数构造器
	WithGetMetricRequest(*datasourceapi.GetMetricRequest) IGetMetricRequestBuilder
	// WithListMetricRequest 获取指标列表请求参数构造器
	WithListMetricRequest(*datasourceapi.ListMetricRequest) IListMetricRequestBuilder
	// DoMetricBuilder 指标条目构造器
	DoMetricBuilder() IDoMetricBuilder
	// DoMetricLabelBuilder 指标标签条目构造器
	DoMetricLabelBuilder() IDoMetricLabelBuilder
}

IMetricModuleBuilder 指标模块构造器

type IMqDataSourceModuleBuild added in v1.1.37

type IMqDataSourceModuleBuild interface {
	DoDataSourceModuleBuild() IDoMqDataSourceBuild
	WithCreateMqDatasourceRequest(*mqapi.CreateMqDatasourceRequest) ICreateMqCreateDatasourceRequestBuilder
	WithIListMqDatasourceRequest(*mqapi.ListMqDatasourceRequest) IListMqDatasourceRequest
	WithUpdateMqDatasourceRequest(*mqapi.UpdateMqDatasourceRequest) IUpdateMqDatasourceRequestBuilder
	WithDatasourceSelectRequest(request *mqapi.GetMqDatasourceSelectRequest) IDatasourceSelectBuilder
}

IMqDataSourceModuleBuild mq 数据源模块构建器

type IMutationStrategyLevelBuilder

type IMutationStrategyLevelBuilder interface {
	// WithStrategyID 设置策略ID
	WithStrategyID(uint32) IMutationStrategyLevelBuilder
	// ToMetricBo 转换为业务对象
	ToMetricBo(*strategyapi.CreateStrategyMetricLevelRequest) *bo.CreateStrategyMetricLevel
	// ToMetricBos 转换为业务对象列表
	ToMetricBos([]*strategyapi.CreateStrategyMetricLevelRequest) []*bo.CreateStrategyMetricLevel
	// ToMQBo 转换为业务对象
	ToMQBo(request *strategyapi.CreateStrategyMQLevelRequest) *bo.CreateStrategyMQLevel
	// ToMQBos 转换为业务对象列表
	ToMQBos(request []*strategyapi.CreateStrategyMQLevelRequest) []*bo.CreateStrategyMQLevel
}

IMutationStrategyLevelBuilder 策略等级条目构造器

type IMutationStrategyLevelTemplateBuilder

type IMutationStrategyLevelTemplateBuilder interface {
	// WithStrategyTemplateID 设置策略模板ID
	WithStrategyTemplateID(uint32) IMutationStrategyLevelTemplateBuilder
	// ToBo 转换为业务对象
	ToBo(*strategyapi.MutationStrategyLevelTemplateItem) *bo.CreateStrategyLevelTemplate
	// ToBos 转换为业务对象列表
	ToBos([]*strategyapi.MutationStrategyLevelTemplateItem) []*bo.CreateStrategyLevelTemplate
}

IMutationStrategyLevelTemplateBuilder 策略等级模板条目构造器

type IMyAlarmGroupListParamsBuilder

type IMyAlarmGroupListParamsBuilder interface {
	ToBo() *bo.MyAlarmGroupListParams
}

IMyAlarmGroupListParamsBuilder 获取我的告警组列表请求参数构造器

type INoticeUserBuilder

type INoticeUserBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*bizmodel.AlarmNoticeMember) *adminapi.NoticeItem
	// ToAPIs 转换为API对象列表
	ToAPIs([]*bizmodel.AlarmNoticeMember) []*adminapi.NoticeItem
}

INoticeUserBuilder 通知用户条目构造器

type INoticeUserMessageBuilder added in v1.0.2

type INoticeUserMessageBuilder interface {
	// ToAPI 转换为API对象
	ToAPI(*model.SysUserMessage) *adminapi.NoticeUserMessage
	// ToAPIs 转换为API对象列表
	ToAPIs([]*model.SysUserMessage) []*adminapi.NoticeUserMessage
	// ToModel 转换为业务对象
	ToModel(*bo.NoticeUserMessage) *model.SysUserMessage
	// ToModels 转换为业务对象列表
	ToModels([]*bo.NoticeUserMessage) []*model.SysUserMessage
}

INoticeUserMessageBuilder 通知用户消息条目构造器

type IOauthModuleBuilder added in v1.1.38

type IOauthModuleBuilder interface {
	ToAPI(config *palaceconf.OAuth2) []*authorizationapi.OauthItem
}

IOauthModuleBuilder 构建oauth模块

func NewOauthModuleBuilder added in v1.1.38

func NewOauthModuleBuilder(ctx context.Context) IOauthModuleBuilder

NewOauthModuleBuilder 创建oauth模块构建器

type IPaginationModuleBuilder

type IPaginationModuleBuilder interface {
	// ToBo 转换为业务对象
	ToBo(*api.PaginationReq) types.Pagination
	// ToAPI 转换为API对象
	ToAPI(types.Pagination) *api.PaginationReply
}

IPaginationModuleBuilder 分页模块构造器

type IPramsBuilder

type IPramsBuilder interface {
	// PaginationModuleBuilder 分页模块构造器
	PaginationModuleBuilder() IPaginationModuleBuilder

	// AlarmNoticeGroupModuleBuilder 告警组模块构造器
	AlarmNoticeGroupModuleBuilder() IAlarmNoticeGroupModuleBuilder

	// UserModuleBuilder 用户模块构造器
	UserModuleBuilder() IUserModuleBuilder

	// TeamMemberModuleBuilder 团队成员模块构造器
	TeamMemberModuleBuilder() ITeamMemberModuleBuilder

	// DatasourceModuleBuilder 数据源模块构造器
	DatasourceModuleBuilder() IDatasourceModuleBuilder

	// MetricDataModuleBuilder 指标数据模块构造器
	MetricDataModuleBuilder() IMetricDataModuleBuilder

	// MetricModuleBuilder 指标模块构造器
	MetricModuleBuilder() IMetricModuleBuilder

	// DictModuleBuilder 字典模块构造器
	DictModuleBuilder() IDictModuleBuilder

	// HookModuleBuilder 钩子模块构造器
	HookModuleBuilder() IHookModuleBuilder

	MenuModuleBuilder() IMenuModuleBuilder

	// RealtimeAlarmModuleBuilder 实时告警模块构造器
	RealtimeAlarmModuleBuilder() IRealtimeAlarmModuleBuilder

	// ResourceModuleBuilder 资源模块构造器
	ResourceModuleBuilder() IResourceModuleBuilder

	// StrategyModuleBuilder 策略模块构造器
	StrategyModuleBuilder() IStrategyModuleBuilder

	// SubscriberModuleBuilder 订阅者模块构造器
	SubscriberModuleBuilder() ISubscriberModuleBuilder

	// RoleModuleBuilder 角色模块构造器
	RoleModuleBuilder() IRoleModuleBuilder

	// TeamModuleBuilder 团队模块构造器
	TeamModuleBuilder() ITeamModuleBuilder

	// InviteModuleBuilder 邀请模块构造器
	InviteModuleBuilder() InviteModuleBuilder

	// AlarmHistoryModuleBuilder 告警历史模块构造器
	AlarmHistoryModuleBuilder() IAlarmHistoryModuleBuilder

	// AlarmModuleBuilder 告警模块构造器
	AlarmModuleBuilder() IAlarmModuleBuilder

	// YamlModuleBuilder 文件模块构造器
	YamlModuleBuilder() IFileModuleBuild

	// AlarmSendModuleBuilder 告警发送模块构造器
	AlarmSendModuleBuilder() IAlarmSendModuleBuilder

	// MqDataSourceModuleBuild mq数据源模块构造器
	MqDataSourceModuleBuild() IMqDataSourceModuleBuild

	// OauthModuleBuilder oauth模块构造器
	OauthModuleBuilder() IOauthModuleBuilder
}

IPramsBuilder 参数构造器

func NewParamsBuild

func NewParamsBuild(ctx context.Context) IPramsBuilder

NewParamsBuild 创建参数构造器

type IRealtimeAlarmModuleBuilder

type IRealtimeAlarmModuleBuilder interface {
	// WithGetAlarmRequest 获取告警请求参数构造器
	WithGetAlarmRequest(*realtimeapi.GetAlarmRequest) IGetAlarmRequestBuilder
	// WithListAlarmRequest 获取告警列表请求参数构造器
	WithListAlarmRequest(*realtimeapi.ListAlarmRequest) IListAlarmRequestBuilder
	// DoRealtimeAlarmBuilder 告警条目构造器
	DoRealtimeAlarmBuilder() IDoRealtimeAlarmBuilder
	// DoAlarmPageSelfBuilder 告警页面自定义字段条目构造器
	DoAlarmPageSelfBuilder() IDoAlarmPageSelfBuilder
	// WithCreateDashboardRequest 创建仪表盘请求参数构造器
	WithCreateDashboardRequest(*realtimeapi.CreateDashboardRequest) ICreateDashboardRequestBuilder
	// WithUpdateDashboardRequest 更新仪表盘请求参数构造器
	WithUpdateDashboardRequest(*realtimeapi.UpdateDashboardRequest) IUpdateDashboardRequestBuilder
	// WithDeleteDashboardRequest 删除仪表盘请求参数构造器
	WithDeleteDashboardRequest(*realtimeapi.DeleteDashboardRequest) IDeleteDashboardRequestBuilder
	// WithListDashboardRequest 获取仪表盘列表请求参数构造器
	WithListDashboardRequest(*realtimeapi.ListDashboardRequest) IListDashboardRequestBuilder
	// WithBatchUpdateDashboardStatusRequest 批量更新仪表盘状态请求参数构造器
	WithBatchUpdateDashboardStatusRequest(*realtimeapi.BatchUpdateDashboardStatusRequest) IBatchUpdateDashboardStatusRequestBuilder
	// DoDashboardBuilder 仪表盘条目构造器
	DoDashboardBuilder() IDoDashboardBuilder
	// BoChartBuilder 图表条目构造器
	BoChartBuilder() IBoChartBuilder
	// DoChartBuilder 图表条目构造器
	DoChartBuilder() IDoChartBuilder
	// WithBoAddDashboardParams 添加仪表盘请求参数构造器
	WithBoAddDashboardParams(*bo.AddDashboardParams) IBoAddDashboardParamsBuilder
	// WithBoUpdateDashboardParams 更新仪表盘请求参数构造器
	WithBoUpdateDashboardParams(*bo.UpdateDashboardParams) IBoUpdateDashboardParamsBuilder
}

IRealtimeAlarmModuleBuilder 实时告警模块构造器

type IRemoveTeamAdminRequestBuilder

type IRemoveTeamAdminRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.SetMemberAdminParams
}

IRemoveTeamAdminRequestBuilder 移除团队管理员请求参数构造器

type IRemoveTeamMemberRequestBuilder

type IRemoveTeamMemberRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.RemoveTeamMemberParams
}

IRemoveTeamMemberRequestBuilder 移除团队成员请求参数构造器

type IResetUserPasswordBySelfRequestBuilder

type IResetUserPasswordBySelfRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.ResetUserPasswordBySelfParams
	// WithUserInfo 设置用户信息
	WithUserInfo(f func(ctx context.Context, id uint32) (*model.SysUser, error)) (IResetUserPasswordBySelfRequestBuilder, error)
}

IResetUserPasswordBySelfRequestBuilder 重置用户密码请求参数构造器

type IResourceModuleBuilder

type IResourceModuleBuilder interface {
	// WithListResourceRequest 设置获取资源列表请求参数
	WithListResourceRequest(*resourceapi.ListResourceRequest) IListResourceRequestBuilder
	// DoResourceBuilder 资源条目构造器
	DoResourceBuilder() IDoResourceBuilder
}

IResourceModuleBuilder 资源模块构造器

type IRoleModuleBuilder

type IRoleModuleBuilder interface {
	// WithCreateRoleRequest 设置创建角色请求参数
	WithCreateRoleRequest(*teamapi.CreateRoleRequest) ICreateRoleRequestBuilder
	// WithUpdateRoleRequest 设置更新角色请求参数
	WithUpdateRoleRequest(*teamapi.UpdateRoleRequest) IUpdateRoleRequestBuilder
	// WithListRoleRequest 设置获取角色列表请求参数
	WithListRoleRequest(*teamapi.ListRoleRequest) IListRoleRequestBuilder
	// DoRoleBuilder 角色条目构造器
	DoRoleBuilder() IDoRoleBuilder
}

IRoleModuleBuilder 角色模块构造器

type ISetMemberRoleRequestBuilder

type ISetMemberRoleRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.SetMemberRoleParams
}

ISetMemberRoleRequestBuilder 设置成员角色请求参数构造器

type ISetTeamAdminRequestBuilder

type ISetTeamAdminRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.SetMemberAdminParams
}

ISetTeamAdminRequestBuilder 设置团队管理员请求参数构造器

type ISetTeamMailConfigRequestBuilder

type ISetTeamMailConfigRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.SetTeamMailConfigParams
}

ISetTeamMailConfigRequestBuilder 设置团队邮箱配置请求参数构造器

type IStrategyModuleBuilder

type IStrategyModuleBuilder interface {
	// WithCreateStrategyGroupRequest 设置创建策略组请求参数
	WithCreateStrategyGroupRequest(*strategyapi.CreateStrategyGroupRequest) ICreateStrategyGroupRequestBuilder
	// WithDeleteStrategyGroupRequest 设置删除策略组请求参数
	WithDeleteStrategyGroupRequest(*strategyapi.DeleteStrategyGroupRequest) IDeleteStrategyGroupRequestBuilder
	// WithListStrategyGroupRequest 设置获取策略组列表请求参数
	WithListStrategyGroupRequest(*strategyapi.ListStrategyGroupRequest) IListStrategyGroupRequestBuilder
	// WithUpdateStrategyGroupRequest 设置更新策略组请求参数
	WithUpdateStrategyGroupRequest(*strategyapi.UpdateStrategyGroupRequest) IUpdateStrategyGroupRequestBuilder
	// WithUpdateStrategyGroupStatusRequest 设置更新策略组状态请求参数
	WithUpdateStrategyGroupStatusRequest(*strategyapi.UpdateStrategyGroupStatusRequest) IUpdateStrategyGroupStatusRequestBuilder
	// DoStrategyGroupBuilder 策略组条目构造器
	DoStrategyGroupBuilder() IDoStrategyGroupBuilder
	// WithCreateStrategyRequest 设置创建策略请求参数
	WithCreateStrategyRequest(*strategyapi.CreateStrategyRequest) ICreateStrategyRequestBuilder
	// WithUpdateStrategyRequest 设置更新策略请求参数
	WithUpdateStrategyRequest(*strategyapi.UpdateStrategyRequest) IUpdateStrategyRequestBuilder
	// WithListStrategyRequest 设置获取策略列表请求参数
	WithListStrategyRequest(*strategyapi.ListStrategyRequest) IListStrategyRequestBuilder
	// WithUpdateStrategyStatusRequest 设置更新策略状态请求参数
	WithUpdateStrategyStatusRequest(*strategyapi.UpdateStrategyStatusRequest) IUpdateStrategyStatusRequestBuilder
	// DoStrategyBuilder 策略条目构造器
	DoStrategyBuilder() IDoStrategyBuilder
	// DoStrategyLevelBuilder 策略等级条目构造器
	DoStrategyLevelBuilder() IDoStrategyLevelBuilder
	// WithCreateTemplateStrategyRequest 设置创建模板策略请求参数
	WithCreateTemplateStrategyRequest(*strategyapi.CreateTemplateStrategyRequest) ICreateTemplateStrategyRequestBuilder
	// WithUpdateTemplateStrategyRequest 设置更新模板策略请求参数
	WithUpdateTemplateStrategyRequest(*strategyapi.UpdateTemplateStrategyRequest) IUpdateTemplateStrategyRequestBuilder
	// WithListTemplateStrategyRequest 设置获取模板策略列表请求参数
	WithListTemplateStrategyRequest(*strategyapi.ListTemplateStrategyRequest) IListTemplateStrategyRequestBuilder
	// WithUpdateTemplateStrategyStatusRequest 设置更新模板策略状态请求参数
	WithUpdateTemplateStrategyStatusRequest(*strategyapi.UpdateTemplateStrategyStatusRequest) IUpdateTemplateStrategyStatusRequestBuilder
	// DoTemplateStrategyBuilder 模板策略条目构造器
	DoTemplateStrategyBuilder() IDoTemplateStrategyBuilder
	// APIMutationStrategyLevelTemplateItems 转换为API对象
	APIMutationStrategyLevelTemplateItems() IMutationStrategyLevelTemplateBuilder
	// APIMutationStrategyLevelItems 转换为API对象
	APIMutationStrategyLevelItems() IMutationStrategyLevelBuilder
	// DoStrategyLevelTemplateBuilder 策略等级模板条目构造器
	DoStrategyLevelTemplateBuilder() IDoStrategyLevelTemplateBuilder
	// BoStrategyBuilder 策略业务对象构造器
	BoStrategyBuilder() IBoStrategyBuilder
	// BoStrategyDomainBuilder 策略域名业务对象构造器
	BoStrategyDomainBuilder() IBoStrategyDomainBuilder
	// BoStrategyEndpointBuilder 策略端点业务对象构造器
	BoStrategyEndpointBuilder() IBoStrategyEndpointBuilder
	// BoStrategyPingBuilder 策略Ping业务对象构造器
	BoStrategyPingBuilder() IBoStrategyPingBuilder
}

IStrategyModuleBuilder 策略模块构造器

type IStrategySubscriberRequestBuilder

type IStrategySubscriberRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.QueryStrategySubscriberParams
}

IStrategySubscriberRequestBuilder 策略订阅请求参数构造器

type ISubscriberModuleBuilder

type ISubscriberModuleBuilder interface {
	// WithUserSubscriberListRequest 设置用户订阅列表请求
	WithUserSubscriberListRequest(*sbscriberapi.UserSubscriberListRequest) IUserSubscriberListRequestBuilder
	// WithSubscriberStrategyRequest 设置订阅策略请求
	WithSubscriberStrategyRequest(*sbscriberapi.SubscriberStrategyRequest) ISubscriberStrategyRequestBuilder
	// WithUnSubscriberRequest 设置取消订阅请求
	WithUnSubscriberRequest(*sbscriberapi.UnSubscriberRequest) IUnSubscriberRequestBuilder
	// WithStrategySubscriberRequest 设置策略订阅请求
	WithStrategySubscriberRequest(*sbscriberapi.StrategySubscriberRequest) IStrategySubscriberRequestBuilder
	// DoSubscriberBuilder 获取订阅条目构造器
	DoSubscriberBuilder() IDoSubscriberBuilder
}

ISubscriberModuleBuilder 订阅模块条目构造器

type ISubscriberStrategyRequestBuilder

type ISubscriberStrategyRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.SubscriberStrategyParams
}

ISubscriberStrategyRequestBuilder 订阅策略请求参数构造器

type ITeamMemberModuleBuilder

type ITeamMemberModuleBuilder interface {
	// DoTeamMemberBuilder 获取团队成员条目构造器
	DoTeamMemberBuilder() IDoTeamMemberBuilder
}

ITeamMemberModuleBuilder 团队成员模块条目构造器

type ITeamModuleBuilder

type ITeamModuleBuilder interface {
	// WithCreateTeamRequest 设置创建团队请求
	WithCreateTeamRequest(*teamapi.CreateTeamRequest) ICreateTeamRequestBuilder
	// WithUpdateTeamRequest 设置更新团队请求
	WithUpdateTeamRequest(*teamapi.UpdateTeamRequest) IUpdateTeamRequestBuilder
	// WithListTeamRequest 设置获取团队列表请求
	WithListTeamRequest(*teamapi.ListTeamRequest) IListTeamRequestBuilder
	// WithRemoveTeamMemberRequest 设置移除团队成员请求
	WithRemoveTeamMemberRequest(*teamapi.RemoveTeamMemberRequest) IRemoveTeamMemberRequestBuilder
	// WithSetTeamAdminRequest 设置设置团队管理员请求
	WithSetTeamAdminRequest(*teamapi.SetTeamAdminRequest) ISetTeamAdminRequestBuilder
	// WithRemoveTeamAdminRequest 设置移除团队管理员请求
	WithRemoveTeamAdminRequest(*teamapi.RemoveTeamAdminRequest) IRemoveTeamAdminRequestBuilder
	// WithSetMemberRoleRequest 设置设置成员角色请求
	WithSetMemberRoleRequest(*teamapi.SetMemberRoleRequest) ISetMemberRoleRequestBuilder
	// WithListTeamMemberRequest 设置获取团队成员列表请求
	WithListTeamMemberRequest(*teamapi.ListTeamMemberRequest) IListTeamMemberRequestBuilder
	// WithTransferTeamLeaderRequest 设置转移团队领导请求
	WithTransferTeamLeaderRequest(*teamapi.TransferTeamLeaderRequest) ITransferTeamLeaderRequestBuilder
	// WithSetTeamMailConfigRequest 设置设置团队邮箱配置请求
	WithSetTeamMailConfigRequest(*teamapi.SetTeamMailConfigRequest) ISetTeamMailConfigRequestBuilder
	// DoTeamBuilder 获取团队条目构造器
	DoTeamBuilder() IDoTeamBuilder
}

ITeamModuleBuilder 团队模块条目构造器

type ITransferTeamLeaderRequestBuilder

type ITransferTeamLeaderRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.TransferTeamLeaderParams
}

ITransferTeamLeaderRequestBuilder 转移团队领导请求参数构造器

type IUnSubscriberRequestBuilder

type IUnSubscriberRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UnSubscriberStrategyParams
}

IUnSubscriberRequestBuilder 取消订阅请求参数构造器

type IUpdateAlarmGroupRequestBuilder

type IUpdateAlarmGroupRequestBuilder interface {
	ToBo() *bo.UpdateAlarmNoticeGroupParams
}

IUpdateAlarmGroupRequestBuilder 更新告警组请求参数构造器

type IUpdateAlarmGroupStatusRequestBuilder

type IUpdateAlarmGroupStatusRequestBuilder interface {
	ToBo() *bo.UpdateAlarmNoticeGroupStatusParams
}

IUpdateAlarmGroupStatusRequestBuilder 更新告警组状态请求参数构造器

type IUpdateAlarmSendRequestBuilder added in v1.1.31

type IUpdateAlarmSendRequestBuilder interface {
	ToBo() *bo.UpdateAlarmSendParams
}

IUpdateAlarmSendRequestBuilder 更新告警发送记录请求参数构造器

type IUpdateDashboardRequestBuilder

type IUpdateDashboardRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateDashboardParams
}

IUpdateDashboardRequestBuilder 更新仪表盘请求参数构造器

type IUpdateDatasourceRequestBuilder

type IUpdateDatasourceRequestBuilder interface {
	ToBo() *bo.UpdateDatasourceBaseInfoParams
}

IUpdateDatasourceRequestBuilder 更新数据源请求参数构造器

type IUpdateDictRequestBuilder

type IUpdateDictRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateDictParams
}

IUpdateDictRequestBuilder 更新字典请求参数构造器

type IUpdateDictStatusParamsBuilder

type IUpdateDictStatusParamsBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateDictStatusParams
}

IUpdateDictStatusParamsBuilder 更新字典状态请求参数构造器

type IUpdateHookRequestBuilder

type IUpdateHookRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateAlarmHookParams
}

IUpdateHookRequestBuilder 更新钩子请求参数构造器

type IUpdateHookStatusRequestBuilder

type IUpdateHookStatusRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateAlarmHookStatusParams
}

IUpdateHookStatusRequestBuilder 更新钩子状态请求参数构造器

type IUpdateInviteStatusRequestBuilder added in v1.0.2

type IUpdateInviteStatusRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateInviteStatusParams
}

IUpdateInviteStatusRequestBuilder 更新邀请状态请求参数构造器

type IUpdateMenuRequestBuilder

type IUpdateMenuRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateMenuParams
}

IUpdateMenuRequestBuilder 更新菜单请求参数构造器

type IUpdateMenuTypeParams

type IUpdateMenuTypeParams interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateMenuTypeParams
}

IUpdateMenuTypeParams 更新菜单类型请求参数构造器

type IUpdateMetricRequestBuilder

type IUpdateMetricRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateMetricParams
}

IUpdateMetricRequestBuilder 更新指标请求参数构造器

type IUpdateMqDatasourceRequestBuilder added in v1.1.37

type IUpdateMqDatasourceRequestBuilder interface {
	ToBo() *bo.UpdateMqDatasourceParams
}

IUpdateMqDatasourceRequestBuilder 更新 mq 数据源请求构建器

type IUpdateRoleRequestBuilder

type IUpdateRoleRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateTeamRoleParams
}

IUpdateRoleRequestBuilder 更新角色请求参数构造器

type IUpdateStrategyGroupRequestBuilder

type IUpdateStrategyGroupRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateStrategyGroupParams
}

IUpdateStrategyGroupRequestBuilder 更新策略组请求参数构造器

type IUpdateStrategyGroupStatusRequestBuilder

type IUpdateStrategyGroupStatusRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateStrategyGroupStatusParams
}

IUpdateStrategyGroupStatusRequestBuilder 更新策略组状态请求参数构造器

type IUpdateStrategyRequestBuilder

type IUpdateStrategyRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateStrategyParams
}

IUpdateStrategyRequestBuilder 更新策略请求参数构造器

type IUpdateStrategyStatusRequestBuilder

type IUpdateStrategyStatusRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateStrategyStatusParams
}

IUpdateStrategyStatusRequestBuilder 更新策略状态请求参数构造器

type IUpdateTeamRequestBuilder

type IUpdateTeamRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateTeamParams
}

IUpdateTeamRequestBuilder 更新团队请求参数构造器

type IUpdateTemplateStrategyRequestBuilder

type IUpdateTemplateStrategyRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateTemplateStrategyParams
}

IUpdateTemplateStrategyRequestBuilder 更新模板策略请求参数构造器

type IUpdateTemplateStrategyStatusRequestBuilder

type IUpdateTemplateStrategyStatusRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateTemplateStrategyStatusParams
}

IUpdateTemplateStrategyStatusRequestBuilder 更新模板策略状态请求参数构造器

type IUpdateUserAvatarRequestBuilder

type IUpdateUserAvatarRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateUserAvatarRequest
}

IUpdateUserAvatarRequestBuilder 更新用户头像请求参数构造器

type IUpdateUserBaseInfoRequestBuilder

type IUpdateUserBaseInfoRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateUserBaseParams
}

IUpdateUserBaseInfoRequestBuilder 更新用户基础信息请求参数构造器

type IUpdateUserEmailRequestBuilder

type IUpdateUserEmailRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateUserEmailRequest
}

IUpdateUserEmailRequestBuilder 更新用户邮箱请求参数构造器

type IUpdateUserPhoneRequestBuilder

type IUpdateUserPhoneRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateUserPhoneRequest
}

IUpdateUserPhoneRequestBuilder 更新用户手机请求参数构造器

type IUpdateUserRequestBuilder

type IUpdateUserRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.UpdateUserParams
}

IUpdateUserRequestBuilder 更新用户请求参数构造器

type IUploadFileRequest added in v1.1.0

type IUploadFileRequest interface {
	// ToJson 转换为JSON字符串
	ToJSON() string
	// ToYaml 转换为YAML字符串
	ToYAML() string
}

IUploadFileRequest 上传文件请求参数构造器

type IUserModuleBuilder

type IUserModuleBuilder interface {
	// WithCreateUserRequest 设置创建用户请求
	WithCreateUserRequest(*userapi.CreateUserRequest) ICreateUserRequestBuilder
	// WithUpdateUserRequest 设置更新用户请求
	WithUpdateUserRequest(*userapi.UpdateUserRequest) IUpdateUserRequestBuilder
	// WithListUserRequest 设置获取用户列表请求
	WithListUserRequest(*userapi.ListUserRequest) IListUserRequestBuilder
	// WithBatchUpdateUserStatusRequest 设置批量更新用户状态请求
	WithBatchUpdateUserStatusRequest(*userapi.BatchUpdateUserStatusRequest) IBatchUpdateUserStatusRequestBuilder
	// WithResetUserPasswordBySelfRequest 设置重置用户密码请求
	WithResetUserPasswordBySelfRequest(*userapi.ResetUserPasswordBySelfRequest) IResetUserPasswordBySelfRequestBuilder
	// WithUpdateUserPhoneRequest 设置更新用户手机请求
	WithUpdateUserPhoneRequest(*userapi.UpdateUserPhoneRequest) IUpdateUserPhoneRequestBuilder
	// WithUpdateUserEmailRequest 设置更新用户邮箱请求
	WithUpdateUserEmailRequest(*userapi.UpdateUserEmailRequest) IUpdateUserEmailRequestBuilder
	// WithUpdateUserAvatarRequest 设置更新用户头像请求
	WithUpdateUserAvatarRequest(*userapi.UpdateUserAvatarRequest) IUpdateUserAvatarRequestBuilder
	// WithUpdateUserBaseInfoRequest 设置更新用户基础信息请求
	WithUpdateUserBaseInfoRequest(*userapi.UpdateUserBaseInfoRequest) IUpdateUserBaseInfoRequestBuilder
	// DoUserBuilder 获取用户条目构造器
	DoUserBuilder() IDoUserBuilder
	// DoNoticeUserBuilder 获取通知用户条目构造器
	DoNoticeUserBuilder() INoticeUserBuilder
	// NoticeUserMessageBuilder 获取通知用户消息条目构造器
	NoticeUserMessageBuilder() INoticeUserMessageBuilder
}

IUserModuleBuilder 用户模块条目构造器

type IUserSubscriberListRequestBuilder

type IUserSubscriberListRequestBuilder interface {
	// ToBo 转换为业务对象
	ToBo() *bo.QueryUserSubscriberParams
}

IUserSubscriberListRequestBuilder 用户订阅列表请求参数构造器

type InviteModuleBuilder added in v1.0.2

type InviteModuleBuilder interface {
	// WithInviteUserRequest 创建邀请用户请求参数构造器
	WithInviteUserRequest(*inviteapi.InviteUserRequest) ICreateInviteUserRequestBuilder
	// WithUpdateInviteStatusRequest 更新邀请状态请求参数构造器
	WithUpdateInviteStatusRequest(*inviteapi.UpdateInviteStatusRequest) IUpdateInviteStatusRequestBuilder
	// WithListInviteUserRequest 获取邀请用户列表请求参数构造器
	WithListInviteUserRequest(*inviteapi.ListUserInviteRequest) IListInviteUserRequestBuilder
	// DoInviteBuilder 邀请条目构造器
	DoInviteBuilder(*bo.InviteTeamInfoParams) IDoInviteBuilder
}

InviteModuleBuilder 邀请模块构造器

Jump to

Keyboard shortcuts

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