couchdb/

directory
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: Apache-2.0

README

Apache CouchDB source for Knative

The Apache CouchDB Event source enables Knative Eventing integration with Apache CouchDB.

Deployment steps

  1. Setup Knative Eventing

  2. Create a secret containing the data needed to access your CouchDB service. For example:

    apiVersion: v1
    kind: Secret
    metadata:
      name: couchdb-binding
    stringData:
      # The URL pointing to the CouchDB http server
      url: "https://username:password/..."
    
  3. Create the CouchDbSource custom objects, by configuring the required credentials and database values on the CR file of your source. Below is an example:

    apiVersion: sources.knative.dev/v1alpha1
    kind: CouchDbSource
    metadata:
      name: couchdb-photographer
    spec:
      # reference to a secret containing the CouchDB credentials
      feed: continuous # default value. For polling every 2 seconds, use "normal"
      credentials:
        name: couchdb-binding
      database: photographers
      sink:
        ref:
          apiVersion: serving.knative.dev/v1alpha1
          kind: Service
          name: event-display
    

Directories

Path Synopsis
source
pkg/apis
Package apis contains Kubernetes API groups.
Package apis contains Kubernetes API groups.
pkg/apis/sources
Package sources contains sources API versions
Package sources contains sources API versions
pkg/apis/sources/v1alpha1
Package v1alpha1 contains API Schema definitions for the sources v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=knative.dev/eventing-contrib/couchdb/source/pkg/apis/sources +k8s:defaulter-gen=TypeMeta +groupName=sources.knative.dev Package v1alpha1 contains API Schema definitions for the sources v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=sources.knative.dev
Package v1alpha1 contains API Schema definitions for the sources v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=knative.dev/eventing-contrib/couchdb/source/pkg/apis/sources +k8s:defaulter-gen=TypeMeta +groupName=sources.knative.dev Package v1alpha1 contains API Schema definitions for the sources v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=sources.knative.dev
pkg/client/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
pkg/client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
pkg/client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
pkg/client/clientset/versioned/typed/sources/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
pkg/client/clientset/versioned/typed/sources/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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