deleted duplicate cloud scheduler and cloud storage source (#2221)

* deleted duplicate cloud scheduler and cloud storage source

* modified the samples

* fixed the sample source
This commit is contained in:
capri-xiyue 2020-02-14 15:42:41 -08:00 committed by GitHub
parent 220ec64e7a
commit 2fd9b20b11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 10 additions and 31 deletions

View File

@ -5,6 +5,4 @@ weight: 20
type: "docs"
---
# CloudAuditLogsSource Example
Please refer to the [example](https://github.com/google/knative-gcp/blob/master/docs/examples/cloudauditlogssource/README.md) in knative-gcp.

View File

@ -7,6 +7,4 @@ aliases:
- /docs/eventing/samples/gcp-pubsub-source/README.md
---
# CloudPubSubSource Example
Please refer to the [example](https://github.com/google/knative-gcp/blob/master/docs/examples/cloudpubsubsource/README.md) in knative-gcp.

View File

@ -5,6 +5,4 @@ weight: 20
type: "docs"
---
# CloudSchedulerSource Example
Please refer to the [example](https://github.com/google/knative-gcp/blob/master/docs/examples/cloudschedulersource/README.md) in knative-gcp.

View File

@ -5,6 +5,4 @@ weight: 20
type: "docs"
---
# CloudStorageSource Example
Please refer to the [example](https://github.com/google/knative-gcp/blob/master/docs/examples/cloudstoragesource/README.md) in knative-gcp.

View File

@ -1,7 +1,7 @@
---
title: "Knative Eventing sources"
linkTitle: "Sources"
weight: 10
linkTitle: "Eventing sources"
weight: 20
type: "docs"
---
@ -46,8 +46,6 @@ Name | Status | Support | Description
[Cron Job](https://github.com/knative/eventing/blob/master/pkg/apis/sources/v1alpha1/cron_job_types.go) | Proof of Concept | None | Uses an in-memory timer to produce events on the specified Cron schedule.
[GitHub](https://github.com/knative/eventing-contrib/blob/master/github/pkg/apis/sources/v1alpha1/githubsource_types.go) | Proof of Concept | None | Registers for events of the specified types on the specified GitHub organization/repository. Brings those events into Knative.
[GitLab](https://gitlab.com/triggermesh/gitlabsource) | Proof of Concept | None | Registers for events of the specified types on the specified GitLab repository. Brings those events into Knative.
[Google Cloud Scheduler](https://github.com/google/knative-gcp/blob/master/pkg/apis/events/v1alpha1/scheduler_types.go) | Active Development | None | Create, update, and delete [Google Cloud Scheduler](https://cloud.google.com/scheduler/) Jobs. When those jobs are triggered, receive the event inside Knative.
[Google Cloud Storage](https://github.com/google/knative-gcp/blob/master/pkg/apis/events/v1alpha1/storage_types.go) | Active Development | None | Registers for events of the specified types on the specified Google Cloud Storage bucket and optional object prefix. Brings those events into Knative.
[Kubernetes](https://github.com/knative/eventing/blob/master/pkg/apis/sources/v1alpha1/apiserver_types.go) | Active Development | Knative | Brings Kubernetes API server events into Knative.

View File

@ -30,7 +30,7 @@ metaSources:
support: Knative
description: >
Used as reference implementation supporting
[Writing an Event Source from Scratch tutorial](../samples/writing-ra-source).
[Writing an Event Source from Scratch tutorial](../samples/writing-receive-adapter-source).
# Sources are event sources that users can install and use directly.
@ -104,20 +104,6 @@ sources:
support: Knative
description: >
Brings Kubernetes API server events into Knative.
- name: Google Cloud Scheduler
url: https://github.com/google/knative-gcp/blob/master/pkg/apis/events/v1alpha1/scheduler_types.go
status: Active Development
support: None
description: >
Create, update, and delete [Google Cloud Scheduler](https://cloud.google.com/scheduler/)
Jobs. When those jobs are triggered, receive the event inside Knative.
- name: Google Cloud Storage
url: https://github.com/google/knative-gcp/blob/master/pkg/apis/events/v1alpha1/storage_types.go
status: Active Development
support: None
description: >
Registers for events of the specified types on the specified Google Cloud Storage bucket and
optional object prefix. Brings those events into Knative.
- name: Apache Kafka
url: https://github.com/knative/eventing-contrib/blob/master/kafka/source/pkg/apis/sources/v1alpha1/kafka_types.go
status: Proof of Concept

View File

@ -562,10 +562,13 @@ The following command installs the GCP Sources:
kubectl apply --filename {{< artifact repo="knative-gcp" file="cloud-run-events.yaml" >}}
```
To learn more about the Cloud Pub/Sub source, try [our sample](../eventing/samples/cloud-pubsub-source/README.md)
To learn more about the Cloud Storage source, try [our sample](../eventing/samples/cloud-storage-source/README.md)
To learn more about the Cloud Scheduler source, try [our sample](../eventing/samples/cloud-scheduler-source/README.md)
To learn more about the Cloud Audit Logs source, try [our sample](../eventing/samples/cloud-audit-logs-source/README.md)
To learn more about the Cloud Pub/Sub source, try [our sample](../eventing/samples/cloud-pubsub-source/README.md).
To learn more about the Cloud Storage source, try [our sample](../eventing/samples/cloud-storage-source/README.md).
To learn more about the Cloud Scheduler source, try [our sample](../eventing/samples/cloud-scheduler-source/README.md).
To learn more about the Cloud Audit Logs source, try [our sample](../eventing/samples/cloud-audit-logs-source/README.md).
{{< /tab >}}