diff --git a/core/config/mocks/telemetry_ingress.go b/core/config/mocks/telemetry_ingress.go index ed5dbc4cf52..c0cd34a9688 100644 --- a/core/config/mocks/telemetry_ingress.go +++ b/core/config/mocks/telemetry_ingress.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.34.2. DO NOT EDIT. package mocks @@ -7,8 +7,6 @@ import ( mock "github.com/stretchr/testify/mock" time "time" - - url "net/url" ) // TelemetryIngress is an autogenerated mock type for the TelemetryIngress type @@ -20,10 +18,6 @@ type TelemetryIngress struct { func (_m *TelemetryIngress) BufferSize() uint { ret := _m.Called() - if len(ret) == 0 { - panic("no return value specified for BufferSize") - } - var r0 uint if rf, ok := ret.Get(0).(func() uint); ok { r0 = rf() @@ -38,10 +32,6 @@ func (_m *TelemetryIngress) BufferSize() uint { func (_m *TelemetryIngress) Endpoints() []config.TelemetryIngressEndpoint { ret := _m.Called() - if len(ret) == 0 { - panic("no return value specified for Endpoints") - } - var r0 []config.TelemetryIngressEndpoint if rf, ok := ret.Get(0).(func() []config.TelemetryIngressEndpoint); ok { r0 = rf() @@ -58,10 +48,6 @@ func (_m *TelemetryIngress) Endpoints() []config.TelemetryIngressEndpoint { func (_m *TelemetryIngress) Logging() bool { ret := _m.Called() - if len(ret) == 0 { - panic("no return value specified for Logging") - } - var r0 bool if rf, ok := ret.Get(0).(func() bool); ok { r0 = rf() @@ -76,10 +62,6 @@ func (_m *TelemetryIngress) Logging() bool { func (_m *TelemetryIngress) MaxBatchSize() uint { ret := _m.Called() - if len(ret) == 0 { - panic("no return value specified for MaxBatchSize") - } - var r0 uint if rf, ok := ret.Get(0).(func() uint); ok { r0 = rf() @@ -94,10 +76,6 @@ func (_m *TelemetryIngress) MaxBatchSize() uint { func (_m *TelemetryIngress) SendInterval() time.Duration { ret := _m.Called() - if len(ret) == 0 { - panic("no return value specified for SendInterval") - } - var r0 time.Duration if rf, ok := ret.Get(0).(func() time.Duration); ok { r0 = rf() @@ -112,10 +90,6 @@ func (_m *TelemetryIngress) SendInterval() time.Duration { func (_m *TelemetryIngress) SendTimeout() time.Duration { ret := _m.Called() - if len(ret) == 0 { - panic("no return value specified for SendTimeout") - } - var r0 time.Duration if rf, ok := ret.Get(0).(func() time.Duration); ok { r0 = rf() @@ -126,52 +100,10 @@ func (_m *TelemetryIngress) SendTimeout() time.Duration { return r0 } -// ServerPubKey provides a mock function with given fields: -func (_m *TelemetryIngress) ServerPubKey() string { - ret := _m.Called() - - if len(ret) == 0 { - panic("no return value specified for ServerPubKey") - } - - var r0 string - if rf, ok := ret.Get(0).(func() string); ok { - r0 = rf() - } else { - r0 = ret.Get(0).(string) - } - - return r0 -} - -// URL provides a mock function with given fields: -func (_m *TelemetryIngress) URL() *url.URL { - ret := _m.Called() - - if len(ret) == 0 { - panic("no return value specified for URL") - } - - var r0 *url.URL - if rf, ok := ret.Get(0).(func() *url.URL); ok { - r0 = rf() - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*url.URL) - } - } - - return r0 -} - // UniConn provides a mock function with given fields: func (_m *TelemetryIngress) UniConn() bool { ret := _m.Called() - if len(ret) == 0 { - panic("no return value specified for UniConn") - } - var r0 bool if rf, ok := ret.Get(0).(func() bool); ok { r0 = rf() @@ -186,10 +118,6 @@ func (_m *TelemetryIngress) UniConn() bool { func (_m *TelemetryIngress) UseBatchSend() bool { ret := _m.Called() - if len(ret) == 0 { - panic("no return value specified for UseBatchSend") - } - var r0 bool if rf, ok := ret.Get(0).(func() bool); ok { r0 = rf()