Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildWhitelist ¶
func BuildWhitelist(regexs ...string) *whitelist
Types ¶
type Notification ¶
type Notification struct { Owner string Repository string Private bool Branch string SHA string Path string LineNumber int }
func (Notification) FullName ¶
func (n Notification) FullName() string
func (Notification) ShortSHA ¶
func (n Notification) ShortSHA() string
type Notifier ¶
type Notifier interface { SendNotification(lager.Logger, Notification) error SendBatchNotification(lager.Logger, []Notification) error }
func NewNullNotifier ¶
func NewNullNotifier() Notifier
func NewSlackNotifier ¶
type SlackAttachment ¶
type SlackMessage ¶
type SlackMessage struct {
Attachments []SlackAttachment `json:"attachments"`
}
type SlackNotificationFormatter ¶
type SlackNotificationFormatter interface {
FormatNotifications(batch []Notification) []SlackMessage
}
func NewSlackNotificationFormatter ¶
func NewSlackNotificationFormatter() SlackNotificationFormatter
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter This file was generated by counterfeiter
|
This file was generated by counterfeiter This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.