eventingtlstesting

package
v0.38.3 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CA  []byte
	Key []byte
	Crt []byte
)

Functions

func EventChannelHandler added in v0.38.0

func EventChannelHandler(requestsChan chan<- cloudevents.Event) http.Handler

EventChannelHandler is an http.Handler that covert received requests to cloudevent.Event and then send them to the given channel.

func StartServer

func StartServer(ctx context.Context, t *testing.T, port int, handler http.Handler, receiverOptions ...kncloudevents.HTTPMessageReceiverOption) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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