mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-29 20:15:08 +00:00
* chore: drops update vanity imports from script. * chore: changes copyright year to 2024. * chore: makes lint happy. Kubernetes-commit: 6d6398ef9266abce3518a4c9a3d4e4d8feeffdc1 |
||
---|---|---|
.. | ||
doc.go | ||
main_test.go | ||
README.md |
Fake Client Example
This example demonstrates how to use a fake client with SharedInformerFactory in tests.
It covers:
- Creating the fake client
- Setting up real informers
- Injecting events into those informers
Running
go test -v k8s.io/client-go/examples/fake-client