mocks

package
v3.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: EPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Broker

type Broker struct {
	mock.Mock
}

Broker is an autogenerated mock type for the Broker type

func (*Broker) Bus

func (_m *Broker) Bus() *event.Bus

Bus provides a mock function with given fields:

func (*Broker) CloseConsumers

func (_m *Broker) CloseConsumers()

CloseConsumers provides a mock function with given fields:

func (*Broker) PrintDebug

func (_m *Broker) PrintDebug(format string, v ...interface{})

PrintDebug provides a mock function with given fields: format, v

func (*Broker) PrintFatal

func (_m *Broker) PrintFatal(format string, v ...interface{})

PrintFatal provides a mock function with given fields: format, v

func (*Broker) PrintInfo

func (_m *Broker) PrintInfo(format string, v ...interface{})

PrintInfo provides a mock function with given fields: format, v

func (*Broker) PrintInfoBuffer

func (_m *Broker) PrintInfoBuffer(info []string)

PrintInfoBuffer provides a mock function with given fields: info

func (*Broker) PrintPlan

func (_m *Broker) PrintPlan(metas []model.PluginMeta)

PrintPlan provides a mock function with given fields: metas

func (*Broker) PubDone

func (_m *Broker) PubDone(tooling string)

PubDone provides a mock function with given fields: tooling

func (*Broker) PubFailed

func (_m *Broker) PubFailed(err string)

PubFailed provides a mock function with given fields: err

func (*Broker) PubLog

func (_m *Broker) PubLog(text string)

PubLog provides a mock function with given fields: text

func (*Broker) PubStarted

func (_m *Broker) PubStarted()

PubStarted provides a mock function with given fields:

func (*Broker) PushEvents

func (_m *Broker) PushEvents(tun *jsonrpc.Tunnel, types ...string)

PushEvents provides a mock function with given fields: tun, types

type Random

type Random struct {
	mock.Mock
}

Random is an autogenerated mock type for the Random type

func (*Random) Int

func (_m *Random) Int(n int) int

Int provides a mock function with given fields: n

func (*Random) IntFromRange

func (_m *Random) IntFromRange(from int, to int) int

IntFromRange provides a mock function with given fields: from, to

func (*Random) String

func (_m *Random) String(length int) string

String provides a mock function with given fields: length

Jump to

Keyboard shortcuts

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