Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type Deliver
- func (fake *Deliver) CloseSend() error
- func (fake *Deliver) CloseSendCallCount() int
- func (fake *Deliver) CloseSendCalls(stub func() error)
- func (fake *Deliver) CloseSendReturns(result1 error)
- func (fake *Deliver) CloseSendReturnsOnCall(i int, result1 error)
- func (fake *Deliver) Context() context.Context
- func (fake *Deliver) ContextCallCount() int
- func (fake *Deliver) ContextCalls(stub func() context.Context)
- func (fake *Deliver) ContextReturns(result1 context.Context)
- func (fake *Deliver) ContextReturnsOnCall(i int, result1 context.Context)
- func (fake *Deliver) Header() (metadata.MD, error)
- func (fake *Deliver) HeaderCallCount() int
- func (fake *Deliver) HeaderCalls(stub func() (metadata.MD, error))
- func (fake *Deliver) HeaderReturns(result1 metadata.MD, result2 error)
- func (fake *Deliver) HeaderReturnsOnCall(i int, result1 metadata.MD, result2 error)
- func (fake *Deliver) Invocations() map[string][][]interface{}
- func (fake *Deliver) Recv() (*peer.DeliverResponse, error)
- func (fake *Deliver) RecvCallCount() int
- func (fake *Deliver) RecvCalls(stub func() (*peer.DeliverResponse, error))
- func (fake *Deliver) RecvMsg(arg1 interface{}) error
- func (fake *Deliver) RecvMsgArgsForCall(i int) interface{}
- func (fake *Deliver) RecvMsgCallCount() int
- func (fake *Deliver) RecvMsgCalls(stub func(interface{}) error)
- func (fake *Deliver) RecvMsgReturns(result1 error)
- func (fake *Deliver) RecvMsgReturnsOnCall(i int, result1 error)
- func (fake *Deliver) RecvReturns(result1 *peer.DeliverResponse, result2 error)
- func (fake *Deliver) RecvReturnsOnCall(i int, result1 *peer.DeliverResponse, result2 error)
- func (fake *Deliver) Send(arg1 *common.Envelope) error
- func (fake *Deliver) SendArgsForCall(i int) *common.Envelope
- func (fake *Deliver) SendCallCount() int
- func (fake *Deliver) SendCalls(stub func(*common.Envelope) error)
- func (fake *Deliver) SendMsg(arg1 interface{}) error
- func (fake *Deliver) SendMsgArgsForCall(i int) interface{}
- func (fake *Deliver) SendMsgCallCount() int
- func (fake *Deliver) SendMsgCalls(stub func(interface{}) error)
- func (fake *Deliver) SendMsgReturns(result1 error)
- func (fake *Deliver) SendMsgReturnsOnCall(i int, result1 error)
- func (fake *Deliver) SendReturns(result1 error)
- func (fake *Deliver) SendReturnsOnCall(i int, result1 error)
- func (fake *Deliver) Trailer() metadata.MD
- func (fake *Deliver) TrailerCallCount() int
- func (fake *Deliver) TrailerCalls(stub func() metadata.MD)
- func (fake *Deliver) TrailerReturns(result1 metadata.MD)
- func (fake *Deliver) TrailerReturnsOnCall(i int, result1 metadata.MD)
- type PeerDeliverClient
- func (fake *PeerDeliverClient) Deliver(arg1 context.Context, arg2 ...grpc.CallOption) (peer.Deliver_DeliverClient, error)
- func (fake *PeerDeliverClient) DeliverArgsForCall(i int) (context.Context, []grpc.CallOption)
- func (fake *PeerDeliverClient) DeliverCallCount() int
- func (fake *PeerDeliverClient) DeliverCalls(...)
- func (fake *PeerDeliverClient) DeliverFiltered(arg1 context.Context, arg2 ...grpc.CallOption) (peer.Deliver_DeliverFilteredClient, error)
- func (fake *PeerDeliverClient) DeliverFilteredArgsForCall(i int) (context.Context, []grpc.CallOption)
- func (fake *PeerDeliverClient) DeliverFilteredCallCount() int
- func (fake *PeerDeliverClient) DeliverFilteredCalls(...)
- func (fake *PeerDeliverClient) DeliverFilteredReturns(result1 peer.Deliver_DeliverFilteredClient, result2 error)
- func (fake *PeerDeliverClient) DeliverFilteredReturnsOnCall(i int, result1 peer.Deliver_DeliverFilteredClient, result2 error)
- func (fake *PeerDeliverClient) DeliverReturns(result1 peer.Deliver_DeliverClient, result2 error)
- func (fake *PeerDeliverClient) DeliverReturnsOnCall(i int, result1 peer.Deliver_DeliverClient, result2 error)
- func (fake *PeerDeliverClient) DeliverWithPrivateData(arg1 context.Context, arg2 ...grpc.CallOption) (peer.Deliver_DeliverWithPrivateDataClient, error)
- func (fake *PeerDeliverClient) DeliverWithPrivateDataArgsForCall(i int) (context.Context, []grpc.CallOption)
- func (fake *PeerDeliverClient) DeliverWithPrivateDataCallCount() int
- func (fake *PeerDeliverClient) DeliverWithPrivateDataCalls(...)
- func (fake *PeerDeliverClient) DeliverWithPrivateDataReturns(result1 peer.Deliver_DeliverWithPrivateDataClient, result2 error)
- func (fake *PeerDeliverClient) DeliverWithPrivateDataReturnsOnCall(i int, result1 peer.Deliver_DeliverWithPrivateDataClient, result2 error)
- func (fake *PeerDeliverClient) Invocations() map[string][][]interface{}
- type SignerSerializer
- func (fake *SignerSerializer) Invocations() map[string][][]interface{}
- func (fake *SignerSerializer) Serialize() ([]byte, error)
- func (fake *SignerSerializer) SerializeCallCount() int
- func (fake *SignerSerializer) SerializeCalls(stub func() ([]byte, error))
- func (fake *SignerSerializer) SerializeReturns(result1 []byte, result2 error)
- func (fake *SignerSerializer) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *SignerSerializer) Sign(arg1 []byte) ([]byte, error)
- func (fake *SignerSerializer) SignArgsForCall(i int) []byte
- func (fake *SignerSerializer) SignCallCount() int
- func (fake *SignerSerializer) SignCalls(stub func([]byte) ([]byte, error))
- func (fake *SignerSerializer) SignReturns(result1 []byte, result2 error)
- func (fake *SignerSerializer) SignReturnsOnCall(i int, result1 []byte, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deliver ¶
type Deliver struct { CloseSendStub func() error ContextStub func() context.Context HeaderStub func() (metadata.MD, error) RecvStub func() (*peer.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 (*Deliver) CloseSendReturnsOnCall ¶
func (*Deliver) ContextReturnsOnCall ¶
func (*Deliver) HeaderReturns ¶
func (*Deliver) HeaderReturnsOnCall ¶
func (*Deliver) Recv ¶
func (fake *Deliver) Recv() (*peer.DeliverResponse, error)
func (*Deliver) RecvCalls ¶
func (fake *Deliver) RecvCalls(stub func() (*peer.DeliverResponse, error))
func (*Deliver) RecvMsgReturnsOnCall ¶
func (*Deliver) RecvReturns ¶
func (fake *Deliver) RecvReturns(result1 *peer.DeliverResponse, result2 error)
func (*Deliver) RecvReturnsOnCall ¶
func (fake *Deliver) RecvReturnsOnCall(i int, result1 *peer.DeliverResponse, result2 error)
func (*Deliver) SendMsgReturnsOnCall ¶
type PeerDeliverClient ¶
type PeerDeliverClient struct { DeliverStub func(context.Context, ...grpc.CallOption) (peer.Deliver_DeliverClient, error) DeliverFilteredStub func(context.Context, ...grpc.CallOption) (peer.Deliver_DeliverFilteredClient, error) DeliverWithPrivateDataStub func(context.Context, ...grpc.CallOption) (peer.Deliver_DeliverWithPrivateDataClient, error) // contains filtered or unexported fields }
func (*PeerDeliverClient) Deliver ¶
func (fake *PeerDeliverClient) Deliver(arg1 context.Context, arg2 ...grpc.CallOption) (peer.Deliver_DeliverClient, error)
func (*PeerDeliverClient) DeliverArgsForCall ¶
func (fake *PeerDeliverClient) DeliverArgsForCall(i int) (context.Context, []grpc.CallOption)
func (*PeerDeliverClient) DeliverCallCount ¶
func (fake *PeerDeliverClient) DeliverCallCount() int
func (*PeerDeliverClient) DeliverCalls ¶
func (fake *PeerDeliverClient) DeliverCalls(stub func(context.Context, ...grpc.CallOption) (peer.Deliver_DeliverClient, error))
func (*PeerDeliverClient) DeliverFiltered ¶
func (fake *PeerDeliverClient) DeliverFiltered(arg1 context.Context, arg2 ...grpc.CallOption) (peer.Deliver_DeliverFilteredClient, error)
func (*PeerDeliverClient) DeliverFilteredArgsForCall ¶
func (fake *PeerDeliverClient) DeliverFilteredArgsForCall(i int) (context.Context, []grpc.CallOption)
func (*PeerDeliverClient) DeliverFilteredCallCount ¶
func (fake *PeerDeliverClient) DeliverFilteredCallCount() int
func (*PeerDeliverClient) DeliverFilteredCalls ¶
func (fake *PeerDeliverClient) DeliverFilteredCalls(stub func(context.Context, ...grpc.CallOption) (peer.Deliver_DeliverFilteredClient, error))
func (*PeerDeliverClient) DeliverFilteredReturns ¶
func (fake *PeerDeliverClient) DeliverFilteredReturns(result1 peer.Deliver_DeliverFilteredClient, result2 error)
func (*PeerDeliverClient) DeliverFilteredReturnsOnCall ¶
func (fake *PeerDeliverClient) DeliverFilteredReturnsOnCall(i int, result1 peer.Deliver_DeliverFilteredClient, result2 error)
func (*PeerDeliverClient) DeliverReturns ¶
func (fake *PeerDeliverClient) DeliverReturns(result1 peer.Deliver_DeliverClient, result2 error)
func (*PeerDeliverClient) DeliverReturnsOnCall ¶
func (fake *PeerDeliverClient) DeliverReturnsOnCall(i int, result1 peer.Deliver_DeliverClient, result2 error)
func (*PeerDeliverClient) DeliverWithPrivateData ¶
func (fake *PeerDeliverClient) DeliverWithPrivateData(arg1 context.Context, arg2 ...grpc.CallOption) (peer.Deliver_DeliverWithPrivateDataClient, error)
func (*PeerDeliverClient) DeliverWithPrivateDataArgsForCall ¶
func (fake *PeerDeliverClient) DeliverWithPrivateDataArgsForCall(i int) (context.Context, []grpc.CallOption)
func (*PeerDeliverClient) DeliverWithPrivateDataCallCount ¶
func (fake *PeerDeliverClient) DeliverWithPrivateDataCallCount() int
func (*PeerDeliverClient) DeliverWithPrivateDataCalls ¶
func (fake *PeerDeliverClient) DeliverWithPrivateDataCalls(stub func(context.Context, ...grpc.CallOption) (peer.Deliver_DeliverWithPrivateDataClient, error))
func (*PeerDeliverClient) DeliverWithPrivateDataReturns ¶
func (fake *PeerDeliverClient) DeliverWithPrivateDataReturns(result1 peer.Deliver_DeliverWithPrivateDataClient, result2 error)
func (*PeerDeliverClient) DeliverWithPrivateDataReturnsOnCall ¶
func (fake *PeerDeliverClient) DeliverWithPrivateDataReturnsOnCall(i int, result1 peer.Deliver_DeliverWithPrivateDataClient, result2 error)
func (*PeerDeliverClient) Invocations ¶
func (fake *PeerDeliverClient) Invocations() map[string][][]interface{}
type SignerSerializer ¶
type SignerSerializer struct { SerializeStub func() ([]byte, error) SignStub func([]byte) ([]byte, error) // contains filtered or unexported fields }
func (*SignerSerializer) Invocations ¶
func (fake *SignerSerializer) Invocations() map[string][][]interface{}
func (*SignerSerializer) Serialize ¶
func (fake *SignerSerializer) Serialize() ([]byte, error)
func (*SignerSerializer) SerializeCallCount ¶
func (fake *SignerSerializer) SerializeCallCount() int
func (*SignerSerializer) SerializeCalls ¶
func (fake *SignerSerializer) SerializeCalls(stub func() ([]byte, error))
func (*SignerSerializer) SerializeReturns ¶
func (fake *SignerSerializer) SerializeReturns(result1 []byte, result2 error)
func (*SignerSerializer) SerializeReturnsOnCall ¶
func (fake *SignerSerializer) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
func (*SignerSerializer) Sign ¶
func (fake *SignerSerializer) Sign(arg1 []byte) ([]byte, error)
func (*SignerSerializer) SignArgsForCall ¶
func (fake *SignerSerializer) SignArgsForCall(i int) []byte
func (*SignerSerializer) SignCallCount ¶
func (fake *SignerSerializer) SignCallCount() int
func (*SignerSerializer) SignCalls ¶
func (fake *SignerSerializer) SignCalls(stub func([]byte) ([]byte, error))
func (*SignerSerializer) SignReturns ¶
func (fake *SignerSerializer) SignReturns(result1 []byte, result2 error)
func (*SignerSerializer) SignReturnsOnCall ¶
func (fake *SignerSerializer) SignReturnsOnCall(i int, result1 []byte, result2 error)
Click to show internal directories.
Click to hide internal directories.