coremock

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2017 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aggregator

type Aggregator struct {
	mock.Mock
}

Aggregator is an autogenerated mock type for the Aggregator type

func (*Aggregator) Report

func (_m *Aggregator) Report(_a0 core.Sample)

Report provides a mock function with given fields: _a0

func (*Aggregator) Run

func (_m *Aggregator) Run(_a0 context.Context) error

Run provides a mock function with given fields: _a0

func (*Aggregator) String

func (_m *Aggregator) String() string

Implement Stringer, so when Aggregator is passed as arg to another mock call, it not read and data races not created.

type Gun

type Gun struct {
	mock.Mock
}

Gun is an autogenerated mock type for the Gun type

func (*Gun) Bind

func (_m *Gun) Bind(_a0 core.Aggregator)

Bind provides a mock function with given fields: _a0

func (*Gun) Shoot

func (_m *Gun) Shoot(_a0 context.Context, _a1 core.Ammo)

Shoot provides a mock function with given fields: _a0, _a1

type Provider

type Provider struct {
	mock.Mock
}

Provider is an autogenerated mock type for the Provider type

func (*Provider) Acquire

func (_m *Provider) Acquire() (core.Ammo, bool)

Acquire provides a mock function with given fields:

func (*Provider) Release

func (_m *Provider) Release(_a0 core.Ammo)

Release provides a mock function with given fields: _a0

func (*Provider) Run

func (_m *Provider) Run(_a0 context.Context) error

Run provides a mock function with given fields: _a0

type Schedule

type Schedule struct {
	mock.Mock
}

Schedule is an autogenerated mock type for the Schedule type

func (*Schedule) Next

func (_m *Schedule) Next() (time.Time, bool)

Next provides a mock function with given fields:

func (*Schedule) Start

func (_m *Schedule) Start(startAt time.Time)

Run provides a mock function with given fields: startAt

Jump to

Keyboard shortcuts

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