app

package
v0.0.0-...-110cdec Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package app contains pub/sub handlers.

Package app contains pub/sub handlers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildbucketPubSubHandler

func BuildbucketPubSubHandler(ctx context.Context, message pubsub.Message, bbMessage *buildbucketpb.BuildsV2PubSub) error

Types

type CVRunHandler

type CVRunHandler struct {
	// contains filtered or unexported fields
}

CVRunHandler accepts and processes CV Run Pub/Sub messages.

func NewCVRunHandler

func NewCVRunHandler() *CVRunHandler

NewCVRunHandler initialises a new CVRunHandler.

func (*CVRunHandler) Handle

func (h *CVRunHandler) Handle(ctx context.Context, message pubsub.Message, cvMessage *cvv1.PubSubRun) error

type InvocationFinalizedHandler

type InvocationFinalizedHandler struct {
	// contains filtered or unexported fields
}

InvocationFinalizedHandler accepts and processes ResultDB Invocation Finalized Pub/Sub messages.

func NewInvocationFinalizedHandler

func NewInvocationFinalizedHandler() *InvocationFinalizedHandler

NewInvocationFinalizedHandler initialises a new InvocationFinalizedHandler.

func (*InvocationFinalizedHandler) Handle

type InvocationReadyForExportHandler

type InvocationReadyForExportHandler struct {
}

InvocationReadyForExportHandler accepts and processes ResultDB Invocation Ready for Export Pub/Sub messages.

func NewInvocationReadyForExportHandler

func NewInvocationReadyForExportHandler() *InvocationReadyForExportHandler

NewInvocationReadyForExportHandler initialises a new InvocationReadyForExportHandler.

func (*InvocationReadyForExportHandler) Handle

Jump to

Keyboard shortcuts

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