repoimpl

package
v1.1.42 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

ProviderSetRepoImpl wire Set

Functions

func NewAlarmGroupRepository

func NewAlarmGroupRepository(data *data.Data, rabbitConn *data.RabbitConn) repository.AlarmGroup

NewAlarmGroupRepository 创建策略分组仓库

func NewAlarmHistoryRepository added in v1.1.0

func NewAlarmHistoryRepository(data *data.Data) repository.HistoryRepository

NewAlarmHistoryRepository 创建告警记录仓库

func NewAlarmHookRepository

func NewAlarmHookRepository(data *data.Data, rabbitConn *data.RabbitConn) repository.AlarmHook

NewAlarmHookRepository new alarm repository

func NewAlarmPageRepository

func NewAlarmPageRepository(data *data.Data) repository.AlarmPage

NewAlarmPageRepository 创建告警页面管理操作

func NewAlarmRawRepository added in v1.1.0

func NewAlarmRawRepository(data *data.Data) repository.AlarmRaw

NewAlarmRawRepository 创建 AlarmRawRepository

func NewAlarmSendRepository added in v1.1.31

func NewAlarmSendRepository(data *data.Data) repository.AlarmSendRepository

NewAlarmSendRepository 创建告警发送记录

func NewCacheRepository

func NewCacheRepository(data *data.Data) repository.Cache

NewCacheRepository 创建缓存操作

func NewCaptchaRepository

func NewCaptchaRepository(data *data.Data) repository.Captcha

NewCaptchaRepository 创建验证码操作

func NewDashboardRepository

func NewDashboardRepository(data *data.Data) repository.Dashboard

NewDashboardRepository 创建仪表盘操作实现

func NewDatasourceMetricRepository

func NewDatasourceMetricRepository(data *data.Data) repository.DatasourceMetric

NewDatasourceMetricRepository 创建数据源指标仓库

func NewDatasourceRepository

func NewDatasourceRepository(data *data.Data) repository.Datasource

NewDatasourceRepository 创建数据源

func NewDictRepository

func NewDictRepository(data *data.Data) repository.Dict

NewDictRepository 创建数据库字典操作

func NewFileRepository added in v1.1.0

func NewFileRepository(data *data.Data) repository.FileRepository

NewFileRepository file repository with the given data source.

func NewGithubUserRepository

func NewGithubUserRepository(bc *palaceconf.Bootstrap, data *data.Data) repository.OAuth

NewGithubUserRepository 创建Github用户实现

func NewInviteRepository added in v1.0.2

func NewInviteRepository(data *data.Data, cacheRepo repository.Cache) repository.TeamInvite

NewInviteRepository 创建团队邀请实现

func NewLockRepository

func NewLockRepository(data *data.Data) repository.Lock

NewLockRepository 创建全局锁

func NewMenuRepository

func NewMenuRepository(data *data.Data) repository.Menu

NewMenuRepository 创建菜单仓库

func NewMetricRepository

func NewMetricRepository(data *data.Data) repository.Metric

NewMetricRepository 创建指标仓库

func NewMqDatasourceRepository added in v1.1.37

func NewMqDatasourceRepository(data *data.Data) repository.MQDataSource

NewMqDatasourceRepository 创建mq数据源

func NewRealtimeAlarmRepository

func NewRealtimeAlarmRepository(data *data.Data) repository.Alarm

NewRealtimeAlarmRepository 实例化告警业务数据库

func NewResourceRepository

func NewResourceRepository(data *data.Data) repository.Resource

NewResourceRepository 创建资源实现

func NewStrategyCountRepository

func NewStrategyCountRepository(data *data.Data) repository.StrategyCountRepo

NewStrategyCountRepository 创建策略计数仓库

func NewStrategyGroupRepository

func NewStrategyGroupRepository(data *data.Data, strategyRepo repository.Strategy) repository.StrategyGroup

NewStrategyGroupRepository 创建策略分组仓库

func NewStrategyRepository

func NewStrategyRepository(data *data.Data) repository.Strategy

NewStrategyRepository 创建策略仓库

func NewSubscriberStrategyRepository

func NewSubscriberStrategyRepository(data *data.Data) repository.SubscriberStrategy

NewSubscriberStrategyRepository 创建策略仓库

func NewSystemRepository added in v1.1.0

func NewSystemRepository(data *data.Data) repository.System

NewSystemRepository 创建系统相关功能实现

func NewTeamDictRepository added in v1.1.0

func NewTeamDictRepository(data *data.Data) repository.TeamDict

NewTeamDictRepository 创建数据库字典操作

func NewTeamMenuRepository

func NewTeamMenuRepository(data *data.Data) repository.TeamMenu

NewTeamMenuRepository 创建团队菜单仓库

func NewTeamRepository

func NewTeamRepository(data *data.Data, cacheRepo repository.Cache) repository.Team

NewTeamRepository 创建团队仓库

func NewTeamResourceRepository added in v1.1.0

func NewTeamResourceRepository(data *data.Data) repository.TeamResource

NewTeamResourceRepository 创建资源实现

func NewTeamRoleRepository

func NewTeamRoleRepository(data *data.Data) repository.TeamRole

NewTeamRoleRepository 创建团队角色仓库

func NewTemplateRepository

func NewTemplateRepository(data *data.Data) repository.Template

NewTemplateRepository 创建模板策略仓库

func NewUserMessageRepository added in v1.0.2

func NewUserMessageRepository(data *data.Data) repository.UserMessage

NewUserMessageRepository 创建用户消息实现

func NewUserRepository

func NewUserRepository(data *data.Data, cacheRepo repository.Cache) repository.User

NewUserRepository 创建用户仓库

Types

type AlertLevelCount added in v1.1.0

type AlertLevelCount struct {
	LevelID uint32 `gorm:"column:level_id"`
	Count   int64  `gorm:"column:count"`
}

AlertLevelCount 告警等级统计

type InviteRepositoryImpl added in v1.0.2

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

InviteRepositoryImpl 团队邀请实现

func (*InviteRepositoryImpl) DeleteInvite added in v1.0.2

func (i *InviteRepositoryImpl) DeleteInvite(ctx context.Context, inviteID uint32) error

DeleteInvite 删除邀请

func (*InviteRepositoryImpl) GetInviteDetail added in v1.0.2

func (i *InviteRepositoryImpl) GetInviteDetail(ctx context.Context, inviteID uint32) (*model.SysTeamInvite, error)

GetInviteDetail 获取邀请详情

func (*InviteRepositoryImpl) GetInviteUserByUserIDAndType added in v1.1.37

func (i *InviteRepositoryImpl) GetInviteUserByUserIDAndType(ctx context.Context, params *bo.InviteUserParams) (*model.SysTeamInvite, error)

GetInviteUserByUserIDAndType 获取邀请用户

func (*InviteRepositoryImpl) InviteUser added in v1.0.2

func (i *InviteRepositoryImpl) InviteUser(ctx context.Context, params *bo.InviteUserParams) (teamInvite *model.SysTeamInvite, err error)

InviteUser 邀请用户

func (*InviteRepositoryImpl) UpdateInviteStatus added in v1.0.2

func (i *InviteRepositoryImpl) UpdateInviteStatus(ctx context.Context, params *bo.UpdateInviteStatusParams) error

UpdateInviteStatus 更新邀请状态

func (*InviteRepositoryImpl) UserInviteList added in v1.0.2

func (i *InviteRepositoryImpl) UserInviteList(ctx context.Context, params *bo.QueryInviteListParams) ([]*model.SysTeamInvite, error)

UserInviteList 用户邀请列表

Jump to

Keyboard shortcuts

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