mocks

package
v0.0.0-...-d2438c5 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEventBus

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

MockEventBus is a mock of EventBus interface

func NewMockEventBus

func NewMockEventBus(ctrl *gomock.Controller) *MockEventBus

NewMockEventBus creates a new mock instance

func (*MockEventBus) AddHandler

func (m *MockEventBus) AddHandler(arg0 members.Handler)

AddHandler mocks base method

func (*MockEventBus) DispatchEvent

func (m *MockEventBus) DispatchEvent(arg0 members.Event) error

DispatchEvent mocks base method

func (*MockEventBus) EXPECT

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

func (*MockEventBus) RemoveHandler

func (m *MockEventBus) RemoveHandler(arg0 members.Handler)

RemoveHandler mocks base method

type MockEventBusMockRecorder

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

MockEventBusMockRecorder is the mock recorder for MockEventBus

func (*MockEventBusMockRecorder) AddHandler

func (mr *MockEventBusMockRecorder) AddHandler(arg0 interface{}) *gomock.Call

AddHandler indicates an expected call of AddHandler

func (*MockEventBusMockRecorder) DispatchEvent

func (mr *MockEventBusMockRecorder) DispatchEvent(arg0 interface{}) *gomock.Call

DispatchEvent indicates an expected call of DispatchEvent

func (*MockEventBusMockRecorder) RemoveHandler

func (mr *MockEventBusMockRecorder) RemoveHandler(arg0 interface{}) *gomock.Call

RemoveHandler indicates an expected call of RemoveHandler

type MockMember

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

MockMember is a mock of Member interface

func NewMockMember

func NewMockMember(ctrl *gomock.Controller) *MockMember

NewMockMember creates a new mock instance

func (*MockMember) Address

func (m *MockMember) Address() string

Address mocks base method

func (*MockMember) EXPECT

func (m *MockMember) EXPECT() *MockMemberMockRecorder

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

func (*MockMember) Name

func (m *MockMember) Name() string

Name mocks base method

type MockMemberList

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

MockMemberList is a mock of MemberList interface

func NewMockMemberList

func NewMockMemberList(ctrl *gomock.Controller) *MockMemberList

NewMockMemberList creates a new mock instance

func (*MockMemberList) EXPECT

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

func (*MockMemberList) LocalNode

func (m *MockMemberList) LocalNode() discovery.Member

LocalNode mocks base method

func (*MockMemberList) Members

func (m *MockMemberList) Members() []discovery.Member

Members mocks base method

func (*MockMemberList) NumMembers

func (m *MockMemberList) NumMembers() int

NumMembers mocks base method

type MockMemberListMockRecorder

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

MockMemberListMockRecorder is the mock recorder for MockMemberList

func (*MockMemberListMockRecorder) LocalNode

func (mr *MockMemberListMockRecorder) LocalNode() *gomock.Call

LocalNode indicates an expected call of LocalNode

func (*MockMemberListMockRecorder) Members

func (mr *MockMemberListMockRecorder) Members() *gomock.Call

Members indicates an expected call of Members

func (*MockMemberListMockRecorder) NumMembers

func (mr *MockMemberListMockRecorder) NumMembers() *gomock.Call

NumMembers indicates an expected call of NumMembers

type MockMemberMockRecorder

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

MockMemberMockRecorder is the mock recorder for MockMember

func (*MockMemberMockRecorder) Address

func (mr *MockMemberMockRecorder) Address() *gomock.Call

Address indicates an expected call of Address

func (*MockMemberMockRecorder) Name

func (mr *MockMemberMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name

type MockMembers

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

MockMembers is a mock of Members interface

func NewMockMembers

func NewMockMembers(ctrl *gomock.Controller) *MockMembers

NewMockMembers creates a new mock instance

func (*MockMembers) AddHandler

func (m *MockMembers) AddHandler(arg0 members.Handler)

AddHandler mocks base method

func (*MockMembers) DispatchEvent

func (m *MockMembers) DispatchEvent(arg0 members.Event) error

DispatchEvent mocks base method

func (*MockMembers) EXPECT

func (m *MockMembers) EXPECT() *MockMembersMockRecorder

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

func (*MockMembers) Join

func (m *MockMembers) Join() (int, error)

Join mocks base method

func (*MockMembers) Leave

func (m *MockMembers) Leave() error

Leave mocks base method

func (*MockMembers) MemberList

func (m *MockMembers) MemberList() discovery.MemberList

MemberList mocks base method

func (*MockMembers) RemoveHandler

func (m *MockMembers) RemoveHandler(arg0 members.Handler)

RemoveHandler mocks base method

func (*MockMembers) Shutdown

func (m *MockMembers) Shutdown() error

Shutdown mocks base method

func (*MockMembers) Walk

func (m *MockMembers) Walk(arg0 func(members.PeerInfo) error) error

Walk mocks base method

type MockMembersMockRecorder

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

MockMembersMockRecorder is the mock recorder for MockMembers

func (*MockMembersMockRecorder) AddHandler

func (mr *MockMembersMockRecorder) AddHandler(arg0 interface{}) *gomock.Call

AddHandler indicates an expected call of AddHandler

func (*MockMembersMockRecorder) DispatchEvent

func (mr *MockMembersMockRecorder) DispatchEvent(arg0 interface{}) *gomock.Call

DispatchEvent indicates an expected call of DispatchEvent

func (*MockMembersMockRecorder) Join

func (mr *MockMembersMockRecorder) Join() *gomock.Call

Join indicates an expected call of Join

func (*MockMembersMockRecorder) Leave

func (mr *MockMembersMockRecorder) Leave() *gomock.Call

Leave indicates an expected call of Leave

func (*MockMembersMockRecorder) MemberList

func (mr *MockMembersMockRecorder) MemberList() *gomock.Call

MemberList indicates an expected call of MemberList

func (*MockMembersMockRecorder) RemoveHandler

func (mr *MockMembersMockRecorder) RemoveHandler(arg0 interface{}) *gomock.Call

RemoveHandler indicates an expected call of RemoveHandler

func (*MockMembersMockRecorder) Shutdown

func (mr *MockMembersMockRecorder) Shutdown() *gomock.Call

Shutdown indicates an expected call of Shutdown

func (*MockMembersMockRecorder) Walk

func (mr *MockMembersMockRecorder) Walk(arg0 interface{}) *gomock.Call

Walk indicates an expected call of Walk

Jump to

Keyboard shortcuts

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