Skip to content

Commit 58b39c2

Browse files
committed
Get rid of some whitespace
1 parent d784136 commit 58b39c2

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

docs/eventing/samples/writing-receive-adapter-source/01-theory.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func NewController(ctx context.Context, cmw configmap.Watcher) *controller.Impl
8686
8787
Sample source's [`update-codegen.sh`](https://github.com/knative/sample-source/blob/master/hack/update-codegen.sh) have the configuration
8888
to have the required things above generated and injected:
89-
```bash
89+
```bash
9090
# Generation
9191
${CODEGEN_PKG}/generate-groups.sh "deepcopy,client,informer,lister" \
9292
knative.dev/sample-source/pkg/client knative.dev/sample-source/pkg/apis \

docs/eventing/samples/writing-receive-adapter-source/05-receive-adapter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func main() {
2525
## Defining NewAdapter implementation and Start function
2626
The adapter's `pkg` implementation consists of two main functions;
2727

28-
1. A `NewAdapter(ctx context.Context, aEnv adapter.EnvConfigAccessor, ceClient cloudevents.Client) adapter.Adapter {}` call, which creates the
28+
1. A `NewAdapter(ctx context.Context, aEnv adapter.EnvConfigAccessor, ceClient cloudevents.Client) adapter.Adapter {}` call, which creates the
2929
new adapter with passed variables via the `EnvConfigAccessor`. The created adapter will be passed the cloudevents client (which is where the events are forwarded to). This is sometimes refered
3030
to as a sink, or `ceClient` in the Knative ecosystem. The return value is a reference to the adapter as defined by the adapter's local struct.
3131

docs/eventing/samples/writing-receive-adapter-source/07-eventing-contrib.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ weight: 10
55
type: "docs"
66
---
77

8-
If you would like to contribute Knative's [`eventing-contrib`](https://github.com/knative/eventing-contrib/), as a starting point you can
9-
have a look at different sources there, such as
10-
[`KafkaSource`](https://github.com/knative/eventing-contrib/tree/master/kafka/source),
11-
[`GithubSource`](https://github.com/knative/eventing-contrib/tree/master/github) and
8+
If you would like to contribute Knative's [`eventing-contrib`](https://github.com/knative/eventing-contrib/), as a starting point you can
9+
have a look at different sources there, such as
10+
[`KafkaSource`](https://github.com/knative/eventing-contrib/tree/master/kafka/source),
11+
[`GithubSource`](https://github.com/knative/eventing-contrib/tree/master/github) and
1212
[`AWSSQSSource`](https://github.com/knative/eventing-contrib/tree/master/awssqs).
1313

14-
To generate and inject `clientset`, `cache`, `informers`, and `listers`, ensure that the specific source subdirectories has been added to the injection portion of the
14+
To generate and inject `clientset`, `cache`, `informers`, and `listers`, ensure that the specific source subdirectories has been added to the injection portion of the
1515
[`hack/update-codegen.sh`](https://github.com/knative/eventing-contrib/blob/master/hack/update-codegen.sh) script.
1616

1717
```patch

docs/eventing/samples/writing-receive-adapter-source/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ well as receive adapter, which events can be viewed through a basic
1111
Just want to see the code? The reference project is
1212
[https://github.com/knative/sample-source](https://github.com/knative/sample-source).
1313

14-
A variety of event sources are available in Knative [`eventing-contrib](https://github.com/knative/eventing-contrib/) such as
15-
[`KafkaSource`](https://github.com/knative/eventing-contrib/tree/master/kafka/source),
16-
[`GithubSource`](https://github.com/knative/eventing-contrib/tree/master/github) and
17-
[`AWSSQSSource`](https://github.com/knative/eventing-contrib/tree/master/awssqs) that can be used as a reference.
14+
A variety of event sources are available in Knative [`eventing-contrib](https://github.com/knative/eventing-contrib/) such as
15+
[`KafkaSource`](https://github.com/knative/eventing-contrib/tree/master/kafka/source),
16+
[`GithubSource`](https://github.com/knative/eventing-contrib/tree/master/github) and
17+
[`AWSSQSSource`](https://github.com/knative/eventing-contrib/tree/master/awssqs) that can be used as a reference.
1818

1919
## Other ways
2020

2121
With the approach in this tutorial, you will create a CRD and a controller for the event source which makes it reusable.
2222

23-
You can also write your own event source using a [ContainerSource](../../../eventing/sources/README.md#meta-sources) which
23+
You can also write your own event source using a [ContainerSource](../../../eventing/sources/README.md#meta-sources) which
2424
is an easy way to turn any dispatcher container into an Event Source. Similarly, another option is using [SinkBinding](../../../eventing/sources/README.md#meta-sources)
2525
which provides a framework for injecting environment variables into any Kubernetes resource which has a `spec.template` that looks like a Pod (aka PodSpecable).
2626

@@ -31,7 +31,7 @@ The target audience is already familiar with Kubernetes and Go development and
3131
wants to develop a new event source, importing their custom events via Knative
3232
Eventing into the Knative system.
3333

34-
This tutorial is for having your event source in an independent repository.
34+
This tutorial is for having your event source in an independent repository.
3535
If you would like to contribute Knative's [`eventing-contrib`](https://github.com/knative/eventing-contrib/) and have your source
3636
there, there are some instructions at [Adding the event source to `eventing-contrib`](./07-eventing-contrib.md).
3737

0 commit comments

Comments
 (0)