Documentation ¶
Overview ¶
Package watch defines a Cloud Function for watching Cloud Build jobs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildEmail ¶
BuildEmail constructs an email message describing build per cfg. It is exported so it can be used by the test_email program.
func CreateBadge ¶
CreateBadge creates an SVG badge image for build and writes it to w.
func CreateReport ¶
CreateReport writes an HTML document with build's status and timing information to w.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config contains the Cloud Function's configuration data. It is exported so it can be used by the test_email program.
func FakeConfig ¶
FakeConfig returns a minimal Config for use by the test_email program.
Directories ¶
Path | Synopsis |
---|---|
Package main is a simple program for testing the rendering of badge images.
|
Package main is a simple program for testing the rendering of badge images. |
Package main is a simple program for testing the formatting of email messages.
|
Package main is a simple program for testing the formatting of email messages. |
Click to show internal directories.
Click to hide internal directories.