repoimpl

package
v1.1.34 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 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

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

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 creates a new UserMessageRepository instance.

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

type InviteRepositoryImpl added in v1.0.2

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

func (*InviteRepositoryImpl) DeleteInvite added in v1.0.2

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

func (*InviteRepositoryImpl) GetInviteDetail added in v1.0.2

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

func (*InviteRepositoryImpl) GetInviteUserByUserIdAndType added in v1.0.2

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

func (*InviteRepositoryImpl) InviteUser added in v1.0.2

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

func (*InviteRepositoryImpl) UpdateInviteStatus added in v1.0.2

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

func (*InviteRepositoryImpl) UserInviteList added in v1.0.2

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

Jump to

Keyboard shortcuts

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