Documentation ¶
Index ¶
- func NewContext()
- func NotifyCreateIssueComment(doer *user_model.User, repo *repo_model.Repository, issue *models.Issue, ...)
- func NotifyCreateRef(pusher *user_model.User, repo *repo_model.Repository, ...)
- func NotifyCreateRepository(doer, u *user_model.User, repo *repo_model.Repository)
- func NotifyDeleteComment(doer *user_model.User, c *models.Comment)
- func NotifyDeleteRef(pusher *user_model.User, repo *repo_model.Repository, ...)
- func NotifyDeleteRelease(doer *user_model.User, rel *models.Release)
- func NotifyDeleteRepository(doer *user_model.User, repo *repo_model.Repository)
- func NotifyForkRepository(doer *user_model.User, oldRepo, repo *repo_model.Repository)
- func NotifyIssueChangeAssignee(doer *user_model.User, issue *models.Issue, assignee *user_model.User, ...)
- func NotifyIssueChangeContent(doer *user_model.User, issue *models.Issue, oldContent string)
- func NotifyIssueChangeLabels(doer *user_model.User, issue *models.Issue, addedLabels []*models.Label, ...)
- func NotifyIssueChangeMilestone(doer *user_model.User, issue *models.Issue, oldMilestoneID int64)
- func NotifyIssueChangeRef(doer *user_model.User, issue *models.Issue, oldRef string)
- func NotifyIssueChangeStatus(doer *user_model.User, issue *models.Issue, actionComment *models.Comment, ...)
- func NotifyIssueChangeTitle(doer *user_model.User, issue *models.Issue, oldTitle string)
- func NotifyIssueClearLabels(doer *user_model.User, issue *models.Issue)
- func NotifyMergePullRequest(pr *models.PullRequest, doer *user_model.User)
- func NotifyMigrateRepository(doer, u *user_model.User, repo *repo_model.Repository)
- func NotifyNewIssue(issue *models.Issue, mentions []*user_model.User)
- func NotifyNewPullRequest(pr *models.PullRequest, mentions []*user_model.User)
- func NotifyNewRelease(rel *models.Release)
- func NotifyPullRequestChangeTargetBranch(doer *user_model.User, pr *models.PullRequest, oldBranch string)
- func NotifyPullRequestCodeComment(pr *models.PullRequest, comment *models.Comment, mentions []*user_model.User)
- func NotifyPullRequestPushCommits(doer *user_model.User, pr *models.PullRequest, comment *models.Comment)
- func NotifyPullRequestReview(pr *models.PullRequest, review *models.Review, comment *models.Comment, ...)
- func NotifyPullRequestSynchronized(doer *user_model.User, pr *models.PullRequest)
- func NotifyPullReviewRequest(doer *user_model.User, issue *models.Issue, reviewer *user_model.User, ...)
- func NotifyPullRevieweDismiss(doer *user_model.User, review *models.Review, comment *models.Comment)
- func NotifyPushCommits(pusher *user_model.User, repo *repo_model.Repository, ...)
- func NotifyRenameRepository(doer *user_model.User, repo *repo_model.Repository, oldName string)
- func NotifyRepoPendingTransfer(doer, newOwner *user_model.User, repo *repo_model.Repository)
- func NotifySyncCreateRef(pusher *user_model.User, repo *repo_model.Repository, ...)
- func NotifySyncDeleteRef(pusher *user_model.User, repo *repo_model.Repository, ...)
- func NotifySyncPushCommits(pusher *user_model.User, repo *repo_model.Repository, ...)
- func NotifyTransferRepository(doer *user_model.User, repo *repo_model.Repository, newOwnerName string)
- func NotifyUpdateComment(doer *user_model.User, c *models.Comment, oldContent string)
- func NotifyUpdateRelease(doer *user_model.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 *user_model.User, repo *repo_model.Repository, issue *models.Issue, comment *models.Comment, mentions []*user_model.User)
NotifyCreateIssueComment notifies issue comment related message to notifiers
func NotifyCreateRef ¶ added in v1.11.0
func NotifyCreateRef(pusher *user_model.User, repo *repo_model.Repository, refType, refFullName string)
NotifyCreateRef notifies branch or tag creation to notifiers
func NotifyCreateRepository ¶ added in v1.7.0
func NotifyCreateRepository(doer, u *user_model.User, repo *repo_model.Repository)
NotifyCreateRepository notifies create repository to notifiers
func NotifyDeleteComment ¶ added in v1.7.0
func NotifyDeleteComment(doer *user_model.User, c *models.Comment)
NotifyDeleteComment notifies delete comment to notifiers
func NotifyDeleteRef ¶ added in v1.11.0
func NotifyDeleteRef(pusher *user_model.User, repo *repo_model.Repository, refType, refFullName string)
NotifyDeleteRef notifies branch or tag deletion to notifiers
func NotifyDeleteRelease ¶ added in v1.7.0
func NotifyDeleteRelease(doer *user_model.User, rel *models.Release)
NotifyDeleteRelease notifies delete release to notifiers
func NotifyDeleteRepository ¶ added in v1.7.0
func NotifyDeleteRepository(doer *user_model.User, repo *repo_model.Repository)
NotifyDeleteRepository notifies delete repository to notifiers
func NotifyForkRepository ¶ added in v1.7.0
func NotifyForkRepository(doer *user_model.User, oldRepo, repo *repo_model.Repository)
NotifyForkRepository notifies fork repository to notifiers
func NotifyIssueChangeAssignee ¶ added in v1.7.0
func NotifyIssueChangeAssignee(doer *user_model.User, issue *models.Issue, assignee *user_model.User, removed bool, comment *models.Comment)
NotifyIssueChangeAssignee notifies change content to notifiers
func NotifyIssueChangeContent ¶ added in v1.7.0
func NotifyIssueChangeContent(doer *user_model.User, issue *models.Issue, oldContent string)
NotifyIssueChangeContent notifies change content to notifiers
func NotifyIssueChangeLabels ¶ added in v1.7.0
func NotifyIssueChangeLabels(doer *user_model.User, issue *models.Issue, addedLabels []*models.Label, removedLabels []*models.Label)
NotifyIssueChangeLabels notifies change labels to notifiers
func NotifyIssueChangeMilestone ¶ added in v1.7.0
func NotifyIssueChangeMilestone(doer *user_model.User, issue *models.Issue, oldMilestoneID int64)
NotifyIssueChangeMilestone notifies change milestone to notifiers
func NotifyIssueChangeRef ¶ added in v1.13.0
func NotifyIssueChangeRef(doer *user_model.User, issue *models.Issue, oldRef string)
NotifyIssueChangeRef notifies change reference to notifiers
func NotifyIssueChangeStatus ¶ added in v1.7.0
func NotifyIssueChangeStatus(doer *user_model.User, issue *models.Issue, actionComment *models.Comment, closeOrReopen bool)
NotifyIssueChangeStatus notifies close or reopen issue to notifiers
func NotifyIssueChangeTitle ¶ added in v1.7.0
func NotifyIssueChangeTitle(doer *user_model.User, issue *models.Issue, oldTitle string)
NotifyIssueChangeTitle notifies change title to notifiers
func NotifyIssueClearLabels ¶ added in v1.7.0
func NotifyIssueClearLabels(doer *user_model.User, issue *models.Issue)
NotifyIssueClearLabels notifies clear labels to notifiers
func NotifyMergePullRequest ¶ added in v1.7.0
func NotifyMergePullRequest(pr *models.PullRequest, doer *user_model.User)
NotifyMergePullRequest notifies merge pull request to notifiers
func NotifyMigrateRepository ¶ added in v1.7.0
func NotifyMigrateRepository(doer, u *user_model.User, repo *repo_model.Repository)
NotifyMigrateRepository notifies create repository to notifiers
func NotifyNewIssue ¶ added in v1.7.0
func NotifyNewIssue(issue *models.Issue, mentions []*user_model.User)
NotifyNewIssue notifies new issue to notifiers
func NotifyNewPullRequest ¶ added in v1.7.0
func NotifyNewPullRequest(pr *models.PullRequest, mentions []*user_model.User)
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 *user_model.User, pr *models.PullRequest, oldBranch string)
NotifyPullRequestChangeTargetBranch notifies when a pull request's target branch was changed
func NotifyPullRequestCodeComment ¶ added in v1.13.2
func NotifyPullRequestCodeComment(pr *models.PullRequest, comment *models.Comment, mentions []*user_model.User)
NotifyPullRequestCodeComment notifies new pull request code comment
func NotifyPullRequestPushCommits ¶ added in v1.13.0
func NotifyPullRequestPushCommits(doer *user_model.User, pr *models.PullRequest, comment *models.Comment)
NotifyPullRequestPushCommits notifies when push commits to pull request's head branch
func NotifyPullRequestReview ¶ added in v1.7.0
func NotifyPullRequestReview(pr *models.PullRequest, review *models.Review, comment *models.Comment, mentions []*user_model.User)
NotifyPullRequestReview notifies new pull request review
func NotifyPullRequestSynchronized ¶ added in v1.11.0
func NotifyPullRequestSynchronized(doer *user_model.User, pr *models.PullRequest)
NotifyPullRequestSynchronized notifies Synchronized pull request
func NotifyPullReviewRequest ¶ added in v1.12.0
func NotifyPullReviewRequest(doer *user_model.User, issue *models.Issue, reviewer *user_model.User, isRequest bool, comment *models.Comment)
NotifyPullReviewRequest notifies Request Review change
func NotifyPullRevieweDismiss ¶ added in v1.14.0
func NotifyPullRevieweDismiss(doer *user_model.User, review *models.Review, comment *models.Comment)
NotifyPullRevieweDismiss notifies when a review was dismissed by repo admin
func NotifyPushCommits ¶ added in v1.11.0
func NotifyPushCommits(pusher *user_model.User, repo *repo_model.Repository, opts *repository.PushUpdateOptions, commits *repository.PushCommits)
NotifyPushCommits notifies commits pushed to notifiers
func NotifyRenameRepository ¶ added in v1.11.0
func NotifyRenameRepository(doer *user_model.User, repo *repo_model.Repository, oldName string)
NotifyRenameRepository notifies repository renamed
func NotifyRepoPendingTransfer ¶ added in v1.14.0
func NotifyRepoPendingTransfer(doer, newOwner *user_model.User, repo *repo_model.Repository)
NotifyRepoPendingTransfer notifies creation of pending transfer to notifiers
func NotifySyncCreateRef ¶ added in v1.11.0
func NotifySyncCreateRef(pusher *user_model.User, repo *repo_model.Repository, refType, refFullName string)
NotifySyncCreateRef notifies branch or tag creation to notifiers
func NotifySyncDeleteRef ¶ added in v1.11.0
func NotifySyncDeleteRef(pusher *user_model.User, repo *repo_model.Repository, refType, refFullName string)
NotifySyncDeleteRef notifies branch or tag deletion to notifiers
func NotifySyncPushCommits ¶ added in v1.11.0
func NotifySyncPushCommits(pusher *user_model.User, repo *repo_model.Repository, opts *repository.PushUpdateOptions, commits *repository.PushCommits)
NotifySyncPushCommits notifies commits pushed to notifiers
func NotifyTransferRepository ¶ added in v1.11.0
func NotifyTransferRepository(doer *user_model.User, repo *repo_model.Repository, newOwnerName string)
NotifyTransferRepository notifies create repository to notifiers
func NotifyUpdateComment ¶ added in v1.7.0
func NotifyUpdateComment(doer *user_model.User, c *models.Comment, oldContent string)
NotifyUpdateComment notifies update comment to notifiers
func NotifyUpdateRelease ¶ added in v1.7.0
func NotifyUpdateRelease(doer *user_model.User, rel *models.Release)
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.