Documentation
¶
Index ¶
Constants ¶
View Source
const ( // org notifications NotificationsTypeOrgCreated Type = "org_created" NotificationsTypeOrgInvite Type = "org_invite" NotificationsTypeOrgInviteAccepted Type = "org_invite_accepted" // app notifications NotificationsTypeAppCreated = "app_created" NotificationsTypeFirstAppSync = "first_app_sync" NotificationsTypeAppSyncError = "app_sync_error" // compponent notifications NotificationsTypeComponentBuildFailed = "component_build_failed" // install notifications NotificationsTypeFirstInstallCreated = "first_install_created" NotificationsTypeInstallCreated = "install_created" // install deployment notifications NotificationsTypeDeployFailed = "deploy_failed" // release notifications NotificationsTypeReleaseSucceeded = "release_succeeded" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notifications ¶
type Notifications struct {
Loops loops.Client `validate:"required"`
Cfg *internal.Config `validate:"required"`
L *zap.Logger `validate:"required"`
MetricsWriter metrics.Writer `validate:"required"`
}
Click to show internal directories.
Click to hide internal directories.