Commit Graph

14 Commits

Author SHA1 Message Date
Dave Protasowski a37a847cd3
drop use of code-generator/generate-groups.sh (#3136)
* drop use of code-generator/generate-groups.sh

* fix script

* single injection invocation
2025-01-17 17:58:04 +00:00
Dave Protasowski 8535fcc248
gofumpt the repo (#3067)
* gofumpt the repo

* don't prefix numbers with 0 - otherwise they're octal
2024-06-25 07:27:07 +00:00
knative-automation e61a20dd64
Update actions (#2313)
Signed-off-by: Knative Automation <automation@knative.team>
2021-10-15 12:26:13 -07:00
Markus Thömmes 980a33719a
Fix revive related linting issues (#2131) 2021-05-26 01:10:28 -07:00
Scott Nichols ae9c3f7fa8
Refactor the genreconciler code to pull state out (#1544)
* Refactor the genreconciler code to pull state out

* don't generate the stubs

* fix indent
2020-07-22 23:02:57 -07:00
Weston Haught bce16cf786
remove krshapedlogic tag, this is default now (#1442) 2020-06-26 11:28:28 -07:00
Weston Haught db40bcad49
Simplify the krshaped interface, just use k8s interfaces for TypeMeta and ObjectMeta (#1322)
* simplify the krshaped interface

* switch to the runtime.ObjectKind interface

* update example types
2020-05-14 09:47:00 -07:00
Weston Haught b559da3646
Generate common logic for krshaped resources (#1311)
* generate krshaped logic

* add logic to the tag

* Update injection/README.md

Co-authored-by: Matt Moore <mattmoor@vmware.com>

* move var to reconciler

Co-authored-by: Matt Moore <mattmoor@vmware.com>
2020-05-08 10:00:45 -07:00
Weston Haught 3769cd27e5
Switch KRShaped interface to retrieve entire condition set (#1307)
* Switch interface to retrieve entire condition set

* fix method under test

* type
2020-05-06 14:53:44 -07:00
Weston Haught 1099bd14ba
Include GetTopLevelConditionType for KRShaped (#1298)
* Include GetHappyConditionType for KRShaped

* Rename to GetTopLevelCondition
2020-05-05 14:22:44 -07:00
Weston Haught 0605de9264
Make example types KRShaped (#1288)
* make pkg example types KRShaped

* Fix comments

* Switch to the ObjectMeta standard accessor

* Keep pointers around
2020-05-05 10:50:44 -07:00
Scott Nichols 8a6d25b309
Generate reconcilers for resources out of tree. (#1175)
* genreconciler:nonNamespaced

* Adding a force-kinds flag to the reconciler generator to allow us to generate reconcilers for non-owned types.

* force-kinds --> force-genreconciler-kinds

* some minor nits with the generators for non-knative types needed to be removed.

* remove whitespace

Co-authored-by: Nacho Cano <nachoacano@gmail.com>
2020-03-25 11:34:51 -07:00
Scott Nichols 5d8a01d12c
Implement strongly typed class reconcilers (#1103)
* Implement strongly typed class reconcilers

* document class filters.

* matt is always right
2020-02-19 08:38:06 -08:00
Scott Nichols 72f3cd2bbc
[Genreconciler] Fix group names when client groups differ than their directory name. (#1097)
* looking at annotations for group overrides.

* checkpoint.

* checkpoint

* I think it is correct.

* ok

* trim down the files.

* simulate tekton

* working test out of checkin

* remove test client

* update docs

* and test.

* lint

* it ok

* update codegen
2020-02-18 17:14:59 -08:00