mock_telemetry

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_telemetry is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMetrics

type MockMetrics struct {
	// contains filtered or unexported fields
}

MockMetrics is a mock of Metrics interface

func NewMockMetrics

func NewMockMetrics(ctrl *gomock.Controller) *MockMetrics

NewMockMetrics creates a new mock instance

func (*MockMetrics) AddSample

func (m *MockMetrics) AddSample(arg0 []string, arg1 float32)

AddSample mocks base method

func (*MockMetrics) AddSampleWithLabels

func (m *MockMetrics) AddSampleWithLabels(arg0 []string, arg1 float32, arg2 []go_metrics.Label)

AddSampleWithLabels mocks base method

func (*MockMetrics) EXPECT

func (m *MockMetrics) EXPECT() *MockMetricsMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockMetrics) EmitKey

func (m *MockMetrics) EmitKey(arg0 []string, arg1 float32)

EmitKey mocks base method

func (*MockMetrics) IncrCounter

func (m *MockMetrics) IncrCounter(arg0 []string, arg1 float32)

IncrCounter mocks base method

func (*MockMetrics) IncrCounterWithLabels

func (m *MockMetrics) IncrCounterWithLabels(arg0 []string, arg1 float32, arg2 []go_metrics.Label)

IncrCounterWithLabels mocks base method

func (*MockMetrics) MeasureSince

func (m *MockMetrics) MeasureSince(arg0 []string, arg1 time.Time)

MeasureSince mocks base method

func (*MockMetrics) MeasureSinceWithLabels

func (m *MockMetrics) MeasureSinceWithLabels(arg0 []string, arg1 time.Time, arg2 []go_metrics.Label)

MeasureSinceWithLabels mocks base method

func (*MockMetrics) SetGauge

func (m *MockMetrics) SetGauge(arg0 []string, arg1 float32)

SetGauge mocks base method

func (*MockMetrics) SetGaugeWithLabels

func (m *MockMetrics) SetGaugeWithLabels(arg0 []string, arg1 float32, arg2 []go_metrics.Label)

SetGaugeWithLabels mocks base method

type MockMetricsMockRecorder

type MockMetricsMockRecorder struct {
	// contains filtered or unexported fields
}

MockMetricsMockRecorder is the mock recorder for MockMetrics

func (*MockMetricsMockRecorder) AddSample

func (mr *MockMetricsMockRecorder) AddSample(arg0, arg1 interface{}) *gomock.Call

AddSample indicates an expected call of AddSample

func (*MockMetricsMockRecorder) AddSampleWithLabels

func (mr *MockMetricsMockRecorder) AddSampleWithLabels(arg0, arg1, arg2 interface{}) *gomock.Call

AddSampleWithLabels indicates an expected call of AddSampleWithLabels

func (*MockMetricsMockRecorder) EmitKey

func (mr *MockMetricsMockRecorder) EmitKey(arg0, arg1 interface{}) *gomock.Call

EmitKey indicates an expected call of EmitKey

func (*MockMetricsMockRecorder) IncrCounter

func (mr *MockMetricsMockRecorder) IncrCounter(arg0, arg1 interface{}) *gomock.Call

IncrCounter indicates an expected call of IncrCounter

func (*MockMetricsMockRecorder) IncrCounterWithLabels

func (mr *MockMetricsMockRecorder) IncrCounterWithLabels(arg0, arg1, arg2 interface{}) *gomock.Call

IncrCounterWithLabels indicates an expected call of IncrCounterWithLabels

func (*MockMetricsMockRecorder) MeasureSince

func (mr *MockMetricsMockRecorder) MeasureSince(arg0, arg1 interface{}) *gomock.Call

MeasureSince indicates an expected call of MeasureSince

func (*MockMetricsMockRecorder) MeasureSinceWithLabels

func (mr *MockMetricsMockRecorder) MeasureSinceWithLabels(arg0, arg1, arg2 interface{}) *gomock.Call

MeasureSinceWithLabels indicates an expected call of MeasureSinceWithLabels

func (*MockMetricsMockRecorder) SetGauge

func (mr *MockMetricsMockRecorder) SetGauge(arg0, arg1 interface{}) *gomock.Call

SetGauge indicates an expected call of SetGauge

func (*MockMetricsMockRecorder) SetGaugeWithLabels

func (mr *MockMetricsMockRecorder) SetGaugeWithLabels(arg0, arg1, arg2 interface{}) *gomock.Call

SetGaugeWithLabels indicates an expected call of SetGaugeWithLabels

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL