core/mock: switch to uber mock (#5073)

* core/mock: switch to uber mock

* merge main
This commit is contained in:
Caleb Doxsey 2024-04-16 12:23:00 -06:00 committed by GitHub
parent deb6f67094
commit fab2181be4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 98 additions and 96 deletions

View file

@ -18,8 +18,8 @@ import (
"github.com/pomerium/pomerium/pkg/protoutil"
)
//go:generate go run github.com/golang/mock/mockgen@v1.6.0 -source=databroker.pb.go -destination ./mock_databroker/databroker.pb.go DataBrokerServiceClient
//go:generate go run github.com/golang/mock/mockgen@v1.6.0 -source=leaser.go -destination ./mock_databroker/leaser.go LeaserHandler
//go:generate go run go.uber.org/mock/mockgen -source=databroker.pb.go -destination ./mock_databroker/databroker.pb.go DataBrokerServiceClient
//go:generate go run go.uber.org/mock/mockgen -source=leaser.go -destination ./mock_databroker/leaser.go LeaserHandler
type recordObject interface {
proto.Message