Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type BroadcastClient
- func (fake *BroadcastClient) Close() error
- func (fake *BroadcastClient) CloseCallCount() int
- func (fake *BroadcastClient) CloseCalls(stub func() error)
- func (fake *BroadcastClient) CloseReturns(result1 error)
- func (fake *BroadcastClient) CloseReturnsOnCall(i int, result1 error)
- func (fake *BroadcastClient) Invocations() map[string][][]interface{}
- func (fake *BroadcastClient) Send(arg1 *common.Envelope) error
- func (fake *BroadcastClient) SendArgsForCall(i int) *common.Envelope
- func (fake *BroadcastClient) SendCallCount() int
- func (fake *BroadcastClient) SendCalls(stub func(*common.Envelope) error)
- func (fake *BroadcastClient) SendReturns(result1 error)
- func (fake *BroadcastClient) SendReturnsOnCall(i int, result1 error)
- 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 EndorserClient
- func (fake *EndorserClient) Invocations() map[string][][]interface{}
- func (fake *EndorserClient) ProcessProposal(arg1 context.Context, arg2 *peer.SignedProposal, arg3 ...grpc.CallOption) (*peer.ProposalResponse, error)
- func (fake *EndorserClient) ProcessProposalArgsForCall(i int) (context.Context, *peer.SignedProposal, []grpc.CallOption)
- func (fake *EndorserClient) ProcessProposalCallCount() int
- func (fake *EndorserClient) ProcessProposalCalls(...)
- func (fake *EndorserClient) ProcessProposalReturns(result1 *peer.ProposalResponse, result2 error)
- func (fake *EndorserClient) ProcessProposalReturnsOnCall(i int, result1 *peer.ProposalResponse, result2 error)
- 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 PlatformRegistry
- func (fake *PlatformRegistry) GetDeploymentPayload(arg1 string, arg2 string) ([]byte, error)
- func (fake *PlatformRegistry) GetDeploymentPayloadArgsForCall(i int) (string, string)
- func (fake *PlatformRegistry) GetDeploymentPayloadCallCount() int
- func (fake *PlatformRegistry) GetDeploymentPayloadCalls(stub func(string, string) ([]byte, error))
- func (fake *PlatformRegistry) GetDeploymentPayloadReturns(result1 []byte, result2 error)
- func (fake *PlatformRegistry) GetDeploymentPayloadReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *PlatformRegistry) Invocations() map[string][][]interface{}
- func (fake *PlatformRegistry) NormalizePath(arg1 string, arg2 string) (string, error)
- func (fake *PlatformRegistry) NormalizePathArgsForCall(i int) (string, string)
- func (fake *PlatformRegistry) NormalizePathCallCount() int
- func (fake *PlatformRegistry) NormalizePathCalls(stub func(string, string) (string, error))
- func (fake *PlatformRegistry) NormalizePathReturns(result1 string, result2 error)
- func (fake *PlatformRegistry) NormalizePathReturnsOnCall(i int, result1 string, result2 error)
- type Reader
- func (fake *Reader) Invocations() map[string][][]interface{}
- func (fake *Reader) ReadFile(arg1 string) ([]byte, error)
- func (fake *Reader) ReadFileArgsForCall(i int) string
- func (fake *Reader) ReadFileCallCount() int
- func (fake *Reader) ReadFileCalls(stub func(string) ([]byte, error))
- func (fake *Reader) ReadFileReturns(result1 []byte, result2 error)
- func (fake *Reader) ReadFileReturnsOnCall(i int, result1 []byte, 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 Writer
- func (fake *Writer) Invocations() map[string][][]interface{}
- func (fake *Writer) WriteFile(arg1 string, arg2 string, arg3 []byte) error
- func (fake *Writer) WriteFileArgsForCall(i int) (string, string, []byte)
- func (fake *Writer) WriteFileCallCount() int
- func (fake *Writer) WriteFileCalls(stub func(string, string, []byte) error)
- func (fake *Writer) WriteFileReturns(result1 error)
- func (fake *Writer) WriteFileReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BroadcastClient ¶
type BroadcastClient struct { CloseStub func() error SendStub func(*common.Envelope) error // contains filtered or unexported fields }
func (*BroadcastClient) Close ¶
func (fake *BroadcastClient) Close() error
func (*BroadcastClient) CloseCallCount ¶
func (fake *BroadcastClient) CloseCallCount() int
func (*BroadcastClient) CloseCalls ¶
func (fake *BroadcastClient) CloseCalls(stub func() error)
func (*BroadcastClient) CloseReturns ¶
func (fake *BroadcastClient) CloseReturns(result1 error)
func (*BroadcastClient) CloseReturnsOnCall ¶
func (fake *BroadcastClient) CloseReturnsOnCall(i int, result1 error)
func (*BroadcastClient) Invocations ¶
func (fake *BroadcastClient) Invocations() map[string][][]interface{}
func (*BroadcastClient) SendArgsForCall ¶
func (fake *BroadcastClient) SendArgsForCall(i int) *common.Envelope
func (*BroadcastClient) SendCallCount ¶
func (fake *BroadcastClient) SendCallCount() int
func (*BroadcastClient) SendCalls ¶
func (fake *BroadcastClient) SendCalls(stub func(*common.Envelope) error)
func (*BroadcastClient) SendReturns ¶
func (fake *BroadcastClient) SendReturns(result1 error)
func (*BroadcastClient) SendReturnsOnCall ¶
func (fake *BroadcastClient) SendReturnsOnCall(i int, result1 error)
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) CloseSendCallCount ¶
func (*Deliver) CloseSendCalls ¶
func (*Deliver) CloseSendReturns ¶
func (*Deliver) CloseSendReturnsOnCall ¶
func (*Deliver) ContextCallCount ¶
func (*Deliver) ContextCalls ¶
func (*Deliver) ContextReturns ¶
func (*Deliver) ContextReturnsOnCall ¶
func (*Deliver) HeaderCallCount ¶
func (*Deliver) HeaderReturns ¶
func (*Deliver) HeaderReturnsOnCall ¶
func (*Deliver) Invocations ¶
func (*Deliver) RecvCallCount ¶
func (*Deliver) RecvCalls ¶
func (fake *Deliver) RecvCalls(stub func() (*peer.DeliverResponse, error))
func (*Deliver) RecvMsgArgsForCall ¶
func (*Deliver) RecvMsgCallCount ¶
func (*Deliver) RecvMsgCalls ¶
func (*Deliver) RecvMsgReturns ¶
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) SendCallCount ¶
func (*Deliver) SendMsgArgsForCall ¶
func (*Deliver) SendMsgCallCount ¶
func (*Deliver) SendMsgCalls ¶
func (*Deliver) SendMsgReturns ¶
func (*Deliver) SendMsgReturnsOnCall ¶
func (*Deliver) SendReturns ¶
func (*Deliver) SendReturnsOnCall ¶
func (*Deliver) TrailerCallCount ¶
func (*Deliver) TrailerCalls ¶
func (*Deliver) TrailerReturns ¶
type EndorserClient ¶
type EndorserClient struct { ProcessProposalStub func(context.Context, *peer.SignedProposal, ...grpc.CallOption) (*peer.ProposalResponse, error) // contains filtered or unexported fields }
func (*EndorserClient) Invocations ¶
func (fake *EndorserClient) Invocations() map[string][][]interface{}
func (*EndorserClient) ProcessProposal ¶
func (fake *EndorserClient) ProcessProposal(arg1 context.Context, arg2 *peer.SignedProposal, arg3 ...grpc.CallOption) (*peer.ProposalResponse, error)
func (*EndorserClient) ProcessProposalArgsForCall ¶
func (fake *EndorserClient) ProcessProposalArgsForCall(i int) (context.Context, *peer.SignedProposal, []grpc.CallOption)
func (*EndorserClient) ProcessProposalCallCount ¶
func (fake *EndorserClient) ProcessProposalCallCount() int
func (*EndorserClient) ProcessProposalCalls ¶
func (fake *EndorserClient) ProcessProposalCalls(stub func(context.Context, *peer.SignedProposal, ...grpc.CallOption) (*peer.ProposalResponse, error))
func (*EndorserClient) ProcessProposalReturns ¶
func (fake *EndorserClient) ProcessProposalReturns(result1 *peer.ProposalResponse, result2 error)
func (*EndorserClient) ProcessProposalReturnsOnCall ¶
func (fake *EndorserClient) ProcessProposalReturnsOnCall(i int, result1 *peer.ProposalResponse, result2 error)
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 PlatformRegistry ¶
type PlatformRegistry struct { GetDeploymentPayloadStub func(string, string) ([]byte, error) NormalizePathStub func(string, string) (string, error) // contains filtered or unexported fields }
func (*PlatformRegistry) GetDeploymentPayload ¶
func (fake *PlatformRegistry) GetDeploymentPayload(arg1 string, arg2 string) ([]byte, error)
func (*PlatformRegistry) GetDeploymentPayloadArgsForCall ¶
func (fake *PlatformRegistry) GetDeploymentPayloadArgsForCall(i int) (string, string)
func (*PlatformRegistry) GetDeploymentPayloadCallCount ¶
func (fake *PlatformRegistry) GetDeploymentPayloadCallCount() int
func (*PlatformRegistry) GetDeploymentPayloadCalls ¶
func (fake *PlatformRegistry) GetDeploymentPayloadCalls(stub func(string, string) ([]byte, error))
func (*PlatformRegistry) GetDeploymentPayloadReturns ¶
func (fake *PlatformRegistry) GetDeploymentPayloadReturns(result1 []byte, result2 error)
func (*PlatformRegistry) GetDeploymentPayloadReturnsOnCall ¶
func (fake *PlatformRegistry) GetDeploymentPayloadReturnsOnCall(i int, result1 []byte, result2 error)
func (*PlatformRegistry) Invocations ¶
func (fake *PlatformRegistry) Invocations() map[string][][]interface{}
func (*PlatformRegistry) NormalizePath ¶
func (fake *PlatformRegistry) NormalizePath(arg1 string, arg2 string) (string, error)
func (*PlatformRegistry) NormalizePathArgsForCall ¶
func (fake *PlatformRegistry) NormalizePathArgsForCall(i int) (string, string)
func (*PlatformRegistry) NormalizePathCallCount ¶
func (fake *PlatformRegistry) NormalizePathCallCount() int
func (*PlatformRegistry) NormalizePathCalls ¶
func (fake *PlatformRegistry) NormalizePathCalls(stub func(string, string) (string, error))
func (*PlatformRegistry) NormalizePathReturns ¶
func (fake *PlatformRegistry) NormalizePathReturns(result1 string, result2 error)
func (*PlatformRegistry) NormalizePathReturnsOnCall ¶
func (fake *PlatformRegistry) NormalizePathReturnsOnCall(i int, result1 string, result2 error)
type Reader ¶
type Reader struct { ReadFileStub func(string) ([]byte, error) // contains filtered or unexported fields }
func (*Reader) Invocations ¶
func (*Reader) ReadFileArgsForCall ¶
func (*Reader) ReadFileCallCount ¶
func (*Reader) ReadFileReturns ¶
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 Writer ¶
type Writer struct { WriteFileStub func(string, string, []byte) error // contains filtered or unexported fields }
func (*Writer) Invocations ¶
func (*Writer) WriteFileArgsForCall ¶
func (*Writer) WriteFileCallCount ¶
func (*Writer) WriteFileCalls ¶
func (*Writer) WriteFileReturns ¶
func (*Writer) WriteFileReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.