Add Konnek event source and SinkBinding (#2425)

* Add Konnek event source and SinkBinding

* Update docs/eventing/sources/sources.yaml

Co-authored-by: Evan Anderson <evan.k.anderson@gmail.com>

* Add link to docs for sinkbinding and container-source inside the sources documentation

Co-authored-by: Evan Anderson <evan.k.anderson@gmail.com>
This commit is contained in:
Jonatas Baldin 2020-05-02 12:32:43 +02:00 committed by GitHub
parent 90d32ff4d8
commit 9bef3afb14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 34 additions and 5 deletions

View File

@ -67,7 +67,7 @@ Name | Status | Support | Description
### ContainerSource Containers
These are containers intended to be used with `ContainerSource`.
These are containers intended to be used with `ContainerSource`. See the docs [here](../samples/container-source/README.md).
Name | Status | Support | Description
--- | --- | --- | ---
@ -83,3 +83,11 @@ Name | Status | Support | Description
[K8s](https://github.com/Harwayne/auto-container-source/tree/master/k8s-event-source) | Proof of Concept | None | Brings Kubernetes cluster events into Knative. Uses AutoContainerSource for underlying infrastructure.
[WebSocket](https://github.com/knative/eventing-contrib/tree/{{< branch >}}/cmd/websocketsource) | Active Development | None | Opens a WebSocket to the specified source and packages each received message as a Knative event.
### SinkBindings
These are containers intended to be used with `SinkBinding`. See the docs [here](../samples/sinkbinding/README.md).
Name | Status | Support | Description
--- | --- | --- | ---
[Konnek](https://konnek.github.io/docs/#/) | Active Development | None | Retrieves events from cloud platforms (like AWS and GCP) and transforms them into CloudEvents for consumption in Knative.

View File

@ -57,10 +57,20 @@ Name | Status | Support | Description
### ContainerSource Containers
These are containers intended to be used with `ContainerSource`.
These are containers intended to be used with `ContainerSource`. See the docs [here](../samples/container-source/README.md).
Name | Status | Support | Description
--- | --- | --- | ---
{{ range .Containers -}}
[{{ .Name }}]({{ .Url }}) | {{ .Status }} | {{ .Support }} | {{ .Description }}
{{- end }}
### SinkBindings
These are containers intended to be used with `SinkBinding`. See the docs [here](../samples/sinkbinding/README.md).
Name | Status | Support | Description
--- | --- | --- | ---
{{ range .SinkBindings -}}
[{{ .Name }}]({{ .Url }}) | {{ .Status }} | {{ .Support }} | {{ .Description }}
{{- end }}

View File

@ -57,6 +57,7 @@ func parseYaml() *yamlSources {
sortAlphabetically(sources.MetaSources)
sortAlphabetically(sources.Sources)
sortAlphabetically(sources.Containers)
sortAlphabetically(sources.SinkBindings)
return sources
}
@ -69,9 +70,10 @@ func sortAlphabetically(slice []source) {
}
type yamlSources struct {
MetaSources []source `yaml:"metaSources"`
Sources []source `yaml:"sources"`
Containers []source `yaml:"containers"`
MetaSources []source `yaml:"metaSources"`
Sources []source `yaml:"sources"`
Containers []source `yaml:"containers"`
SinkBindings []source `yaml:"sinkBindings"`
}
type source struct {

View File

@ -202,3 +202,12 @@ containers:
support: None
description: >
Watches for files being uploaded into a FTP/SFTP and generates events for those.
# These are intended to be used with SinkBinding, but are not CRDs.
sinkBindings:
- name: Konnek
url: https://konnek.github.io/docs/#/
status: Active Development
support: None
description: >
Retrieves events from cloud platforms (like AWS and GCP) and transforms them into CloudEvents for consumption in Knative.