Documentation ¶
Overview ¶
Package mock_otel is a generated GoMock package.
Index ¶
- type MockInt64Counter
- type MockInt64CounterAddCall
- func (c *MockInt64CounterAddCall) Do(f func(context.Context, int64, ...metric.AddOption)) *MockInt64CounterAddCall
- func (c *MockInt64CounterAddCall) DoAndReturn(f func(context.Context, int64, ...metric.AddOption)) *MockInt64CounterAddCall
- func (c *MockInt64CounterAddCall) Return() *MockInt64CounterAddCall
- type MockInt64CounterMockRecorder
- type MockInt64Counterint64CounterCall
- type MockInt64UpDownCounter
- type MockInt64UpDownCounterAddCall
- func (c *MockInt64UpDownCounterAddCall) Do(f func(context.Context, int64, ...metric.AddOption)) *MockInt64UpDownCounterAddCall
- func (c *MockInt64UpDownCounterAddCall) DoAndReturn(f func(context.Context, int64, ...metric.AddOption)) *MockInt64UpDownCounterAddCall
- func (c *MockInt64UpDownCounterAddCall) Return() *MockInt64UpDownCounterAddCall
- type MockInt64UpDownCounterMockRecorder
- type MockInt64UpDownCounterint64UpDownCounterCall
- func (c *MockInt64UpDownCounterint64UpDownCounterCall) Do(f func()) *MockInt64UpDownCounterint64UpDownCounterCall
- func (c *MockInt64UpDownCounterint64UpDownCounterCall) DoAndReturn(f func()) *MockInt64UpDownCounterint64UpDownCounterCall
- func (c *MockInt64UpDownCounterint64UpDownCounterCall) Return() *MockInt64UpDownCounterint64UpDownCounterCall
- type MockMeter
- func (m *MockMeter) EXPECT() *MockMeterMockRecorder
- func (m *MockMeter) Float64Counter(arg0 string, arg1 ...metric.Float64CounterOption) (metric.Float64Counter, error)
- func (m *MockMeter) Float64Histogram(arg0 string, arg1 ...metric.Float64HistogramOption) (metric.Float64Histogram, error)
- func (m *MockMeter) Float64ObservableCounter(arg0 string, arg1 ...metric.Float64ObservableCounterOption) (metric.Float64ObservableCounter, error)
- func (m *MockMeter) Float64ObservableGauge(arg0 string, arg1 ...metric.Float64ObservableGaugeOption) (metric.Float64ObservableGauge, error)
- func (m *MockMeter) Float64ObservableUpDownCounter(arg0 string, arg1 ...metric.Float64ObservableUpDownCounterOption) (metric.Float64ObservableUpDownCounter, error)
- func (m *MockMeter) Float64UpDownCounter(arg0 string, arg1 ...metric.Float64UpDownCounterOption) (metric.Float64UpDownCounter, error)
- func (m *MockMeter) Int64Counter(arg0 string, arg1 ...metric.Int64CounterOption) (metric.Int64Counter, error)
- func (m *MockMeter) Int64Histogram(arg0 string, arg1 ...metric.Int64HistogramOption) (metric.Int64Histogram, error)
- func (m *MockMeter) Int64ObservableCounter(arg0 string, arg1 ...metric.Int64ObservableCounterOption) (metric.Int64ObservableCounter, error)
- func (m *MockMeter) Int64ObservableGauge(arg0 string, arg1 ...metric.Int64ObservableGaugeOption) (metric.Int64ObservableGauge, error)
- func (m *MockMeter) Int64ObservableUpDownCounter(arg0 string, arg1 ...metric.Int64ObservableUpDownCounterOption) (metric.Int64ObservableUpDownCounter, error)
- func (m *MockMeter) Int64UpDownCounter(arg0 string, arg1 ...metric.Int64UpDownCounterOption) (metric.Int64UpDownCounter, error)
- func (m *MockMeter) RegisterCallback(arg0 metric.Callback, arg1 ...metric.Observable) (metric.Registration, error)
- type MockMeterFloat64CounterCall
- func (c *MockMeterFloat64CounterCall) Do(f func(string, ...metric.Float64CounterOption) (metric.Float64Counter, error)) *MockMeterFloat64CounterCall
- func (c *MockMeterFloat64CounterCall) DoAndReturn(f func(string, ...metric.Float64CounterOption) (metric.Float64Counter, error)) *MockMeterFloat64CounterCall
- func (c *MockMeterFloat64CounterCall) Return(arg0 metric.Float64Counter, arg1 error) *MockMeterFloat64CounterCall
- type MockMeterFloat64HistogramCall
- type MockMeterFloat64ObservableCounterCall
- func (c *MockMeterFloat64ObservableCounterCall) Do(...) *MockMeterFloat64ObservableCounterCall
- func (c *MockMeterFloat64ObservableCounterCall) DoAndReturn(...) *MockMeterFloat64ObservableCounterCall
- func (c *MockMeterFloat64ObservableCounterCall) Return(arg0 metric.Float64ObservableCounter, arg1 error) *MockMeterFloat64ObservableCounterCall
- type MockMeterFloat64ObservableGaugeCall
- func (c *MockMeterFloat64ObservableGaugeCall) Do(...) *MockMeterFloat64ObservableGaugeCall
- func (c *MockMeterFloat64ObservableGaugeCall) DoAndReturn(...) *MockMeterFloat64ObservableGaugeCall
- func (c *MockMeterFloat64ObservableGaugeCall) Return(arg0 metric.Float64ObservableGauge, arg1 error) *MockMeterFloat64ObservableGaugeCall
- type MockMeterFloat64ObservableUpDownCounterCall
- func (c *MockMeterFloat64ObservableUpDownCounterCall) Do(...) *MockMeterFloat64ObservableUpDownCounterCall
- func (c *MockMeterFloat64ObservableUpDownCounterCall) DoAndReturn(...) *MockMeterFloat64ObservableUpDownCounterCall
- func (c *MockMeterFloat64ObservableUpDownCounterCall) Return(arg0 metric.Float64ObservableUpDownCounter, arg1 error) *MockMeterFloat64ObservableUpDownCounterCall
- type MockMeterFloat64UpDownCounterCall
- func (c *MockMeterFloat64UpDownCounterCall) Do(...) *MockMeterFloat64UpDownCounterCall
- func (c *MockMeterFloat64UpDownCounterCall) DoAndReturn(...) *MockMeterFloat64UpDownCounterCall
- func (c *MockMeterFloat64UpDownCounterCall) Return(arg0 metric.Float64UpDownCounter, arg1 error) *MockMeterFloat64UpDownCounterCall
- type MockMeterInt64CounterCall
- func (c *MockMeterInt64CounterCall) Do(f func(string, ...metric.Int64CounterOption) (metric.Int64Counter, error)) *MockMeterInt64CounterCall
- func (c *MockMeterInt64CounterCall) DoAndReturn(f func(string, ...metric.Int64CounterOption) (metric.Int64Counter, error)) *MockMeterInt64CounterCall
- func (c *MockMeterInt64CounterCall) Return(arg0 metric.Int64Counter, arg1 error) *MockMeterInt64CounterCall
- type MockMeterInt64HistogramCall
- func (c *MockMeterInt64HistogramCall) Do(f func(string, ...metric.Int64HistogramOption) (metric.Int64Histogram, error)) *MockMeterInt64HistogramCall
- func (c *MockMeterInt64HistogramCall) DoAndReturn(f func(string, ...metric.Int64HistogramOption) (metric.Int64Histogram, error)) *MockMeterInt64HistogramCall
- func (c *MockMeterInt64HistogramCall) Return(arg0 metric.Int64Histogram, arg1 error) *MockMeterInt64HistogramCall
- type MockMeterInt64ObservableCounterCall
- func (c *MockMeterInt64ObservableCounterCall) Do(...) *MockMeterInt64ObservableCounterCall
- func (c *MockMeterInt64ObservableCounterCall) DoAndReturn(...) *MockMeterInt64ObservableCounterCall
- func (c *MockMeterInt64ObservableCounterCall) Return(arg0 metric.Int64ObservableCounter, arg1 error) *MockMeterInt64ObservableCounterCall
- type MockMeterInt64ObservableGaugeCall
- func (c *MockMeterInt64ObservableGaugeCall) Do(...) *MockMeterInt64ObservableGaugeCall
- func (c *MockMeterInt64ObservableGaugeCall) DoAndReturn(...) *MockMeterInt64ObservableGaugeCall
- func (c *MockMeterInt64ObservableGaugeCall) Return(arg0 metric.Int64ObservableGauge, arg1 error) *MockMeterInt64ObservableGaugeCall
- type MockMeterInt64ObservableUpDownCounterCall
- func (c *MockMeterInt64ObservableUpDownCounterCall) Do(...) *MockMeterInt64ObservableUpDownCounterCall
- func (c *MockMeterInt64ObservableUpDownCounterCall) DoAndReturn(...) *MockMeterInt64ObservableUpDownCounterCall
- func (c *MockMeterInt64ObservableUpDownCounterCall) Return(arg0 metric.Int64ObservableUpDownCounter, arg1 error) *MockMeterInt64ObservableUpDownCounterCall
- type MockMeterInt64UpDownCounterCall
- func (c *MockMeterInt64UpDownCounterCall) Do(...) *MockMeterInt64UpDownCounterCall
- func (c *MockMeterInt64UpDownCounterCall) DoAndReturn(...) *MockMeterInt64UpDownCounterCall
- func (c *MockMeterInt64UpDownCounterCall) Return(arg0 metric.Int64UpDownCounter, arg1 error) *MockMeterInt64UpDownCounterCall
- type MockMeterMockRecorder
- func (mr *MockMeterMockRecorder) Float64Counter(arg0 any, arg1 ...any) *MockMeterFloat64CounterCall
- func (mr *MockMeterMockRecorder) Float64Histogram(arg0 any, arg1 ...any) *MockMeterFloat64HistogramCall
- func (mr *MockMeterMockRecorder) Float64ObservableCounter(arg0 any, arg1 ...any) *MockMeterFloat64ObservableCounterCall
- func (mr *MockMeterMockRecorder) Float64ObservableGauge(arg0 any, arg1 ...any) *MockMeterFloat64ObservableGaugeCall
- func (mr *MockMeterMockRecorder) Float64ObservableUpDownCounter(arg0 any, arg1 ...any) *MockMeterFloat64ObservableUpDownCounterCall
- func (mr *MockMeterMockRecorder) Float64UpDownCounter(arg0 any, arg1 ...any) *MockMeterFloat64UpDownCounterCall
- func (mr *MockMeterMockRecorder) Int64Counter(arg0 any, arg1 ...any) *MockMeterInt64CounterCall
- func (mr *MockMeterMockRecorder) Int64Histogram(arg0 any, arg1 ...any) *MockMeterInt64HistogramCall
- func (mr *MockMeterMockRecorder) Int64ObservableCounter(arg0 any, arg1 ...any) *MockMeterInt64ObservableCounterCall
- func (mr *MockMeterMockRecorder) Int64ObservableGauge(arg0 any, arg1 ...any) *MockMeterInt64ObservableGaugeCall
- func (mr *MockMeterMockRecorder) Int64ObservableUpDownCounter(arg0 any, arg1 ...any) *MockMeterInt64ObservableUpDownCounterCall
- func (mr *MockMeterMockRecorder) Int64UpDownCounter(arg0 any, arg1 ...any) *MockMeterInt64UpDownCounterCall
- func (mr *MockMeterMockRecorder) RegisterCallback(arg0 any, arg1 ...any) *MockMeterRegisterCallbackCall
- type MockMeterRegisterCallbackCall
- func (c *MockMeterRegisterCallbackCall) Do(f func(metric.Callback, ...metric.Observable) (metric.Registration, error)) *MockMeterRegisterCallbackCall
- func (c *MockMeterRegisterCallbackCall) DoAndReturn(f func(metric.Callback, ...metric.Observable) (metric.Registration, error)) *MockMeterRegisterCallbackCall
- func (c *MockMeterRegisterCallbackCall) Return(arg0 metric.Registration, arg1 error) *MockMeterRegisterCallbackCall
- type MockMetermeterCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInt64Counter ¶ added in v16.10.0
type MockInt64Counter struct { embedded.Int64Counter // contains filtered or unexported fields }
MockInt64Counter is a mock of Int64Counter interface.
func NewMockInt64Counter ¶ added in v16.10.0
func NewMockInt64Counter(ctrl *gomock.Controller) *MockInt64Counter
NewMockInt64Counter creates a new mock instance.
func (*MockInt64Counter) EXPECT ¶ added in v16.10.0
func (m *MockInt64Counter) EXPECT() *MockInt64CounterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockInt64CounterAddCall ¶ added in v16.10.0
MockInt64CounterAddCall wrap *gomock.Call
func (*MockInt64CounterAddCall) Do ¶ added in v16.10.0
func (c *MockInt64CounterAddCall) Do(f func(context.Context, int64, ...metric.AddOption)) *MockInt64CounterAddCall
Do rewrite *gomock.Call.Do
func (*MockInt64CounterAddCall) DoAndReturn ¶ added in v16.10.0
func (c *MockInt64CounterAddCall) DoAndReturn(f func(context.Context, int64, ...metric.AddOption)) *MockInt64CounterAddCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInt64CounterAddCall) Return ¶ added in v16.10.0
func (c *MockInt64CounterAddCall) Return() *MockInt64CounterAddCall
Return rewrite *gomock.Call.Return
type MockInt64CounterMockRecorder ¶ added in v16.10.0
type MockInt64CounterMockRecorder struct {
// contains filtered or unexported fields
}
MockInt64CounterMockRecorder is the mock recorder for MockInt64Counter.
func (*MockInt64CounterMockRecorder) Add ¶ added in v16.10.0
func (mr *MockInt64CounterMockRecorder) Add(arg0, arg1 any, arg2 ...any) *MockInt64CounterAddCall
Add indicates an expected call of Add.
type MockInt64Counterint64CounterCall ¶ added in v16.10.0
MockInt64Counterint64CounterCall wrap *gomock.Call
func (*MockInt64Counterint64CounterCall) Do ¶ added in v16.10.0
func (c *MockInt64Counterint64CounterCall) Do(f func()) *MockInt64Counterint64CounterCall
Do rewrite *gomock.Call.Do
func (*MockInt64Counterint64CounterCall) DoAndReturn ¶ added in v16.10.0
func (c *MockInt64Counterint64CounterCall) DoAndReturn(f func()) *MockInt64Counterint64CounterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInt64Counterint64CounterCall) Return ¶ added in v16.10.0
func (c *MockInt64Counterint64CounterCall) Return() *MockInt64Counterint64CounterCall
Return rewrite *gomock.Call.Return
type MockInt64UpDownCounter ¶
type MockInt64UpDownCounter struct { embedded.Int64UpDownCounter // contains filtered or unexported fields }
MockInt64UpDownCounter is a mock of Int64UpDownCounter interface.
func NewMockInt64UpDownCounter ¶
func NewMockInt64UpDownCounter(ctrl *gomock.Controller) *MockInt64UpDownCounter
NewMockInt64UpDownCounter creates a new mock instance.
func (*MockInt64UpDownCounter) EXPECT ¶
func (m *MockInt64UpDownCounter) EXPECT() *MockInt64UpDownCounterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockInt64UpDownCounterAddCall ¶ added in v16.8.0
MockInt64UpDownCounterAddCall wrap *gomock.Call
func (*MockInt64UpDownCounterAddCall) Do ¶ added in v16.8.0
func (c *MockInt64UpDownCounterAddCall) Do(f func(context.Context, int64, ...metric.AddOption)) *MockInt64UpDownCounterAddCall
Do rewrite *gomock.Call.Do
func (*MockInt64UpDownCounterAddCall) DoAndReturn ¶ added in v16.8.0
func (c *MockInt64UpDownCounterAddCall) DoAndReturn(f func(context.Context, int64, ...metric.AddOption)) *MockInt64UpDownCounterAddCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInt64UpDownCounterAddCall) Return ¶ added in v16.8.0
func (c *MockInt64UpDownCounterAddCall) Return() *MockInt64UpDownCounterAddCall
Return rewrite *gomock.Call.Return
type MockInt64UpDownCounterMockRecorder ¶
type MockInt64UpDownCounterMockRecorder struct {
// contains filtered or unexported fields
}
MockInt64UpDownCounterMockRecorder is the mock recorder for MockInt64UpDownCounter.
func (*MockInt64UpDownCounterMockRecorder) Add ¶
func (mr *MockInt64UpDownCounterMockRecorder) Add(arg0, arg1 any, arg2 ...any) *MockInt64UpDownCounterAddCall
Add indicates an expected call of Add.
type MockInt64UpDownCounterint64UpDownCounterCall ¶ added in v16.8.0
MockInt64UpDownCounterint64UpDownCounterCall wrap *gomock.Call
func (*MockInt64UpDownCounterint64UpDownCounterCall) Do ¶ added in v16.8.0
func (c *MockInt64UpDownCounterint64UpDownCounterCall) Do(f func()) *MockInt64UpDownCounterint64UpDownCounterCall
Do rewrite *gomock.Call.Do
func (*MockInt64UpDownCounterint64UpDownCounterCall) DoAndReturn ¶ added in v16.8.0
func (c *MockInt64UpDownCounterint64UpDownCounterCall) DoAndReturn(f func()) *MockInt64UpDownCounterint64UpDownCounterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInt64UpDownCounterint64UpDownCounterCall) Return ¶ added in v16.8.0
func (c *MockInt64UpDownCounterint64UpDownCounterCall) Return() *MockInt64UpDownCounterint64UpDownCounterCall
Return rewrite *gomock.Call.Return
type MockMeter ¶
MockMeter is a mock of Meter interface.
func NewMockMeter ¶
func NewMockMeter(ctrl *gomock.Controller) *MockMeter
NewMockMeter creates a new mock instance.
func (*MockMeter) EXPECT ¶
func (m *MockMeter) EXPECT() *MockMeterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMeter) Float64Counter ¶
func (m *MockMeter) Float64Counter(arg0 string, arg1 ...metric.Float64CounterOption) (metric.Float64Counter, error)
Float64Counter mocks base method.
func (*MockMeter) Float64Histogram ¶
func (m *MockMeter) Float64Histogram(arg0 string, arg1 ...metric.Float64HistogramOption) (metric.Float64Histogram, error)
Float64Histogram mocks base method.
func (*MockMeter) Float64ObservableCounter ¶
func (m *MockMeter) Float64ObservableCounter(arg0 string, arg1 ...metric.Float64ObservableCounterOption) (metric.Float64ObservableCounter, error)
Float64ObservableCounter mocks base method.
func (*MockMeter) Float64ObservableGauge ¶
func (m *MockMeter) Float64ObservableGauge(arg0 string, arg1 ...metric.Float64ObservableGaugeOption) (metric.Float64ObservableGauge, error)
Float64ObservableGauge mocks base method.
func (*MockMeter) Float64ObservableUpDownCounter ¶
func (m *MockMeter) Float64ObservableUpDownCounter(arg0 string, arg1 ...metric.Float64ObservableUpDownCounterOption) (metric.Float64ObservableUpDownCounter, error)
Float64ObservableUpDownCounter mocks base method.
func (*MockMeter) Float64UpDownCounter ¶
func (m *MockMeter) Float64UpDownCounter(arg0 string, arg1 ...metric.Float64UpDownCounterOption) (metric.Float64UpDownCounter, error)
Float64UpDownCounter mocks base method.
func (*MockMeter) Int64Counter ¶
func (m *MockMeter) Int64Counter(arg0 string, arg1 ...metric.Int64CounterOption) (metric.Int64Counter, error)
Int64Counter mocks base method.
func (*MockMeter) Int64Histogram ¶
func (m *MockMeter) Int64Histogram(arg0 string, arg1 ...metric.Int64HistogramOption) (metric.Int64Histogram, error)
Int64Histogram mocks base method.
func (*MockMeter) Int64ObservableCounter ¶
func (m *MockMeter) Int64ObservableCounter(arg0 string, arg1 ...metric.Int64ObservableCounterOption) (metric.Int64ObservableCounter, error)
Int64ObservableCounter mocks base method.
func (*MockMeter) Int64ObservableGauge ¶
func (m *MockMeter) Int64ObservableGauge(arg0 string, arg1 ...metric.Int64ObservableGaugeOption) (metric.Int64ObservableGauge, error)
Int64ObservableGauge mocks base method.
func (*MockMeter) Int64ObservableUpDownCounter ¶
func (m *MockMeter) Int64ObservableUpDownCounter(arg0 string, arg1 ...metric.Int64ObservableUpDownCounterOption) (metric.Int64ObservableUpDownCounter, error)
Int64ObservableUpDownCounter mocks base method.
func (*MockMeter) Int64UpDownCounter ¶
func (m *MockMeter) Int64UpDownCounter(arg0 string, arg1 ...metric.Int64UpDownCounterOption) (metric.Int64UpDownCounter, error)
Int64UpDownCounter mocks base method.
func (*MockMeter) RegisterCallback ¶
func (m *MockMeter) RegisterCallback(arg0 metric.Callback, arg1 ...metric.Observable) (metric.Registration, error)
RegisterCallback mocks base method.
type MockMeterFloat64CounterCall ¶ added in v16.8.0
MockMeterFloat64CounterCall wrap *gomock.Call
func (*MockMeterFloat64CounterCall) Do ¶ added in v16.8.0
func (c *MockMeterFloat64CounterCall) Do(f func(string, ...metric.Float64CounterOption) (metric.Float64Counter, error)) *MockMeterFloat64CounterCall
Do rewrite *gomock.Call.Do
func (*MockMeterFloat64CounterCall) DoAndReturn ¶ added in v16.8.0
func (c *MockMeterFloat64CounterCall) DoAndReturn(f func(string, ...metric.Float64CounterOption) (metric.Float64Counter, error)) *MockMeterFloat64CounterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterFloat64CounterCall) Return ¶ added in v16.8.0
func (c *MockMeterFloat64CounterCall) Return(arg0 metric.Float64Counter, arg1 error) *MockMeterFloat64CounterCall
Return rewrite *gomock.Call.Return
type MockMeterFloat64HistogramCall ¶ added in v16.8.0
MockMeterFloat64HistogramCall wrap *gomock.Call
func (*MockMeterFloat64HistogramCall) Do ¶ added in v16.8.0
func (c *MockMeterFloat64HistogramCall) Do(f func(string, ...metric.Float64HistogramOption) (metric.Float64Histogram, error)) *MockMeterFloat64HistogramCall
Do rewrite *gomock.Call.Do
func (*MockMeterFloat64HistogramCall) DoAndReturn ¶ added in v16.8.0
func (c *MockMeterFloat64HistogramCall) DoAndReturn(f func(string, ...metric.Float64HistogramOption) (metric.Float64Histogram, error)) *MockMeterFloat64HistogramCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterFloat64HistogramCall) Return ¶ added in v16.8.0
func (c *MockMeterFloat64HistogramCall) Return(arg0 metric.Float64Histogram, arg1 error) *MockMeterFloat64HistogramCall
Return rewrite *gomock.Call.Return
type MockMeterFloat64ObservableCounterCall ¶ added in v16.8.0
MockMeterFloat64ObservableCounterCall wrap *gomock.Call
func (*MockMeterFloat64ObservableCounterCall) Do ¶ added in v16.8.0
func (c *MockMeterFloat64ObservableCounterCall) Do(f func(string, ...metric.Float64ObservableCounterOption) (metric.Float64ObservableCounter, error)) *MockMeterFloat64ObservableCounterCall
Do rewrite *gomock.Call.Do
func (*MockMeterFloat64ObservableCounterCall) DoAndReturn ¶ added in v16.8.0
func (c *MockMeterFloat64ObservableCounterCall) DoAndReturn(f func(string, ...metric.Float64ObservableCounterOption) (metric.Float64ObservableCounter, error)) *MockMeterFloat64ObservableCounterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterFloat64ObservableCounterCall) Return ¶ added in v16.8.0
func (c *MockMeterFloat64ObservableCounterCall) Return(arg0 metric.Float64ObservableCounter, arg1 error) *MockMeterFloat64ObservableCounterCall
Return rewrite *gomock.Call.Return
type MockMeterFloat64ObservableGaugeCall ¶ added in v16.8.0
MockMeterFloat64ObservableGaugeCall wrap *gomock.Call
func (*MockMeterFloat64ObservableGaugeCall) Do ¶ added in v16.8.0
func (c *MockMeterFloat64ObservableGaugeCall) Do(f func(string, ...metric.Float64ObservableGaugeOption) (metric.Float64ObservableGauge, error)) *MockMeterFloat64ObservableGaugeCall
Do rewrite *gomock.Call.Do
func (*MockMeterFloat64ObservableGaugeCall) DoAndReturn ¶ added in v16.8.0
func (c *MockMeterFloat64ObservableGaugeCall) DoAndReturn(f func(string, ...metric.Float64ObservableGaugeOption) (metric.Float64ObservableGauge, error)) *MockMeterFloat64ObservableGaugeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterFloat64ObservableGaugeCall) Return ¶ added in v16.8.0
func (c *MockMeterFloat64ObservableGaugeCall) Return(arg0 metric.Float64ObservableGauge, arg1 error) *MockMeterFloat64ObservableGaugeCall
Return rewrite *gomock.Call.Return
type MockMeterFloat64ObservableUpDownCounterCall ¶ added in v16.8.0
MockMeterFloat64ObservableUpDownCounterCall wrap *gomock.Call
func (*MockMeterFloat64ObservableUpDownCounterCall) Do ¶ added in v16.8.0
func (c *MockMeterFloat64ObservableUpDownCounterCall) Do(f func(string, ...metric.Float64ObservableUpDownCounterOption) (metric.Float64ObservableUpDownCounter, error)) *MockMeterFloat64ObservableUpDownCounterCall
Do rewrite *gomock.Call.Do
func (*MockMeterFloat64ObservableUpDownCounterCall) DoAndReturn ¶ added in v16.8.0
func (c *MockMeterFloat64ObservableUpDownCounterCall) DoAndReturn(f func(string, ...metric.Float64ObservableUpDownCounterOption) (metric.Float64ObservableUpDownCounter, error)) *MockMeterFloat64ObservableUpDownCounterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterFloat64ObservableUpDownCounterCall) Return ¶ added in v16.8.0
func (c *MockMeterFloat64ObservableUpDownCounterCall) Return(arg0 metric.Float64ObservableUpDownCounter, arg1 error) *MockMeterFloat64ObservableUpDownCounterCall
Return rewrite *gomock.Call.Return
type MockMeterFloat64UpDownCounterCall ¶ added in v16.8.0
MockMeterFloat64UpDownCounterCall wrap *gomock.Call
func (*MockMeterFloat64UpDownCounterCall) Do ¶ added in v16.8.0
func (c *MockMeterFloat64UpDownCounterCall) Do(f func(string, ...metric.Float64UpDownCounterOption) (metric.Float64UpDownCounter, error)) *MockMeterFloat64UpDownCounterCall
Do rewrite *gomock.Call.Do
func (*MockMeterFloat64UpDownCounterCall) DoAndReturn ¶ added in v16.8.0
func (c *MockMeterFloat64UpDownCounterCall) DoAndReturn(f func(string, ...metric.Float64UpDownCounterOption) (metric.Float64UpDownCounter, error)) *MockMeterFloat64UpDownCounterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterFloat64UpDownCounterCall) Return ¶ added in v16.8.0
func (c *MockMeterFloat64UpDownCounterCall) Return(arg0 metric.Float64UpDownCounter, arg1 error) *MockMeterFloat64UpDownCounterCall
Return rewrite *gomock.Call.Return
type MockMeterInt64CounterCall ¶ added in v16.8.0
MockMeterInt64CounterCall wrap *gomock.Call
func (*MockMeterInt64CounterCall) Do ¶ added in v16.8.0
func (c *MockMeterInt64CounterCall) Do(f func(string, ...metric.Int64CounterOption) (metric.Int64Counter, error)) *MockMeterInt64CounterCall
Do rewrite *gomock.Call.Do
func (*MockMeterInt64CounterCall) DoAndReturn ¶ added in v16.8.0
func (c *MockMeterInt64CounterCall) DoAndReturn(f func(string, ...metric.Int64CounterOption) (metric.Int64Counter, error)) *MockMeterInt64CounterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterInt64CounterCall) Return ¶ added in v16.8.0
func (c *MockMeterInt64CounterCall) Return(arg0 metric.Int64Counter, arg1 error) *MockMeterInt64CounterCall
Return rewrite *gomock.Call.Return
type MockMeterInt64HistogramCall ¶ added in v16.8.0
MockMeterInt64HistogramCall wrap *gomock.Call
func (*MockMeterInt64HistogramCall) Do ¶ added in v16.8.0
func (c *MockMeterInt64HistogramCall) Do(f func(string, ...metric.Int64HistogramOption) (metric.Int64Histogram, error)) *MockMeterInt64HistogramCall
Do rewrite *gomock.Call.Do
func (*MockMeterInt64HistogramCall) DoAndReturn ¶ added in v16.8.0
func (c *MockMeterInt64HistogramCall) DoAndReturn(f func(string, ...metric.Int64HistogramOption) (metric.Int64Histogram, error)) *MockMeterInt64HistogramCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterInt64HistogramCall) Return ¶ added in v16.8.0
func (c *MockMeterInt64HistogramCall) Return(arg0 metric.Int64Histogram, arg1 error) *MockMeterInt64HistogramCall
Return rewrite *gomock.Call.Return
type MockMeterInt64ObservableCounterCall ¶ added in v16.8.0
MockMeterInt64ObservableCounterCall wrap *gomock.Call
func (*MockMeterInt64ObservableCounterCall) Do ¶ added in v16.8.0
func (c *MockMeterInt64ObservableCounterCall) Do(f func(string, ...metric.Int64ObservableCounterOption) (metric.Int64ObservableCounter, error)) *MockMeterInt64ObservableCounterCall
Do rewrite *gomock.Call.Do
func (*MockMeterInt64ObservableCounterCall) DoAndReturn ¶ added in v16.8.0
func (c *MockMeterInt64ObservableCounterCall) DoAndReturn(f func(string, ...metric.Int64ObservableCounterOption) (metric.Int64ObservableCounter, error)) *MockMeterInt64ObservableCounterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterInt64ObservableCounterCall) Return ¶ added in v16.8.0
func (c *MockMeterInt64ObservableCounterCall) Return(arg0 metric.Int64ObservableCounter, arg1 error) *MockMeterInt64ObservableCounterCall
Return rewrite *gomock.Call.Return
type MockMeterInt64ObservableGaugeCall ¶ added in v16.8.0
MockMeterInt64ObservableGaugeCall wrap *gomock.Call
func (*MockMeterInt64ObservableGaugeCall) Do ¶ added in v16.8.0
func (c *MockMeterInt64ObservableGaugeCall) Do(f func(string, ...metric.Int64ObservableGaugeOption) (metric.Int64ObservableGauge, error)) *MockMeterInt64ObservableGaugeCall
Do rewrite *gomock.Call.Do
func (*MockMeterInt64ObservableGaugeCall) DoAndReturn ¶ added in v16.8.0
func (c *MockMeterInt64ObservableGaugeCall) DoAndReturn(f func(string, ...metric.Int64ObservableGaugeOption) (metric.Int64ObservableGauge, error)) *MockMeterInt64ObservableGaugeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterInt64ObservableGaugeCall) Return ¶ added in v16.8.0
func (c *MockMeterInt64ObservableGaugeCall) Return(arg0 metric.Int64ObservableGauge, arg1 error) *MockMeterInt64ObservableGaugeCall
Return rewrite *gomock.Call.Return
type MockMeterInt64ObservableUpDownCounterCall ¶ added in v16.8.0
MockMeterInt64ObservableUpDownCounterCall wrap *gomock.Call
func (*MockMeterInt64ObservableUpDownCounterCall) Do ¶ added in v16.8.0
func (c *MockMeterInt64ObservableUpDownCounterCall) Do(f func(string, ...metric.Int64ObservableUpDownCounterOption) (metric.Int64ObservableUpDownCounter, error)) *MockMeterInt64ObservableUpDownCounterCall
Do rewrite *gomock.Call.Do
func (*MockMeterInt64ObservableUpDownCounterCall) DoAndReturn ¶ added in v16.8.0
func (c *MockMeterInt64ObservableUpDownCounterCall) DoAndReturn(f func(string, ...metric.Int64ObservableUpDownCounterOption) (metric.Int64ObservableUpDownCounter, error)) *MockMeterInt64ObservableUpDownCounterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterInt64ObservableUpDownCounterCall) Return ¶ added in v16.8.0
func (c *MockMeterInt64ObservableUpDownCounterCall) Return(arg0 metric.Int64ObservableUpDownCounter, arg1 error) *MockMeterInt64ObservableUpDownCounterCall
Return rewrite *gomock.Call.Return
type MockMeterInt64UpDownCounterCall ¶ added in v16.8.0
MockMeterInt64UpDownCounterCall wrap *gomock.Call
func (*MockMeterInt64UpDownCounterCall) Do ¶ added in v16.8.0
func (c *MockMeterInt64UpDownCounterCall) Do(f func(string, ...metric.Int64UpDownCounterOption) (metric.Int64UpDownCounter, error)) *MockMeterInt64UpDownCounterCall
Do rewrite *gomock.Call.Do
func (*MockMeterInt64UpDownCounterCall) DoAndReturn ¶ added in v16.8.0
func (c *MockMeterInt64UpDownCounterCall) DoAndReturn(f func(string, ...metric.Int64UpDownCounterOption) (metric.Int64UpDownCounter, error)) *MockMeterInt64UpDownCounterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterInt64UpDownCounterCall) Return ¶ added in v16.8.0
func (c *MockMeterInt64UpDownCounterCall) Return(arg0 metric.Int64UpDownCounter, arg1 error) *MockMeterInt64UpDownCounterCall
Return rewrite *gomock.Call.Return
type MockMeterMockRecorder ¶
type MockMeterMockRecorder struct {
// contains filtered or unexported fields
}
MockMeterMockRecorder is the mock recorder for MockMeter.
func (*MockMeterMockRecorder) Float64Counter ¶
func (mr *MockMeterMockRecorder) Float64Counter(arg0 any, arg1 ...any) *MockMeterFloat64CounterCall
Float64Counter indicates an expected call of Float64Counter.
func (*MockMeterMockRecorder) Float64Histogram ¶
func (mr *MockMeterMockRecorder) Float64Histogram(arg0 any, arg1 ...any) *MockMeterFloat64HistogramCall
Float64Histogram indicates an expected call of Float64Histogram.
func (*MockMeterMockRecorder) Float64ObservableCounter ¶
func (mr *MockMeterMockRecorder) Float64ObservableCounter(arg0 any, arg1 ...any) *MockMeterFloat64ObservableCounterCall
Float64ObservableCounter indicates an expected call of Float64ObservableCounter.
func (*MockMeterMockRecorder) Float64ObservableGauge ¶
func (mr *MockMeterMockRecorder) Float64ObservableGauge(arg0 any, arg1 ...any) *MockMeterFloat64ObservableGaugeCall
Float64ObservableGauge indicates an expected call of Float64ObservableGauge.
func (*MockMeterMockRecorder) Float64ObservableUpDownCounter ¶
func (mr *MockMeterMockRecorder) Float64ObservableUpDownCounter(arg0 any, arg1 ...any) *MockMeterFloat64ObservableUpDownCounterCall
Float64ObservableUpDownCounter indicates an expected call of Float64ObservableUpDownCounter.
func (*MockMeterMockRecorder) Float64UpDownCounter ¶
func (mr *MockMeterMockRecorder) Float64UpDownCounter(arg0 any, arg1 ...any) *MockMeterFloat64UpDownCounterCall
Float64UpDownCounter indicates an expected call of Float64UpDownCounter.
func (*MockMeterMockRecorder) Int64Counter ¶
func (mr *MockMeterMockRecorder) Int64Counter(arg0 any, arg1 ...any) *MockMeterInt64CounterCall
Int64Counter indicates an expected call of Int64Counter.
func (*MockMeterMockRecorder) Int64Histogram ¶
func (mr *MockMeterMockRecorder) Int64Histogram(arg0 any, arg1 ...any) *MockMeterInt64HistogramCall
Int64Histogram indicates an expected call of Int64Histogram.
func (*MockMeterMockRecorder) Int64ObservableCounter ¶
func (mr *MockMeterMockRecorder) Int64ObservableCounter(arg0 any, arg1 ...any) *MockMeterInt64ObservableCounterCall
Int64ObservableCounter indicates an expected call of Int64ObservableCounter.
func (*MockMeterMockRecorder) Int64ObservableGauge ¶
func (mr *MockMeterMockRecorder) Int64ObservableGauge(arg0 any, arg1 ...any) *MockMeterInt64ObservableGaugeCall
Int64ObservableGauge indicates an expected call of Int64ObservableGauge.
func (*MockMeterMockRecorder) Int64ObservableUpDownCounter ¶
func (mr *MockMeterMockRecorder) Int64ObservableUpDownCounter(arg0 any, arg1 ...any) *MockMeterInt64ObservableUpDownCounterCall
Int64ObservableUpDownCounter indicates an expected call of Int64ObservableUpDownCounter.
func (*MockMeterMockRecorder) Int64UpDownCounter ¶
func (mr *MockMeterMockRecorder) Int64UpDownCounter(arg0 any, arg1 ...any) *MockMeterInt64UpDownCounterCall
Int64UpDownCounter indicates an expected call of Int64UpDownCounter.
func (*MockMeterMockRecorder) RegisterCallback ¶
func (mr *MockMeterMockRecorder) RegisterCallback(arg0 any, arg1 ...any) *MockMeterRegisterCallbackCall
RegisterCallback indicates an expected call of RegisterCallback.
type MockMeterRegisterCallbackCall ¶ added in v16.8.0
MockMeterRegisterCallbackCall wrap *gomock.Call
func (*MockMeterRegisterCallbackCall) Do ¶ added in v16.8.0
func (c *MockMeterRegisterCallbackCall) Do(f func(metric.Callback, ...metric.Observable) (metric.Registration, error)) *MockMeterRegisterCallbackCall
Do rewrite *gomock.Call.Do
func (*MockMeterRegisterCallbackCall) DoAndReturn ¶ added in v16.8.0
func (c *MockMeterRegisterCallbackCall) DoAndReturn(f func(metric.Callback, ...metric.Observable) (metric.Registration, error)) *MockMeterRegisterCallbackCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterRegisterCallbackCall) Return ¶ added in v16.8.0
func (c *MockMeterRegisterCallbackCall) Return(arg0 metric.Registration, arg1 error) *MockMeterRegisterCallbackCall
Return rewrite *gomock.Call.Return
type MockMetermeterCall ¶ added in v16.8.0
MockMetermeterCall wrap *gomock.Call
func (*MockMetermeterCall) Do ¶ added in v16.8.0
func (c *MockMetermeterCall) Do(f func()) *MockMetermeterCall
Do rewrite *gomock.Call.Do
func (*MockMetermeterCall) DoAndReturn ¶ added in v16.8.0
func (c *MockMetermeterCall) DoAndReturn(f func()) *MockMetermeterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMetermeterCall) Return ¶ added in v16.8.0
func (c *MockMetermeterCall) Return() *MockMetermeterCall
Return rewrite *gomock.Call.Return