mirror of https://github.com/knative/pkg.git
This augments the injection codegen with the capability to produce a duck.InformerFactory attached to context for each type that we process. Now a `duck.InformerFactory` for "Addressable" can be produced by "Get"ing it from the context. This is triggered by placing `// +genduck` on the type that implements `duck.Implementable`. |
||
---|---|---|
.. | ||
args | ||
generators | ||
main.go |