Matt Moore
222dd25986
Migrate pkg to use the knative.dev/pkg import path ( #489 )
...
* Manual changes.
* scripted changes.
2019-06-26 13:02:06 -07:00
Joseph Lewis III
9c5d970cbc
Add injection for rbacv1.role ( #479 )
2019-06-21 13:09:21 -07:00
Scott Nichols
68737b1b4e
Adding Batch v1 Job to injection client. ( #459 )
...
* adding Batch v1 Job to injection client.
* damn lock file.
2019-06-12 14:55:43 -07:00
Scott Nichols
28f181241c
Remove GCP default auth. ( #455 )
...
* Remove default remote gcp auth from pkg.
* update deps.
2019-06-10 08:39:41 -07:00
Scott Nichols
f48815f454
Add injection for ServiceAccount and RoleBinding ( #453 )
...
* Adding ServiceAccount.
* Adding RoleBinding.
* update gen.
2019-06-10 07:34:41 -07:00
mattmoor-sockpuppet
d01d3b0112
golang format tools ( #454 )
...
Produced via:
`gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
`goimports -w $(find -name '*.go' | grep -v vendor)`
2019-06-10 07:17:42 -07:00
Scott Nichols
4dec36bd68
Adding namespaces to injeciton, eventing uses this. ( #452 )
2019-06-08 14:12:41 -07:00
Matt Moore
2353d3bfc0
Add a pod informer and fakes. ( #451 )
2019-06-08 07:49:41 -07:00
Scott Nichols
afdedebb9e
Adding Api Extensions to client injection in pkg. ( #449 )
...
* Adding Api Extensions to client injection in pkg.
* Moving to logger.panicf when the thing you ask for is not in the context.
2019-06-07 18:54:40 -07:00
mattmoor-sockpuppet
463df98531
Format markdown ( #448 )
...
Produced via: `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`
2019-06-07 09:39:41 -07:00
Matt Moore
d8a2a739d6
Eliminate controller registration in favor of passing a list to the shared main. ( #447 )
2019-06-06 18:17:41 -07:00
mattmoor-sockpuppet
586a88ecb8
Format markdown ( #445 )
...
Produced via: `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`
2019-06-06 09:16:40 -07:00
Matt Moore
35bb0fc83b
Add code-generation for the various injection stubs. ( #438 )
...
This is largely based on work by @n3wscott
2019-06-05 08:50:38 -07:00
Matt Moore
4c630bb1bb
Create a library for Reconciler dependency injection. ( #423 )
...
This creates a base library that enables us to leverage the dependency
graph to convey injection dependencies. Our controllers will start
to get their informers off of a `context.Context` via `fooinformers.Get(ctx)`.
By simply linking `fooinformers` to access the informer in this way, we trigger
a cascade of `init`-time registrations for the informer, and its transitive
dependencies (e.g. shared informer factory, client).
The `ctx` is infused with these informers in `package main` by linking the
appropriate reconcilers (transitively registering everything) and then calling
`sharedmain.Main()` (from `github.com/knative/pkg/injection/sharedmain`).
2019-06-05 07:37:38 -07:00