Documentation ¶
Index ¶
- type TenantAlertManager
- func (t *TenantAlertManager) HandleAlert(tenantId string) error
- func (t *TenantAlertManager) SendExpiringTokenAlert(tenantId string, token *dbsqlc.PollExpiringTokensRow) error
- func (t *TenantAlertManager) SendTenantResourceLimitAlert(tenantId string, alert *dbsqlc.TenantResourceLimitAlert) error
- func (t *TenantAlertManager) SendWorkflowRunAlert(tenantId string, prevLastAlertedAt time.Time) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TenantAlertManager ¶
type TenantAlertManager struct {
// contains filtered or unexported fields
}
func New ¶
func New(repo repository.EngineRepository, e encryption.EncryptionService, serverURL string, email email.EmailService) *TenantAlertManager
func (*TenantAlertManager) HandleAlert ¶
func (t *TenantAlertManager) HandleAlert(tenantId string) error
func (*TenantAlertManager) SendExpiringTokenAlert ¶ added in v0.30.0
func (t *TenantAlertManager) SendExpiringTokenAlert(tenantId string, token *dbsqlc.PollExpiringTokensRow) error
func (*TenantAlertManager) SendTenantResourceLimitAlert ¶ added in v0.31.0
func (t *TenantAlertManager) SendTenantResourceLimitAlert(tenantId string, alert *dbsqlc.TenantResourceLimitAlert) error
func (*TenantAlertManager) SendWorkflowRunAlert ¶ added in v0.30.0
func (t *TenantAlertManager) SendWorkflowRunAlert(tenantId string, prevLastAlertedAt time.Time) error
Click to show internal directories.
Click to hide internal directories.