Documentation ¶
Index ¶
- type IAddTeamMemberRequestBuilder
- type IAlarmHistoryModuleBuilder
- type IAlarmModuleBuilder
- type IAlarmNoticeGroupModuleBuilder
- type IAlarmSendModuleBuilder
- type IBatchCreateMenuRequestBuilder
- type IBatchUpdateDashboardStatusRequestBuilder
- type IBatchUpdateMenuStatusRequestBuilder
- type IBatchUpdateUserStatusRequestBuilder
- type IBoAddDashboardParamsBuilder
- type IBoChartBuilder
- type IBoDatasourceBuilder
- type IBoMetricDataBuilder
- type IBoMetricDataValueBuilder
- type IBoStrategyBuilder
- type IBoStrategyDomainBuilder
- type IBoStrategyEndpointBuilder
- type IBoStrategyPingBuilder
- type IBoUpdateDashboardParamsBuilder
- type ICreateAlarmGroupRequestBuilder
- type ICreateAlarmItemRequestBuilder
- type ICreateAlarmRawInfoRequestBuilder
- type ICreateAlarmSendRequestBuilder
- type ICreateDashboardRequestBuilder
- type ICreateDatasourceRequestBuilder
- type ICreateDictRequestBuilder
- type ICreateHookRequestBuilder
- type ICreateInviteUserRequestBuilder
- type ICreateMenuRequestBuilder
- type ICreateRoleRequestBuilder
- type ICreateStrategyGroupRequestBuilder
- type ICreateStrategyLabelNoticeRequestBuilder
- type ICreateStrategyRequestBuilder
- type ICreateTeamRequestBuilder
- type ICreateTemplateStrategyRequestBuilder
- type ICreateUserRequestBuilder
- type IDatasourceModuleBuilder
- type IDeleteDashboardRequestBuilder
- type IDeleteStrategyGroupRequestBuilder
- type IDictModuleBuilder
- type IDoAlarmHistoryBuilder
- type IDoAlarmNoticeGroupItemBuilder
- type IDoAlarmPageSelfBuilder
- type IDoAlarmSendItemBuilder
- type IDoChartBuilder
- type IDoDashboardBuilder
- type IDoDatasourceBuilder
- type IDoDictBuilder
- type IDoHookBuilder
- type IDoInviteBuilder
- type IDoLabelNoticeBuilder
- type IDoMenuBuilder
- type IDoMetricBuilder
- type IDoMetricLabelBuilder
- type IDoRealtimeAlarmBuilder
- type IDoResourceBuilder
- type IDoRoleBuilder
- type IDoStrategyBuilder
- type IDoStrategyGroupBuilder
- type IDoStrategyLevelBuilder
- type IDoStrategyLevelTemplateBuilder
- type IDoSubscriberBuilder
- type IDoTeamBuilder
- type IDoTeamMemberBuilder
- type IDoTemplateStrategyBuilder
- type IDoUserBuilder
- type IFileModuleBuild
- type IGetAlarmHistoryRequestBuilder
- type IGetAlarmRequestBuilder
- type IGetMetricRequestBuilder
- type IHookModuleBuilder
- type IListAlarmGroupRequestBuilder
- type IListAlarmHistoryRequestBuilder
- type IListAlarmRequestBuilder
- type IListAlarmSendRequestBuilder
- type IListDashboardRequestBuilder
- type IListDatasourceRequestBuilder
- type IListDictRequestBuilder
- type IListHookRequestBuilder
- type IListInviteUserRequestBuilder
- type IListMenuRequestBuilder
- type IListMetricRequestBuilder
- type IListResourceRequestBuilder
- type IListRoleRequestBuilder
- type IListStrategyGroupRequestBuilder
- type IListStrategyRequestBuilder
- type IListTeamMemberRequestBuilder
- type IListTeamRequestBuilder
- type IListTemplateStrategyRequestBuilder
- type IListUserRequestBuilder
- type IMenuModuleBuilder
- type IMetricDataModuleBuilder
- type IMetricModuleBuilder
- type IMutationStrategyLevelBuilder
- type IMutationStrategyLevelTemplateBuilder
- type IMyAlarmGroupListParamsBuilder
- type INoticeUserBuilder
- type INoticeUserMessageBuilder
- type IPaginationModuleBuilder
- type IPramsBuilder
- type IRealtimeAlarmModuleBuilder
- type IRemoveTeamAdminRequestBuilder
- type IRemoveTeamMemberRequestBuilder
- type IResetUserPasswordBySelfRequestBuilder
- type IResourceModuleBuilder
- type IRoleModuleBuilder
- type ISetMemberRoleRequestBuilder
- type ISetTeamAdminRequestBuilder
- type ISetTeamMailConfigRequestBuilder
- type IStrategyModuleBuilder
- type IStrategySubscriberRequestBuilder
- type ISubscriberModuleBuilder
- type ISubscriberStrategyRequestBuilder
- type ITeamMemberModuleBuilder
- type ITeamModuleBuilder
- type ITransferTeamLeaderRequestBuilder
- type IUnSubscriberRequestBuilder
- type IUpdateAlarmGroupRequestBuilder
- type IUpdateAlarmGroupStatusRequestBuilder
- type IUpdateAlarmSendRequestBuilder
- type IUpdateDashboardRequestBuilder
- type IUpdateDatasourceRequestBuilder
- type IUpdateDictRequestBuilder
- type IUpdateDictStatusParamsBuilder
- type IUpdateHookRequestBuilder
- type IUpdateHookStatusRequestBuilder
- type IUpdateInviteStatusRequestBuilder
- type IUpdateMenuRequestBuilder
- type IUpdateMenuTypeParams
- type IUpdateMetricRequestBuilder
- type IUpdateRoleRequestBuilder
- type IUpdateStrategyGroupRequestBuilder
- type IUpdateStrategyGroupStatusRequestBuilder
- type IUpdateStrategyRequestBuilder
- type IUpdateStrategyStatusRequestBuilder
- type IUpdateTeamRequestBuilder
- type IUpdateTemplateStrategyRequestBuilder
- type IUpdateTemplateStrategyStatusRequestBuilder
- type IUpdateUserAvatarRequestBuilder
- type IUpdateUserBaseInfoRequestBuilder
- type IUpdateUserEmailRequestBuilder
- type IUpdateUserPhoneRequestBuilder
- type IUpdateUserRequestBuilder
- type IUploadFileRequest
- type IUserModuleBuilder
- type IUserSubscriberListRequestBuilder
- type InviteModuleBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IAddTeamMemberRequestBuilder ¶
type IAddTeamMemberRequestBuilder interface {
ToBo() *bo.AddTeamMemberParams
}
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 }
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() []*bo.CreateMenuParams
}
type IBatchUpdateDashboardStatusRequestBuilder ¶ added in v1.1.0
type IBatchUpdateDashboardStatusRequestBuilder interface {
ToBo() *bo.BatchUpdateDashboardStatusParams
}
type IBatchUpdateMenuStatusRequestBuilder ¶
type IBatchUpdateMenuStatusRequestBuilder interface {
ToBo() *bo.UpdateMenuStatusParams
}
type IBatchUpdateUserStatusRequestBuilder ¶
type IBatchUpdateUserStatusRequestBuilder interface {
ToBo() *bo.BatchUpdateUserStatusParams
}
type IBoAddDashboardParamsBuilder ¶
type IBoAddDashboardParamsBuilder interface { ToDo() *bizmodel.Dashboard WithDashboardID(uint32) IBoAddDashboardParamsBuilder ToDoStrategyGroups() []*bizmodel.StrategyGroup ToDoCharts() []*bizmodel.DashboardChart }
type IBoChartBuilder ¶
type IBoDatasourceBuilder ¶
type IBoDatasourceBuilder interface { ToAPI(*bo.Datasource) *api.Datasource ToAPIs([]*bo.Datasource) []*api.Datasource }
type IBoMetricDataBuilder ¶
type IBoMetricDataBuilder interface { ToAPI(*bo.MetricQueryData) *api.MetricQueryResult ToAPIs([]*bo.MetricQueryData) []*api.MetricQueryResult }
type IBoMetricDataValueBuilder ¶
type IBoMetricDataValueBuilder interface { ToAPI(*bo.DatasourceQueryValue) *api.MetricQueryValue ToAPIs([]*bo.DatasourceQueryValue) []*api.MetricQueryValue }
type IBoStrategyBuilder ¶
type IBoStrategyBuilder interface { ToAPI(*bo.Strategy) *api.MetricStrategyItem ToAPIs([]*bo.Strategy) []*api.MetricStrategyItem }
type IBoStrategyDomainBuilder ¶ added in v1.1.0
type IBoStrategyDomainBuilder interface {
ToAPI(*bo.StrategyDomain) *api.DomainStrategyItem
}
type IBoStrategyEndpointBuilder ¶ added in v1.1.0
type IBoStrategyEndpointBuilder interface {
ToAPI(*bo.StrategyEndpoint) *api.HttpStrategyItem
}
type IBoStrategyPingBuilder ¶ added in v1.1.0
type IBoStrategyPingBuilder interface {
ToAPI(*bo.StrategyPing) *api.PingStrategyItem
}
type IBoUpdateDashboardParamsBuilder ¶
type IBoUpdateDashboardParamsBuilder interface { ToDo() *bizmodel.Dashboard WithDashboardID(uint32) IBoUpdateDashboardParamsBuilder ToDoStrategyGroups() []*bizmodel.StrategyGroup ToDoCharts() []*bizmodel.DashboardChart }
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() *bo.AddDashboardParams
}
type ICreateDatasourceRequestBuilder ¶
type ICreateDatasourceRequestBuilder interface {
ToBo() *bo.CreateDatasourceParams
}
type ICreateDictRequestBuilder ¶
type ICreateDictRequestBuilder interface {
ToBo() *bo.CreateDictParams
}
type ICreateHookRequestBuilder ¶
type ICreateHookRequestBuilder interface {
ToBo() *bo.CreateAlarmHookParams
}
type ICreateInviteUserRequestBuilder ¶ added in v1.0.2
type ICreateInviteUserRequestBuilder interface {
ToBo() *bo.InviteUserParams
}
type ICreateMenuRequestBuilder ¶
type ICreateMenuRequestBuilder interface {
ToBo() *bo.CreateMenuParams
}
type ICreateRoleRequestBuilder ¶
type ICreateRoleRequestBuilder interface {
ToBo() *bo.CreateTeamRoleParams
}
type ICreateStrategyGroupRequestBuilder ¶
type ICreateStrategyGroupRequestBuilder interface {
ToBo() *bo.CreateStrategyGroupParams
}
type ICreateStrategyLabelNoticeRequestBuilder ¶
type ICreateStrategyLabelNoticeRequestBuilder interface { ToBo(*strategyapi.CreateStrategyLabelNoticeRequest) *bo.StrategyLabelNotice ToBos([]*strategyapi.CreateStrategyLabelNoticeRequest) []*bo.StrategyLabelNotice }
type ICreateStrategyRequestBuilder ¶
type ICreateStrategyRequestBuilder interface {
ToBo() *bo.CreateStrategyParams
}
type ICreateTeamRequestBuilder ¶
type ICreateTeamRequestBuilder interface {
ToBo() *bo.CreateTeamParams
}
type ICreateTemplateStrategyRequestBuilder ¶
type ICreateTemplateStrategyRequestBuilder interface {
ToBo() *bo.CreateTemplateStrategyParams
}
type ICreateUserRequestBuilder ¶
type ICreateUserRequestBuilder interface {
ToBo() *bo.CreateUserParams
}
type IDatasourceModuleBuilder ¶
type IDatasourceModuleBuilder interface { DoDatasourceBuilder() IDoDatasourceBuilder WithCreateDatasourceRequest(*datasourceapi.CreateDatasourceRequest) ICreateDatasourceRequestBuilder WithUpdateDatasourceRequest(*datasourceapi.UpdateDatasourceRequest) IUpdateDatasourceRequestBuilder WithListDatasourceRequest(*datasourceapi.ListDatasourceRequest) IListDatasourceRequestBuilder BoDatasourceBuilder() IBoDatasourceBuilder }
type IDeleteDashboardRequestBuilder ¶
type IDeleteDashboardRequestBuilder interface {
ToBo() *bo.DeleteDashboardParams
}
type IDeleteStrategyGroupRequestBuilder ¶
type IDeleteStrategyGroupRequestBuilder interface {
ToBo() *bo.DelStrategyGroupParams
}
type IDictModuleBuilder ¶
type IDictModuleBuilder interface { WithCreateDictRequest(*dictapi.CreateDictRequest) ICreateDictRequestBuilder WithUpdateDictRequest(*dictapi.UpdateDictRequest) IUpdateDictRequestBuilder WithListDictRequest(*dictapi.ListDictRequest) IListDictRequestBuilder WithUpdateDictStatusParams(*dictapi.BatchUpdateDictStatusRequest) IUpdateDictStatusParamsBuilder DoDictBuilder() IDoDictBuilder DictTypeList() []*api.EnumItem }
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 ¶
type IDoAlarmNoticeGroupItemBuilder interface { ToAPI(*bizmodel.AlarmNoticeGroup, ...map[uint32]*adminapi.UserItem) *adminapi.AlarmNoticeGroupItem ToAPIs([]*bizmodel.AlarmNoticeGroup) []*adminapi.AlarmNoticeGroupItem ToSelect(*bizmodel.AlarmNoticeGroup) *adminapi.SelectItem ToSelects([]*bizmodel.AlarmNoticeGroup) []*adminapi.SelectItem }
IDoAlarmNoticeGroupItemBuilder 告警组列表返回值构造器
type IDoAlarmPageSelfBuilder ¶
type IDoAlarmPageSelfBuilder interface { ToAPI(*bizmodel.AlarmPageSelf) *adminapi.DictItem ToAPIs([]*bizmodel.AlarmPageSelf) []*adminapi.DictItem }
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 }
type IDoChartBuilder ¶
type IDoChartBuilder interface { ToAPI(*bizmodel.DashboardChart) *adminapi.ChartItem ToAPIs([]*bizmodel.DashboardChart) []*adminapi.ChartItem }
type IDoDashboardBuilder ¶
type IDoDashboardBuilder interface { ToAPI(*bizmodel.Dashboard) *adminapi.DashboardItem ToAPIs([]*bizmodel.Dashboard) []*adminapi.DashboardItem ToSelect(*bizmodel.Dashboard) *adminapi.SelectItem ToSelects([]*bizmodel.Dashboard) []*adminapi.SelectItem }
type IDoDatasourceBuilder ¶
type IDoDatasourceBuilder interface { ToAPI(*bizmodel.Datasource, ...map[uint32]*adminapi.UserItem) *adminapi.DatasourceItem ToAPIs([]*bizmodel.Datasource) []*adminapi.DatasourceItem ToBo(*bizmodel.Datasource) *bo.Datasource ToBos([]*bizmodel.Datasource) []*bo.Datasource ToSelect(*bizmodel.Datasource) *adminapi.SelectItem ToSelects([]*bizmodel.Datasource) []*adminapi.SelectItem }
type IDoDictBuilder ¶
type IDoHookBuilder ¶
type IDoHookBuilder interface { ToAPI(*bizmodel.AlarmHook, ...map[uint32]*adminapi.UserItem) *adminapi.AlarmHookItem ToAPIs([]*bizmodel.AlarmHook) []*adminapi.AlarmHookItem ToSelect(*bizmodel.AlarmHook) *adminapi.SelectItem ToSelects([]*bizmodel.AlarmHook) []*adminapi.SelectItem }
type IDoInviteBuilder ¶ added in v1.0.2
type IDoInviteBuilder interface { ToAPI(*model.SysTeamInvite) *admin.InviteItem ToAPIs([]*model.SysTeamInvite) []*admin.InviteItem }
type IDoLabelNoticeBuilder ¶
type IDoLabelNoticeBuilder interface { ToAPI(*bizmodel.StrategyLabelNotice) *adminapi.LabelNoticeItem ToAPIs([]*bizmodel.StrategyLabelNotice) []*adminapi.LabelNoticeItem }
IDoLabelNoticeBuilder 告警组标签通知对象返回值构造器
type IDoMenuBuilder ¶
type IDoMetricBuilder ¶
type IDoMetricBuilder interface { ToAPI(*bizmodel.DatasourceMetric) *adminapi.MetricItem ToAPIs([]*bizmodel.DatasourceMetric) []*adminapi.MetricItem ToSelect(*bizmodel.DatasourceMetric) *adminapi.SelectItem ToSelects([]*bizmodel.DatasourceMetric) []*adminapi.SelectItem }
type IDoMetricLabelBuilder ¶
type IDoMetricLabelBuilder interface { ToAPI(*bizmodel.MetricLabel) *adminapi.MetricLabelItem ToAPIs([]*bizmodel.MetricLabel) []*adminapi.MetricLabelItem }
type IDoRealtimeAlarmBuilder ¶
type IDoRealtimeAlarmBuilder interface { ToAPI(*alarmmodel.RealtimeAlarm) *adminapi.RealtimeAlarmItem ToAPIs([]*alarmmodel.RealtimeAlarm) []*adminapi.RealtimeAlarmItem }
type IDoResourceBuilder ¶
type IDoResourceBuilder interface { ToAPI(imodel.IResource) *adminapi.ResourceItem ToAPIs([]imodel.IResource) []*adminapi.ResourceItem ToSelect(imodel.IResource) *adminapi.SelectItem ToSelects([]imodel.IResource) []*adminapi.SelectItem }
type IDoRoleBuilder ¶
type IDoRoleBuilder interface { ToAPI(*bizmodel.SysTeamRole, ...map[uint32]*adminapi.UserItem) *adminapi.TeamRole ToAPIs([]*bizmodel.SysTeamRole) []*adminapi.TeamRole ToSelect(*bizmodel.SysTeamRole) *adminapi.SelectItem ToSelects([]*bizmodel.SysTeamRole) []*adminapi.SelectItem }
type IDoStrategyBuilder ¶
type IDoStrategyBuilder interface { ToAPI(*bizmodel.Strategy, ...map[uint32]*adminapi.UserItem) *adminapi.StrategyItem ToAPIs([]*bizmodel.Strategy) []*adminapi.StrategyItem ToSelect(*bizmodel.Strategy) *adminapi.SelectItem ToSelects([]*bizmodel.Strategy) []*adminapi.SelectItem ToBos(*bizmodel.Strategy) []*bo.Strategy }
type IDoStrategyGroupBuilder ¶
type IDoStrategyGroupBuilder interface { WithStrategyCountMap(*bo.StrategyCountMap) IDoStrategyGroupBuilder ToAPI(*bizmodel.StrategyGroup, ...map[uint32]*adminapi.UserItem) *adminapi.StrategyGroupItem ToAPIs([]*bizmodel.StrategyGroup) []*adminapi.StrategyGroupItem ToSelect(*bizmodel.StrategyGroup) *adminapi.SelectItem ToSelects([]*bizmodel.StrategyGroup) []*adminapi.SelectItem }
type IDoStrategyLevelBuilder ¶
type IDoStrategyLevelBuilder interface { ToAPI(*bizmodel.StrategyLevel, ...map[uint32]*adminapi.UserItem) *adminapi.StrategyLevelItem ToAPIs([]*bizmodel.StrategyLevel) []*adminapi.StrategyLevelItem }
type IDoStrategyLevelTemplateBuilder ¶
type IDoStrategyLevelTemplateBuilder interface { ToAPI(*model.StrategyLevelTemplate, ...map[uint32]*adminapi.UserItem) *adminapi.StrategyLevelTemplateItem ToAPIs([]*model.StrategyLevelTemplate) []*adminapi.StrategyLevelTemplateItem }
type IDoSubscriberBuilder ¶
type IDoSubscriberBuilder interface { ToAPI(*bizmodel.StrategySubscriber) *adminapi.StrategySubscriberItem ToAPIs([]*bizmodel.StrategySubscriber) []*adminapi.StrategySubscriberItem ToStrategies([]*bizmodel.StrategySubscriber) []*adminapi.StrategyItem }
type IDoTeamBuilder ¶
type IDoTeamMemberBuilder ¶
type IDoTeamMemberBuilder interface { ToAPI(*bizmodel.SysTeamMember) *adminapi.TeamMemberItem ToAPIs([]*bizmodel.SysTeamMember) []*adminapi.TeamMemberItem ToSelect(*bizmodel.SysTeamMember) *adminapi.SelectItem ToSelects([]*bizmodel.SysTeamMember) []*adminapi.SelectItem }
type IDoTemplateStrategyBuilder ¶
type IDoTemplateStrategyBuilder interface { ToAPI(*model.StrategyTemplate, ...map[uint32]*adminapi.UserItem) *adminapi.StrategyTemplateItem ToAPIs([]*model.StrategyTemplate) []*adminapi.StrategyTemplateItem ToSelect(*model.StrategyTemplate) *adminapi.SelectItem ToSelects([]*model.StrategyTemplate) []*adminapi.SelectItem }
type IDoUserBuilder ¶
type IFileModuleBuild ¶ added in v1.1.0
type IFileModuleBuild interface {
WithUpdateFileRequest(bytes []byte) IUploadFileRequest
}
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() *bo.GetRealTimeAlarmParams
}
type IGetMetricRequestBuilder ¶
type IGetMetricRequestBuilder interface {
ToBo() *bo.GetMetricParams
}
type IHookModuleBuilder ¶
type IHookModuleBuilder interface { WithCreateHookRequest(*hookapi.CreateHookRequest) ICreateHookRequestBuilder WithUpdateHookRequest(*hookapi.UpdateHookRequest) IUpdateHookRequestBuilder WithListHookRequest(*hookapi.ListHookRequest) IListHookRequestBuilder WithUpdateHookStatusRequest(*hookapi.UpdateHookStatusRequest) IUpdateHookStatusRequestBuilder DoHookBuilder() IDoHookBuilder }
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() *bo.GetRealTimeAlarmsParams
}
type IListAlarmSendRequestBuilder ¶ added in v1.1.31
type IListAlarmSendRequestBuilder interface {
ToBo() *bo.QueryAlarmSendHistoryListParams
}
type IListDashboardRequestBuilder ¶
type IListDashboardRequestBuilder interface {
ToBo() *bo.ListDashboardParams
}
type IListDatasourceRequestBuilder ¶
type IListDatasourceRequestBuilder interface {
ToBo() *bo.QueryDatasourceListParams
}
type IListDictRequestBuilder ¶
type IListDictRequestBuilder interface {
ToBo() *bo.QueryDictListParams
}
type IListHookRequestBuilder ¶
type IListHookRequestBuilder interface {
ToBo() *bo.QueryAlarmHookListParams
}
type IListInviteUserRequestBuilder ¶ added in v1.0.2
type IListInviteUserRequestBuilder interface {
ToBo() *bo.QueryInviteListParams
}
type IListMenuRequestBuilder ¶
type IListMenuRequestBuilder interface {
ToBo() *bo.QueryMenuListParams
}
type IListMetricRequestBuilder ¶
type IListMetricRequestBuilder interface {
ToBo() *bo.QueryMetricListParams
}
type IListResourceRequestBuilder ¶
type IListResourceRequestBuilder interface {
ToBo() *bo.QueryResourceListParams
}
type IListRoleRequestBuilder ¶
type IListRoleRequestBuilder interface {
ToBo() *bo.ListTeamRoleParams
}
type IListStrategyGroupRequestBuilder ¶
type IListStrategyGroupRequestBuilder interface {
ToBo() *bo.QueryStrategyGroupListParams
}
type IListStrategyRequestBuilder ¶
type IListStrategyRequestBuilder interface {
ToBo() *bo.QueryStrategyListParams
}
type IListTeamMemberRequestBuilder ¶
type IListTeamMemberRequestBuilder interface {
ToBo() *bo.ListTeamMemberParams
}
type IListTeamRequestBuilder ¶
type IListTeamRequestBuilder interface {
ToBo() *bo.QueryTeamListParams
}
type IListTemplateStrategyRequestBuilder ¶
type IListTemplateStrategyRequestBuilder interface {
ToBo() *bo.QueryTemplateStrategyListParams
}
type IListUserRequestBuilder ¶
type IListUserRequestBuilder interface {
ToBo() *bo.QueryUserListParams
}
type IMenuModuleBuilder ¶
type IMenuModuleBuilder interface { WithCreateMenuRequest(*menuapi.CreateMenuRequest) ICreateMenuRequestBuilder WithBatchCreateMenuRequest(*menuapi.BatchCreateMenuRequest) IBatchCreateMenuRequestBuilder WithUpdateMenuRequest(*menuapi.UpdateMenuRequest) IUpdateMenuRequestBuilder WithListMenuRequest(*menuapi.ListMenuRequest) IListMenuRequestBuilder WithBatchUpdateMenuStatusRequest(*menuapi.BatchUpdateMenuStatusRequest) IBatchUpdateMenuStatusRequestBuilder WithUpdateMenuTypeParams(*menuapi.BatchUpdateMenuTypeRequest) IUpdateMenuTypeParams DoMenuBuilder() IDoMenuBuilder }
type IMetricDataModuleBuilder ¶
type IMetricDataModuleBuilder interface { BoMetricDataBuilder() IBoMetricDataBuilder BoMetricDataValueBuilder() IBoMetricDataValueBuilder }
type IMetricModuleBuilder ¶
type IMetricModuleBuilder interface { WithUpdateMetricRequest(*datasourceapi.UpdateMetricRequest) IUpdateMetricRequestBuilder WithGetMetricRequest(*datasourceapi.GetMetricRequest) IGetMetricRequestBuilder WithListMetricRequest(*datasourceapi.ListMetricRequest) IListMetricRequestBuilder DoMetricBuilder() IDoMetricBuilder DoMetricLabelBuilder() IDoMetricLabelBuilder }
type IMutationStrategyLevelBuilder ¶
type IMutationStrategyLevelBuilder interface { WithStrategyID(uint32) IMutationStrategyLevelBuilder ToBo(*strategyapi.CreateStrategyLevelRequest) *bo.CreateStrategyLevel ToBos([]*strategyapi.CreateStrategyLevelRequest) []*bo.CreateStrategyLevel }
type IMutationStrategyLevelTemplateBuilder ¶
type IMutationStrategyLevelTemplateBuilder interface { WithStrategyTemplateID(uint32) IMutationStrategyLevelTemplateBuilder ToBo(*strategyapi.MutationStrategyLevelTemplateItem) *bo.CreateStrategyLevelTemplate ToBos([]*strategyapi.MutationStrategyLevelTemplateItem) []*bo.CreateStrategyLevelTemplate }
type IMyAlarmGroupListParamsBuilder ¶
type IMyAlarmGroupListParamsBuilder interface {
ToBo() *bo.MyAlarmGroupListParams
}
type INoticeUserBuilder ¶
type INoticeUserBuilder interface { ToAPI(*bizmodel.AlarmNoticeMember) *adminapi.NoticeItem ToAPIs([]*bizmodel.AlarmNoticeMember) []*adminapi.NoticeItem }
type INoticeUserMessageBuilder ¶ added in v1.0.2
type INoticeUserMessageBuilder interface { ToAPI(*model.SysUserMessage) *adminapi.NoticeUserMessage ToAPIs([]*model.SysUserMessage) []*adminapi.NoticeUserMessage ToDo(*bo.NoticeUserMessage) *model.SysUserMessage ToDos([]*bo.NoticeUserMessage) []*model.SysUserMessage }
type IPaginationModuleBuilder ¶
type IPaginationModuleBuilder interface { ToBo(*api.PaginationReq) types.Pagination ToAPI(types.Pagination) *api.PaginationReply }
type IPramsBuilder ¶
type IPramsBuilder interface { PaginationModuleBuilder() IPaginationModuleBuilder AlarmNoticeGroupModuleBuilder() IAlarmNoticeGroupModuleBuilder UserModuleBuilder() IUserModuleBuilder TeamMemberModuleBuilder() ITeamMemberModuleBuilder DatasourceModuleBuilder() IDatasourceModuleBuilder MetricDataModuleBuilder() IMetricDataModuleBuilder MetricModuleBuilder() IMetricModuleBuilder DictModuleBuilder() IDictModuleBuilder HookModuleBuilder() IHookModuleBuilder MenuModuleBuilder() IMenuModuleBuilder RealtimeAlarmModuleBuilder() IRealtimeAlarmModuleBuilder ResourceModuleBuilder() IResourceModuleBuilder StrategyModuleBuilder() IStrategyModuleBuilder SubscriberModuleBuilder() ISubscriberModuleBuilder RoleModuleBuilder() IRoleModuleBuilder TeamModuleBuilder() ITeamModuleBuilder InviteModuleBuilder() InviteModuleBuilder AlarmHistoryModuleBuilder() IAlarmHistoryModuleBuilder AlarmModuleBuilder() IAlarmModuleBuilder YamlModuleBuilder() IFileModuleBuild AlarmSendModuleBuilder() IAlarmSendModuleBuilder }
type IRealtimeAlarmModuleBuilder ¶
type IRealtimeAlarmModuleBuilder interface { WithGetAlarmRequest(*realtimeapi.GetAlarmRequest) IGetAlarmRequestBuilder WithListAlarmRequest(*realtimeapi.ListAlarmRequest) IListAlarmRequestBuilder DoRealtimeAlarmBuilder() IDoRealtimeAlarmBuilder DoAlarmPageSelfBuilder() IDoAlarmPageSelfBuilder WithCreateDashboardRequest(*realtimeapi.CreateDashboardRequest) ICreateDashboardRequestBuilder WithUpdateDashboardRequest(*realtimeapi.UpdateDashboardRequest) IUpdateDashboardRequestBuilder WithDeleteDashboardRequest(*realtimeapi.DeleteDashboardRequest) IDeleteDashboardRequestBuilder WithListDashboardRequest(*realtimeapi.ListDashboardRequest) IListDashboardRequestBuilder WithBatchUpdateDashboardStatusRequest(*realtimeapi.BatchUpdateDashboardStatusRequest) IBatchUpdateDashboardStatusRequestBuilder DoDashboardBuilder() IDoDashboardBuilder BoChartBuilder() IBoChartBuilder DoChartBuilder() IDoChartBuilder WithBoAddDashboardParams(*bo.AddDashboardParams) IBoAddDashboardParamsBuilder WithBoUpdateDashboardParams(*bo.UpdateDashboardParams) IBoUpdateDashboardParamsBuilder }
type IRemoveTeamAdminRequestBuilder ¶
type IRemoveTeamAdminRequestBuilder interface {
ToBo() *bo.SetMemberAdminParams
}
type IRemoveTeamMemberRequestBuilder ¶
type IRemoveTeamMemberRequestBuilder interface {
ToBo() *bo.RemoveTeamMemberParams
}
type IResetUserPasswordBySelfRequestBuilder ¶
type IResetUserPasswordBySelfRequestBuilder interface { ToBo() *bo.ResetUserPasswordBySelfParams WithUserInfo(f func(ctx context.Context, id uint32) (*model.SysUser, error)) (IResetUserPasswordBySelfRequestBuilder, error) }
type IResourceModuleBuilder ¶
type IResourceModuleBuilder interface { WithListResourceRequest(*resourceapi.ListResourceRequest) IListResourceRequestBuilder DoResourceBuilder() IDoResourceBuilder }
type IRoleModuleBuilder ¶
type IRoleModuleBuilder interface { WithCreateRoleRequest(*teamapi.CreateRoleRequest) ICreateRoleRequestBuilder WithUpdateRoleRequest(*teamapi.UpdateRoleRequest) IUpdateRoleRequestBuilder WithListRoleRequest(*teamapi.ListRoleRequest) IListRoleRequestBuilder DoRoleBuilder() IDoRoleBuilder }
type ISetMemberRoleRequestBuilder ¶
type ISetMemberRoleRequestBuilder interface {
ToBo() *bo.SetMemberRoleParams
}
type ISetTeamAdminRequestBuilder ¶
type ISetTeamAdminRequestBuilder interface {
ToBo() *bo.SetMemberAdminParams
}
type ISetTeamMailConfigRequestBuilder ¶
type ISetTeamMailConfigRequestBuilder interface {
ToBo() *bo.SetTeamMailConfigParams
}
type IStrategyModuleBuilder ¶
type IStrategyModuleBuilder interface { WithCreateStrategyGroupRequest(*strategyapi.CreateStrategyGroupRequest) ICreateStrategyGroupRequestBuilder WithDeleteStrategyGroupRequest(*strategyapi.DeleteStrategyGroupRequest) IDeleteStrategyGroupRequestBuilder WithListStrategyGroupRequest(*strategyapi.ListStrategyGroupRequest) IListStrategyGroupRequestBuilder WithUpdateStrategyGroupRequest(*strategyapi.UpdateStrategyGroupRequest) IUpdateStrategyGroupRequestBuilder WithUpdateStrategyGroupStatusRequest(*strategyapi.UpdateStrategyGroupStatusRequest) IUpdateStrategyGroupStatusRequestBuilder DoStrategyGroupBuilder() IDoStrategyGroupBuilder WithCreateStrategyRequest(*strategyapi.CreateStrategyRequest) ICreateStrategyRequestBuilder WithUpdateStrategyRequest(*strategyapi.UpdateStrategyRequest) IUpdateStrategyRequestBuilder WithListStrategyRequest(*strategyapi.ListStrategyRequest) IListStrategyRequestBuilder WithUpdateStrategyStatusRequest(*strategyapi.UpdateStrategyStatusRequest) IUpdateStrategyStatusRequestBuilder DoStrategyBuilder() IDoStrategyBuilder DoStrategyLevelBuilder() IDoStrategyLevelBuilder WithCreateTemplateStrategyRequest(*strategyapi.CreateTemplateStrategyRequest) ICreateTemplateStrategyRequestBuilder WithUpdateTemplateStrategyRequest(*strategyapi.UpdateTemplateStrategyRequest) IUpdateTemplateStrategyRequestBuilder WithListTemplateStrategyRequest(*strategyapi.ListTemplateStrategyRequest) IListTemplateStrategyRequestBuilder WithUpdateTemplateStrategyStatusRequest(*strategyapi.UpdateTemplateStrategyStatusRequest) IUpdateTemplateStrategyStatusRequestBuilder DoTemplateStrategyBuilder() IDoTemplateStrategyBuilder APIMutationStrategyLevelTemplateItems() IMutationStrategyLevelTemplateBuilder APIMutationStrategyLevelItems() IMutationStrategyLevelBuilder DoStrategyLevelTemplateBuilder() IDoStrategyLevelTemplateBuilder BoStrategyBuilder() IBoStrategyBuilder BoStrategyDomainBuilder() IBoStrategyDomainBuilder BoStrategyEndpointBuilder() IBoStrategyEndpointBuilder BoStrategyPingBuilder() IBoStrategyPingBuilder }
type IStrategySubscriberRequestBuilder ¶
type IStrategySubscriberRequestBuilder interface {
ToBo() *bo.QueryStrategySubscriberParams
}
type ISubscriberModuleBuilder ¶
type ISubscriberModuleBuilder interface { WithUserSubscriberListRequest(*sbscriberapi.UserSubscriberListRequest) IUserSubscriberListRequestBuilder WithSubscriberStrategyRequest(*sbscriberapi.SubscriberStrategyRequest) ISubscriberStrategyRequestBuilder WithUnSubscriberRequest(*sbscriberapi.UnSubscriberRequest) IUnSubscriberRequestBuilder WithStrategySubscriberRequest(*sbscriberapi.StrategySubscriberRequest) IStrategySubscriberRequestBuilder DoSubscriberBuilder() IDoSubscriberBuilder }
type ISubscriberStrategyRequestBuilder ¶
type ISubscriberStrategyRequestBuilder interface {
ToBo() *bo.SubscriberStrategyParams
}
type ITeamMemberModuleBuilder ¶
type ITeamMemberModuleBuilder interface {
DoTeamMemberBuilder() IDoTeamMemberBuilder
}
type ITeamModuleBuilder ¶
type ITeamModuleBuilder interface { WithCreateTeamRequest(*teamapi.CreateTeamRequest) ICreateTeamRequestBuilder WithUpdateTeamRequest(*teamapi.UpdateTeamRequest) IUpdateTeamRequestBuilder WithListTeamRequest(*teamapi.ListTeamRequest) IListTeamRequestBuilder WithRemoveTeamMemberRequest(*teamapi.RemoveTeamMemberRequest) IRemoveTeamMemberRequestBuilder WithSetTeamAdminRequest(*teamapi.SetTeamAdminRequest) ISetTeamAdminRequestBuilder WithRemoveTeamAdminRequest(*teamapi.RemoveTeamAdminRequest) IRemoveTeamAdminRequestBuilder WithSetMemberRoleRequest(*teamapi.SetMemberRoleRequest) ISetMemberRoleRequestBuilder WithListTeamMemberRequest(*teamapi.ListTeamMemberRequest) IListTeamMemberRequestBuilder WithTransferTeamLeaderRequest(*teamapi.TransferTeamLeaderRequest) ITransferTeamLeaderRequestBuilder WithSetTeamMailConfigRequest(*teamapi.SetTeamMailConfigRequest) ISetTeamMailConfigRequestBuilder DoTeamBuilder() IDoTeamBuilder }
type ITransferTeamLeaderRequestBuilder ¶
type ITransferTeamLeaderRequestBuilder interface {
ToBo() *bo.TransferTeamLeaderParams
}
type IUnSubscriberRequestBuilder ¶
type IUnSubscriberRequestBuilder interface {
ToBo() *bo.UnSubscriberStrategyParams
}
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
}
type IUpdateDashboardRequestBuilder ¶
type IUpdateDashboardRequestBuilder interface {
ToBo() *bo.UpdateDashboardParams
}
type IUpdateDatasourceRequestBuilder ¶
type IUpdateDatasourceRequestBuilder interface {
ToBo() *bo.UpdateDatasourceBaseInfoParams
}
type IUpdateDictRequestBuilder ¶
type IUpdateDictRequestBuilder interface {
ToBo() *bo.UpdateDictParams
}
type IUpdateDictStatusParamsBuilder ¶
type IUpdateDictStatusParamsBuilder interface {
ToBo() *bo.UpdateDictStatusParams
}
type IUpdateHookRequestBuilder ¶
type IUpdateHookRequestBuilder interface {
ToBo() *bo.UpdateAlarmHookParams
}
type IUpdateHookStatusRequestBuilder ¶
type IUpdateHookStatusRequestBuilder interface {
ToBo() *bo.UpdateAlarmHookStatusParams
}
type IUpdateInviteStatusRequestBuilder ¶ added in v1.0.2
type IUpdateInviteStatusRequestBuilder interface {
ToBo() *bo.UpdateInviteStatusParams
}
type IUpdateMenuRequestBuilder ¶
type IUpdateMenuRequestBuilder interface {
ToBo() *bo.UpdateMenuParams
}
type IUpdateMenuTypeParams ¶
type IUpdateMenuTypeParams interface {
ToBo() *bo.UpdateMenuTypeParams
}
type IUpdateMetricRequestBuilder ¶
type IUpdateMetricRequestBuilder interface {
ToBo() *bo.UpdateMetricParams
}
type IUpdateRoleRequestBuilder ¶
type IUpdateRoleRequestBuilder interface {
ToBo() *bo.UpdateTeamRoleParams
}
type IUpdateStrategyGroupRequestBuilder ¶
type IUpdateStrategyGroupRequestBuilder interface {
ToBo() *bo.UpdateStrategyGroupParams
}
type IUpdateStrategyGroupStatusRequestBuilder ¶
type IUpdateStrategyGroupStatusRequestBuilder interface {
ToBo() *bo.UpdateStrategyGroupStatusParams
}
type IUpdateStrategyRequestBuilder ¶
type IUpdateStrategyRequestBuilder interface {
ToBo() *bo.UpdateStrategyParams
}
type IUpdateStrategyStatusRequestBuilder ¶
type IUpdateStrategyStatusRequestBuilder interface {
ToBo() *bo.UpdateStrategyStatusParams
}
type IUpdateTeamRequestBuilder ¶
type IUpdateTeamRequestBuilder interface {
ToBo() *bo.UpdateTeamParams
}
type IUpdateTemplateStrategyRequestBuilder ¶
type IUpdateTemplateStrategyRequestBuilder interface {
ToBo() *bo.UpdateTemplateStrategyParams
}
type IUpdateTemplateStrategyStatusRequestBuilder ¶
type IUpdateTemplateStrategyStatusRequestBuilder interface {
ToBo() *bo.UpdateTemplateStrategyStatusParams
}
type IUpdateUserAvatarRequestBuilder ¶
type IUpdateUserAvatarRequestBuilder interface {
ToBo() *bo.UpdateUserAvatarRequest
}
type IUpdateUserBaseInfoRequestBuilder ¶
type IUpdateUserBaseInfoRequestBuilder interface {
ToBo() *bo.UpdateUserBaseParams
}
type IUpdateUserEmailRequestBuilder ¶
type IUpdateUserEmailRequestBuilder interface {
ToBo() *bo.UpdateUserEmailRequest
}
type IUpdateUserPhoneRequestBuilder ¶
type IUpdateUserPhoneRequestBuilder interface {
ToBo() *bo.UpdateUserPhoneRequest
}
type IUpdateUserRequestBuilder ¶
type IUpdateUserRequestBuilder interface {
ToBo() *bo.UpdateUserParams
}
type IUploadFileRequest ¶ added in v1.1.0
type IUserModuleBuilder ¶
type IUserModuleBuilder interface { WithCreateUserRequest(*userapi.CreateUserRequest) ICreateUserRequestBuilder WithUpdateUserRequest(*userapi.UpdateUserRequest) IUpdateUserRequestBuilder WithListUserRequest(*userapi.ListUserRequest) IListUserRequestBuilder WithBatchUpdateUserStatusRequest(*userapi.BatchUpdateUserStatusRequest) IBatchUpdateUserStatusRequestBuilder WithResetUserPasswordBySelfRequest(*userapi.ResetUserPasswordBySelfRequest) IResetUserPasswordBySelfRequestBuilder WithUpdateUserPhoneRequest(*userapi.UpdateUserPhoneRequest) IUpdateUserPhoneRequestBuilder WithUpdateUserEmailRequest(*userapi.UpdateUserEmailRequest) IUpdateUserEmailRequestBuilder WithUpdateUserAvatarRequest(*userapi.UpdateUserAvatarRequest) IUpdateUserAvatarRequestBuilder WithUpdateUserBaseInfoRequest(*userapi.UpdateUserBaseInfoRequest) IUpdateUserBaseInfoRequestBuilder DoUserBuilder() IDoUserBuilder DoNoticeUserBuilder() INoticeUserBuilder NoticeUserMessageBuilder() INoticeUserMessageBuilder }
type IUserSubscriberListRequestBuilder ¶
type IUserSubscriberListRequestBuilder interface {
ToBo() *bo.QueryUserSubscriberParams
}
type InviteModuleBuilder ¶ added in v1.0.2
type InviteModuleBuilder interface { WithInviteUserRequest(*inviteapi.InviteUserRequest) ICreateInviteUserRequestBuilder WithUpdateInviteStatusRequest(*inviteapi.UpdateInviteStatusRequest) IUpdateInviteStatusRequestBuilder WithListInviteUserRequest(*inviteapi.ListUserInviteRequest) IListInviteUserRequestBuilder DoInviteBuilder(*bo.InviteTeamInfoParams) IDoInviteBuilder }