requestreply

package
v0.46.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCESQLVerifyCorrelationIdFilter

func RegisterCESQLVerifyCorrelationIdFilter(ctx context.Context) error

RegisterCESQLVerifyCorrelationIdFilter registers a new function with the CESQL runtime to verify correlation ids The function signature is KN_VERIFY_CORRELATION_ID(correlation_id, namespace, secret_names...)

func SetCorrelationId

func SetCorrelationId(ce *cloudevents.Event, correlationIdName string, aesKey []byte) error

SetCorrelationId sets the correlationid for a cloudevent by encrypting the id and setting the correlationid attribute with the original and encrypted ids

func VerifyReplyId

func VerifyReplyId(replyId string, aesKey []byte) (bool, error)

VerifyReplyId takes the reply id from a cloudevent and checks that it is valid for this RequestReply resource, by checking that the decrypted id matches the unencrypted id

Types

This section is empty.

Jump to

Keyboard shortcuts

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