mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-17 16:48:13 +02:00
core/mock: switch to uber mock (#5073)
* core/mock: switch to uber mock * merge main
This commit is contained in:
parent
deb6f67094
commit
fab2181be4
14 changed files with 98 additions and 96 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue