Skip to content

Commit

Permalink
Merge pull request #2727 from dnaeon/fix/minor-typos
Browse files Browse the repository at this point in the history
馃尡  Minor typo fixes in docstrings
  • Loading branch information
k8s-ci-robot committed Mar 25, 2024
2 parents e08b286 + b8c8109 commit 1762a68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/source/source.go
Expand Up @@ -36,12 +36,12 @@ const (
defaultBufferSize = 1024
)

// Source is a source of events (eh.g. Create, Update, Delete operations on Kubernetes Objects, Webhook callbacks, etc)
// Source is a source of events (e.g. Create, Update, Delete operations on Kubernetes Objects, Webhook callbacks, etc)
// which should be processed by event.EventHandlers to enqueue reconcile.Requests.
//
// * Use Kind for events originating in the cluster (e.g. Pod Create, Pod Update, Deployment Update).
//
// * Use Channel for events originating outside the cluster (eh.g. GitHub Webhook callback, Polling external urls).
// * Use Channel for events originating outside the cluster (e.g. GitHub Webhook callback, Polling external urls).
//
// Users may build their own Source implementations.
type Source interface {
Expand All @@ -66,7 +66,7 @@ var _ Source = &Channel{}

// Channel is used to provide a source of events originating outside the cluster
// (e.g. GitHub Webhook callback). Channel requires the user to wire the external
// source (eh.g. http handler) to write GenericEvents to the underlying channel.
// source (e.g. http handler) to write GenericEvents to the underlying channel.
type Channel struct {
// once ensures the event distribution goroutine will be performed only once
once sync.Once
Expand Down

0 comments on commit 1762a68

Please sign in to comment.