Documentation ¶
Overview ¶
Package pubsub handles pub/sub messages
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildbucketPubSubHandler ¶
func BuildbucketPubSubHandler(c context.Context, msg pubsub.Message, bbmsg *buildbucketpb.BuildsV2PubSub) error
Types ¶
type OutcomeType ¶
type OutcomeType string
OutcomeType is used for sending metrics to tsmon
const ( OutcomeTypeUnsupported OutcomeType = "unsupported" OutcomeTypeUpdateRerun OutcomeType = "update_rerun" OutcomeTypeUpdateSucceededBuild OutcomeType = "update_succeeded_build" OutcomeTypeIgnore OutcomeType = "ignore" OutcomeTypeAnalyze OutcomeType = "analyze" )
Click to show internal directories.
Click to hide internal directories.