k8s.io/client-go@v0.31.1/examples/fake-client/README.md (about)

     1  # Fake Client Example
     2  
     3  This example demonstrates how to use a fake client with SharedInformerFactory in tests.
     4  
     5  It covers:
     6   * Creating the fake client
     7   * Setting up real informers
     8   * Injecting events into those informers
     9  
    10  ## Running
    11  
    12  ```
    13  go test -v k8s.io/client-go/examples/fake-client
    14  ```