mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
e46099a504
Signed-off-by: Huamin Chen <hchen@redhat.com> |
||
---|---|---|
.. | ||
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