messaging

package
v0.0.0-...-569970b Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TestReportType ...
	TestReportType = "test_report"
	// FTLTestReportType ...
	FTLTestReportType = "ftl_test_report"
	// DebugPanicOnceType ...
	DebugPanicOnceType = "debug_panic_once"
)

Variables

View Source
var PubsubClient *pubsub.Client

PubsubClient ...

Functions

func InitBigQueryPubsubClient

func InitBigQueryPubsubClient(projectID, topicID, pubsubCredentials string) error

InitBigQueryPubsubClient ...

func InitPubsubClient

func InitPubsubClient(projectID string, pubsubCredentials string) error

InitPubsubClient ...

func PublishFTLTestReportCreatedEvent

func PublishFTLTestReportCreatedEvent(ctx context.Context, logger *zap.Logger, build models.Build, appSlug string, ftlPlatformType models.FTLPlatformType)

PublishFTLTestReportCreatedEvent ...

func PublishTestReportCreatedEvent

func PublishTestReportCreatedEvent(ctx context.Context, tr models.TestReport, appSlug, buildSlug string)

PublishTestReportCreatedEvent ...

func PublishTestReportProcessedEvent

func PublishTestReportProcessedEvent(ctx context.Context, logger *zap.Logger, data []byte, appSlug, buildSlug, reportType string) error

PublishTestReportProcessedEvent ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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