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.
Click to show internal directories.
Click to hide internal directories.