drake

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobStatusNotifier

type JobStatusNotifier interface {
	SendInProgressNotification(config.Job) error
	SendSuccessNotification(config.Job) error
	SendCancelledNotification(config.Job) error
	SendTimedOutNotification(config.Job) error
	SendFailureNotification(config.Job) error
}

JobStatusNotifier is an interface to be implemented by components that can report job status back to the event provider.

type Trigger

type Trigger interface {
	Matches(brigade.Event) (bool, error)
	JobStatusNotifier(brigade.Project, brigade.Event) (JobStatusNotifier, error)
}

Trigger is the public interface for all triggers.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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