Documentation ¶
Index ¶
- func NewContext()
- func NotifyCreateIssueComment(doer *models.User, repo *models.Repository, issue *models.Issue, ...)
- func NotifyCreateRef(pusher *models.User, repo *models.Repository, refType, refFullName string)
- func NotifyCreateRepository(doer *models.User, u *models.User, repo *models.Repository)
- func NotifyDeleteComment(doer *models.User, c *models.Comment)
- func NotifyDeleteRef(pusher *models.User, repo *models.Repository, refType, refFullName string)
- func NotifyDeleteRelease(doer *models.User, rel *models.Release)
- func NotifyDeleteRepository(doer *models.User, repo *models.Repository)
- func NotifyForkRepository(doer *models.User, oldRepo, repo *models.Repository)
- func NotifyIssueChangeAssignee(doer *models.User, issue *models.Issue, assignee *models.User, removed bool, ...)
- func NotifyIssueChangeContent(doer *models.User, issue *models.Issue, oldContent string)
- func NotifyIssueChangeLabels(doer *models.User, issue *models.Issue, addedLabels []*models.Label, ...)
- func NotifyIssueChangeMilestone(doer *models.User, issue *models.Issue, oldMilestoneID int64)
- func NotifyIssueChangeStatus(doer *models.User, issue *models.Issue, actionComment *models.Comment, ...)
- func NotifyIssueChangeTitle(doer *models.User, issue *models.Issue, oldTitle string)
- func NotifyIssueClearLabels(doer *models.User, issue *models.Issue)
- func NotifyMergePullRequest(pr *models.PullRequest, doer *models.User, baseGitRepo *git.Repository)
- func NotifyMigrateRepository(doer *models.User, u *models.User, repo *models.Repository)
- func NotifyNewIssue(issue *models.Issue)
- func NotifyNewPullRequest(pr *models.PullRequest)
- func NotifyNewRelease(rel *models.Release)
- func NotifyPullRequestChangeTargetBranch(doer *models.User, pr *models.PullRequest, oldBranch string)
- func NotifyPullRequestReview(pr *models.PullRequest, review *models.Review, comment *models.Comment)
- func NotifyPullRequestSynchronized(doer *models.User, pr *models.PullRequest)
- func NotifyPushCommits(pusher *models.User, repo *models.Repository, ...)
- func NotifyRenameRepository(doer *models.User, repo *models.Repository, oldName string)
- func NotifySyncCreateRef(pusher *models.User, repo *models.Repository, refType, refFullName string)
- func NotifySyncDeleteRef(pusher *models.User, repo *models.Repository, refType, refFullName string)
- func NotifySyncPushCommits(pusher *models.User, repo *models.Repository, ...)
- func NotifyTransferRepository(doer *models.User, repo *models.Repository, newOwnerName string)
- func NotifyUpdateComment(doer *models.User, c *models.Comment, oldContent string)
- func NotifyUpdateRelease(doer *models.User, rel *models.Release)
- func RegisterNotifier(notifier base.Notifier)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NotifyCreateIssueComment ¶ added in v1.7.0
func NotifyCreateIssueComment(doer *models.User, repo *models.Repository, issue *models.Issue, comment *models.Comment)
NotifyCreateIssueComment notifies issue comment related message to notifiers
func NotifyCreateRef ¶ added in v1.11.0
func NotifyCreateRef(pusher *models.User, repo *models.Repository, refType, refFullName string)
NotifyCreateRef notifies branch or tag creation to notifiers
func NotifyCreateRepository ¶ added in v1.7.0
NotifyCreateRepository notifies create repository to notifiers
func NotifyDeleteComment ¶ added in v1.7.0
NotifyDeleteComment notifies delete comment to notifiers
func NotifyDeleteRef ¶ added in v1.11.0
func NotifyDeleteRef(pusher *models.User, repo *models.Repository, refType, refFullName string)
NotifyDeleteRef notifies branch or tag deletion to notifiers
func NotifyDeleteRelease ¶ added in v1.7.0
NotifyDeleteRelease notifies delete release to notifiers
func NotifyDeleteRepository ¶ added in v1.7.0
func NotifyDeleteRepository(doer *models.User, repo *models.Repository)
NotifyDeleteRepository notifies delete repository to notifiers
func NotifyForkRepository ¶ added in v1.7.0
func NotifyForkRepository(doer *models.User, oldRepo, repo *models.Repository)
NotifyForkRepository notifies fork repository to notifiers
func NotifyIssueChangeAssignee ¶ added in v1.7.0
func NotifyIssueChangeAssignee(doer *models.User, issue *models.Issue, assignee *models.User, removed bool, comment *models.Comment)
NotifyIssueChangeAssignee notifies change content to notifiers
func NotifyIssueChangeContent ¶ added in v1.7.0
NotifyIssueChangeContent notifies change content to notifiers
func NotifyIssueChangeLabels ¶ added in v1.7.0
func NotifyIssueChangeLabels(doer *models.User, issue *models.Issue, addedLabels []*models.Label, removedLabels []*models.Label)
NotifyIssueChangeLabels notifies change labels to notifiers
func NotifyIssueChangeMilestone ¶ added in v1.7.0
NotifyIssueChangeMilestone notifies change milestone to notifiers
func NotifyIssueChangeStatus ¶ added in v1.7.0
func NotifyIssueChangeStatus(doer *models.User, issue *models.Issue, actionComment *models.Comment, closeOrReopen bool)
NotifyIssueChangeStatus notifies close or reopen issue to notifiers
func NotifyIssueChangeTitle ¶ added in v1.7.0
NotifyIssueChangeTitle notifies change title to notifiers
func NotifyIssueClearLabels ¶ added in v1.7.0
NotifyIssueClearLabels notifies clear labels to notifiers
func NotifyMergePullRequest ¶ added in v1.7.0
func NotifyMergePullRequest(pr *models.PullRequest, doer *models.User, baseGitRepo *git.Repository)
NotifyMergePullRequest notifies merge pull request to notifiers
func NotifyMigrateRepository ¶ added in v1.7.0
NotifyMigrateRepository notifies create repository to notifiers
func NotifyNewIssue ¶ added in v1.7.0
NotifyNewIssue notifies new issue to notifiers
func NotifyNewPullRequest ¶ added in v1.7.0
func NotifyNewPullRequest(pr *models.PullRequest)
NotifyNewPullRequest notifies new pull request to notifiers
func NotifyNewRelease ¶ added in v1.7.0
NotifyNewRelease notifies new release to notifiers
func NotifyPullRequestChangeTargetBranch ¶ added in v1.11.0
func NotifyPullRequestChangeTargetBranch(doer *models.User, pr *models.PullRequest, oldBranch string)
NotifyPullRequestChangeTargetBranch notifies when a pull request's target branch was changed
func NotifyPullRequestReview ¶ added in v1.7.0
func NotifyPullRequestReview(pr *models.PullRequest, review *models.Review, comment *models.Comment)
NotifyPullRequestReview notifies new pull request review
func NotifyPullRequestSynchronized ¶ added in v1.11.0
func NotifyPullRequestSynchronized(doer *models.User, pr *models.PullRequest)
NotifyPullRequestSynchronized notifies Synchronized pull request
func NotifyPushCommits ¶ added in v1.11.0
func NotifyPushCommits(pusher *models.User, repo *models.Repository, refName, oldCommitID, newCommitID string, commits *models.PushCommits)
NotifyPushCommits notifies commits pushed to notifiers
func NotifyRenameRepository ¶ added in v1.11.0
func NotifyRenameRepository(doer *models.User, repo *models.Repository, oldName string)
NotifyRenameRepository notifies repository renamed
func NotifySyncCreateRef ¶ added in v1.11.0
func NotifySyncCreateRef(pusher *models.User, repo *models.Repository, refType, refFullName string)
NotifySyncCreateRef notifies branch or tag creation to notifiers
func NotifySyncDeleteRef ¶ added in v1.11.0
func NotifySyncDeleteRef(pusher *models.User, repo *models.Repository, refType, refFullName string)
NotifySyncDeleteRef notifies branch or tag deletion to notifiers
func NotifySyncPushCommits ¶ added in v1.11.0
func NotifySyncPushCommits(pusher *models.User, repo *models.Repository, refName, oldCommitID, newCommitID string, commits *models.PushCommits)
NotifySyncPushCommits notifies commits pushed to notifiers
func NotifyTransferRepository ¶ added in v1.11.0
func NotifyTransferRepository(doer *models.User, repo *models.Repository, newOwnerName string)
NotifyTransferRepository notifies create repository to notifiers
func NotifyUpdateComment ¶ added in v1.7.0
NotifyUpdateComment notifies update comment to notifiers
func NotifyUpdateRelease ¶ added in v1.7.0
NotifyUpdateRelease notifies update release to notifiers
func RegisterNotifier ¶ added in v1.7.0
RegisterNotifier providers method to receive notify messages
Types ¶
This section is empty.