From f807d3b81b1c1cf64a8f26e12893c0aef0e0cbc3 Mon Sep 17 00:00:00 2001 From: Steve Kriss Date: Tue, 7 May 2024 11:33:41 -0600 Subject: [PATCH] re-generate mocks Signed-off-by: Steve Kriss --- internal/controller/mocks/manager.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/internal/controller/mocks/manager.go b/internal/controller/mocks/manager.go index 5109f606a80..34a75af626d 100644 --- a/internal/controller/mocks/manager.go +++ b/internal/controller/mocks/manager.go @@ -64,6 +64,20 @@ func (_m *Manager) AddHealthzCheck(name string, check healthz.Checker) error { return r0 } +// AddMetricsServerExtraHandler provides a mock function with given fields: path, handler +func (_m *Manager) AddMetricsServerExtraHandler(path string, handler http.Handler) error { + ret := _m.Called(path, handler) + + var r0 error + if rf, ok := ret.Get(0).(func(string, http.Handler) error); ok { + r0 = rf(path, handler) + } else { + r0 = ret.Error(0) + } + + return r0 +} + // AddReadyzCheck provides a mock function with given fields: name, check func (_m *Manager) AddReadyzCheck(name string, check healthz.Checker) error { ret := _m.Called(name, check)