Files
kustomize/pseudo/k8s/client-go/examples/fake-client/README.md
2019-11-08 12:48:06 -08:00

290 B

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