File: README.md

package info (click to toggle)
golang-k8s-client-go 0.32.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 18,680 kB
  • sloc: makefile: 6; sh: 3
file content (14 lines) | stat: -rw-r--r-- 290 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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
```