Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type InvokeHandler
- func (fake *InvokeHandler) Handle(context *invoke.RequestContext, clientContext *invoke.ClientContext)
- func (fake *InvokeHandler) HandleArgsForCall(i int) (*invoke.RequestContext, *invoke.ClientContext)
- func (fake *InvokeHandler) HandleCallCount() int
- func (fake *InvokeHandler) Invocations() map[string][][]interface{}
- type Transactor
- func (fake *Transactor) CreateTransaction(request fab.TransactionRequest) (*fab.Transaction, error)
- func (fake *Transactor) CreateTransactionArgsForCall(i int) fab.TransactionRequest
- func (fake *Transactor) CreateTransactionCallCount() int
- func (fake *Transactor) CreateTransactionHeader(opts ...fab.TxnHeaderOpt) (fab.TransactionHeader, error)
- func (fake *Transactor) CreateTransactionHeaderArgsForCall(i int) []fab.TxnHeaderOpt
- func (fake *Transactor) CreateTransactionHeaderCallCount() int
- func (fake *Transactor) CreateTransactionHeaderReturns(result1 fab.TransactionHeader, result2 error)
- func (fake *Transactor) CreateTransactionHeaderReturnsOnCall(i int, result1 fab.TransactionHeader, result2 error)
- func (fake *Transactor) CreateTransactionReturns(result1 *fab.Transaction, result2 error)
- func (fake *Transactor) CreateTransactionReturnsOnCall(i int, result1 *fab.Transaction, result2 error)
- func (fake *Transactor) Invocations() map[string][][]interface{}
- func (fake *Transactor) SendTransaction(tx *fab.Transaction) (*fab.TransactionResponse, error)
- func (fake *Transactor) SendTransactionArgsForCall(i int) *fab.Transaction
- func (fake *Transactor) SendTransactionCallCount() int
- func (fake *Transactor) SendTransactionProposal(arg1 *fab.TransactionProposal, arg2 []fab.ProposalProcessor) ([]*fab.TransactionProposalResponse, error)
- func (fake *Transactor) SendTransactionProposalArgsForCall(i int) (*fab.TransactionProposal, []fab.ProposalProcessor)
- func (fake *Transactor) SendTransactionProposalCallCount() int
- func (fake *Transactor) SendTransactionProposalReturns(result1 []*fab.TransactionProposalResponse, result2 error)
- func (fake *Transactor) SendTransactionProposalReturnsOnCall(i int, result1 []*fab.TransactionProposalResponse, result2 error)
- func (fake *Transactor) SendTransactionReturns(result1 *fab.TransactionResponse, result2 error)
- func (fake *Transactor) SendTransactionReturnsOnCall(i int, result1 *fab.TransactionResponse, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InvokeHandler ¶
type InvokeHandler struct { HandleStub func(context *invoke.RequestContext, clientContext *invoke.ClientContext) // contains filtered or unexported fields }
func (*InvokeHandler) Handle ¶
func (fake *InvokeHandler) Handle(context *invoke.RequestContext, clientContext *invoke.ClientContext)
func (*InvokeHandler) HandleArgsForCall ¶
func (fake *InvokeHandler) HandleArgsForCall(i int) (*invoke.RequestContext, *invoke.ClientContext)
func (*InvokeHandler) HandleCallCount ¶
func (fake *InvokeHandler) HandleCallCount() int
func (*InvokeHandler) Invocations ¶
func (fake *InvokeHandler) Invocations() map[string][][]interface{}
type Transactor ¶
type Transactor struct { CreateTransactionStub func(request fab.TransactionRequest) (*fab.Transaction, error) SendTransactionStub func(tx *fab.Transaction) (*fab.TransactionResponse, error) CreateTransactionHeaderStub func(opts ...fab.TxnHeaderOpt) (fab.TransactionHeader, error) SendTransactionProposalStub func(*fab.TransactionProposal, []fab.ProposalProcessor) ([]*fab.TransactionProposalResponse, error) // contains filtered or unexported fields }
func (*Transactor) CreateTransaction ¶
func (fake *Transactor) CreateTransaction(request fab.TransactionRequest) (*fab.Transaction, error)
func (*Transactor) CreateTransactionArgsForCall ¶
func (fake *Transactor) CreateTransactionArgsForCall(i int) fab.TransactionRequest
func (*Transactor) CreateTransactionCallCount ¶
func (fake *Transactor) CreateTransactionCallCount() int
func (*Transactor) CreateTransactionHeader ¶
func (fake *Transactor) CreateTransactionHeader(opts ...fab.TxnHeaderOpt) (fab.TransactionHeader, error)
func (*Transactor) CreateTransactionHeaderArgsForCall ¶
func (fake *Transactor) CreateTransactionHeaderArgsForCall(i int) []fab.TxnHeaderOpt
func (*Transactor) CreateTransactionHeaderCallCount ¶
func (fake *Transactor) CreateTransactionHeaderCallCount() int
func (*Transactor) CreateTransactionHeaderReturns ¶
func (fake *Transactor) CreateTransactionHeaderReturns(result1 fab.TransactionHeader, result2 error)
func (*Transactor) CreateTransactionHeaderReturnsOnCall ¶
func (fake *Transactor) CreateTransactionHeaderReturnsOnCall(i int, result1 fab.TransactionHeader, result2 error)
func (*Transactor) CreateTransactionReturns ¶
func (fake *Transactor) CreateTransactionReturns(result1 *fab.Transaction, result2 error)
func (*Transactor) CreateTransactionReturnsOnCall ¶
func (fake *Transactor) CreateTransactionReturnsOnCall(i int, result1 *fab.Transaction, result2 error)
func (*Transactor) Invocations ¶
func (fake *Transactor) Invocations() map[string][][]interface{}
func (*Transactor) SendTransaction ¶
func (fake *Transactor) SendTransaction(tx *fab.Transaction) (*fab.TransactionResponse, error)
func (*Transactor) SendTransactionArgsForCall ¶
func (fake *Transactor) SendTransactionArgsForCall(i int) *fab.Transaction
func (*Transactor) SendTransactionCallCount ¶
func (fake *Transactor) SendTransactionCallCount() int
func (*Transactor) SendTransactionProposal ¶
func (fake *Transactor) SendTransactionProposal(arg1 *fab.TransactionProposal, arg2 []fab.ProposalProcessor) ([]*fab.TransactionProposalResponse, error)
func (*Transactor) SendTransactionProposalArgsForCall ¶
func (fake *Transactor) SendTransactionProposalArgsForCall(i int) (*fab.TransactionProposal, []fab.ProposalProcessor)
func (*Transactor) SendTransactionProposalCallCount ¶
func (fake *Transactor) SendTransactionProposalCallCount() int
func (*Transactor) SendTransactionProposalReturns ¶
func (fake *Transactor) SendTransactionProposalReturns(result1 []*fab.TransactionProposalResponse, result2 error)
func (*Transactor) SendTransactionProposalReturnsOnCall ¶
func (fake *Transactor) SendTransactionProposalReturnsOnCall(i int, result1 []*fab.TransactionProposalResponse, result2 error)
func (*Transactor) SendTransactionReturns ¶
func (fake *Transactor) SendTransactionReturns(result1 *fab.TransactionResponse, result2 error)
func (*Transactor) SendTransactionReturnsOnCall ¶
func (fake *Transactor) SendTransactionReturnsOnCall(i int, result1 *fab.TransactionResponse, result2 error)
Click to show internal directories.
Click to hide internal directories.