builder

package
v1.1.33 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: MIT Imports: 33 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() *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 IBoChartBuilder interface {
	ToBo(*adminapi.ChartItem) *bo.ChartItem
	ToBos([]*adminapi.ChartItem) []*bo.ChartItem
	WithDashboardID(uint32) 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 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

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 IDoDictBuilder

type IDoDictBuilder interface {
	ToAPI(imodel.IDict, ...map[uint32]*adminapi.UserItem) *adminapi.DictItem
	ToAPIs([]imodel.IDict) []*adminapi.DictItem
	ToSelect(imodel.IDict) *adminapi.SelectItem
	ToSelects([]imodel.IDict) []*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 IDoMenuBuilder interface {
	ToAPI(*model.SysMenu) *adminapi.MenuItem
	ToAPIs([]*model.SysMenu) []*adminapi.MenuItem
	ToAPITree([]*model.SysMenu) []*adminapi.MenuTree
}

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 IDoStrategyLevelBuilder

type IDoStrategyLevelBuilder interface {
	ToAPI(*bizmodel.StrategyLevel, ...map[uint32]*adminapi.UserItem) *adminapi.StrategyLevelItem
	ToAPIs([]*bizmodel.StrategyLevel) []*adminapi.StrategyLevelItem
}

type IDoTeamBuilder

type IDoTeamBuilder interface {
	ToAPI(*model.SysTeam, ...map[uint32]*adminapi.UserItem) *adminapi.TeamItem
	ToAPIs([]*model.SysTeam) []*adminapi.TeamItem
	ToSelect(*model.SysTeam) *adminapi.SelectItem
	ToSelects([]*model.SysTeam) []*adminapi.SelectItem
}

type IDoUserBuilder

type IDoUserBuilder interface {
	ToAPI(*model.SysUser) *adminapi.UserItem
	ToAPIs([]*model.SysUser) []*adminapi.UserItem
	ToSelect(*model.SysUser) *adminapi.SelectItem
	ToSelects([]*model.SysUser) []*adminapi.SelectItem
}

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 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 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
}

func NewParamsBuild

func NewParamsBuild(ctx context.Context) IPramsBuilder

NewParamsBuild 创建参数构造器

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 ISubscriberStrategyRequestBuilder

type ISubscriberStrategyRequestBuilder interface {
	ToBo() *bo.SubscriberStrategyParams
}

type ITeamMemberModuleBuilder

type ITeamMemberModuleBuilder interface {
	DoTeamMemberBuilder() IDoTeamMemberBuilder
}

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 IUploadFileRequest interface {
	ToJson() string
	ToYaml() string
}

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
}

Jump to

Keyboard shortcuts

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