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.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type Broadcast
- func (fake *Broadcast) CloseSend() error
- func (fake *Broadcast) CloseSendCallCount() int
- func (fake *Broadcast) CloseSendReturns(result1 error)
- func (fake *Broadcast) CloseSendReturnsOnCall(i int, result1 error)
- func (fake *Broadcast) Invocations() map[string][][]interface{}
- func (fake *Broadcast) Recv() (*ab.BroadcastResponse, error)
- func (fake *Broadcast) RecvCallCount() int
- func (fake *Broadcast) RecvReturns(result1 *ab.BroadcastResponse, result2 error)
- func (fake *Broadcast) RecvReturnsOnCall(i int, result1 *ab.BroadcastResponse, result2 error)
- func (fake *Broadcast) Send(m *common.Envelope) error
- func (fake *Broadcast) SendArgsForCall(i int) *common.Envelope
- func (fake *Broadcast) SendCallCount() int
- func (fake *Broadcast) SendReturns(result1 error)
- func (fake *Broadcast) SendReturnsOnCall(i int, result1 error)
- type DeliverClient
- func (fake *DeliverClient) Certificate() *tls.Certificate
- func (fake *DeliverClient) CertificateCallCount() int
- func (fake *DeliverClient) CertificateReturns(result1 *tls.Certificate)
- func (fake *DeliverClient) CertificateReturnsOnCall(i int, result1 *tls.Certificate)
- func (fake *DeliverClient) Invocations() map[string][][]interface{}
- func (fake *DeliverClient) NewDeliverFiltered(ctx context.Context, opts ...grpc.CallOption) (client.DeliverFiltered, error)
- func (fake *DeliverClient) NewDeliverFilteredArgsForCall(i int) (context.Context, []grpc.CallOption)
- func (fake *DeliverClient) NewDeliverFilteredCallCount() int
- func (fake *DeliverClient) NewDeliverFilteredReturns(result1 client.DeliverFiltered, result2 error)
- func (fake *DeliverClient) NewDeliverFilteredReturnsOnCall(i int, result1 client.DeliverFiltered, result2 error)
- type DeliverFiltered
- func (fake *DeliverFiltered) CloseSend() error
- func (fake *DeliverFiltered) CloseSendCallCount() int
- func (fake *DeliverFiltered) CloseSendReturns(result1 error)
- func (fake *DeliverFiltered) CloseSendReturnsOnCall(i int, result1 error)
- func (fake *DeliverFiltered) Invocations() map[string][][]interface{}
- func (fake *DeliverFiltered) Recv() (*pb.DeliverResponse, error)
- func (fake *DeliverFiltered) RecvCallCount() int
- func (fake *DeliverFiltered) RecvReturns(result1 *pb.DeliverResponse, result2 error)
- func (fake *DeliverFiltered) RecvReturnsOnCall(i int, result1 *pb.DeliverResponse, result2 error)
- func (fake *DeliverFiltered) Send(arg1 *common.Envelope) error
- func (fake *DeliverFiltered) SendArgsForCall(i int) *common.Envelope
- func (fake *DeliverFiltered) SendCallCount() int
- func (fake *DeliverFiltered) SendReturns(result1 error)
- func (fake *DeliverFiltered) SendReturnsOnCall(i int, result1 error)
- type FabricTxSubmitter
- func (fake *FabricTxSubmitter) Invocations() map[string][][]interface{}
- func (fake *FabricTxSubmitter) Submit(arg1 []byte) error
- func (fake *FabricTxSubmitter) SubmitArgsForCall(i int) []byte
- func (fake *FabricTxSubmitter) SubmitCallCount() int
- func (fake *FabricTxSubmitter) SubmitCalls(stub func([]byte) error)
- func (fake *FabricTxSubmitter) SubmitReturns(result1 error)
- func (fake *FabricTxSubmitter) SubmitReturnsOnCall(i int, result1 error)
- type Identity
- func (fake *Identity) Invocations() map[string][][]interface{}
- func (fake *Identity) Serialize() ([]byte, error)
- func (fake *Identity) SerializeCallCount() int
- func (fake *Identity) SerializeCalls(stub func() ([]byte, error))
- func (fake *Identity) SerializeReturns(result1 []byte, result2 error)
- func (fake *Identity) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
- type OrdererClient
- func (fake *OrdererClient) Certificate() *tls.Certificate
- func (fake *OrdererClient) CertificateCallCount() int
- func (fake *OrdererClient) CertificateReturns(result1 *tls.Certificate)
- func (fake *OrdererClient) CertificateReturnsOnCall(i int, result1 *tls.Certificate)
- func (fake *OrdererClient) Invocations() map[string][][]interface{}
- func (fake *OrdererClient) NewBroadcast(ctx context.Context, opts ...grpc.CallOption) (client.Broadcast, error)
- func (fake *OrdererClient) NewBroadcastArgsForCall(i int) (context.Context, []grpc.CallOption)
- func (fake *OrdererClient) NewBroadcastCallCount() int
- func (fake *OrdererClient) NewBroadcastReturns(result1 client.Broadcast, result2 error)
- func (fake *OrdererClient) NewBroadcastReturnsOnCall(i int, result1 client.Broadcast, result2 error)
- type Prover
- func (fake *Prover) Invocations() map[string][][]interface{}
- func (fake *Prover) RequestImport(arg1 []*token.TokenToIssue, arg2 tokena.SigningIdentity) ([]byte, error)
- func (fake *Prover) RequestImportArgsForCall(i int) ([]*token.TokenToIssue, tokena.SigningIdentity)
- func (fake *Prover) RequestImportCallCount() int
- func (fake *Prover) RequestImportCalls(stub func([]*token.TokenToIssue, tokena.SigningIdentity) ([]byte, error))
- func (fake *Prover) RequestImportReturns(result1 []byte, result2 error)
- func (fake *Prover) RequestImportReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *Prover) RequestTransfer(arg1 [][]byte, arg2 []*token.RecipientTransferShare, ...) ([]byte, error)
- func (fake *Prover) RequestTransferArgsForCall(i int) ([][]byte, []*token.RecipientTransferShare, tokena.SigningIdentity)
- func (fake *Prover) RequestTransferCallCount() int
- func (fake *Prover) RequestTransferCalls(...)
- func (fake *Prover) RequestTransferReturns(result1 []byte, result2 error)
- func (fake *Prover) RequestTransferReturnsOnCall(i int, result1 []byte, result2 error)
- type ProverClient
- func (fake *ProverClient) Invocations() map[string][][]interface{}
- func (fake *ProverClient) ProcessCommand(arg1 context.Context, arg2 *token.SignedCommand, arg3 ...grpc.CallOption) (*token.SignedCommandResponse, error)
- func (fake *ProverClient) ProcessCommandArgsForCall(i int) (context.Context, *token.SignedCommand, []grpc.CallOption)
- func (fake *ProverClient) ProcessCommandCallCount() int
- func (fake *ProverClient) ProcessCommandCalls(...)
- func (fake *ProverClient) ProcessCommandReturns(result1 *token.SignedCommandResponse, result2 error)
- func (fake *ProverClient) ProcessCommandReturnsOnCall(i int, result1 *token.SignedCommandResponse, result2 error)
- type SignerIdentity
- func (fake *SignerIdentity) Invocations() map[string][][]interface{}
- func (fake *SignerIdentity) Serialize() ([]byte, error)
- func (fake *SignerIdentity) SerializeCallCount() int
- func (fake *SignerIdentity) SerializeReturns(result1 []byte, result2 error)
- func (fake *SignerIdentity) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *SignerIdentity) Sign(arg1 []byte) ([]byte, error)
- func (fake *SignerIdentity) SignArgsForCall(i int) []byte
- func (fake *SignerIdentity) SignCallCount() int
- func (fake *SignerIdentity) SignReturns(result1 []byte, result2 error)
- func (fake *SignerIdentity) SignReturnsOnCall(i int, result1 []byte, result2 error)
- type SigningIdentity
- func (fake *SigningIdentity) GetPublicVersion() token.Identity
- func (fake *SigningIdentity) GetPublicVersionCallCount() int
- func (fake *SigningIdentity) GetPublicVersionCalls(stub func() token.Identity)
- func (fake *SigningIdentity) GetPublicVersionReturns(result1 token.Identity)
- func (fake *SigningIdentity) GetPublicVersionReturnsOnCall(i int, result1 token.Identity)
- func (fake *SigningIdentity) Invocations() map[string][][]interface{}
- func (fake *SigningIdentity) Serialize() ([]byte, error)
- func (fake *SigningIdentity) SerializeCallCount() int
- func (fake *SigningIdentity) SerializeCalls(stub func() ([]byte, error))
- func (fake *SigningIdentity) SerializeReturns(result1 []byte, result2 error)
- func (fake *SigningIdentity) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *SigningIdentity) Sign(arg1 []byte) ([]byte, error)
- func (fake *SigningIdentity) SignArgsForCall(i int) []byte
- func (fake *SigningIdentity) SignCallCount() int
- func (fake *SigningIdentity) SignCalls(stub func([]byte) ([]byte, error))
- func (fake *SigningIdentity) SignReturns(result1 []byte, result2 error)
- func (fake *SigningIdentity) SignReturnsOnCall(i int, result1 []byte, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broadcast ¶
type Broadcast struct { SendStub func(m *common.Envelope) error RecvStub func() (*ab.BroadcastResponse, error) CloseSendStub func() error // contains filtered or unexported fields }
func (*Broadcast) CloseSendCallCount ¶
func (*Broadcast) CloseSendReturns ¶
func (*Broadcast) CloseSendReturnsOnCall ¶
func (*Broadcast) Invocations ¶
func (*Broadcast) RecvCallCount ¶
func (*Broadcast) RecvReturns ¶
func (fake *Broadcast) RecvReturns(result1 *ab.BroadcastResponse, result2 error)
func (*Broadcast) RecvReturnsOnCall ¶
func (fake *Broadcast) RecvReturnsOnCall(i int, result1 *ab.BroadcastResponse, result2 error)
func (*Broadcast) SendCallCount ¶
func (*Broadcast) SendReturns ¶
func (*Broadcast) SendReturnsOnCall ¶
type DeliverClient ¶
type DeliverClient struct { NewDeliverFilteredStub func(ctx context.Context, opts ...grpc.CallOption) (client.DeliverFiltered, error) CertificateStub func() *tls.Certificate // contains filtered or unexported fields }
func (*DeliverClient) Certificate ¶
func (fake *DeliverClient) Certificate() *tls.Certificate
func (*DeliverClient) CertificateCallCount ¶
func (fake *DeliverClient) CertificateCallCount() int
func (*DeliverClient) CertificateReturns ¶
func (fake *DeliverClient) CertificateReturns(result1 *tls.Certificate)
func (*DeliverClient) CertificateReturnsOnCall ¶
func (fake *DeliverClient) CertificateReturnsOnCall(i int, result1 *tls.Certificate)
func (*DeliverClient) Invocations ¶
func (fake *DeliverClient) Invocations() map[string][][]interface{}
func (*DeliverClient) NewDeliverFiltered ¶
func (fake *DeliverClient) NewDeliverFiltered(ctx context.Context, opts ...grpc.CallOption) (client.DeliverFiltered, error)
func (*DeliverClient) NewDeliverFilteredArgsForCall ¶
func (fake *DeliverClient) NewDeliverFilteredArgsForCall(i int) (context.Context, []grpc.CallOption)
func (*DeliverClient) NewDeliverFilteredCallCount ¶
func (fake *DeliverClient) NewDeliverFilteredCallCount() int
func (*DeliverClient) NewDeliverFilteredReturns ¶
func (fake *DeliverClient) NewDeliverFilteredReturns(result1 client.DeliverFiltered, result2 error)
func (*DeliverClient) NewDeliverFilteredReturnsOnCall ¶
func (fake *DeliverClient) NewDeliverFilteredReturnsOnCall(i int, result1 client.DeliverFiltered, result2 error)
type DeliverFiltered ¶
type DeliverFiltered struct { SendStub func(*common.Envelope) error RecvStub func() (*pb.DeliverResponse, error) CloseSendStub func() error // contains filtered or unexported fields }
func (*DeliverFiltered) CloseSend ¶
func (fake *DeliverFiltered) CloseSend() error
func (*DeliverFiltered) CloseSendCallCount ¶
func (fake *DeliverFiltered) CloseSendCallCount() int
func (*DeliverFiltered) CloseSendReturns ¶
func (fake *DeliverFiltered) CloseSendReturns(result1 error)
func (*DeliverFiltered) CloseSendReturnsOnCall ¶
func (fake *DeliverFiltered) CloseSendReturnsOnCall(i int, result1 error)
func (*DeliverFiltered) Invocations ¶
func (fake *DeliverFiltered) Invocations() map[string][][]interface{}
func (*DeliverFiltered) Recv ¶
func (fake *DeliverFiltered) Recv() (*pb.DeliverResponse, error)
func (*DeliverFiltered) RecvCallCount ¶
func (fake *DeliverFiltered) RecvCallCount() int
func (*DeliverFiltered) RecvReturns ¶
func (fake *DeliverFiltered) RecvReturns(result1 *pb.DeliverResponse, result2 error)
func (*DeliverFiltered) RecvReturnsOnCall ¶
func (fake *DeliverFiltered) RecvReturnsOnCall(i int, result1 *pb.DeliverResponse, result2 error)
func (*DeliverFiltered) SendArgsForCall ¶
func (fake *DeliverFiltered) SendArgsForCall(i int) *common.Envelope
func (*DeliverFiltered) SendCallCount ¶
func (fake *DeliverFiltered) SendCallCount() int
func (*DeliverFiltered) SendReturns ¶
func (fake *DeliverFiltered) SendReturns(result1 error)
func (*DeliverFiltered) SendReturnsOnCall ¶
func (fake *DeliverFiltered) SendReturnsOnCall(i int, result1 error)
type FabricTxSubmitter ¶
type FabricTxSubmitter struct { SubmitStub func([]byte) error // contains filtered or unexported fields }
func (*FabricTxSubmitter) Invocations ¶
func (fake *FabricTxSubmitter) Invocations() map[string][][]interface{}
func (*FabricTxSubmitter) Submit ¶
func (fake *FabricTxSubmitter) Submit(arg1 []byte) error
func (*FabricTxSubmitter) SubmitArgsForCall ¶
func (fake *FabricTxSubmitter) SubmitArgsForCall(i int) []byte
func (*FabricTxSubmitter) SubmitCallCount ¶
func (fake *FabricTxSubmitter) SubmitCallCount() int
func (*FabricTxSubmitter) SubmitCalls ¶
func (fake *FabricTxSubmitter) SubmitCalls(stub func([]byte) error)
func (*FabricTxSubmitter) SubmitReturns ¶
func (fake *FabricTxSubmitter) SubmitReturns(result1 error)
func (*FabricTxSubmitter) SubmitReturnsOnCall ¶
func (fake *FabricTxSubmitter) SubmitReturnsOnCall(i int, result1 error)
type Identity ¶
type Identity struct { SerializeStub func() ([]byte, error) // contains filtered or unexported fields }
func (*Identity) Invocations ¶
func (*Identity) SerializeCallCount ¶
func (*Identity) SerializeCalls ¶
func (*Identity) SerializeReturns ¶
type OrdererClient ¶
type OrdererClient struct { NewBroadcastStub func(ctx context.Context, opts ...grpc.CallOption) (client.Broadcast, error) CertificateStub func() *tls.Certificate // contains filtered or unexported fields }
func (*OrdererClient) Certificate ¶
func (fake *OrdererClient) Certificate() *tls.Certificate
func (*OrdererClient) CertificateCallCount ¶
func (fake *OrdererClient) CertificateCallCount() int
func (*OrdererClient) CertificateReturns ¶
func (fake *OrdererClient) CertificateReturns(result1 *tls.Certificate)
func (*OrdererClient) CertificateReturnsOnCall ¶
func (fake *OrdererClient) CertificateReturnsOnCall(i int, result1 *tls.Certificate)
func (*OrdererClient) Invocations ¶
func (fake *OrdererClient) Invocations() map[string][][]interface{}
func (*OrdererClient) NewBroadcast ¶
func (fake *OrdererClient) NewBroadcast(ctx context.Context, opts ...grpc.CallOption) (client.Broadcast, error)
func (*OrdererClient) NewBroadcastArgsForCall ¶
func (fake *OrdererClient) NewBroadcastArgsForCall(i int) (context.Context, []grpc.CallOption)
func (*OrdererClient) NewBroadcastCallCount ¶
func (fake *OrdererClient) NewBroadcastCallCount() int
func (*OrdererClient) NewBroadcastReturns ¶
func (fake *OrdererClient) NewBroadcastReturns(result1 client.Broadcast, result2 error)
func (*OrdererClient) NewBroadcastReturnsOnCall ¶
func (fake *OrdererClient) NewBroadcastReturnsOnCall(i int, result1 client.Broadcast, result2 error)
type Prover ¶
type Prover struct { RequestImportStub func([]*token.TokenToIssue, tokena.SigningIdentity) ([]byte, error) RequestTransferStub func([][]byte, []*token.RecipientTransferShare, tokena.SigningIdentity) ([]byte, error) // contains filtered or unexported fields }
func (*Prover) Invocations ¶
func (*Prover) RequestImport ¶
func (fake *Prover) RequestImport(arg1 []*token.TokenToIssue, arg2 tokena.SigningIdentity) ([]byte, error)
func (*Prover) RequestImportArgsForCall ¶
func (fake *Prover) RequestImportArgsForCall(i int) ([]*token.TokenToIssue, tokena.SigningIdentity)
func (*Prover) RequestImportCallCount ¶
func (*Prover) RequestImportCalls ¶
func (fake *Prover) RequestImportCalls(stub func([]*token.TokenToIssue, tokena.SigningIdentity) ([]byte, error))
func (*Prover) RequestImportReturns ¶
func (*Prover) RequestImportReturnsOnCall ¶
func (*Prover) RequestTransfer ¶
func (fake *Prover) RequestTransfer(arg1 [][]byte, arg2 []*token.RecipientTransferShare, arg3 tokena.SigningIdentity) ([]byte, error)
func (*Prover) RequestTransferArgsForCall ¶
func (fake *Prover) RequestTransferArgsForCall(i int) ([][]byte, []*token.RecipientTransferShare, tokena.SigningIdentity)
func (*Prover) RequestTransferCallCount ¶
func (*Prover) RequestTransferCalls ¶
func (fake *Prover) RequestTransferCalls(stub func([][]byte, []*token.RecipientTransferShare, tokena.SigningIdentity) ([]byte, error))
func (*Prover) RequestTransferReturns ¶
type ProverClient ¶
type ProverClient struct { ProcessCommandStub func(context.Context, *token.SignedCommand, ...grpc.CallOption) (*token.SignedCommandResponse, error) // contains filtered or unexported fields }
func (*ProverClient) Invocations ¶
func (fake *ProverClient) Invocations() map[string][][]interface{}
func (*ProverClient) ProcessCommand ¶
func (fake *ProverClient) ProcessCommand(arg1 context.Context, arg2 *token.SignedCommand, arg3 ...grpc.CallOption) (*token.SignedCommandResponse, error)
func (*ProverClient) ProcessCommandArgsForCall ¶
func (fake *ProverClient) ProcessCommandArgsForCall(i int) (context.Context, *token.SignedCommand, []grpc.CallOption)
func (*ProverClient) ProcessCommandCallCount ¶
func (fake *ProverClient) ProcessCommandCallCount() int
func (*ProverClient) ProcessCommandCalls ¶
func (fake *ProverClient) ProcessCommandCalls(stub func(context.Context, *token.SignedCommand, ...grpc.CallOption) (*token.SignedCommandResponse, error))
func (*ProverClient) ProcessCommandReturns ¶
func (fake *ProverClient) ProcessCommandReturns(result1 *token.SignedCommandResponse, result2 error)
func (*ProverClient) ProcessCommandReturnsOnCall ¶
func (fake *ProverClient) ProcessCommandReturnsOnCall(i int, result1 *token.SignedCommandResponse, result2 error)
type SignerIdentity ¶
type SignerIdentity struct { SignStub func([]byte) ([]byte, error) SerializeStub func() ([]byte, error) // contains filtered or unexported fields }
func (*SignerIdentity) Invocations ¶
func (fake *SignerIdentity) Invocations() map[string][][]interface{}
func (*SignerIdentity) Serialize ¶
func (fake *SignerIdentity) Serialize() ([]byte, error)
func (*SignerIdentity) SerializeCallCount ¶
func (fake *SignerIdentity) SerializeCallCount() int
func (*SignerIdentity) SerializeReturns ¶
func (fake *SignerIdentity) SerializeReturns(result1 []byte, result2 error)
func (*SignerIdentity) SerializeReturnsOnCall ¶
func (fake *SignerIdentity) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
func (*SignerIdentity) SignArgsForCall ¶
func (fake *SignerIdentity) SignArgsForCall(i int) []byte
func (*SignerIdentity) SignCallCount ¶
func (fake *SignerIdentity) SignCallCount() int
func (*SignerIdentity) SignReturns ¶
func (fake *SignerIdentity) SignReturns(result1 []byte, result2 error)
func (*SignerIdentity) SignReturnsOnCall ¶
func (fake *SignerIdentity) SignReturnsOnCall(i int, result1 []byte, result2 error)
type SigningIdentity ¶
type SigningIdentity struct { GetPublicVersionStub func() token.Identity SerializeStub func() ([]byte, error) SignStub func([]byte) ([]byte, error) // contains filtered or unexported fields }
func (*SigningIdentity) GetPublicVersion ¶
func (fake *SigningIdentity) GetPublicVersion() token.Identity
func (*SigningIdentity) GetPublicVersionCallCount ¶
func (fake *SigningIdentity) GetPublicVersionCallCount() int
func (*SigningIdentity) GetPublicVersionCalls ¶
func (fake *SigningIdentity) GetPublicVersionCalls(stub func() token.Identity)
func (*SigningIdentity) GetPublicVersionReturns ¶
func (fake *SigningIdentity) GetPublicVersionReturns(result1 token.Identity)
func (*SigningIdentity) GetPublicVersionReturnsOnCall ¶
func (fake *SigningIdentity) GetPublicVersionReturnsOnCall(i int, result1 token.Identity)
func (*SigningIdentity) Invocations ¶
func (fake *SigningIdentity) Invocations() map[string][][]interface{}
func (*SigningIdentity) Serialize ¶
func (fake *SigningIdentity) Serialize() ([]byte, error)
func (*SigningIdentity) SerializeCallCount ¶
func (fake *SigningIdentity) SerializeCallCount() int
func (*SigningIdentity) SerializeCalls ¶
func (fake *SigningIdentity) SerializeCalls(stub func() ([]byte, error))
func (*SigningIdentity) SerializeReturns ¶
func (fake *SigningIdentity) SerializeReturns(result1 []byte, result2 error)
func (*SigningIdentity) SerializeReturnsOnCall ¶
func (fake *SigningIdentity) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
func (*SigningIdentity) SignArgsForCall ¶
func (fake *SigningIdentity) SignArgsForCall(i int) []byte
func (*SigningIdentity) SignCallCount ¶
func (fake *SigningIdentity) SignCallCount() int
func (*SigningIdentity) SignCalls ¶
func (fake *SigningIdentity) SignCalls(stub func([]byte) ([]byte, error))
func (*SigningIdentity) SignReturns ¶
func (fake *SigningIdentity) SignReturns(result1 []byte, result2 error)
func (*SigningIdentity) SignReturnsOnCall ¶
func (fake *SigningIdentity) SignReturnsOnCall(i int, result1 []byte, result2 error)
Click to show internal directories.
Click to hide internal directories.