Skip to main content

buildKnativeTriggers

@webda/kubernetes


Function: buildKnativeTriggers()

buildKnativeTriggers(params, service, warn?): KnativeTriggerManifest[]

Defined in: kubernetes/src/deployers/knative.service.ts:582

Build the eventing.knative.dev/v1 Triggers of resolved parameters

Pure like buildKnativeService. The subscriber of every Trigger is the Service, on the path of the receiver.

Parameters​

params​

KnativeDeployerParameters

the parameters, with their templates resolved

service​

KnativeServiceManifest

the Service the Triggers deliver to

warn?​

(message) => void

receives the Triggers dropped for the platform

Returns​

KnativeTriggerManifest[]

the manifests, none on Cloud Run