fabric: github.com/hyperledger/fabric/discovery/support/gossip/mocks Index | Files

package mocks

import "github.com/hyperledger/fabric/discovery/support/gossip/mocks"

Code generated by counterfeiter. DO NOT EDIT.

Index

Package Files

gossip.go

type Gossip Uses

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 Uses

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

func (*Gossip) IdentityInfoCallCount Uses

func (fake *Gossip) IdentityInfoCallCount() int

func (*Gossip) IdentityInfoCalls Uses

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

func (*Gossip) IdentityInfoReturns Uses

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

func (*Gossip) IdentityInfoReturnsOnCall Uses

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

func (*Gossip) Invocations Uses

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

func (*Gossip) Peers Uses

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

func (*Gossip) PeersCallCount Uses

func (fake *Gossip) PeersCallCount() int

func (*Gossip) PeersCalls Uses

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

func (*Gossip) PeersOfChannel Uses

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

func (*Gossip) PeersOfChannelArgsForCall Uses

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

func (*Gossip) PeersOfChannelCallCount Uses

func (fake *Gossip) PeersOfChannelCallCount() int

func (*Gossip) PeersOfChannelCalls Uses

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

func (*Gossip) PeersOfChannelReturns Uses

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

func (*Gossip) PeersOfChannelReturnsOnCall Uses

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

func (*Gossip) PeersReturns Uses

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

func (*Gossip) PeersReturnsOnCall Uses

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

func (*Gossip) SelfChannelInfo Uses

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

func (*Gossip) SelfChannelInfoArgsForCall Uses

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

func (*Gossip) SelfChannelInfoCallCount Uses

func (fake *Gossip) SelfChannelInfoCallCount() int

func (*Gossip) SelfChannelInfoCalls Uses

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

func (*Gossip) SelfChannelInfoReturns Uses

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

func (*Gossip) SelfChannelInfoReturnsOnCall Uses

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

func (*Gossip) SelfMembershipInfo Uses

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

func (*Gossip) SelfMembershipInfoCallCount Uses

func (fake *Gossip) SelfMembershipInfoCallCount() int

func (*Gossip) SelfMembershipInfoCalls Uses

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

func (*Gossip) SelfMembershipInfoReturns Uses

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

func (*Gossip) SelfMembershipInfoReturnsOnCall Uses

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

Package mocks imports 6 packages (graph). Updated 2020-01-19. Refresh now. Tools for package owners.