eventingtlstesting

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

View Source
const (
	IssuerKind = "ClusterIssuer"
	IssuerName = "knative-eventing-ca-issuer"
)

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.HTTPEventReceiverOption) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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