mock_metrics

package
v0.0.0-...-d710dc9 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2016 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockScope

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

Mock of Scope interface

func NewMockScope

func NewMockScope(ctrl *gomock.Controller) *MockScope

func (*MockScope) Dec

func (_m *MockScope) Dec(_param0 string, _param1 int64) error

func (*MockScope) EXPECT

func (_m *MockScope) EXPECT() *_MockScopeRecorder

func (*MockScope) Gauge

func (_m *MockScope) Gauge(_param0 string, _param1 int64) error

func (*MockScope) GaugeDelta

func (_m *MockScope) GaugeDelta(_param0 string, _param1 int64) error

func (*MockScope) Inc

func (_m *MockScope) Inc(_param0 string, _param1 int64) error

func (*MockScope) NewScope

func (_m *MockScope) NewScope(_param0 ...string) metrics.Scope

func (*MockScope) Raw

func (_m *MockScope) Raw(_param0 string, _param1 string) error

func (*MockScope) Scope

func (_m *MockScope) Scope() string

func (*MockScope) Set

func (_m *MockScope) Set(_param0 string, _param1 string) error

func (*MockScope) SetInt

func (_m *MockScope) SetInt(_param0 string, _param1 int64) error

func (*MockScope) Timing

func (_m *MockScope) Timing(_param0 string, _param1 int64) error

func (*MockScope) TimingDuration

func (_m *MockScope) TimingDuration(_param0 string, _param1 time.Duration) error

Jump to

Keyboard shortcuts

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