Documentation ¶
Index ¶
- type BlockVerifier
- func (fake *BlockVerifier) Invocations() map[string][][]interface{}
- func (fake *BlockVerifier) VerifyBlock(arg1 common.ChannelID, arg2 uint64, arg3 *commona.Block) error
- func (fake *BlockVerifier) VerifyBlockArgsForCall(i int) (common.ChannelID, uint64, *commona.Block)
- func (fake *BlockVerifier) VerifyBlockCallCount() int
- func (fake *BlockVerifier) VerifyBlockCalls(stub func(common.ChannelID, uint64, *commona.Block) error)
- func (fake *BlockVerifier) VerifyBlockReturns(result1 error)
- func (fake *BlockVerifier) VerifyBlockReturnsOnCall(i int, result1 error)
- type DeliverClient
- func (fake *DeliverClient) CloseSend() error
- func (fake *DeliverClient) CloseSendCallCount() int
- func (fake *DeliverClient) CloseSendCalls(stub func() error)
- func (fake *DeliverClient) CloseSendReturns(result1 error)
- func (fake *DeliverClient) CloseSendReturnsOnCall(i int, result1 error)
- func (fake *DeliverClient) Context() context.Context
- func (fake *DeliverClient) ContextCallCount() int
- func (fake *DeliverClient) ContextCalls(stub func() context.Context)
- func (fake *DeliverClient) ContextReturns(result1 context.Context)
- func (fake *DeliverClient) ContextReturnsOnCall(i int, result1 context.Context)
- func (fake *DeliverClient) Header() (metadata.MD, error)
- func (fake *DeliverClient) HeaderCallCount() int
- func (fake *DeliverClient) HeaderCalls(stub func() (metadata.MD, error))
- func (fake *DeliverClient) HeaderReturns(result1 metadata.MD, result2 error)
- func (fake *DeliverClient) HeaderReturnsOnCall(i int, result1 metadata.MD, result2 error)
- func (fake *DeliverClient) Invocations() map[string][][]interface{}
- func (fake *DeliverClient) Recv() (*orderer.DeliverResponse, error)
- func (fake *DeliverClient) RecvCallCount() int
- func (fake *DeliverClient) RecvCalls(stub func() (*orderer.DeliverResponse, error))
- func (fake *DeliverClient) RecvMsg(arg1 interface{}) error
- func (fake *DeliverClient) RecvMsgArgsForCall(i int) interface{}
- func (fake *DeliverClient) RecvMsgCallCount() int
- func (fake *DeliverClient) RecvMsgCalls(stub func(interface{}) error)
- func (fake *DeliverClient) RecvMsgReturns(result1 error)
- func (fake *DeliverClient) RecvMsgReturnsOnCall(i int, result1 error)
- func (fake *DeliverClient) RecvReturns(result1 *orderer.DeliverResponse, result2 error)
- func (fake *DeliverClient) RecvReturnsOnCall(i int, result1 *orderer.DeliverResponse, result2 error)
- func (fake *DeliverClient) Send(arg1 *common.Envelope) error
- func (fake *DeliverClient) SendArgsForCall(i int) *common.Envelope
- func (fake *DeliverClient) SendCallCount() int
- func (fake *DeliverClient) SendCalls(stub func(*common.Envelope) error)
- func (fake *DeliverClient) SendMsg(arg1 interface{}) error
- func (fake *DeliverClient) SendMsgArgsForCall(i int) interface{}
- func (fake *DeliverClient) SendMsgCallCount() int
- func (fake *DeliverClient) SendMsgCalls(stub func(interface{}) error)
- func (fake *DeliverClient) SendMsgReturns(result1 error)
- func (fake *DeliverClient) SendMsgReturnsOnCall(i int, result1 error)
- func (fake *DeliverClient) SendReturns(result1 error)
- func (fake *DeliverClient) SendReturnsOnCall(i int, result1 error)
- func (fake *DeliverClient) Trailer() metadata.MD
- func (fake *DeliverClient) TrailerCallCount() int
- func (fake *DeliverClient) TrailerCalls(stub func() metadata.MD)
- func (fake *DeliverClient) TrailerReturns(result1 metadata.MD)
- func (fake *DeliverClient) TrailerReturnsOnCall(i int, result1 metadata.MD)
- type DeliverStreamer
- func (fake *DeliverStreamer) Deliver(arg1 context.Context, arg2 *grpc.ClientConn) (orderer.AtomicBroadcast_DeliverClient, error)
- func (fake *DeliverStreamer) DeliverArgsForCall(i int) (context.Context, *grpc.ClientConn)
- func (fake *DeliverStreamer) DeliverCallCount() int
- func (fake *DeliverStreamer) DeliverCalls(...)
- func (fake *DeliverStreamer) DeliverReturns(result1 orderer.AtomicBroadcast_DeliverClient, result2 error)
- func (fake *DeliverStreamer) DeliverReturnsOnCall(i int, result1 orderer.AtomicBroadcast_DeliverClient, result2 error)
- func (fake *DeliverStreamer) Invocations() map[string][][]interface{}
- type Dialer
- func (fake *Dialer) Dial(arg1 string, arg2 *x509.CertPool) (*grpc.ClientConn, error)
- func (fake *Dialer) DialArgsForCall(i int) (string, *x509.CertPool)
- func (fake *Dialer) DialCallCount() int
- func (fake *Dialer) DialCalls(stub func(string, *x509.CertPool) (*grpc.ClientConn, error))
- func (fake *Dialer) DialReturns(result1 *grpc.ClientConn, result2 error)
- func (fake *Dialer) DialReturnsOnCall(i int, result1 *grpc.ClientConn, result2 error)
- func (fake *Dialer) Invocations() map[string][][]interface{}
- type GossipServiceAdapter
- func (fake *GossipServiceAdapter) AddPayload(arg1 string, arg2 *gossip.Payload) error
- func (fake *GossipServiceAdapter) AddPayloadArgsForCall(i int) (string, *gossip.Payload)
- func (fake *GossipServiceAdapter) AddPayloadCallCount() int
- func (fake *GossipServiceAdapter) AddPayloadCalls(stub func(string, *gossip.Payload) error)
- func (fake *GossipServiceAdapter) AddPayloadReturns(result1 error)
- func (fake *GossipServiceAdapter) AddPayloadReturnsOnCall(i int, result1 error)
- func (fake *GossipServiceAdapter) Gossip(arg1 *gossip.GossipMessage)
- func (fake *GossipServiceAdapter) GossipArgsForCall(i int) *gossip.GossipMessage
- func (fake *GossipServiceAdapter) GossipCallCount() int
- func (fake *GossipServiceAdapter) GossipCalls(stub func(*gossip.GossipMessage))
- func (fake *GossipServiceAdapter) Invocations() map[string][][]interface{}
- type LedgerInfo
- func (fake *LedgerInfo) Invocations() map[string][][]interface{}
- func (fake *LedgerInfo) LedgerHeight() (uint64, error)
- func (fake *LedgerInfo) LedgerHeightCallCount() int
- func (fake *LedgerInfo) LedgerHeightCalls(stub func() (uint64, error))
- func (fake *LedgerInfo) LedgerHeightReturns(result1 uint64, result2 error)
- func (fake *LedgerInfo) LedgerHeightReturnsOnCall(i int, result1 uint64, result2 error)
- type OrdererConnectionSource
- func (fake *OrdererConnectionSource) Invocations() map[string][][]interface{}
- func (fake *OrdererConnectionSource) RandomEndpoint() (*orderers.Endpoint, error)
- func (fake *OrdererConnectionSource) RandomEndpointCallCount() int
- func (fake *OrdererConnectionSource) RandomEndpointCalls(stub func() (*orderers.Endpoint, error))
- func (fake *OrdererConnectionSource) RandomEndpointReturns(result1 *orderers.Endpoint, result2 error)
- func (fake *OrdererConnectionSource) RandomEndpointReturnsOnCall(i int, result1 *orderers.Endpoint, result2 error)
- type Signer
- func (fake *Signer) Invocations() map[string][][]interface{}
- func (fake *Signer) Serialize() ([]byte, error)
- func (fake *Signer) SerializeCallCount() int
- func (fake *Signer) SerializeCalls(stub func() ([]byte, error))
- func (fake *Signer) SerializeReturns(result1 []byte, result2 error)
- func (fake *Signer) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *Signer) Sign(arg1 []byte) ([]byte, error)
- func (fake *Signer) SignArgsForCall(i int) []byte
- func (fake *Signer) SignCallCount() int
- func (fake *Signer) SignCalls(stub func([]byte) ([]byte, error))
- func (fake *Signer) SignReturns(result1 []byte, result2 error)
- func (fake *Signer) SignReturnsOnCall(i int, result1 []byte, result2 error)
- type Sleeper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockVerifier ¶
type BlockVerifier struct { VerifyBlockStub func(common.ChannelID, uint64, *commona.Block) error // contains filtered or unexported fields }
func (*BlockVerifier) Invocations ¶
func (fake *BlockVerifier) Invocations() map[string][][]interface{}
func (*BlockVerifier) VerifyBlock ¶
func (*BlockVerifier) VerifyBlockArgsForCall ¶
func (*BlockVerifier) VerifyBlockCallCount ¶
func (fake *BlockVerifier) VerifyBlockCallCount() int
func (*BlockVerifier) VerifyBlockCalls ¶
func (*BlockVerifier) VerifyBlockReturns ¶
func (fake *BlockVerifier) VerifyBlockReturns(result1 error)
func (*BlockVerifier) VerifyBlockReturnsOnCall ¶
func (fake *BlockVerifier) VerifyBlockReturnsOnCall(i int, result1 error)
type DeliverClient ¶
type DeliverClient struct { CloseSendStub func() error ContextStub func() context.Context HeaderStub func() (metadata.MD, error) RecvStub func() (*orderer.DeliverResponse, error) RecvMsgStub func(interface{}) error SendStub func(*common.Envelope) error SendMsgStub func(interface{}) error TrailerStub func() metadata.MD // contains filtered or unexported fields }
func (*DeliverClient) CloseSend ¶
func (fake *DeliverClient) CloseSend() error
func (*DeliverClient) CloseSendCallCount ¶
func (fake *DeliverClient) CloseSendCallCount() int
func (*DeliverClient) CloseSendCalls ¶
func (fake *DeliverClient) CloseSendCalls(stub func() error)
func (*DeliverClient) CloseSendReturns ¶
func (fake *DeliverClient) CloseSendReturns(result1 error)
func (*DeliverClient) CloseSendReturnsOnCall ¶
func (fake *DeliverClient) CloseSendReturnsOnCall(i int, result1 error)
func (*DeliverClient) Context ¶
func (fake *DeliverClient) Context() context.Context
func (*DeliverClient) ContextCallCount ¶
func (fake *DeliverClient) ContextCallCount() int
func (*DeliverClient) ContextCalls ¶
func (fake *DeliverClient) ContextCalls(stub func() context.Context)
func (*DeliverClient) ContextReturns ¶
func (fake *DeliverClient) ContextReturns(result1 context.Context)
func (*DeliverClient) ContextReturnsOnCall ¶
func (fake *DeliverClient) ContextReturnsOnCall(i int, result1 context.Context)
func (*DeliverClient) HeaderCallCount ¶
func (fake *DeliverClient) HeaderCallCount() int
func (*DeliverClient) HeaderCalls ¶
func (fake *DeliverClient) HeaderCalls(stub func() (metadata.MD, error))
func (*DeliverClient) HeaderReturns ¶
func (fake *DeliverClient) HeaderReturns(result1 metadata.MD, result2 error)
func (*DeliverClient) HeaderReturnsOnCall ¶
func (fake *DeliverClient) HeaderReturnsOnCall(i int, result1 metadata.MD, result2 error)
func (*DeliverClient) Invocations ¶
func (fake *DeliverClient) Invocations() map[string][][]interface{}
func (*DeliverClient) Recv ¶
func (fake *DeliverClient) Recv() (*orderer.DeliverResponse, error)
func (*DeliverClient) RecvCallCount ¶
func (fake *DeliverClient) RecvCallCount() int
func (*DeliverClient) RecvCalls ¶
func (fake *DeliverClient) RecvCalls(stub func() (*orderer.DeliverResponse, error))
func (*DeliverClient) RecvMsg ¶
func (fake *DeliverClient) RecvMsg(arg1 interface{}) error
func (*DeliverClient) RecvMsgArgsForCall ¶
func (fake *DeliverClient) RecvMsgArgsForCall(i int) interface{}
func (*DeliverClient) RecvMsgCallCount ¶
func (fake *DeliverClient) RecvMsgCallCount() int
func (*DeliverClient) RecvMsgCalls ¶
func (fake *DeliverClient) RecvMsgCalls(stub func(interface{}) error)
func (*DeliverClient) RecvMsgReturns ¶
func (fake *DeliverClient) RecvMsgReturns(result1 error)
func (*DeliverClient) RecvMsgReturnsOnCall ¶
func (fake *DeliverClient) RecvMsgReturnsOnCall(i int, result1 error)
func (*DeliverClient) RecvReturns ¶
func (fake *DeliverClient) RecvReturns(result1 *orderer.DeliverResponse, result2 error)
func (*DeliverClient) RecvReturnsOnCall ¶
func (fake *DeliverClient) RecvReturnsOnCall(i int, result1 *orderer.DeliverResponse, result2 error)
func (*DeliverClient) SendArgsForCall ¶
func (fake *DeliverClient) SendArgsForCall(i int) *common.Envelope
func (*DeliverClient) SendCallCount ¶
func (fake *DeliverClient) SendCallCount() int
func (*DeliverClient) SendCalls ¶
func (fake *DeliverClient) SendCalls(stub func(*common.Envelope) error)
func (*DeliverClient) SendMsg ¶
func (fake *DeliverClient) SendMsg(arg1 interface{}) error
func (*DeliverClient) SendMsgArgsForCall ¶
func (fake *DeliverClient) SendMsgArgsForCall(i int) interface{}
func (*DeliverClient) SendMsgCallCount ¶
func (fake *DeliverClient) SendMsgCallCount() int
func (*DeliverClient) SendMsgCalls ¶
func (fake *DeliverClient) SendMsgCalls(stub func(interface{}) error)
func (*DeliverClient) SendMsgReturns ¶
func (fake *DeliverClient) SendMsgReturns(result1 error)
func (*DeliverClient) SendMsgReturnsOnCall ¶
func (fake *DeliverClient) SendMsgReturnsOnCall(i int, result1 error)
func (*DeliverClient) SendReturns ¶
func (fake *DeliverClient) SendReturns(result1 error)
func (*DeliverClient) SendReturnsOnCall ¶
func (fake *DeliverClient) SendReturnsOnCall(i int, result1 error)
func (*DeliverClient) Trailer ¶
func (fake *DeliverClient) Trailer() metadata.MD
func (*DeliverClient) TrailerCallCount ¶
func (fake *DeliverClient) TrailerCallCount() int
func (*DeliverClient) TrailerCalls ¶
func (fake *DeliverClient) TrailerCalls(stub func() metadata.MD)
func (*DeliverClient) TrailerReturns ¶
func (fake *DeliverClient) TrailerReturns(result1 metadata.MD)
func (*DeliverClient) TrailerReturnsOnCall ¶
func (fake *DeliverClient) TrailerReturnsOnCall(i int, result1 metadata.MD)
type DeliverStreamer ¶
type DeliverStreamer struct { DeliverStub func(context.Context, *grpc.ClientConn) (orderer.AtomicBroadcast_DeliverClient, error) // contains filtered or unexported fields }
func (*DeliverStreamer) Deliver ¶
func (fake *DeliverStreamer) Deliver(arg1 context.Context, arg2 *grpc.ClientConn) (orderer.AtomicBroadcast_DeliverClient, error)
func (*DeliverStreamer) DeliverArgsForCall ¶
func (fake *DeliverStreamer) DeliverArgsForCall(i int) (context.Context, *grpc.ClientConn)
func (*DeliverStreamer) DeliverCallCount ¶
func (fake *DeliverStreamer) DeliverCallCount() int
func (*DeliverStreamer) DeliverCalls ¶
func (fake *DeliverStreamer) DeliverCalls(stub func(context.Context, *grpc.ClientConn) (orderer.AtomicBroadcast_DeliverClient, error))
func (*DeliverStreamer) DeliverReturns ¶
func (fake *DeliverStreamer) DeliverReturns(result1 orderer.AtomicBroadcast_DeliverClient, result2 error)
func (*DeliverStreamer) DeliverReturnsOnCall ¶
func (fake *DeliverStreamer) DeliverReturnsOnCall(i int, result1 orderer.AtomicBroadcast_DeliverClient, result2 error)
func (*DeliverStreamer) Invocations ¶
func (fake *DeliverStreamer) Invocations() map[string][][]interface{}
type Dialer ¶
type Dialer struct { DialStub func(string, *x509.CertPool) (*grpc.ClientConn, error) // contains filtered or unexported fields }
func (*Dialer) DialArgsForCall ¶
func (*Dialer) DialCallCount ¶
func (*Dialer) DialReturns ¶
func (fake *Dialer) DialReturns(result1 *grpc.ClientConn, result2 error)
func (*Dialer) DialReturnsOnCall ¶
func (fake *Dialer) DialReturnsOnCall(i int, result1 *grpc.ClientConn, result2 error)
func (*Dialer) Invocations ¶
type GossipServiceAdapter ¶
type GossipServiceAdapter struct { AddPayloadStub func(string, *gossip.Payload) error GossipStub func(*gossip.GossipMessage) // contains filtered or unexported fields }
func (*GossipServiceAdapter) AddPayload ¶
func (fake *GossipServiceAdapter) AddPayload(arg1 string, arg2 *gossip.Payload) error
func (*GossipServiceAdapter) AddPayloadArgsForCall ¶
func (fake *GossipServiceAdapter) AddPayloadArgsForCall(i int) (string, *gossip.Payload)
func (*GossipServiceAdapter) AddPayloadCallCount ¶
func (fake *GossipServiceAdapter) AddPayloadCallCount() int
func (*GossipServiceAdapter) AddPayloadCalls ¶
func (fake *GossipServiceAdapter) AddPayloadCalls(stub func(string, *gossip.Payload) error)
func (*GossipServiceAdapter) AddPayloadReturns ¶
func (fake *GossipServiceAdapter) AddPayloadReturns(result1 error)
func (*GossipServiceAdapter) AddPayloadReturnsOnCall ¶
func (fake *GossipServiceAdapter) AddPayloadReturnsOnCall(i int, result1 error)
func (*GossipServiceAdapter) Gossip ¶
func (fake *GossipServiceAdapter) Gossip(arg1 *gossip.GossipMessage)
func (*GossipServiceAdapter) GossipArgsForCall ¶
func (fake *GossipServiceAdapter) GossipArgsForCall(i int) *gossip.GossipMessage
func (*GossipServiceAdapter) GossipCallCount ¶
func (fake *GossipServiceAdapter) GossipCallCount() int
func (*GossipServiceAdapter) GossipCalls ¶
func (fake *GossipServiceAdapter) GossipCalls(stub func(*gossip.GossipMessage))
func (*GossipServiceAdapter) Invocations ¶
func (fake *GossipServiceAdapter) Invocations() map[string][][]interface{}
type LedgerInfo ¶
type LedgerInfo struct { LedgerHeightStub func() (uint64, error) // contains filtered or unexported fields }
func (*LedgerInfo) Invocations ¶
func (fake *LedgerInfo) Invocations() map[string][][]interface{}
func (*LedgerInfo) LedgerHeight ¶
func (fake *LedgerInfo) LedgerHeight() (uint64, error)
func (*LedgerInfo) LedgerHeightCallCount ¶
func (fake *LedgerInfo) LedgerHeightCallCount() int
func (*LedgerInfo) LedgerHeightCalls ¶
func (fake *LedgerInfo) LedgerHeightCalls(stub func() (uint64, error))
func (*LedgerInfo) LedgerHeightReturns ¶
func (fake *LedgerInfo) LedgerHeightReturns(result1 uint64, result2 error)
func (*LedgerInfo) LedgerHeightReturnsOnCall ¶
func (fake *LedgerInfo) LedgerHeightReturnsOnCall(i int, result1 uint64, result2 error)
type OrdererConnectionSource ¶
type OrdererConnectionSource struct { RandomEndpointStub func() (*orderers.Endpoint, error) // contains filtered or unexported fields }
func (*OrdererConnectionSource) Invocations ¶
func (fake *OrdererConnectionSource) Invocations() map[string][][]interface{}
func (*OrdererConnectionSource) RandomEndpoint ¶
func (fake *OrdererConnectionSource) RandomEndpoint() (*orderers.Endpoint, error)
func (*OrdererConnectionSource) RandomEndpointCallCount ¶
func (fake *OrdererConnectionSource) RandomEndpointCallCount() int
func (*OrdererConnectionSource) RandomEndpointCalls ¶
func (fake *OrdererConnectionSource) RandomEndpointCalls(stub func() (*orderers.Endpoint, error))
func (*OrdererConnectionSource) RandomEndpointReturns ¶
func (fake *OrdererConnectionSource) RandomEndpointReturns(result1 *orderers.Endpoint, result2 error)
func (*OrdererConnectionSource) RandomEndpointReturnsOnCall ¶
func (fake *OrdererConnectionSource) RandomEndpointReturnsOnCall(i int, result1 *orderers.Endpoint, result2 error)
type Signer ¶
type Signer struct { SerializeStub func() ([]byte, error) SignStub func([]byte) ([]byte, error) // contains filtered or unexported fields }
func (*Signer) Invocations ¶
func (*Signer) SerializeCallCount ¶
func (*Signer) SerializeCalls ¶
func (*Signer) SerializeReturns ¶
func (*Signer) SerializeReturnsOnCall ¶
func (*Signer) SignArgsForCall ¶
func (*Signer) SignCallCount ¶
func (*Signer) SignReturns ¶
type Sleeper ¶
func (*Sleeper) Invocations ¶
func (*Sleeper) SleepCallCount ¶
func (*Sleeper) SleepCalls ¶
Click to show internal directories.
Click to hide internal directories.