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

@ -1,5 +1,10 @@
// Code generated by MockGen. DO NOT EDIT.
// Source: leaser.go
//
// Generated by this command:
//
// mockgen -source=leaser.go -destination ./mock_databroker/leaser.go LeaserHandler
//
// Package mock_databroker is a generated GoMock package.
package mock_databroker
@ -8,8 +13,8 @@ import (
context "context"
reflect "reflect"
gomock "github.com/golang/mock/gomock"
databroker "github.com/pomerium/pomerium/pkg/grpc/databroker"
gomock "go.uber.org/mock/gomock"
)
// MockLeaserHandler is a mock of LeaserHandler interface.
@ -58,7 +63,7 @@ func (m *MockLeaserHandler) RunLeased(ctx context.Context) error {
}
// RunLeased indicates an expected call of RunLeased.
func (mr *MockLeaserHandlerMockRecorder) RunLeased(ctx interface{}) *gomock.Call {
func (mr *MockLeaserHandlerMockRecorder) RunLeased(ctx any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RunLeased", reflect.TypeOf((*MockLeaserHandler)(nil).RunLeased), ctx)
}