notification

package
v0.0.0-...-a32039b Latest Latest
Warning

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

Go to latest
Published: May 22, 2016 License: MIT Imports: 12 Imported by: 1

Documentation

Overview

Package notification handles all notifications for a job. This includes build and deployment notifications.

Package notification handles all notifications for a job. This includes build and deployment notifications.

Package notification handles all notifications for a job. This includes build and deployment notifications.

Package notification handles all notifications for a job. This includes build and deployment notifications.

Package notification handles all notifications for a job. This includes build and deployment notifications.

Index

Constants

View Source
const (
	EventTest        = "test"
	EventBuild       = "build"
	EventDeployStart = "deploy-start"
	EventDeployEnd   = "deploy-end"
)

Supported events

View Source
const (
	TypeHTML = "html"
	TypeText = "text"
)

Event notification formats

Variables

This section is empty.

Functions

func Notify

func Notify(job *database.Job, event string)

Notify sends all relevant notifications for a job that are configured for the jobs repository.

Types

This section is empty.

Jump to

Keyboard shortcuts

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