https://github.com/summerwind/cloudevents-webhook-gateway
HTTP gateway converting webhook requests to CloudEvents.
https://github.com/summerwind/cloudevents-webhook-gateway
cloudevents gateway golang webhook
Last synced: over 1 year ago
JSON representation
HTTP gateway converting webhook requests to CloudEvents.
- Host: GitHub
- URL: https://github.com/summerwind/cloudevents-webhook-gateway
- Owner: summerwind
- License: mit
- Created: 2018-11-24T12:29:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-25T10:07:15.000Z (over 6 years ago)
- Last Synced: 2025-03-29T00:08:08.751Z (over 1 year ago)
- Topics: cloudevents, gateway, golang, webhook
- Language: Go
- Size: 84 KB
- Stars: 9
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cloudevents-webhook-gateway
cloudevents-webhook-gateway is a HTTP gateway. This receives the webhook requests from the service, converts it to CloudEvents format, and forwards the request to the backend specified in the configuration.
## Install
Download the latest binary from the [Releases](https://github.com/summerwind/cloudevents-webhook-gateway/releases) page.
Docker images are also available. Running cloudevents-webhook-gateway with Docker is as follows.
```
$ docker run -it -v $PWD/config.yml:/config.yml -p 24381:24381 summerwind/cloudevents-webhook-gateway:latest
```
## Usage
cloudevents-webhook-gateway can be started from the command line as follows.
```
$ cloudevents-webhook-gateway -c config.yml
```
To start cloudevents-webhook-gateway, specify the configuration file using the `-c` option. The configuration format is in YAML. Please see `example/config.yml` for the full configuration file format.
## Supported webhook
cloudevents-webhook-gateway currently supports the following webhooks.
- Github
- Docker Hub
- Alertmanager
- Anchore Engine
- Clair
- Slack