github.com/secure-build/gitlab-runner@v12.5.0+incompatible/session/proxy/mock_Pooler.go (about) 1 // Code generated by mockery v1.0.0. DO NOT EDIT. 2 3 // This comment works around https://github.com/vektra/mockery/issues/155 4 5 package proxy 6 7 import mock "github.com/stretchr/testify/mock" 8 9 // MockPooler is an autogenerated mock type for the Pooler type 10 type MockPooler struct { 11 mock.Mock 12 } 13 14 // Pool provides a mock function with given fields: 15 func (_m *MockPooler) Pool() Pool { 16 ret := _m.Called() 17 18 var r0 Pool 19 if rf, ok := ret.Get(0).(func() Pool); ok { 20 r0 = rf() 21 } else { 22 if ret.Get(0) != nil { 23 r0 = ret.Get(0).(Pool) 24 } 25 } 26 27 return r0 28 }