metricfakes

package
v3.14.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeEmitter

type FakeEmitter struct {
	EmitStub func(lager.Logger, metric.Event)
	// contains filtered or unexported fields
}

func (*FakeEmitter) Emit

func (fake *FakeEmitter) Emit(arg1 lager.Logger, arg2 metric.Event)

func (*FakeEmitter) EmitArgsForCall

func (fake *FakeEmitter) EmitArgsForCall(i int) (lager.Logger, metric.Event)

func (*FakeEmitter) EmitCallCount

func (fake *FakeEmitter) EmitCallCount() int

func (*FakeEmitter) Invocations

func (fake *FakeEmitter) Invocations() map[string][][]interface{}

type FakeEmitterFactory

type FakeEmitterFactory struct {
	DescriptionStub func() string

	IsConfiguredStub func() bool

	NewEmitterStub func() (metric.Emitter, error)
	// contains filtered or unexported fields
}

func (*FakeEmitterFactory) Description

func (fake *FakeEmitterFactory) Description() string

func (*FakeEmitterFactory) DescriptionCallCount

func (fake *FakeEmitterFactory) DescriptionCallCount() int

func (*FakeEmitterFactory) DescriptionReturns

func (fake *FakeEmitterFactory) DescriptionReturns(result1 string)

func (*FakeEmitterFactory) DescriptionReturnsOnCall

func (fake *FakeEmitterFactory) DescriptionReturnsOnCall(i int, result1 string)

func (*FakeEmitterFactory) Invocations

func (fake *FakeEmitterFactory) Invocations() map[string][][]interface{}

func (*FakeEmitterFactory) IsConfigured

func (fake *FakeEmitterFactory) IsConfigured() bool

func (*FakeEmitterFactory) IsConfiguredCallCount

func (fake *FakeEmitterFactory) IsConfiguredCallCount() int

func (*FakeEmitterFactory) IsConfiguredReturns

func (fake *FakeEmitterFactory) IsConfiguredReturns(result1 bool)

func (*FakeEmitterFactory) IsConfiguredReturnsOnCall

func (fake *FakeEmitterFactory) IsConfiguredReturnsOnCall(i int, result1 bool)

func (*FakeEmitterFactory) NewEmitter

func (fake *FakeEmitterFactory) NewEmitter() (metric.Emitter, error)

func (*FakeEmitterFactory) NewEmitterCallCount

func (fake *FakeEmitterFactory) NewEmitterCallCount() int

func (*FakeEmitterFactory) NewEmitterReturns

func (fake *FakeEmitterFactory) NewEmitterReturns(result1 metric.Emitter, result2 error)

func (*FakeEmitterFactory) NewEmitterReturnsOnCall

func (fake *FakeEmitterFactory) NewEmitterReturnsOnCall(i int, result1 metric.Emitter, result2 error)

Jump to

Keyboard shortcuts

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