From b0c62cfa1e33350728446099325ff01ea7bbfe24 Mon Sep 17 00:00:00 2001 From: Sajiyah Salat <109643863+Sajiyah-Salat@users.noreply.github.com> Date: Wed, 17 May 2023 20:01:02 +0530 Subject: [PATCH] Update docs/book/src/reference/creating-events.md Co-authored-by: Camila Macedo <7708031+camilamacedo86@users.noreply.github.com> --- docs/book/src/reference/creating-events.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/book/src/reference/creating-events.md b/docs/book/src/reference/creating-events.md index 900b271fd62..c2197d85830 100644 --- a/docs/book/src/reference/creating-events.md +++ b/docs/book/src/reference/creating-events.md @@ -41,7 +41,9 @@ Following is an example of a code implementation that raises an Event. ``` +## How to be able to raise Events? +Following are the steps with examples to help you raise events in your controller's reconciliations. Events are published from a Controller using an [EventRecorder]`type CorrelatorOptions struct`, which can be created for a Controller by calling `GetRecorder(name string)` on a Manager. See that we will change the implementation scaffolded in `cmd/main.go`: