Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { // Global settings Host string // User that owns the repository User *model.User // Repository being built. Repo *model.Repo // Commit being built Commit *model.Commit }
Context represents the context of an in-progress build request.
type Email ¶
type Hipchat ¶
type Notification ¶
type Notification struct { Email *Email `yaml:"email,omitempty"` Webhook *Webhook `yaml:"webhook,omitempty"` Hipchat *Hipchat `yaml:"hipchat,omitempty"` }
Notification stores the configuration details for notifying a user, or group of users, when their Build has completed.
func (*Notification) Send ¶
func (n *Notification) Send(context *Context) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.