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
- func (t *TenantAlertManager) SendWorkflowRunAlertV1(tenantId string, failedRuns []*v1.WorkflowRunData) 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 ¶
func (t *TenantAlertManager) SendExpiringTokenAlert(tenantId string, token *dbsqlc.PollExpiringTokensRow) error
func (*TenantAlertManager) SendTenantResourceLimitAlert ¶
func (t *TenantAlertManager) SendTenantResourceLimitAlert(tenantId string, alert *dbsqlc.TenantResourceLimitAlert) error
func (*TenantAlertManager) SendWorkflowRunAlert ¶
func (t *TenantAlertManager) SendWorkflowRunAlert(tenantId string, prevLastAlertedAt time.Time) error
func (*TenantAlertManager) SendWorkflowRunAlertV1 ¶
func (t *TenantAlertManager) SendWorkflowRunAlertV1(tenantId string, failedRuns []*v1.WorkflowRunData) error
Click to show internal directories.
Click to hide internal directories.