-
Notifications
You must be signed in to change notification settings - Fork 420
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor the way Triggers creates child resources to follow Knative c…
…onventions. Generally in Knative our controller structure follows the layout: ``` pkg/ reconciler/ {resource-name}/ controller.go # The *controller.Impl ctor (deals with informers and workqueues) {resource-name}.go # The typed reconciler (deals with listers and clients) resources/ {child-resource-name}.go # Logic for building this child resource. ... names/ names.go # Optionally holds methods for naming child resources. ``` The main piece of this that this change start to move things towards is the `resources/` sub-directory (I did not start a `names/` sub-directory).
- Loading branch information
Showing
11 changed files
with
756 additions
and
396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.