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(name string, options ...metric.Float64CounterOption) (metric.Float64Counter, error)
- func (m *MockMeter) Float64Gauge(name string, options ...metric.Float64GaugeOption) (metric.Float64Gauge, error)
- func (m *MockMeter) Float64Histogram(name string, options ...metric.Float64HistogramOption) (metric.Float64Histogram, error)
- func (m *MockMeter) Float64ObservableCounter(name string, options ...metric.Float64ObservableCounterOption) (metric.Float64ObservableCounter, error)
- func (m *MockMeter) Float64ObservableGauge(name string, options ...metric.Float64ObservableGaugeOption) (metric.Float64ObservableGauge, error)
- func (m *MockMeter) Float64ObservableUpDownCounter(name string, options ...metric.Float64ObservableUpDownCounterOption) (metric.Float64ObservableUpDownCounter, error)
- func (m *MockMeter) Float64UpDownCounter(name string, options ...metric.Float64UpDownCounterOption) (metric.Float64UpDownCounter, error)
- func (m *MockMeter) Int64Counter(name string, options ...metric.Int64CounterOption) (metric.Int64Counter, error)
- func (m *MockMeter) Int64Gauge(name string, options ...metric.Int64GaugeOption) (metric.Int64Gauge, error)
- func (m *MockMeter) Int64Histogram(name string, options ...metric.Int64HistogramOption) (metric.Int64Histogram, error)
- func (m *MockMeter) Int64ObservableCounter(name string, options ...metric.Int64ObservableCounterOption) (metric.Int64ObservableCounter, error)
- func (m *MockMeter) Int64ObservableGauge(name string, options ...metric.Int64ObservableGaugeOption) (metric.Int64ObservableGauge, error)
- func (m *MockMeter) Int64ObservableUpDownCounter(name string, options ...metric.Int64ObservableUpDownCounterOption) (metric.Int64ObservableUpDownCounter, error)
- func (m *MockMeter) Int64UpDownCounter(name string, options ...metric.Int64UpDownCounterOption) (metric.Int64UpDownCounter, error)
- func (m *MockMeter) RegisterCallback(f metric.Callback, instruments ...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 MockMeterFloat64GaugeCall
- func (c *MockMeterFloat64GaugeCall) Do(f func(string, ...metric.Float64GaugeOption) (metric.Float64Gauge, error)) *MockMeterFloat64GaugeCall
- func (c *MockMeterFloat64GaugeCall) DoAndReturn(f func(string, ...metric.Float64GaugeOption) (metric.Float64Gauge, error)) *MockMeterFloat64GaugeCall
- func (c *MockMeterFloat64GaugeCall) Return(arg0 metric.Float64Gauge, arg1 error) *MockMeterFloat64GaugeCall
- 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 MockMeterInt64GaugeCall
- func (c *MockMeterInt64GaugeCall) Do(f func(string, ...metric.Int64GaugeOption) (metric.Int64Gauge, error)) *MockMeterInt64GaugeCall
- func (c *MockMeterInt64GaugeCall) DoAndReturn(f func(string, ...metric.Int64GaugeOption) (metric.Int64Gauge, error)) *MockMeterInt64GaugeCall
- func (c *MockMeterInt64GaugeCall) Return(arg0 metric.Int64Gauge, arg1 error) *MockMeterInt64GaugeCall
- 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(name any, options ...any) *MockMeterFloat64CounterCall
- func (mr *MockMeterMockRecorder) Float64Gauge(name any, options ...any) *MockMeterFloat64GaugeCall
- func (mr *MockMeterMockRecorder) Float64Histogram(name any, options ...any) *MockMeterFloat64HistogramCall
- func (mr *MockMeterMockRecorder) Float64ObservableCounter(name any, options ...any) *MockMeterFloat64ObservableCounterCall
- func (mr *MockMeterMockRecorder) Float64ObservableGauge(name any, options ...any) *MockMeterFloat64ObservableGaugeCall
- func (mr *MockMeterMockRecorder) Float64ObservableUpDownCounter(name any, options ...any) *MockMeterFloat64ObservableUpDownCounterCall
- func (mr *MockMeterMockRecorder) Float64UpDownCounter(name any, options ...any) *MockMeterFloat64UpDownCounterCall
- func (mr *MockMeterMockRecorder) Int64Counter(name any, options ...any) *MockMeterInt64CounterCall
- func (mr *MockMeterMockRecorder) Int64Gauge(name any, options ...any) *MockMeterInt64GaugeCall
- func (mr *MockMeterMockRecorder) Int64Histogram(name any, options ...any) *MockMeterInt64HistogramCall
- func (mr *MockMeterMockRecorder) Int64ObservableCounter(name any, options ...any) *MockMeterInt64ObservableCounterCall
- func (mr *MockMeterMockRecorder) Int64ObservableGauge(name any, options ...any) *MockMeterInt64ObservableGaugeCall
- func (mr *MockMeterMockRecorder) Int64ObservableUpDownCounter(name any, options ...any) *MockMeterInt64ObservableUpDownCounterCall
- func (mr *MockMeterMockRecorder) Int64UpDownCounter(name any, options ...any) *MockMeterInt64UpDownCounterCall
- func (mr *MockMeterMockRecorder) RegisterCallback(f any, instruments ...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 ¶
type MockInt64Counter struct { embedded.Int64Counter // contains filtered or unexported fields }
MockInt64Counter is a mock of Int64Counter interface.
func NewMockInt64Counter ¶
func NewMockInt64Counter(ctrl *gomock.Controller) *MockInt64Counter
NewMockInt64Counter creates a new mock instance.
func (*MockInt64Counter) EXPECT ¶
func (m *MockInt64Counter) EXPECT() *MockInt64CounterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockInt64CounterAddCall ¶
MockInt64CounterAddCall wrap *gomock.Call
func (*MockInt64CounterAddCall) Do ¶
func (c *MockInt64CounterAddCall) Do(f func(context.Context, int64, ...metric.AddOption)) *MockInt64CounterAddCall
Do rewrite *gomock.Call.Do
func (*MockInt64CounterAddCall) DoAndReturn ¶
func (c *MockInt64CounterAddCall) DoAndReturn(f func(context.Context, int64, ...metric.AddOption)) *MockInt64CounterAddCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInt64CounterAddCall) Return ¶
func (c *MockInt64CounterAddCall) Return() *MockInt64CounterAddCall
Return rewrite *gomock.Call.Return
type MockInt64CounterMockRecorder ¶
type MockInt64CounterMockRecorder struct {
// contains filtered or unexported fields
}
MockInt64CounterMockRecorder is the mock recorder for MockInt64Counter.
func (*MockInt64CounterMockRecorder) Add ¶
func (mr *MockInt64CounterMockRecorder) Add(ctx, incr any, options ...any) *MockInt64CounterAddCall
Add indicates an expected call of Add.
type MockInt64Counterint64CounterCall ¶
MockInt64Counterint64CounterCall wrap *gomock.Call
func (*MockInt64Counterint64CounterCall) Do ¶
func (c *MockInt64Counterint64CounterCall) Do(f func()) *MockInt64Counterint64CounterCall
Do rewrite *gomock.Call.Do
func (*MockInt64Counterint64CounterCall) DoAndReturn ¶
func (c *MockInt64Counterint64CounterCall) DoAndReturn(f func()) *MockInt64Counterint64CounterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInt64Counterint64CounterCall) Return ¶
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 ¶
MockInt64UpDownCounterAddCall wrap *gomock.Call
func (*MockInt64UpDownCounterAddCall) Do ¶
func (c *MockInt64UpDownCounterAddCall) Do(f func(context.Context, int64, ...metric.AddOption)) *MockInt64UpDownCounterAddCall
Do rewrite *gomock.Call.Do
func (*MockInt64UpDownCounterAddCall) DoAndReturn ¶
func (c *MockInt64UpDownCounterAddCall) DoAndReturn(f func(context.Context, int64, ...metric.AddOption)) *MockInt64UpDownCounterAddCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInt64UpDownCounterAddCall) Return ¶
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(ctx, incr any, options ...any) *MockInt64UpDownCounterAddCall
Add indicates an expected call of Add.
type MockInt64UpDownCounterint64UpDownCounterCall ¶
MockInt64UpDownCounterint64UpDownCounterCall wrap *gomock.Call
func (*MockInt64UpDownCounterint64UpDownCounterCall) Do ¶
func (c *MockInt64UpDownCounterint64UpDownCounterCall) Do(f func()) *MockInt64UpDownCounterint64UpDownCounterCall
Do rewrite *gomock.Call.Do
func (*MockInt64UpDownCounterint64UpDownCounterCall) DoAndReturn ¶
func (c *MockInt64UpDownCounterint64UpDownCounterCall) DoAndReturn(f func()) *MockInt64UpDownCounterint64UpDownCounterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInt64UpDownCounterint64UpDownCounterCall) Return ¶
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(name string, options ...metric.Float64CounterOption) (metric.Float64Counter, error)
Float64Counter mocks base method.
func (*MockMeter) Float64Gauge ¶ added in v17.1.0
func (m *MockMeter) Float64Gauge(name string, options ...metric.Float64GaugeOption) (metric.Float64Gauge, error)
Float64Gauge mocks base method.
func (*MockMeter) Float64Histogram ¶
func (m *MockMeter) Float64Histogram(name string, options ...metric.Float64HistogramOption) (metric.Float64Histogram, error)
Float64Histogram mocks base method.
func (*MockMeter) Float64ObservableCounter ¶
func (m *MockMeter) Float64ObservableCounter(name string, options ...metric.Float64ObservableCounterOption) (metric.Float64ObservableCounter, error)
Float64ObservableCounter mocks base method.
func (*MockMeter) Float64ObservableGauge ¶
func (m *MockMeter) Float64ObservableGauge(name string, options ...metric.Float64ObservableGaugeOption) (metric.Float64ObservableGauge, error)
Float64ObservableGauge mocks base method.
func (*MockMeter) Float64ObservableUpDownCounter ¶
func (m *MockMeter) Float64ObservableUpDownCounter(name string, options ...metric.Float64ObservableUpDownCounterOption) (metric.Float64ObservableUpDownCounter, error)
Float64ObservableUpDownCounter mocks base method.
func (*MockMeter) Float64UpDownCounter ¶
func (m *MockMeter) Float64UpDownCounter(name string, options ...metric.Float64UpDownCounterOption) (metric.Float64UpDownCounter, error)
Float64UpDownCounter mocks base method.
func (*MockMeter) Int64Counter ¶
func (m *MockMeter) Int64Counter(name string, options ...metric.Int64CounterOption) (metric.Int64Counter, error)
Int64Counter mocks base method.
func (*MockMeter) Int64Gauge ¶ added in v17.1.0
func (m *MockMeter) Int64Gauge(name string, options ...metric.Int64GaugeOption) (metric.Int64Gauge, error)
Int64Gauge mocks base method.
func (*MockMeter) Int64Histogram ¶
func (m *MockMeter) Int64Histogram(name string, options ...metric.Int64HistogramOption) (metric.Int64Histogram, error)
Int64Histogram mocks base method.
func (*MockMeter) Int64ObservableCounter ¶
func (m *MockMeter) Int64ObservableCounter(name string, options ...metric.Int64ObservableCounterOption) (metric.Int64ObservableCounter, error)
Int64ObservableCounter mocks base method.
func (*MockMeter) Int64ObservableGauge ¶
func (m *MockMeter) Int64ObservableGauge(name string, options ...metric.Int64ObservableGaugeOption) (metric.Int64ObservableGauge, error)
Int64ObservableGauge mocks base method.
func (*MockMeter) Int64ObservableUpDownCounter ¶
func (m *MockMeter) Int64ObservableUpDownCounter(name string, options ...metric.Int64ObservableUpDownCounterOption) (metric.Int64ObservableUpDownCounter, error)
Int64ObservableUpDownCounter mocks base method.
func (*MockMeter) Int64UpDownCounter ¶
func (m *MockMeter) Int64UpDownCounter(name string, options ...metric.Int64UpDownCounterOption) (metric.Int64UpDownCounter, error)
Int64UpDownCounter mocks base method.
func (*MockMeter) RegisterCallback ¶
func (m *MockMeter) RegisterCallback(f metric.Callback, instruments ...metric.Observable) (metric.Registration, error)
RegisterCallback mocks base method.
type MockMeterFloat64CounterCall ¶
MockMeterFloat64CounterCall wrap *gomock.Call
func (*MockMeterFloat64CounterCall) Do ¶
func (c *MockMeterFloat64CounterCall) Do(f func(string, ...metric.Float64CounterOption) (metric.Float64Counter, error)) *MockMeterFloat64CounterCall
Do rewrite *gomock.Call.Do
func (*MockMeterFloat64CounterCall) DoAndReturn ¶
func (c *MockMeterFloat64CounterCall) DoAndReturn(f func(string, ...metric.Float64CounterOption) (metric.Float64Counter, error)) *MockMeterFloat64CounterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterFloat64CounterCall) Return ¶
func (c *MockMeterFloat64CounterCall) Return(arg0 metric.Float64Counter, arg1 error) *MockMeterFloat64CounterCall
Return rewrite *gomock.Call.Return
type MockMeterFloat64GaugeCall ¶ added in v17.1.0
MockMeterFloat64GaugeCall wrap *gomock.Call
func (*MockMeterFloat64GaugeCall) Do ¶ added in v17.1.0
func (c *MockMeterFloat64GaugeCall) Do(f func(string, ...metric.Float64GaugeOption) (metric.Float64Gauge, error)) *MockMeterFloat64GaugeCall
Do rewrite *gomock.Call.Do
func (*MockMeterFloat64GaugeCall) DoAndReturn ¶ added in v17.1.0
func (c *MockMeterFloat64GaugeCall) DoAndReturn(f func(string, ...metric.Float64GaugeOption) (metric.Float64Gauge, error)) *MockMeterFloat64GaugeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterFloat64GaugeCall) Return ¶ added in v17.1.0
func (c *MockMeterFloat64GaugeCall) Return(arg0 metric.Float64Gauge, arg1 error) *MockMeterFloat64GaugeCall
Return rewrite *gomock.Call.Return
type MockMeterFloat64HistogramCall ¶
MockMeterFloat64HistogramCall wrap *gomock.Call
func (*MockMeterFloat64HistogramCall) Do ¶
func (c *MockMeterFloat64HistogramCall) Do(f func(string, ...metric.Float64HistogramOption) (metric.Float64Histogram, error)) *MockMeterFloat64HistogramCall
Do rewrite *gomock.Call.Do
func (*MockMeterFloat64HistogramCall) DoAndReturn ¶
func (c *MockMeterFloat64HistogramCall) DoAndReturn(f func(string, ...metric.Float64HistogramOption) (metric.Float64Histogram, error)) *MockMeterFloat64HistogramCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterFloat64HistogramCall) Return ¶
func (c *MockMeterFloat64HistogramCall) Return(arg0 metric.Float64Histogram, arg1 error) *MockMeterFloat64HistogramCall
Return rewrite *gomock.Call.Return
type MockMeterFloat64ObservableCounterCall ¶
MockMeterFloat64ObservableCounterCall wrap *gomock.Call
func (*MockMeterFloat64ObservableCounterCall) Do ¶
func (c *MockMeterFloat64ObservableCounterCall) Do(f func(string, ...metric.Float64ObservableCounterOption) (metric.Float64ObservableCounter, error)) *MockMeterFloat64ObservableCounterCall
Do rewrite *gomock.Call.Do
func (*MockMeterFloat64ObservableCounterCall) DoAndReturn ¶
func (c *MockMeterFloat64ObservableCounterCall) DoAndReturn(f func(string, ...metric.Float64ObservableCounterOption) (metric.Float64ObservableCounter, error)) *MockMeterFloat64ObservableCounterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterFloat64ObservableCounterCall) Return ¶
func (c *MockMeterFloat64ObservableCounterCall) Return(arg0 metric.Float64ObservableCounter, arg1 error) *MockMeterFloat64ObservableCounterCall
Return rewrite *gomock.Call.Return
type MockMeterFloat64ObservableGaugeCall ¶
MockMeterFloat64ObservableGaugeCall wrap *gomock.Call
func (*MockMeterFloat64ObservableGaugeCall) Do ¶
func (c *MockMeterFloat64ObservableGaugeCall) Do(f func(string, ...metric.Float64ObservableGaugeOption) (metric.Float64ObservableGauge, error)) *MockMeterFloat64ObservableGaugeCall
Do rewrite *gomock.Call.Do
func (*MockMeterFloat64ObservableGaugeCall) DoAndReturn ¶
func (c *MockMeterFloat64ObservableGaugeCall) DoAndReturn(f func(string, ...metric.Float64ObservableGaugeOption) (metric.Float64ObservableGauge, error)) *MockMeterFloat64ObservableGaugeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterFloat64ObservableGaugeCall) Return ¶
func (c *MockMeterFloat64ObservableGaugeCall) Return(arg0 metric.Float64ObservableGauge, arg1 error) *MockMeterFloat64ObservableGaugeCall
Return rewrite *gomock.Call.Return
type MockMeterFloat64ObservableUpDownCounterCall ¶
MockMeterFloat64ObservableUpDownCounterCall wrap *gomock.Call
func (*MockMeterFloat64ObservableUpDownCounterCall) Do ¶
func (c *MockMeterFloat64ObservableUpDownCounterCall) Do(f func(string, ...metric.Float64ObservableUpDownCounterOption) (metric.Float64ObservableUpDownCounter, error)) *MockMeterFloat64ObservableUpDownCounterCall
Do rewrite *gomock.Call.Do
func (*MockMeterFloat64ObservableUpDownCounterCall) DoAndReturn ¶
func (c *MockMeterFloat64ObservableUpDownCounterCall) DoAndReturn(f func(string, ...metric.Float64ObservableUpDownCounterOption) (metric.Float64ObservableUpDownCounter, error)) *MockMeterFloat64ObservableUpDownCounterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterFloat64ObservableUpDownCounterCall) Return ¶
func (c *MockMeterFloat64ObservableUpDownCounterCall) Return(arg0 metric.Float64ObservableUpDownCounter, arg1 error) *MockMeterFloat64ObservableUpDownCounterCall
Return rewrite *gomock.Call.Return
type MockMeterFloat64UpDownCounterCall ¶
MockMeterFloat64UpDownCounterCall wrap *gomock.Call
func (*MockMeterFloat64UpDownCounterCall) Do ¶
func (c *MockMeterFloat64UpDownCounterCall) Do(f func(string, ...metric.Float64UpDownCounterOption) (metric.Float64UpDownCounter, error)) *MockMeterFloat64UpDownCounterCall
Do rewrite *gomock.Call.Do
func (*MockMeterFloat64UpDownCounterCall) DoAndReturn ¶
func (c *MockMeterFloat64UpDownCounterCall) DoAndReturn(f func(string, ...metric.Float64UpDownCounterOption) (metric.Float64UpDownCounter, error)) *MockMeterFloat64UpDownCounterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterFloat64UpDownCounterCall) Return ¶
func (c *MockMeterFloat64UpDownCounterCall) Return(arg0 metric.Float64UpDownCounter, arg1 error) *MockMeterFloat64UpDownCounterCall
Return rewrite *gomock.Call.Return
type MockMeterInt64CounterCall ¶
MockMeterInt64CounterCall wrap *gomock.Call
func (*MockMeterInt64CounterCall) Do ¶
func (c *MockMeterInt64CounterCall) Do(f func(string, ...metric.Int64CounterOption) (metric.Int64Counter, error)) *MockMeterInt64CounterCall
Do rewrite *gomock.Call.Do
func (*MockMeterInt64CounterCall) DoAndReturn ¶
func (c *MockMeterInt64CounterCall) DoAndReturn(f func(string, ...metric.Int64CounterOption) (metric.Int64Counter, error)) *MockMeterInt64CounterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterInt64CounterCall) Return ¶
func (c *MockMeterInt64CounterCall) Return(arg0 metric.Int64Counter, arg1 error) *MockMeterInt64CounterCall
Return rewrite *gomock.Call.Return
type MockMeterInt64GaugeCall ¶ added in v17.1.0
MockMeterInt64GaugeCall wrap *gomock.Call
func (*MockMeterInt64GaugeCall) Do ¶ added in v17.1.0
func (c *MockMeterInt64GaugeCall) Do(f func(string, ...metric.Int64GaugeOption) (metric.Int64Gauge, error)) *MockMeterInt64GaugeCall
Do rewrite *gomock.Call.Do
func (*MockMeterInt64GaugeCall) DoAndReturn ¶ added in v17.1.0
func (c *MockMeterInt64GaugeCall) DoAndReturn(f func(string, ...metric.Int64GaugeOption) (metric.Int64Gauge, error)) *MockMeterInt64GaugeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterInt64GaugeCall) Return ¶ added in v17.1.0
func (c *MockMeterInt64GaugeCall) Return(arg0 metric.Int64Gauge, arg1 error) *MockMeterInt64GaugeCall
Return rewrite *gomock.Call.Return
type MockMeterInt64HistogramCall ¶
MockMeterInt64HistogramCall wrap *gomock.Call
func (*MockMeterInt64HistogramCall) Do ¶
func (c *MockMeterInt64HistogramCall) Do(f func(string, ...metric.Int64HistogramOption) (metric.Int64Histogram, error)) *MockMeterInt64HistogramCall
Do rewrite *gomock.Call.Do
func (*MockMeterInt64HistogramCall) DoAndReturn ¶
func (c *MockMeterInt64HistogramCall) DoAndReturn(f func(string, ...metric.Int64HistogramOption) (metric.Int64Histogram, error)) *MockMeterInt64HistogramCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterInt64HistogramCall) Return ¶
func (c *MockMeterInt64HistogramCall) Return(arg0 metric.Int64Histogram, arg1 error) *MockMeterInt64HistogramCall
Return rewrite *gomock.Call.Return
type MockMeterInt64ObservableCounterCall ¶
MockMeterInt64ObservableCounterCall wrap *gomock.Call
func (*MockMeterInt64ObservableCounterCall) Do ¶
func (c *MockMeterInt64ObservableCounterCall) Do(f func(string, ...metric.Int64ObservableCounterOption) (metric.Int64ObservableCounter, error)) *MockMeterInt64ObservableCounterCall
Do rewrite *gomock.Call.Do
func (*MockMeterInt64ObservableCounterCall) DoAndReturn ¶
func (c *MockMeterInt64ObservableCounterCall) DoAndReturn(f func(string, ...metric.Int64ObservableCounterOption) (metric.Int64ObservableCounter, error)) *MockMeterInt64ObservableCounterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterInt64ObservableCounterCall) Return ¶
func (c *MockMeterInt64ObservableCounterCall) Return(arg0 metric.Int64ObservableCounter, arg1 error) *MockMeterInt64ObservableCounterCall
Return rewrite *gomock.Call.Return
type MockMeterInt64ObservableGaugeCall ¶
MockMeterInt64ObservableGaugeCall wrap *gomock.Call
func (*MockMeterInt64ObservableGaugeCall) Do ¶
func (c *MockMeterInt64ObservableGaugeCall) Do(f func(string, ...metric.Int64ObservableGaugeOption) (metric.Int64ObservableGauge, error)) *MockMeterInt64ObservableGaugeCall
Do rewrite *gomock.Call.Do
func (*MockMeterInt64ObservableGaugeCall) DoAndReturn ¶
func (c *MockMeterInt64ObservableGaugeCall) DoAndReturn(f func(string, ...metric.Int64ObservableGaugeOption) (metric.Int64ObservableGauge, error)) *MockMeterInt64ObservableGaugeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterInt64ObservableGaugeCall) Return ¶
func (c *MockMeterInt64ObservableGaugeCall) Return(arg0 metric.Int64ObservableGauge, arg1 error) *MockMeterInt64ObservableGaugeCall
Return rewrite *gomock.Call.Return
type MockMeterInt64ObservableUpDownCounterCall ¶
MockMeterInt64ObservableUpDownCounterCall wrap *gomock.Call
func (*MockMeterInt64ObservableUpDownCounterCall) Do ¶
func (c *MockMeterInt64ObservableUpDownCounterCall) Do(f func(string, ...metric.Int64ObservableUpDownCounterOption) (metric.Int64ObservableUpDownCounter, error)) *MockMeterInt64ObservableUpDownCounterCall
Do rewrite *gomock.Call.Do
func (*MockMeterInt64ObservableUpDownCounterCall) DoAndReturn ¶
func (c *MockMeterInt64ObservableUpDownCounterCall) DoAndReturn(f func(string, ...metric.Int64ObservableUpDownCounterOption) (metric.Int64ObservableUpDownCounter, error)) *MockMeterInt64ObservableUpDownCounterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterInt64ObservableUpDownCounterCall) Return ¶
func (c *MockMeterInt64ObservableUpDownCounterCall) Return(arg0 metric.Int64ObservableUpDownCounter, arg1 error) *MockMeterInt64ObservableUpDownCounterCall
Return rewrite *gomock.Call.Return
type MockMeterInt64UpDownCounterCall ¶
MockMeterInt64UpDownCounterCall wrap *gomock.Call
func (*MockMeterInt64UpDownCounterCall) Do ¶
func (c *MockMeterInt64UpDownCounterCall) Do(f func(string, ...metric.Int64UpDownCounterOption) (metric.Int64UpDownCounter, error)) *MockMeterInt64UpDownCounterCall
Do rewrite *gomock.Call.Do
func (*MockMeterInt64UpDownCounterCall) DoAndReturn ¶
func (c *MockMeterInt64UpDownCounterCall) DoAndReturn(f func(string, ...metric.Int64UpDownCounterOption) (metric.Int64UpDownCounter, error)) *MockMeterInt64UpDownCounterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterInt64UpDownCounterCall) Return ¶
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(name any, options ...any) *MockMeterFloat64CounterCall
Float64Counter indicates an expected call of Float64Counter.
func (*MockMeterMockRecorder) Float64Gauge ¶ added in v17.1.0
func (mr *MockMeterMockRecorder) Float64Gauge(name any, options ...any) *MockMeterFloat64GaugeCall
Float64Gauge indicates an expected call of Float64Gauge.
func (*MockMeterMockRecorder) Float64Histogram ¶
func (mr *MockMeterMockRecorder) Float64Histogram(name any, options ...any) *MockMeterFloat64HistogramCall
Float64Histogram indicates an expected call of Float64Histogram.
func (*MockMeterMockRecorder) Float64ObservableCounter ¶
func (mr *MockMeterMockRecorder) Float64ObservableCounter(name any, options ...any) *MockMeterFloat64ObservableCounterCall
Float64ObservableCounter indicates an expected call of Float64ObservableCounter.
func (*MockMeterMockRecorder) Float64ObservableGauge ¶
func (mr *MockMeterMockRecorder) Float64ObservableGauge(name any, options ...any) *MockMeterFloat64ObservableGaugeCall
Float64ObservableGauge indicates an expected call of Float64ObservableGauge.
func (*MockMeterMockRecorder) Float64ObservableUpDownCounter ¶
func (mr *MockMeterMockRecorder) Float64ObservableUpDownCounter(name any, options ...any) *MockMeterFloat64ObservableUpDownCounterCall
Float64ObservableUpDownCounter indicates an expected call of Float64ObservableUpDownCounter.
func (*MockMeterMockRecorder) Float64UpDownCounter ¶
func (mr *MockMeterMockRecorder) Float64UpDownCounter(name any, options ...any) *MockMeterFloat64UpDownCounterCall
Float64UpDownCounter indicates an expected call of Float64UpDownCounter.
func (*MockMeterMockRecorder) Int64Counter ¶
func (mr *MockMeterMockRecorder) Int64Counter(name any, options ...any) *MockMeterInt64CounterCall
Int64Counter indicates an expected call of Int64Counter.
func (*MockMeterMockRecorder) Int64Gauge ¶ added in v17.1.0
func (mr *MockMeterMockRecorder) Int64Gauge(name any, options ...any) *MockMeterInt64GaugeCall
Int64Gauge indicates an expected call of Int64Gauge.
func (*MockMeterMockRecorder) Int64Histogram ¶
func (mr *MockMeterMockRecorder) Int64Histogram(name any, options ...any) *MockMeterInt64HistogramCall
Int64Histogram indicates an expected call of Int64Histogram.
func (*MockMeterMockRecorder) Int64ObservableCounter ¶
func (mr *MockMeterMockRecorder) Int64ObservableCounter(name any, options ...any) *MockMeterInt64ObservableCounterCall
Int64ObservableCounter indicates an expected call of Int64ObservableCounter.
func (*MockMeterMockRecorder) Int64ObservableGauge ¶
func (mr *MockMeterMockRecorder) Int64ObservableGauge(name any, options ...any) *MockMeterInt64ObservableGaugeCall
Int64ObservableGauge indicates an expected call of Int64ObservableGauge.
func (*MockMeterMockRecorder) Int64ObservableUpDownCounter ¶
func (mr *MockMeterMockRecorder) Int64ObservableUpDownCounter(name any, options ...any) *MockMeterInt64ObservableUpDownCounterCall
Int64ObservableUpDownCounter indicates an expected call of Int64ObservableUpDownCounter.
func (*MockMeterMockRecorder) Int64UpDownCounter ¶
func (mr *MockMeterMockRecorder) Int64UpDownCounter(name any, options ...any) *MockMeterInt64UpDownCounterCall
Int64UpDownCounter indicates an expected call of Int64UpDownCounter.
func (*MockMeterMockRecorder) RegisterCallback ¶
func (mr *MockMeterMockRecorder) RegisterCallback(f any, instruments ...any) *MockMeterRegisterCallbackCall
RegisterCallback indicates an expected call of RegisterCallback.
type MockMeterRegisterCallbackCall ¶
MockMeterRegisterCallbackCall wrap *gomock.Call
func (*MockMeterRegisterCallbackCall) Do ¶
func (c *MockMeterRegisterCallbackCall) Do(f func(metric.Callback, ...metric.Observable) (metric.Registration, error)) *MockMeterRegisterCallbackCall
Do rewrite *gomock.Call.Do
func (*MockMeterRegisterCallbackCall) DoAndReturn ¶
func (c *MockMeterRegisterCallbackCall) DoAndReturn(f func(metric.Callback, ...metric.Observable) (metric.Registration, error)) *MockMeterRegisterCallbackCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMeterRegisterCallbackCall) Return ¶
func (c *MockMeterRegisterCallbackCall) Return(arg0 metric.Registration, arg1 error) *MockMeterRegisterCallbackCall
Return rewrite *gomock.Call.Return
type MockMetermeterCall ¶
MockMetermeterCall wrap *gomock.Call
func (*MockMetermeterCall) Do ¶
func (c *MockMetermeterCall) Do(f func()) *MockMetermeterCall
Do rewrite *gomock.Call.Do
func (*MockMetermeterCall) DoAndReturn ¶
func (c *MockMetermeterCall) DoAndReturn(f func()) *MockMetermeterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockMetermeterCall) Return ¶
func (c *MockMetermeterCall) Return() *MockMetermeterCall
Return rewrite *gomock.Call.Return