Documentation ¶
Index ¶
- type Alert
- type AlertFeedback
- type AlertLog
- type AlertMetric
- type AlertStatusSubscription
- type AllPendingMsgDestsParams
- type AllPendingMsgDestsRow
- type AuthBasicUser
- type AuthLinkAddAuthSubjectParams
- type AuthLinkAddReqParams
- type AuthLinkRequest
- type AuthLinkUseReqRow
- type AuthNonce
- type AuthSubject
- type AuthUserSession
- type CalSubAuthUserParams
- type CalSubRenderInfoRow
- type Config
- type ConfigLimit
- type CreateCalSubParams
- type DBTX
- type DeleteManyCalSubParams
- type EngineProcessingType
- type EngineProcessingVersion
- type EnumAlertLogEvent
- type EnumAlertLogSubjectType
- type EnumAlertSource
- type EnumAlertStatus
- type EnumHeartbeatState
- type EnumIntegrationKeysType
- type EnumLimitType
- type EnumNotifChannelType
- type EnumOutgoingMessagesStatus
- type EnumOutgoingMessagesType
- type EnumRotationType
- type EnumSwitchoverState
- type EnumThrottleType
- type EnumUserContactMethodType
- type EnumUserRole
- type EpStepOnCallUser
- type EscalationPolicy
- type EscalationPolicyAction
- type EscalationPolicyState
- type EscalationPolicyStep
- type FindManyCalSubByUserRow
- type FindOneCalSubForUpdateRow
- type FindOneCalSubRow
- type GorpMigration
- type HeartbeatMonitor
- type IntegrationKey
- type Keyring
- type Label
- type LockOneAlertServiceRow
- type NoticeUnackedAlertsByServiceRow
- type NotificationChannel
- type NotificationPolicyCycle
- type NullEngineProcessingType
- type NullEnumAlertLogEvent
- type NullEnumAlertLogSubjectType
- type NullEnumAlertSource
- type NullEnumAlertStatus
- type NullEnumHeartbeatState
- type NullEnumIntegrationKeysType
- type NullEnumLimitType
- type NullEnumNotifChannelType
- type NullEnumOutgoingMessagesStatus
- type NullEnumOutgoingMessagesType
- type NullEnumRotationType
- type NullEnumSwitchoverState
- type NullEnumThrottleType
- type NullEnumUserContactMethodType
- type NullEnumUserRole
- type OutgoingMessage
- type Queries
- func (q *Queries) AlertFeedback(ctx context.Context, dollar_1 []int32) ([]AlertFeedback, error)
- func (q *Queries) AlertHasEPState(ctx context.Context, alertID int64) (bool, error)
- func (q *Queries) AllPendingMsgDests(ctx context.Context, arg AllPendingMsgDestsParams) ([]AllPendingMsgDestsRow, error)
- func (q *Queries) AuthLinkAddAuthSubject(ctx context.Context, arg AuthLinkAddAuthSubjectParams) error
- func (q *Queries) AuthLinkAddReq(ctx context.Context, arg AuthLinkAddReqParams) error
- func (q *Queries) AuthLinkMetadata(ctx context.Context, id uuid.UUID) (json.RawMessage, error)
- func (q *Queries) AuthLinkUseReq(ctx context.Context, id uuid.UUID) (AuthLinkUseReqRow, error)
- func (q *Queries) CalSubAuthUser(ctx context.Context, arg CalSubAuthUserParams) (uuid.UUID, error)
- func (q *Queries) CalSubRenderInfo(ctx context.Context, id uuid.UUID) (CalSubRenderInfoRow, error)
- func (q *Queries) CreateCalSub(ctx context.Context, arg CreateCalSubParams) (time.Time, error)
- func (q *Queries) DeleteManyCalSub(ctx context.Context, arg DeleteManyCalSubParams) error
- func (q *Queries) FindManyCalSubByUser(ctx context.Context, userID uuid.UUID) ([]FindManyCalSubByUserRow, error)
- func (q *Queries) FindOneCalSub(ctx context.Context, id uuid.UUID) (FindOneCalSubRow, error)
- func (q *Queries) FindOneCalSubForUpdate(ctx context.Context, id uuid.UUID) (FindOneCalSubForUpdateRow, error)
- func (q *Queries) LockOneAlertService(ctx context.Context, id int64) (LockOneAlertServiceRow, error)
- func (q *Queries) NoticeUnackedAlertsByService(ctx context.Context, dollar_1 uuid.UUID) (NoticeUnackedAlertsByServiceRow, error)
- func (q *Queries) Now(ctx context.Context) (time.Time, error)
- func (q *Queries) RequestAlertEscalationByTime(ctx context.Context, arg RequestAlertEscalationByTimeParams) (bool, error)
- func (q *Queries) SetAlertFeedback(ctx context.Context, arg SetAlertFeedbackParams) error
- func (q *Queries) StatusMgrCMInfo(ctx context.Context, id uuid.UUID) (StatusMgrCMInfoRow, error)
- func (q *Queries) StatusMgrCleanupDisabledSubs(ctx context.Context) error
- func (q *Queries) StatusMgrDeleteSub(ctx context.Context, id int64) error
- func (q *Queries) StatusMgrLogEntry(ctx context.Context, arg StatusMgrLogEntryParams) (StatusMgrLogEntryRow, error)
- func (q *Queries) StatusMgrNextUpdate(ctx context.Context) (StatusMgrNextUpdateRow, error)
- func (q *Queries) StatusMgrSendChannelMsg(ctx context.Context, arg StatusMgrSendChannelMsgParams) error
- func (q *Queries) StatusMgrSendUserMsg(ctx context.Context, arg StatusMgrSendUserMsgParams) error
- func (q *Queries) StatusMgrUpdateCMForced(ctx context.Context) error
- func (q *Queries) StatusMgrUpdateSub(ctx context.Context, arg StatusMgrUpdateSubParams) error
- func (q *Queries) UpdateCalSub(ctx context.Context, arg UpdateCalSubParams) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type RegionID
- type RequestAlertEscalationByTimeParams
- type Rotation
- type RotationParticipant
- type RotationState
- type Schedule
- type ScheduleDatum
- type ScheduleOnCallUser
- type ScheduleRule
- type Service
- type SetAlertFeedbackParams
- type StatusMgrCMInfoRow
- type StatusMgrLogEntryParams
- type StatusMgrLogEntryRow
- type StatusMgrNextUpdateRow
- type StatusMgrSendChannelMsgParams
- type StatusMgrSendUserMsgParams
- type StatusMgrUpdateSubParams
- type SwitchoverLog
- type SwitchoverState
- type TwilioSmsCallback
- type TwilioSmsError
- type TwilioVoiceError
- type UpdateCalSubParams
- type User
- type UserCalendarSubscription
- type UserContactMethod
- type UserFavorite
- type UserNotificationRule
- type UserOverride
- type UserSlackDatum
- type UserVerificationCode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertFeedback ¶
type AlertLog ¶
type AlertLog struct { ID int64 AlertID sql.NullInt64 Timestamp sql.NullTime Event EnumAlertLogEvent Message string SubType NullEnumAlertLogSubjectType SubUserID uuid.NullUUID SubIntegrationKeyID uuid.NullUUID SubClassifier string Meta pqtype.NullRawMessage SubHbMonitorID uuid.NullUUID SubChannelID uuid.NullUUID }
type AlertMetric ¶
type AlertStatusSubscription ¶
type AllPendingMsgDestsRow ¶
type AllPendingMsgDestsRow struct { UserName sql.NullString CmType NullEnumUserContactMethodType NcName sql.NullString NcType NullEnumNotifChannelType }
type AuthBasicUser ¶
type AuthLinkAddReqParams ¶
type AuthLinkRequest ¶
type AuthLinkUseReqRow ¶
type AuthSubject ¶
type AuthUserSession ¶
type CalSubRenderInfoRow ¶
type ConfigLimit ¶
type ConfigLimit struct { ID EnumLimitType Max int32 }
type CreateCalSubParams ¶
type DeleteManyCalSubParams ¶
type EngineProcessingType ¶
type EngineProcessingType string
const ( EngineProcessingTypeEscalation EngineProcessingType = "escalation" EngineProcessingTypeHeartbeat EngineProcessingType = "heartbeat" EngineProcessingTypeNpCycle EngineProcessingType = "np_cycle" EngineProcessingTypeRotation EngineProcessingType = "rotation" EngineProcessingTypeSchedule EngineProcessingType = "schedule" EngineProcessingTypeStatusUpdate EngineProcessingType = "status_update" EngineProcessingTypeVerify EngineProcessingType = "verify" EngineProcessingTypeMessage EngineProcessingType = "message" EngineProcessingTypeCleanup EngineProcessingType = "cleanup" EngineProcessingTypeMetrics EngineProcessingType = "metrics" EngineProcessingTypeCompat EngineProcessingType = "compat" )
func (*EngineProcessingType) Scan ¶
func (e *EngineProcessingType) Scan(src interface{}) error
type EngineProcessingVersion ¶
type EngineProcessingVersion struct { TypeID EngineProcessingType Version int32 State json.RawMessage }
type EnumAlertLogEvent ¶
type EnumAlertLogEvent string
const ( EnumAlertLogEventCreated EnumAlertLogEvent = "created" EnumAlertLogEventReopened EnumAlertLogEvent = "reopened" EnumAlertLogEventStatusChanged EnumAlertLogEvent = "status_changed" EnumAlertLogEventAssignmentChanged EnumAlertLogEvent = "assignment_changed" EnumAlertLogEventEscalated EnumAlertLogEvent = "escalated" EnumAlertLogEventClosed EnumAlertLogEvent = "closed" EnumAlertLogEventNotificationSent EnumAlertLogEvent = "notification_sent" EnumAlertLogEventResponseReceived EnumAlertLogEvent = "response_received" EnumAlertLogEventAcknowledged EnumAlertLogEvent = "acknowledged" EnumAlertLogEventPolicyUpdated EnumAlertLogEvent = "policy_updated" EnumAlertLogEventDuplicateSuppressed EnumAlertLogEvent = "duplicate_suppressed" EnumAlertLogEventEscalationRequest EnumAlertLogEvent = "escalation_request" EnumAlertLogEventNoNotificationSent EnumAlertLogEvent = "no_notification_sent" )
func (*EnumAlertLogEvent) Scan ¶
func (e *EnumAlertLogEvent) Scan(src interface{}) error
type EnumAlertLogSubjectType ¶
type EnumAlertLogSubjectType string
const ( EnumAlertLogSubjectTypeUser EnumAlertLogSubjectType = "user" EnumAlertLogSubjectTypeIntegrationKey EnumAlertLogSubjectType = "integration_key" EnumAlertLogSubjectTypeHeartbeatMonitor EnumAlertLogSubjectType = "heartbeat_monitor" EnumAlertLogSubjectTypeChannel EnumAlertLogSubjectType = "channel" )
func (*EnumAlertLogSubjectType) Scan ¶
func (e *EnumAlertLogSubjectType) Scan(src interface{}) error
type EnumAlertSource ¶
type EnumAlertSource string
const ( EnumAlertSourceGrafana EnumAlertSource = "grafana" EnumAlertSourceManual EnumAlertSource = "manual" EnumAlertSourceGeneric EnumAlertSource = "generic" EnumAlertSourceEmail EnumAlertSource = "email" EnumAlertSourceSite24x7 EnumAlertSource = "site24x7" EnumAlertSourcePrometheusAlertmanager EnumAlertSource = "prometheusAlertmanager" )
func (*EnumAlertSource) Scan ¶
func (e *EnumAlertSource) Scan(src interface{}) error
type EnumAlertStatus ¶
type EnumAlertStatus string
const ( EnumAlertStatusTriggered EnumAlertStatus = "triggered" EnumAlertStatusActive EnumAlertStatus = "active" EnumAlertStatusClosed EnumAlertStatus = "closed" )
func (*EnumAlertStatus) Scan ¶
func (e *EnumAlertStatus) Scan(src interface{}) error
type EnumHeartbeatState ¶
type EnumHeartbeatState string
const ( EnumHeartbeatStateInactive EnumHeartbeatState = "inactive" EnumHeartbeatStateHealthy EnumHeartbeatState = "healthy" EnumHeartbeatStateUnhealthy EnumHeartbeatState = "unhealthy" )
func (*EnumHeartbeatState) Scan ¶
func (e *EnumHeartbeatState) Scan(src interface{}) error
type EnumIntegrationKeysType ¶
type EnumIntegrationKeysType string
const ( EnumIntegrationKeysTypeGrafana EnumIntegrationKeysType = "grafana" EnumIntegrationKeysTypeGeneric EnumIntegrationKeysType = "generic" EnumIntegrationKeysTypeEmail EnumIntegrationKeysType = "email" EnumIntegrationKeysTypeSite24x7 EnumIntegrationKeysType = "site24x7" EnumIntegrationKeysTypePrometheusAlertmanager EnumIntegrationKeysType = "prometheusAlertmanager" )
func (*EnumIntegrationKeysType) Scan ¶
func (e *EnumIntegrationKeysType) Scan(src interface{}) error
type EnumLimitType ¶
type EnumLimitType string
const ( EnumLimitTypeNotificationRulesPerUser EnumLimitType = "notification_rules_per_user" EnumLimitTypeContactMethodsPerUser EnumLimitType = "contact_methods_per_user" EnumLimitTypeEpStepsPerPolicy EnumLimitType = "ep_steps_per_policy" EnumLimitTypeEpActionsPerStep EnumLimitType = "ep_actions_per_step" EnumLimitTypeParticipantsPerRotation EnumLimitType = "participants_per_rotation" EnumLimitTypeRulesPerSchedule EnumLimitType = "rules_per_schedule" EnumLimitTypeIntegrationKeysPerService EnumLimitType = "integration_keys_per_service" EnumLimitTypeUnackedAlertsPerService EnumLimitType = "unacked_alerts_per_service" EnumLimitTypeTargetsPerSchedule EnumLimitType = "targets_per_schedule" EnumLimitTypeHeartbeatMonitorsPerService EnumLimitType = "heartbeat_monitors_per_service" EnumLimitTypeUserOverridesPerSchedule EnumLimitType = "user_overrides_per_schedule" EnumLimitTypeCalendarSubscriptionsPerUser EnumLimitType = "calendar_subscriptions_per_user" )
func (*EnumLimitType) Scan ¶
func (e *EnumLimitType) Scan(src interface{}) error
type EnumNotifChannelType ¶
type EnumNotifChannelType string
const ( EnumNotifChannelTypeSLACK EnumNotifChannelType = "SLACK" EnumNotifChannelTypeWEBHOOK EnumNotifChannelType = "WEBHOOK" EnumNotifChannelTypeSLACKUSERGROUP EnumNotifChannelType = "SLACK_USER_GROUP" )
func (*EnumNotifChannelType) Scan ¶
func (e *EnumNotifChannelType) Scan(src interface{}) error
type EnumOutgoingMessagesStatus ¶
type EnumOutgoingMessagesStatus string
const ( EnumOutgoingMessagesStatusPending EnumOutgoingMessagesStatus = "pending" EnumOutgoingMessagesStatusSending EnumOutgoingMessagesStatus = "sending" EnumOutgoingMessagesStatusQueuedRemotely EnumOutgoingMessagesStatus = "queued_remotely" EnumOutgoingMessagesStatusSent EnumOutgoingMessagesStatus = "sent" EnumOutgoingMessagesStatusDelivered EnumOutgoingMessagesStatus = "delivered" EnumOutgoingMessagesStatusFailed EnumOutgoingMessagesStatus = "failed" EnumOutgoingMessagesStatusBundled EnumOutgoingMessagesStatus = "bundled" )
func (*EnumOutgoingMessagesStatus) Scan ¶
func (e *EnumOutgoingMessagesStatus) Scan(src interface{}) error
type EnumOutgoingMessagesType ¶
type EnumOutgoingMessagesType string
const ( EnumOutgoingMessagesTypeAlertNotification EnumOutgoingMessagesType = "alert_notification" EnumOutgoingMessagesTypeVerificationMessage EnumOutgoingMessagesType = "verification_message" EnumOutgoingMessagesTypeTestNotification EnumOutgoingMessagesType = "test_notification" EnumOutgoingMessagesTypeAlertStatusUpdate EnumOutgoingMessagesType = "alert_status_update" EnumOutgoingMessagesTypeAlertNotificationBundle EnumOutgoingMessagesType = "alert_notification_bundle" EnumOutgoingMessagesTypeAlertStatusUpdateBundle EnumOutgoingMessagesType = "alert_status_update_bundle" EnumOutgoingMessagesTypeScheduleOnCallNotification EnumOutgoingMessagesType = "schedule_on_call_notification" )
func (*EnumOutgoingMessagesType) Scan ¶
func (e *EnumOutgoingMessagesType) Scan(src interface{}) error
type EnumRotationType ¶
type EnumRotationType string
const ( EnumRotationTypeWeekly EnumRotationType = "weekly" EnumRotationTypeDaily EnumRotationType = "daily" EnumRotationTypeHourly EnumRotationType = "hourly" )
func (*EnumRotationType) Scan ¶
func (e *EnumRotationType) Scan(src interface{}) error
type EnumSwitchoverState ¶
type EnumSwitchoverState string
const ( EnumSwitchoverStateIdle EnumSwitchoverState = "idle" EnumSwitchoverStateInProgress EnumSwitchoverState = "in_progress" EnumSwitchoverStateUseNextDb EnumSwitchoverState = "use_next_db" )
func (*EnumSwitchoverState) Scan ¶
func (e *EnumSwitchoverState) Scan(src interface{}) error
type EnumThrottleType ¶
type EnumThrottleType string
const ( EnumThrottleTypeNotifications EnumThrottleType = "notifications" EnumThrottleTypeNotifications2 EnumThrottleType = "notifications_2" )
func (*EnumThrottleType) Scan ¶
func (e *EnumThrottleType) Scan(src interface{}) error
type EnumUserContactMethodType ¶
type EnumUserContactMethodType string
const ( EnumUserContactMethodTypePUSH EnumUserContactMethodType = "PUSH" EnumUserContactMethodTypeEMAIL EnumUserContactMethodType = "EMAIL" EnumUserContactMethodTypeVOICE EnumUserContactMethodType = "VOICE" EnumUserContactMethodTypeSMS EnumUserContactMethodType = "SMS" EnumUserContactMethodTypeWEBHOOK EnumUserContactMethodType = "WEBHOOK" EnumUserContactMethodTypeSLACKDM EnumUserContactMethodType = "SLACK_DM" )
func (*EnumUserContactMethodType) Scan ¶
func (e *EnumUserContactMethodType) Scan(src interface{}) error
type EnumUserRole ¶
type EnumUserRole string
const ( EnumUserRoleUnknown EnumUserRole = "unknown" EnumUserRoleUser EnumUserRole = "user" EnumUserRoleAdmin EnumUserRole = "admin" )
func (*EnumUserRole) Scan ¶
func (e *EnumUserRole) Scan(src interface{}) error
type EpStepOnCallUser ¶
type EscalationPolicy ¶
type EscalationPolicyAction ¶
type EscalationPolicyState ¶
type EscalationPolicyStep ¶
type FindManyCalSubByUserRow ¶
type FindOneCalSubRow ¶
type GorpMigration ¶
type HeartbeatMonitor ¶
type IntegrationKey ¶
type LockOneAlertServiceRow ¶
type LockOneAlertServiceRow struct { IsMaintMode bool Status EnumAlertStatus }
type NotificationChannel ¶
type NotificationChannel struct { ID uuid.UUID CreatedAt time.Time Type EnumNotifChannelType Name string Value string Meta json.RawMessage }
type NotificationPolicyCycle ¶
type NullEngineProcessingType ¶
type NullEngineProcessingType struct { EngineProcessingType EngineProcessingType Valid bool // Valid is true if EngineProcessingType is not NULL }
func (*NullEngineProcessingType) Scan ¶
func (ns *NullEngineProcessingType) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullEnumAlertLogEvent ¶
type NullEnumAlertLogEvent struct { EnumAlertLogEvent EnumAlertLogEvent Valid bool // Valid is true if EnumAlertLogEvent is not NULL }
func (*NullEnumAlertLogEvent) Scan ¶
func (ns *NullEnumAlertLogEvent) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullEnumAlertLogSubjectType ¶
type NullEnumAlertLogSubjectType struct { EnumAlertLogSubjectType EnumAlertLogSubjectType Valid bool // Valid is true if EnumAlertLogSubjectType is not NULL }
func (*NullEnumAlertLogSubjectType) Scan ¶
func (ns *NullEnumAlertLogSubjectType) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullEnumAlertSource ¶
type NullEnumAlertSource struct { EnumAlertSource EnumAlertSource Valid bool // Valid is true if EnumAlertSource is not NULL }
func (*NullEnumAlertSource) Scan ¶
func (ns *NullEnumAlertSource) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullEnumAlertStatus ¶
type NullEnumAlertStatus struct { EnumAlertStatus EnumAlertStatus Valid bool // Valid is true if EnumAlertStatus is not NULL }
func (*NullEnumAlertStatus) Scan ¶
func (ns *NullEnumAlertStatus) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullEnumHeartbeatState ¶
type NullEnumHeartbeatState struct { EnumHeartbeatState EnumHeartbeatState Valid bool // Valid is true if EnumHeartbeatState is not NULL }
func (*NullEnumHeartbeatState) Scan ¶
func (ns *NullEnumHeartbeatState) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullEnumIntegrationKeysType ¶
type NullEnumIntegrationKeysType struct { EnumIntegrationKeysType EnumIntegrationKeysType Valid bool // Valid is true if EnumIntegrationKeysType is not NULL }
func (*NullEnumIntegrationKeysType) Scan ¶
func (ns *NullEnumIntegrationKeysType) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullEnumLimitType ¶
type NullEnumLimitType struct { EnumLimitType EnumLimitType Valid bool // Valid is true if EnumLimitType is not NULL }
func (*NullEnumLimitType) Scan ¶
func (ns *NullEnumLimitType) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullEnumNotifChannelType ¶
type NullEnumNotifChannelType struct { EnumNotifChannelType EnumNotifChannelType Valid bool // Valid is true if EnumNotifChannelType is not NULL }
func (*NullEnumNotifChannelType) Scan ¶
func (ns *NullEnumNotifChannelType) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullEnumOutgoingMessagesStatus ¶
type NullEnumOutgoingMessagesStatus struct { EnumOutgoingMessagesStatus EnumOutgoingMessagesStatus Valid bool // Valid is true if EnumOutgoingMessagesStatus is not NULL }
func (*NullEnumOutgoingMessagesStatus) Scan ¶
func (ns *NullEnumOutgoingMessagesStatus) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullEnumOutgoingMessagesType ¶
type NullEnumOutgoingMessagesType struct { EnumOutgoingMessagesType EnumOutgoingMessagesType Valid bool // Valid is true if EnumOutgoingMessagesType is not NULL }
func (*NullEnumOutgoingMessagesType) Scan ¶
func (ns *NullEnumOutgoingMessagesType) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullEnumRotationType ¶
type NullEnumRotationType struct { EnumRotationType EnumRotationType Valid bool // Valid is true if EnumRotationType is not NULL }
func (*NullEnumRotationType) Scan ¶
func (ns *NullEnumRotationType) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullEnumSwitchoverState ¶
type NullEnumSwitchoverState struct { EnumSwitchoverState EnumSwitchoverState Valid bool // Valid is true if EnumSwitchoverState is not NULL }
func (*NullEnumSwitchoverState) Scan ¶
func (ns *NullEnumSwitchoverState) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullEnumThrottleType ¶
type NullEnumThrottleType struct { EnumThrottleType EnumThrottleType Valid bool // Valid is true if EnumThrottleType is not NULL }
func (*NullEnumThrottleType) Scan ¶
func (ns *NullEnumThrottleType) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullEnumUserContactMethodType ¶
type NullEnumUserContactMethodType struct { EnumUserContactMethodType EnumUserContactMethodType Valid bool // Valid is true if EnumUserContactMethodType is not NULL }
func (*NullEnumUserContactMethodType) Scan ¶
func (ns *NullEnumUserContactMethodType) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullEnumUserRole ¶
type NullEnumUserRole struct { EnumUserRole EnumUserRole Valid bool // Valid is true if EnumUserRole is not NULL }
func (*NullEnumUserRole) Scan ¶
func (ns *NullEnumUserRole) Scan(value interface{}) error
Scan implements the Scanner interface.
type OutgoingMessage ¶
type OutgoingMessage struct { ID uuid.UUID MessageType EnumOutgoingMessagesType ContactMethodID uuid.NullUUID CreatedAt time.Time LastStatus EnumOutgoingMessagesStatus LastStatusAt sql.NullTime StatusDetails string FiredAt sql.NullTime SentAt sql.NullTime RetryCount int32 NextRetryAt sql.NullTime SendingDeadline sql.NullTime UserID uuid.NullUUID AlertID sql.NullInt64 CycleID uuid.NullUUID ServiceID uuid.NullUUID EscalationPolicyID uuid.NullUUID AlertLogID sql.NullInt64 UserVerificationCodeID uuid.NullUUID ProviderMsgID sql.NullString ProviderSeq int32 ChannelID uuid.NullUUID StatusAlertIds []int64 ScheduleID uuid.NullUUID SrcValue sql.NullString }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AlertFeedback ¶
func (*Queries) AlertHasEPState ¶
func (*Queries) AllPendingMsgDests ¶
func (q *Queries) AllPendingMsgDests(ctx context.Context, arg AllPendingMsgDestsParams) ([]AllPendingMsgDestsRow, error)
func (*Queries) AuthLinkAddAuthSubject ¶
func (q *Queries) AuthLinkAddAuthSubject(ctx context.Context, arg AuthLinkAddAuthSubjectParams) error
func (*Queries) AuthLinkAddReq ¶
func (q *Queries) AuthLinkAddReq(ctx context.Context, arg AuthLinkAddReqParams) error
func (*Queries) AuthLinkMetadata ¶
func (*Queries) AuthLinkUseReq ¶
func (*Queries) CalSubAuthUser ¶
func (*Queries) CalSubRenderInfo ¶
func (*Queries) CreateCalSub ¶
func (*Queries) DeleteManyCalSub ¶
func (q *Queries) DeleteManyCalSub(ctx context.Context, arg DeleteManyCalSubParams) error
func (*Queries) FindManyCalSubByUser ¶
func (*Queries) FindOneCalSub ¶
func (*Queries) FindOneCalSubForUpdate ¶
func (*Queries) LockOneAlertService ¶
func (*Queries) NoticeUnackedAlertsByService ¶
func (*Queries) RequestAlertEscalationByTime ¶
func (*Queries) SetAlertFeedback ¶
func (q *Queries) SetAlertFeedback(ctx context.Context, arg SetAlertFeedbackParams) error
func (*Queries) StatusMgrCMInfo ¶
func (*Queries) StatusMgrCleanupDisabledSubs ¶
func (*Queries) StatusMgrDeleteSub ¶
func (*Queries) StatusMgrLogEntry ¶
func (q *Queries) StatusMgrLogEntry(ctx context.Context, arg StatusMgrLogEntryParams) (StatusMgrLogEntryRow, error)
func (*Queries) StatusMgrNextUpdate ¶
func (q *Queries) StatusMgrNextUpdate(ctx context.Context) (StatusMgrNextUpdateRow, error)
func (*Queries) StatusMgrSendChannelMsg ¶
func (q *Queries) StatusMgrSendChannelMsg(ctx context.Context, arg StatusMgrSendChannelMsgParams) error
func (*Queries) StatusMgrSendUserMsg ¶
func (q *Queries) StatusMgrSendUserMsg(ctx context.Context, arg StatusMgrSendUserMsgParams) error
func (*Queries) StatusMgrUpdateCMForced ¶
func (*Queries) StatusMgrUpdateSub ¶
func (q *Queries) StatusMgrUpdateSub(ctx context.Context, arg StatusMgrUpdateSubParams) error
func (*Queries) UpdateCalSub ¶
func (q *Queries) UpdateCalSub(ctx context.Context, arg UpdateCalSubParams) error
type RotationParticipant ¶
type RotationState ¶
type ScheduleDatum ¶
type ScheduleOnCallUser ¶
type ScheduleRule ¶
type SetAlertFeedbackParams ¶
type StatusMgrCMInfoRow ¶
type StatusMgrCMInfoRow struct { UserID uuid.UUID Type EnumUserContactMethodType }
type StatusMgrLogEntryParams ¶
type StatusMgrLogEntryParams struct { AlertID int64 EventType EnumAlertLogEvent }
type StatusMgrLogEntryRow ¶
type StatusMgrNextUpdateRow ¶
type StatusMgrUpdateSubParams ¶
type StatusMgrUpdateSubParams struct { ID int64 LastAlertStatus EnumAlertStatus }
type SwitchoverLog ¶
type SwitchoverLog struct { ID int64 Timestamp time.Time Data json.RawMessage }
type SwitchoverState ¶
type SwitchoverState struct { Ok bool CurrentState EnumSwitchoverState DbID uuid.UUID }
type TwilioSmsCallback ¶
type TwilioSmsError ¶
type TwilioVoiceError ¶
type UpdateCalSubParams ¶
type UserContactMethod ¶
type UserFavorite ¶
type UserNotificationRule ¶
type UserOverride ¶
type UserSlackDatum ¶
Click to show internal directories.
Click to hide internal directories.