Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
Jenkins v1alpha2.Jenkins
ConfigurationType string
LogLevel v1alpha2.NotificationLogLevel
Message string
MessageVerbose string
}
Event contains event details which will be sent as a notification
type LoggingLevel ¶
type LoggingLevel string
LoggingLevel is type for selecting different logging levels
type MailGun ¶
type MailGun struct {
// contains filtered or unexported fields
}
MailGun is a sending emails notification service
type Slack ¶
type Slack struct {
// contains filtered or unexported fields
}
Slack is a Slack notification service
type SlackAttachment ¶
type SlackAttachment struct {
Fallback string `json:"fallback"`
Color StatusColor `json:"color"`
Pretext string `json:"pretext"`
Title string `json:"title"`
Text string `json:"text"`
Fields []SlackField `json:"fields"`
}
SlackAttachment is representation of json attachment
type SlackField ¶
type SlackField struct {
Title string `json:"title"`
Value string `json:"value"`
Short bool `json:"short"`
}
SlackField is representation of json field.
type SlackMessage ¶
type SlackMessage struct {
Text string `json:"text"`
Attachments []SlackAttachment `json:"attachments"`
}
SlackMessage is representation of json message
type Teams ¶
type Teams struct {
// contains filtered or unexported fields
}
Teams is a Microsoft MicrosoftTeams notification service
type TeamsMessage ¶
type TeamsMessage struct {
Type string `json:"@type"`
Context string `json:"@context"`
ThemeColor StatusColor `json:"themeColor"`
Title string `json:"title"`
Sections []TeamsSection `json:"sections"`
}
TeamsMessage is representation of json message structure
type TeamsSection ¶
TeamsSection is MS Teams message section
Click to show internal directories.
Click to hide internal directories.