retry_after

package
v0.43.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ChannelNameKey             = "ChannelNameKey"
	SubscriptionNameKey        = "SubscriptionNameKey"
	SenderNameKey              = "SenderNameKey"
	ReceiverNameKey            = "ReceiverNameKey"
	RetryAttemptsKey           = "RetryAttemptsKey"
	RetryAfterSecondsKey       = "RetryAfterSecondsKey"
	ExpectedIntervalMargingKey = "ExpectedIntervalMargingKey!"
)

Variables

This section is empty.

Functions

func ConfigureDataPlane

func ConfigureDataPlane(ctx context.Context, t *testing.T) *feature.Feature

ConfigureDataPlane creates a Feature which sets up the specified Channel, Subscription and EventsHub Receiver so that it is ready to receive CloudEvents.

func SendEvent

func SendEvent(ctx context.Context, t *testing.T) *feature.Feature

SendEvent creates a Feature which sends a CloudEvents to the specified Channel and verifies the timing of its receipt in the corresponding EventsHub Receiver. It is assumed that the backing Channel / Subscription / Receiver are in place and ready to receive the event.

Types

This section is empty.

Jump to

Keyboard shortcuts

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