github.com/argoproj/argo-events@v1.9.1/docs/eventsources/naming.md (about) 1 # EventSource Names 2 3 In a Sensor object, a `dependency` is defined as: 4 5 ```yaml 6 dependencies: 7 - name: test-dep 8 eventSourceName: webhook-example 9 eventName: example 10 ``` 11 12 The `eventSourceName` and `eventName` might be confusing. Take the following 13 EventSource example, the `eventSourceName` and `eventName` are described as 14 below. 15 16 ```yaml 17 apiVersion: argoproj.io/v1alpha1 18 kind: EventSource 19 metadata: 20 name: webhook-example # eventSourceName 21 spec: 22 webhook: 23 example: # eventName 24 port: "12000" 25 endpoint: /example 26 method: POST 27 example-foo: # eventName 28 port: "13000" 29 endpoint: /example2 30 method: POST 31 ``` 32 33 ## EventSourceName 34 35 `eventSourceName` is the `name` of the dependent `EventSource` object, i.e. 36 `webhook-example` in the example above. 37 38 ## EventName 39 40 `eventName` is the map key of a configured event. In the example above, 41 `eventName` could be `example` or `example-foo`.