googlecloudpubsubsource

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2022 License: Apache-2.0 Imports: 14 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdapter

NewAdapter satisfies pkgadapter.AdapterConstructor.

func NewEnvConfig

func NewEnvConfig() pkgadapter.EnvConfigAccessor

NewEnvConfig satisfies pkgadapter.EnvConfigConstructor.

Types

type GCloudResourceName added in v1.12.0

type GCloudResourceName v1alpha1.GCloudResourceName

GCloudResourceName is a fully qualified Google Cloud resource name which can be decoded by envconfig.

func (*GCloudResourceName) Decode added in v1.12.0

func (n *GCloudResourceName) Decode(value string) error

Decode implements envconfig.Decoder.

func (*GCloudResourceName) String added in v1.12.0

func (n *GCloudResourceName) String() string

String implements fmt.Stringer.

type MessageProcessor

type MessageProcessor interface {
	Process(*pubsub.Message) ([]*cloudevents.Event, error)
}

MessageProcessor converts a Pub/Sub message to a CloudEvent.

type MessageWithRawJSONData added in v1.12.0

type MessageWithRawJSONData struct {
	Data json.RawMessage
	*pubsub.Message
}

MessageWithRawJSONData is an Message with RawMessage-typed JSON data.

Jump to

Keyboard shortcuts

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