mocks

package
v2.0.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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 Gossip

type Gossip struct {
	IdentityInfoStub func() api.PeerIdentitySet

	PeersStub func() []discovery.NetworkMember

	PeersOfChannelStub func(common.ChannelID) []discovery.NetworkMember

	SelfChannelInfoStub func(common.ChannelID) *protoext.SignedGossipMessage

	SelfMembershipInfoStub func() discovery.NetworkMember
	// contains filtered or unexported fields
}

func (*Gossip) IdentityInfo

func (fake *Gossip) IdentityInfo() api.PeerIdentitySet

func (*Gossip) IdentityInfoCallCount

func (fake *Gossip) IdentityInfoCallCount() int

func (*Gossip) IdentityInfoCalls

func (fake *Gossip) IdentityInfoCalls(stub func() api.PeerIdentitySet)

func (*Gossip) IdentityInfoReturns

func (fake *Gossip) IdentityInfoReturns(result1 api.PeerIdentitySet)

func (*Gossip) IdentityInfoReturnsOnCall

func (fake *Gossip) IdentityInfoReturnsOnCall(i int, result1 api.PeerIdentitySet)

func (*Gossip) Invocations

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

func (*Gossip) Peers

func (fake *Gossip) Peers() []discovery.NetworkMember

func (*Gossip) PeersCallCount

func (fake *Gossip) PeersCallCount() int

func (*Gossip) PeersCalls

func (fake *Gossip) PeersCalls(stub func() []discovery.NetworkMember)

func (*Gossip) PeersOfChannel

func (fake *Gossip) PeersOfChannel(arg1 common.ChannelID) []discovery.NetworkMember

func (*Gossip) PeersOfChannelArgsForCall

func (fake *Gossip) PeersOfChannelArgsForCall(i int) common.ChannelID

func (*Gossip) PeersOfChannelCallCount

func (fake *Gossip) PeersOfChannelCallCount() int

func (*Gossip) PeersOfChannelCalls

func (fake *Gossip) PeersOfChannelCalls(stub func(common.ChannelID) []discovery.NetworkMember)

func (*Gossip) PeersOfChannelReturns

func (fake *Gossip) PeersOfChannelReturns(result1 []discovery.NetworkMember)

func (*Gossip) PeersOfChannelReturnsOnCall

func (fake *Gossip) PeersOfChannelReturnsOnCall(i int, result1 []discovery.NetworkMember)

func (*Gossip) PeersReturns

func (fake *Gossip) PeersReturns(result1 []discovery.NetworkMember)

func (*Gossip) PeersReturnsOnCall

func (fake *Gossip) PeersReturnsOnCall(i int, result1 []discovery.NetworkMember)

func (*Gossip) SelfChannelInfo

func (fake *Gossip) SelfChannelInfo(arg1 common.ChannelID) *protoext.SignedGossipMessage

func (*Gossip) SelfChannelInfoArgsForCall

func (fake *Gossip) SelfChannelInfoArgsForCall(i int) common.ChannelID

func (*Gossip) SelfChannelInfoCallCount

func (fake *Gossip) SelfChannelInfoCallCount() int

func (*Gossip) SelfChannelInfoCalls

func (fake *Gossip) SelfChannelInfoCalls(stub func(common.ChannelID) *protoext.SignedGossipMessage)

func (*Gossip) SelfChannelInfoReturns

func (fake *Gossip) SelfChannelInfoReturns(result1 *protoext.SignedGossipMessage)

func (*Gossip) SelfChannelInfoReturnsOnCall

func (fake *Gossip) SelfChannelInfoReturnsOnCall(i int, result1 *protoext.SignedGossipMessage)

func (*Gossip) SelfMembershipInfo

func (fake *Gossip) SelfMembershipInfo() discovery.NetworkMember

func (*Gossip) SelfMembershipInfoCallCount

func (fake *Gossip) SelfMembershipInfoCallCount() int

func (*Gossip) SelfMembershipInfoCalls

func (fake *Gossip) SelfMembershipInfoCalls(stub func() discovery.NetworkMember)

func (*Gossip) SelfMembershipInfoReturns

func (fake *Gossip) SelfMembershipInfoReturns(result1 discovery.NetworkMember)

func (*Gossip) SelfMembershipInfoReturnsOnCall

func (fake *Gossip) SelfMembershipInfoReturnsOnCall(i int, result1 discovery.NetworkMember)

Jump to

Keyboard shortcuts

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