templaterenderer

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitBucketAccountIDToUsernameMappingCallbackType

type BitBucketAccountIDToUsernameMappingCallbackType func(string) string

type TemplateRenderer

type TemplateRenderer interface {
	RegisterBitBucketAccountIDToUsernameMappingCallback(callback BitBucketAccountIDToUsernameMappingCallbackType)
	RenderBranchOrTagCreatedEventNotificationForSubscribedChannels(pl webhookpayload.RepoPushPayload) (string, error)
	RenderBranchOrTagDeletedEventNotificationForSubscribedChannels(pl webhookpayload.RepoPushPayload) (string, error)
	RenderIssueCreatedEventNotificationForSubscribedChannels(pl webhookpayload.IssueCreatedPayload) (string, error)
	RenderIssueUpdatedEventNotificationForSubscribedChannels(pl webhookpayload.IssueUpdatedPayload) (string, error)
	RenderIssueAssignmentNotificationForAssignedUser(pl webhookpayload.IssueUpdatedPayload) (string, error)
	RenderIssueStatusUpdateNotificationForIssueReporter(pl webhookpayload.IssueUpdatedPayload) (string, error)
	RenderIssueDescriptionMentionNotification(pl webhookpayload.IssueCreatedPayload) (string, error)
	RenderIssueCommentCreatedEventNotificationForSubscribedChannels(pl webhookpayload.IssueCommentCreatedPayload) (string, error)
	RenderIssueCommentNotificationForIssueReporter(pl webhookpayload.IssueCommentCreatedPayload) (string, error)
	RenderIssueCommentMentionNotification(pl webhookpayload.IssueCommentCreatedPayload) (string, error)
	RenderPullRequestCreatedEventNotificationForSubscribedChannels(pl webhookpayload.PullRequestCreatedPayload) (string, error)
	RenderPullRequestDeclinedEventNotificationForSubscribedChannels(pl webhookpayload.PullRequestDeclinedPayload) (string, error)
	RenderPullRequestDeclinedNotificationForPullRequestAuthor(pl webhookpayload.PullRequestDeclinedPayload) (string, error)
	RenderPullRequestApprovedNotificationForPullRequestAuthor(pl webhookpayload.PullRequestApprovedPayload) (string, error)
	RenderPullRequestApprovedEventNotificationForSubscribedChannels(pl webhookpayload.PullRequestApprovedPayload) (string, error)
	RenderPullRequestAssignedNotification(pl webhookpayload.PullRequestUpdatedPayload) (string, error)
	RenderPullRequestCommentNotificationForPullRequestAuthor(pl webhookpayload.PullRequestCommentCreatedPayload) (string, error)
	RenderPullRequestCommentCreatedEventNotificationForSubscribedChannels(pl webhookpayload.PullRequestCommentCreatedPayload) (string, error)
	RenderPullRequestCommentMentionNotification(pl webhookpayload.PullRequestCommentCreatedPayload) (string, error)
	RenderPullRequestDescriptionMentionNotification(pl webhookpayload.PullRequestCreatedPayload) (string, error)
	RenderPullRequestMergedEventNotificationForPullRequestAuthor(pl webhookpayload.PullRequestMergedPayload) (string, error)
	RenderPullRequestMergedEventNotificationForSubscribedChannels(pl webhookpayload.PullRequestMergedPayload) (string, error)
	RenderPullRequestUnapprovedEventNotificationForSubscribedChannels(pl webhookpayload.PullRequestUnapprovedPayload) (string, error)
	RenderPullRequestUnapprovedNotificationForPullRequestAuthor(pl webhookpayload.PullRequestUnapprovedPayload) (string, error)
	RenderRepoPushEventNotificationForSubscribedChannels(pl webhookpayload.RepoPushPayload) (string, error)
}

func MakeTemplateRenderer

func MakeTemplateRenderer() TemplateRenderer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL