googlecloudpubsubsource

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdapter

NewAdapter returns a constructor for the source's adapter.

func NewEnvConfig

func NewEnvConfig() pkgadapter.EnvConfigAccessor

NewEnvConfig returns an accessor for the source's adapter envConfig.

Types

type MessageProcessor

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

MessageProcessor converts a Pub/Sub message to a CloudEvent.

Jump to

Keyboard shortcuts

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