fakes

package
v2.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 30, 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.

Code generated by counterfeiter. DO NOT EDIT.

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 AddressTable

type AddressTable struct {
	AddStub func(infraNames []string, ip string)

	RemoveStub func(infraNames []string, ip string)

	PausePruningStub func()

	ResumePruningStub func()

	SetWarmStub func()
	// contains filtered or unexported fields
}

func (*AddressTable) Add

func (fake *AddressTable) Add(infraNames []string, ip string)

func (*AddressTable) AddArgsForCall

func (fake *AddressTable) AddArgsForCall(i int) ([]string, string)

func (*AddressTable) AddCallCount

func (fake *AddressTable) AddCallCount() int

func (*AddressTable) Invocations

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

func (*AddressTable) PausePruning

func (fake *AddressTable) PausePruning()

func (*AddressTable) PausePruningCallCount

func (fake *AddressTable) PausePruningCallCount() int

func (*AddressTable) Remove

func (fake *AddressTable) Remove(infraNames []string, ip string)

func (*AddressTable) RemoveArgsForCall

func (fake *AddressTable) RemoveArgsForCall(i int) ([]string, string)

func (*AddressTable) RemoveCallCount

func (fake *AddressTable) RemoveCallCount() int

func (*AddressTable) ResumePruning

func (fake *AddressTable) ResumePruning()

func (*AddressTable) ResumePruningCallCount

func (fake *AddressTable) ResumePruningCallCount() int

func (*AddressTable) SetWarm

func (fake *AddressTable) SetWarm()

func (*AddressTable) SetWarmCallCount

func (fake *AddressTable) SetWarmCallCount() int

type MetricsSender

type MetricsSender struct {
	IncrementCounterStub func(string)
	// contains filtered or unexported fields
}

func (*MetricsSender) IncrementCounter

func (fake *MetricsSender) IncrementCounter(arg1 string)

func (*MetricsSender) IncrementCounterArgsForCall

func (fake *MetricsSender) IncrementCounterArgsForCall(i int) string

func (*MetricsSender) IncrementCounterCallCount

func (fake *MetricsSender) IncrementCounterCallCount() int

func (*MetricsSender) Invocations

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

type NatsConn

type NatsConn struct {
	PublishMsgStub func(m *nats.Msg) error

	CloseStub func()

	FlushStub func() error

	ConnectedUrlStub func() string

	SubscribeStub func(string, nats.MsgHandler) (*nats.Subscription, error)
	// contains filtered or unexported fields
}

func (*NatsConn) Close

func (fake *NatsConn) Close()

func (*NatsConn) CloseCallCount

func (fake *NatsConn) CloseCallCount() int

func (*NatsConn) ConnectedUrl

func (fake *NatsConn) ConnectedUrl() string

func (*NatsConn) ConnectedUrlCallCount

func (fake *NatsConn) ConnectedUrlCallCount() int

func (*NatsConn) ConnectedUrlReturns

func (fake *NatsConn) ConnectedUrlReturns(result1 string)

func (*NatsConn) ConnectedUrlReturnsOnCall

func (fake *NatsConn) ConnectedUrlReturnsOnCall(i int, result1 string)

func (*NatsConn) Flush

func (fake *NatsConn) Flush() error

func (*NatsConn) FlushCallCount

func (fake *NatsConn) FlushCallCount() int

func (*NatsConn) FlushReturns

func (fake *NatsConn) FlushReturns(result1 error)

func (*NatsConn) FlushReturnsOnCall

func (fake *NatsConn) FlushReturnsOnCall(i int, result1 error)

func (*NatsConn) Invocations

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

func (*NatsConn) PublishMsg

func (fake *NatsConn) PublishMsg(m *nats.Msg) error

func (*NatsConn) PublishMsgArgsForCall

func (fake *NatsConn) PublishMsgArgsForCall(i int) *nats.Msg

func (*NatsConn) PublishMsgCallCount

func (fake *NatsConn) PublishMsgCallCount() int

func (*NatsConn) PublishMsgReturns

func (fake *NatsConn) PublishMsgReturns(result1 error)

func (*NatsConn) PublishMsgReturnsOnCall

func (fake *NatsConn) PublishMsgReturnsOnCall(i int, result1 error)

func (*NatsConn) Subscribe

func (fake *NatsConn) Subscribe(arg1 string, arg2 nats.MsgHandler) (*nats.Subscription, error)

func (*NatsConn) SubscribeArgsForCall

func (fake *NatsConn) SubscribeArgsForCall(i int) (string, nats.MsgHandler)

func (*NatsConn) SubscribeCallCount

func (fake *NatsConn) SubscribeCallCount() int

func (*NatsConn) SubscribeReturns

func (fake *NatsConn) SubscribeReturns(result1 *nats.Subscription, result2 error)

func (*NatsConn) SubscribeReturnsOnCall

func (fake *NatsConn) SubscribeReturnsOnCall(i int, result1 *nats.Subscription, result2 error)

type NatsConnProvider

type NatsConnProvider struct {
	ConnectionStub func(opts ...nats.Option) (mbus.NatsConn, error)
	// contains filtered or unexported fields
}

func (*NatsConnProvider) Connection

func (fake *NatsConnProvider) Connection(opts ...nats.Option) (mbus.NatsConn, error)

func (*NatsConnProvider) ConnectionArgsForCall

func (fake *NatsConnProvider) ConnectionArgsForCall(i int) []nats.Option

func (*NatsConnProvider) ConnectionCallCount

func (fake *NatsConnProvider) ConnectionCallCount() int

func (*NatsConnProvider) ConnectionReturns

func (fake *NatsConnProvider) ConnectionReturns(result1 mbus.NatsConn, result2 error)

func (*NatsConnProvider) ConnectionReturnsOnCall

func (fake *NatsConnProvider) ConnectionReturnsOnCall(i int, result1 mbus.NatsConn, result2 error)

func (*NatsConnProvider) Invocations

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

type RouteMessageRecorder

type RouteMessageRecorder struct {
	RecordMessageTransitTimeStub func(time int64)
	// contains filtered or unexported fields
}

func (*RouteMessageRecorder) Invocations

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

func (*RouteMessageRecorder) RecordMessageTransitTime

func (fake *RouteMessageRecorder) RecordMessageTransitTime(time int64)

func (*RouteMessageRecorder) RecordMessageTransitTimeArgsForCall

func (fake *RouteMessageRecorder) RecordMessageTransitTimeArgsForCall(i int) int64

func (*RouteMessageRecorder) RecordMessageTransitTimeCallCount

func (fake *RouteMessageRecorder) RecordMessageTransitTimeCallCount() int

Jump to

Keyboard shortcuts

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