I initially thought about using the fake clientset like anywhere else, but this time I thought: what about trying out the hard way, i.e., writing all the mocking code myself? Result: not that hard, but requires more time than just using the fake clientset. Signed-off-by: Maël Valais <mael@vls.dev> |
||
|---|---|---|
| .. | ||
| policies | ||
| BUILD.bazel | ||
| trigger_controller_test.go | ||
| trigger_controller.go | ||