mock_delegate

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_delegate is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPool

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

MockPool is a mock of Pool interface

func NewMockPool

func NewMockPool(ctrl *gomock.Controller) *MockPool

NewMockPool creates a new mock instance

func (*MockPool) AllDelegates

func (m *MockPool) AllDelegates() ([]net.Addr, error)

AllDelegates mocks base method

func (*MockPool) AnotherDelegate

func (m *MockPool) AnotherDelegate(self string) net.Addr

AnotherDelegate mocks base method

func (*MockPool) EXPECT

func (m *MockPool) EXPECT() *MockPoolMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockPool) NumDelegatesPerEpoch

func (m *MockPool) NumDelegatesPerEpoch() (uint, error)

NumDelegatesPerEpoch mocks base method

func (*MockPool) RollDelegates

func (m *MockPool) RollDelegates(arg0 uint64) ([]net.Addr, error)

RollDelegates mocks base method

type MockPoolMockRecorder

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

MockPoolMockRecorder is the mock recorder for MockPool

func (*MockPoolMockRecorder) AllDelegates

func (mr *MockPoolMockRecorder) AllDelegates() *gomock.Call

AllDelegates indicates an expected call of AllDelegates

func (*MockPoolMockRecorder) AnotherDelegate

func (mr *MockPoolMockRecorder) AnotherDelegate(self interface{}) *gomock.Call

AnotherDelegate indicates an expected call of AnotherDelegate

func (*MockPoolMockRecorder) NumDelegatesPerEpoch

func (mr *MockPoolMockRecorder) NumDelegatesPerEpoch() *gomock.Call

NumDelegatesPerEpoch indicates an expected call of NumDelegatesPerEpoch

func (*MockPoolMockRecorder) RollDelegates

func (mr *MockPoolMockRecorder) RollDelegates(arg0 interface{}) *gomock.Call

RollDelegates indicates an expected call of RollDelegates

Jump to

Keyboard shortcuts

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