mirror of
https://github.com/kubernetes/client-go.git
synced 2025-09-25 14:42:33 +00:00
Add client-go example using fake client in test.
This adds an example showing the steps needed to get a working SharedInformerFactory with a fake client for testing. Kubernetes-commit: aed487b42d1b49df9ac01f7234896f6d1b4da166
This commit is contained in:
committed by
Kubernetes Publisher
parent
2a94c229c0
commit
c72a3893b1
@@ -25,3 +25,7 @@ for client-go.
|
||||
the custom resources.
|
||||
|
||||
[informer]: https://godoc.org/k8s.io/client-go/tools/cache#NewInformer
|
||||
|
||||
### Testing
|
||||
|
||||
- [**Fake Client**](./fake-client): Use a fake client in tests.
|
Reference in New Issue
Block a user