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.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type AtomicBroadcastServer
- func (fake *AtomicBroadcastServer) Broadcast(arg1 orderer.AtomicBroadcast_BroadcastServer) error
- func (fake *AtomicBroadcastServer) BroadcastArgsForCall(i int) orderer.AtomicBroadcast_BroadcastServer
- func (fake *AtomicBroadcastServer) BroadcastCallCount() int
- func (fake *AtomicBroadcastServer) BroadcastCalls(stub func(orderer.AtomicBroadcast_BroadcastServer) error)
- func (fake *AtomicBroadcastServer) BroadcastReturns(result1 error)
- func (fake *AtomicBroadcastServer) BroadcastReturnsOnCall(i int, result1 error)
- func (fake *AtomicBroadcastServer) Deliver(arg1 orderer.AtomicBroadcast_DeliverServer) error
- func (fake *AtomicBroadcastServer) DeliverArgsForCall(i int) orderer.AtomicBroadcast_DeliverServer
- func (fake *AtomicBroadcastServer) DeliverCallCount() int
- func (fake *AtomicBroadcastServer) DeliverCalls(stub func(orderer.AtomicBroadcast_DeliverServer) error)
- func (fake *AtomicBroadcastServer) DeliverReturns(result1 error)
- func (fake *AtomicBroadcastServer) DeliverReturnsOnCall(i int, result1 error)
- func (fake *AtomicBroadcastServer) Invocations() map[string][][]interface{}
- 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 DeliverServer
- func (fake *DeliverServer) Deliver(arg1 peer.Deliver_DeliverServer) error
- func (fake *DeliverServer) DeliverArgsForCall(i int) peer.Deliver_DeliverServer
- func (fake *DeliverServer) DeliverCallCount() int
- func (fake *DeliverServer) DeliverCalls(stub func(peer.Deliver_DeliverServer) error)
- func (fake *DeliverServer) DeliverFiltered(arg1 peer.Deliver_DeliverFilteredServer) error
- func (fake *DeliverServer) DeliverFilteredArgsForCall(i int) peer.Deliver_DeliverFilteredServer
- func (fake *DeliverServer) DeliverFilteredCallCount() int
- func (fake *DeliverServer) DeliverFilteredCalls(stub func(peer.Deliver_DeliverFilteredServer) error)
- func (fake *DeliverServer) DeliverFilteredReturns(result1 error)
- func (fake *DeliverServer) DeliverFilteredReturnsOnCall(i int, result1 error)
- func (fake *DeliverServer) DeliverReturns(result1 error)
- func (fake *DeliverServer) DeliverReturnsOnCall(i int, result1 error)
- func (fake *DeliverServer) Invocations() map[string][][]interface{}
- type FabricTxSubmitter
- func (fake *FabricTxSubmitter) CreateTxEnvelope(arg1 []byte) (*common.Envelope, string, error)
- func (fake *FabricTxSubmitter) CreateTxEnvelopeArgsForCall(i int) []byte
- func (fake *FabricTxSubmitter) CreateTxEnvelopeCallCount() int
- func (fake *FabricTxSubmitter) CreateTxEnvelopeCalls(stub func([]byte) (*common.Envelope, string, error))
- func (fake *FabricTxSubmitter) CreateTxEnvelopeReturns(result1 *common.Envelope, result2 string, result3 error)
- func (fake *FabricTxSubmitter) CreateTxEnvelopeReturnsOnCall(i int, result1 *common.Envelope, result2 string, result3 error)
- func (fake *FabricTxSubmitter) Invocations() map[string][][]interface{}
- func (fake *FabricTxSubmitter) Submit(arg1 *common.Envelope, arg2 time.Duration) (*common.Status, bool, error)
- func (fake *FabricTxSubmitter) SubmitArgsForCall(i int) (*common.Envelope, time.Duration)
- func (fake *FabricTxSubmitter) SubmitCallCount() int
- func (fake *FabricTxSubmitter) SubmitCalls(stub func(*common.Envelope, time.Duration) (*common.Status, bool, error))
- func (fake *FabricTxSubmitter) SubmitReturns(result1 *common.Status, result2 bool, result3 error)
- func (fake *FabricTxSubmitter) SubmitReturnsOnCall(i int, result1 *common.Status, result2 bool, result3 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) ListTokens(signingIdentity tk.SigningIdentity) ([]*token.UnspentToken, error)
- func (fake *Prover) ListTokensArgsForCall(i int) tk.SigningIdentity
- func (fake *Prover) ListTokensCallCount() int
- func (fake *Prover) ListTokensReturns(result1 []*token.UnspentToken, result2 error)
- func (fake *Prover) ListTokensReturnsOnCall(i int, result1 []*token.UnspentToken, result2 error)
- func (fake *Prover) RequestIssue(tokensToIssue []*token.Token, signingIdentity tk.SigningIdentity) ([]byte, error)
- func (fake *Prover) RequestIssueArgsForCall(i int) ([]*token.Token, tk.SigningIdentity)
- func (fake *Prover) RequestIssueCallCount() int
- func (fake *Prover) RequestIssueReturns(result1 []byte, result2 error)
- func (fake *Prover) RequestIssueReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *Prover) RequestRedeem(tokenIDs []*token.TokenId, quantity string, signingIdentity tk.SigningIdentity) ([]byte, error)
- func (fake *Prover) RequestRedeemArgsForCall(i int) ([]*token.TokenId, string, tk.SigningIdentity)
- func (fake *Prover) RequestRedeemCallCount() int
- func (fake *Prover) RequestRedeemReturns(result1 []byte, result2 error)
- func (fake *Prover) RequestRedeemReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *Prover) RequestTransfer(tokenIDs []*token.TokenId, shares []*token.RecipientShare, ...) ([]byte, error)
- func (fake *Prover) RequestTransferArgsForCall(i int) ([]*token.TokenId, []*token.RecipientShare, tk.SigningIdentity)
- func (fake *Prover) RequestTransferCallCount() int
- 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 ProverPeerClient
- func (fake *ProverPeerClient) Certificate() *tls.Certificate
- func (fake *ProverPeerClient) CertificateCallCount() int
- func (fake *ProverPeerClient) CertificateCalls(stub func() *tls.Certificate)
- func (fake *ProverPeerClient) CertificateReturns(result1 *tls.Certificate)
- func (fake *ProverPeerClient) CertificateReturnsOnCall(i int, result1 *tls.Certificate)
- func (fake *ProverPeerClient) CreateProverClient() (*grpc.ClientConn, token.ProverClient, error)
- func (fake *ProverPeerClient) CreateProverClientCallCount() int
- func (fake *ProverPeerClient) CreateProverClientCalls(stub func() (*grpc.ClientConn, token.ProverClient, error))
- func (fake *ProverPeerClient) CreateProverClientReturns(result1 *grpc.ClientConn, result2 token.ProverClient, result3 error)
- func (fake *ProverPeerClient) CreateProverClientReturnsOnCall(i int, result1 *grpc.ClientConn, result2 token.ProverClient, result3 error)
- func (fake *ProverPeerClient) Invocations() map[string][][]interface{}
- type SigningIdentity
- 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 AtomicBroadcastServer ¶
type AtomicBroadcastServer struct { BroadcastStub func(orderer.AtomicBroadcast_BroadcastServer) error DeliverStub func(orderer.AtomicBroadcast_DeliverServer) error // contains filtered or unexported fields }
func (*AtomicBroadcastServer) Broadcast ¶
func (fake *AtomicBroadcastServer) Broadcast(arg1 orderer.AtomicBroadcast_BroadcastServer) error
func (*AtomicBroadcastServer) BroadcastArgsForCall ¶
func (fake *AtomicBroadcastServer) BroadcastArgsForCall(i int) orderer.AtomicBroadcast_BroadcastServer
func (*AtomicBroadcastServer) BroadcastCallCount ¶
func (fake *AtomicBroadcastServer) BroadcastCallCount() int
func (*AtomicBroadcastServer) BroadcastCalls ¶
func (fake *AtomicBroadcastServer) BroadcastCalls(stub func(orderer.AtomicBroadcast_BroadcastServer) error)
func (*AtomicBroadcastServer) BroadcastReturns ¶
func (fake *AtomicBroadcastServer) BroadcastReturns(result1 error)
func (*AtomicBroadcastServer) BroadcastReturnsOnCall ¶
func (fake *AtomicBroadcastServer) BroadcastReturnsOnCall(i int, result1 error)
func (*AtomicBroadcastServer) Deliver ¶
func (fake *AtomicBroadcastServer) Deliver(arg1 orderer.AtomicBroadcast_DeliverServer) error
func (*AtomicBroadcastServer) DeliverArgsForCall ¶
func (fake *AtomicBroadcastServer) DeliverArgsForCall(i int) orderer.AtomicBroadcast_DeliverServer
func (*AtomicBroadcastServer) DeliverCallCount ¶
func (fake *AtomicBroadcastServer) DeliverCallCount() int
func (*AtomicBroadcastServer) DeliverCalls ¶
func (fake *AtomicBroadcastServer) DeliverCalls(stub func(orderer.AtomicBroadcast_DeliverServer) error)
func (*AtomicBroadcastServer) DeliverReturns ¶
func (fake *AtomicBroadcastServer) DeliverReturns(result1 error)
func (*AtomicBroadcastServer) DeliverReturnsOnCall ¶
func (fake *AtomicBroadcastServer) DeliverReturnsOnCall(i int, result1 error)
func (*AtomicBroadcastServer) Invocations ¶
func (fake *AtomicBroadcastServer) Invocations() map[string][][]interface{}
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 DeliverServer ¶
type DeliverServer struct { DeliverStub func(peer.Deliver_DeliverServer) error DeliverFilteredStub func(peer.Deliver_DeliverFilteredServer) error // contains filtered or unexported fields }
func (*DeliverServer) Deliver ¶
func (fake *DeliverServer) Deliver(arg1 peer.Deliver_DeliverServer) error
func (*DeliverServer) DeliverArgsForCall ¶
func (fake *DeliverServer) DeliverArgsForCall(i int) peer.Deliver_DeliverServer
func (*DeliverServer) DeliverCallCount ¶
func (fake *DeliverServer) DeliverCallCount() int
func (*DeliverServer) DeliverCalls ¶
func (fake *DeliverServer) DeliverCalls(stub func(peer.Deliver_DeliverServer) error)
func (*DeliverServer) DeliverFiltered ¶
func (fake *DeliverServer) DeliverFiltered(arg1 peer.Deliver_DeliverFilteredServer) error
func (*DeliverServer) DeliverFilteredArgsForCall ¶
func (fake *DeliverServer) DeliverFilteredArgsForCall(i int) peer.Deliver_DeliverFilteredServer
func (*DeliverServer) DeliverFilteredCallCount ¶
func (fake *DeliverServer) DeliverFilteredCallCount() int
func (*DeliverServer) DeliverFilteredCalls ¶
func (fake *DeliverServer) DeliverFilteredCalls(stub func(peer.Deliver_DeliverFilteredServer) error)
func (*DeliverServer) DeliverFilteredReturns ¶
func (fake *DeliverServer) DeliverFilteredReturns(result1 error)
func (*DeliverServer) DeliverFilteredReturnsOnCall ¶
func (fake *DeliverServer) DeliverFilteredReturnsOnCall(i int, result1 error)
func (*DeliverServer) DeliverReturns ¶
func (fake *DeliverServer) DeliverReturns(result1 error)
func (*DeliverServer) DeliverReturnsOnCall ¶
func (fake *DeliverServer) DeliverReturnsOnCall(i int, result1 error)
func (*DeliverServer) Invocations ¶
func (fake *DeliverServer) Invocations() map[string][][]interface{}
type FabricTxSubmitter ¶
type FabricTxSubmitter struct { CreateTxEnvelopeStub func([]byte) (*common.Envelope, string, error) SubmitStub func(*common.Envelope, time.Duration) (*common.Status, bool, error) // contains filtered or unexported fields }
func (*FabricTxSubmitter) CreateTxEnvelope ¶
func (*FabricTxSubmitter) CreateTxEnvelopeArgsForCall ¶
func (fake *FabricTxSubmitter) CreateTxEnvelopeArgsForCall(i int) []byte
func (*FabricTxSubmitter) CreateTxEnvelopeCallCount ¶
func (fake *FabricTxSubmitter) CreateTxEnvelopeCallCount() int
func (*FabricTxSubmitter) CreateTxEnvelopeCalls ¶
func (*FabricTxSubmitter) CreateTxEnvelopeReturns ¶
func (fake *FabricTxSubmitter) CreateTxEnvelopeReturns(result1 *common.Envelope, result2 string, result3 error)
func (*FabricTxSubmitter) CreateTxEnvelopeReturnsOnCall ¶
func (*FabricTxSubmitter) Invocations ¶
func (fake *FabricTxSubmitter) Invocations() map[string][][]interface{}
func (*FabricTxSubmitter) SubmitArgsForCall ¶
func (*FabricTxSubmitter) SubmitCallCount ¶
func (fake *FabricTxSubmitter) SubmitCallCount() int
func (*FabricTxSubmitter) SubmitCalls ¶
func (*FabricTxSubmitter) SubmitReturns ¶
func (fake *FabricTxSubmitter) SubmitReturns(result1 *common.Status, result2 bool, result3 error)
func (*FabricTxSubmitter) SubmitReturnsOnCall ¶
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 { RequestIssueStub func(tokensToIssue []*token.Token, signingIdentity tk.SigningIdentity) ([]byte, error) RequestTransferStub func(tokenIDs []*token.TokenId, shares []*token.RecipientShare, signingIdentity tk.SigningIdentity) ([]byte, error) RequestRedeemStub func(tokenIDs []*token.TokenId, quantity string, signingIdentity tk.SigningIdentity) ([]byte, error) ListTokensStub func(signingIdentity tk.SigningIdentity) ([]*token.UnspentToken, error) // contains filtered or unexported fields }
func (*Prover) Invocations ¶
func (*Prover) ListTokens ¶
func (fake *Prover) ListTokens(signingIdentity tk.SigningIdentity) ([]*token.UnspentToken, error)
func (*Prover) ListTokensArgsForCall ¶
func (fake *Prover) ListTokensArgsForCall(i int) tk.SigningIdentity
func (*Prover) ListTokensCallCount ¶
func (*Prover) ListTokensReturns ¶
func (fake *Prover) ListTokensReturns(result1 []*token.UnspentToken, result2 error)
func (*Prover) ListTokensReturnsOnCall ¶
func (fake *Prover) ListTokensReturnsOnCall(i int, result1 []*token.UnspentToken, result2 error)
func (*Prover) RequestIssue ¶
func (*Prover) RequestIssueArgsForCall ¶
func (*Prover) RequestIssueCallCount ¶
func (*Prover) RequestIssueReturns ¶
func (*Prover) RequestIssueReturnsOnCall ¶
func (*Prover) RequestRedeem ¶
func (*Prover) RequestRedeemArgsForCall ¶
func (*Prover) RequestRedeemCallCount ¶
func (*Prover) RequestRedeemReturns ¶
func (*Prover) RequestRedeemReturnsOnCall ¶
func (*Prover) RequestTransfer ¶
func (fake *Prover) RequestTransfer(tokenIDs []*token.TokenId, shares []*token.RecipientShare, signingIdentity tk.SigningIdentity) ([]byte, error)
func (*Prover) RequestTransferArgsForCall ¶
func (fake *Prover) RequestTransferArgsForCall(i int) ([]*token.TokenId, []*token.RecipientShare, tk.SigningIdentity)
func (*Prover) RequestTransferCallCount ¶
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 ProverPeerClient ¶
type ProverPeerClient struct { CertificateStub func() *tls.Certificate CreateProverClientStub func() (*grpc.ClientConn, token.ProverClient, error) // contains filtered or unexported fields }
func (*ProverPeerClient) Certificate ¶
func (fake *ProverPeerClient) Certificate() *tls.Certificate
func (*ProverPeerClient) CertificateCallCount ¶
func (fake *ProverPeerClient) CertificateCallCount() int
func (*ProverPeerClient) CertificateCalls ¶
func (fake *ProverPeerClient) CertificateCalls(stub func() *tls.Certificate)
func (*ProverPeerClient) CertificateReturns ¶
func (fake *ProverPeerClient) CertificateReturns(result1 *tls.Certificate)
func (*ProverPeerClient) CertificateReturnsOnCall ¶
func (fake *ProverPeerClient) CertificateReturnsOnCall(i int, result1 *tls.Certificate)
func (*ProverPeerClient) CreateProverClient ¶
func (fake *ProverPeerClient) CreateProverClient() (*grpc.ClientConn, token.ProverClient, error)
func (*ProverPeerClient) CreateProverClientCallCount ¶
func (fake *ProverPeerClient) CreateProverClientCallCount() int
func (*ProverPeerClient) CreateProverClientCalls ¶
func (fake *ProverPeerClient) CreateProverClientCalls(stub func() (*grpc.ClientConn, token.ProverClient, error))
func (*ProverPeerClient) CreateProverClientReturns ¶
func (fake *ProverPeerClient) CreateProverClientReturns(result1 *grpc.ClientConn, result2 token.ProverClient, result3 error)
func (*ProverPeerClient) CreateProverClientReturnsOnCall ¶
func (fake *ProverPeerClient) CreateProverClientReturnsOnCall(i int, result1 *grpc.ClientConn, result2 token.ProverClient, result3 error)
func (*ProverPeerClient) Invocations ¶
func (fake *ProverPeerClient) Invocations() map[string][][]interface{}
type SigningIdentity ¶
type SigningIdentity struct { SerializeStub func() ([]byte, error) SignStub func([]byte) ([]byte, error) // contains filtered or unexported fields }
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.