buildbucket

package
v0.0.0-...-678bb0e Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2017 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// StatusScheduled means a build is pending.
	StatusScheduled = "SCHEDULED"
	// StatusStarted means a build is executing.
	StatusStarted = "STARTED"
	// StatusCompleted means a build is completed (successfully or not).
	StatusCompleted = "COMPLETED"
)

Variables

This section is empty.

Functions

func GetAllBuilders

func GetAllBuilders(c context.Context) (*resp.CIService, error)

func GetBuilder

func GetBuilder(c context.Context, bucket, builder string, limit int) (*resp.Builder, error)

GetBuilder is used by buildsource.BuilderID.Get to obtain the resp.Builder.

func ParseTags

func ParseTags(tags []string) map[string]string

ParseTags parses buildbucket build tags to a map. Ignores tags that doesn't have colon (we don't have them in practice because buildbucket validates tags).

func PubSubHandler

func PubSubHandler(ctx *router.Context)

PubSubHandler is a webhook that stores the builds coming in from pubsub.

Types

This section is empty.

Jump to

Keyboard shortcuts

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