package
0.0.0-20241001071744-57307b5037a3
Repository: https://github.com/openshift/ocm-agent.git
Documentation: pkg.go.dev
# README
The cr-client.go
is a lib required by mockgen tests. This lib is created from the controller-runtime client. With change in controller-runtime, we need to update the cr-client.go
file as well. Using the command line, the following command can be used to update the cr-client.go
file:
$ mockgen -package client -destination=cr-client.go sigs.k8s.io/controller-runtime/pkg/client Client,StatusWriter,Reader,Writer
To make sure you have mockgen
locally, can run the following command:
$ make ensure-mockgen