Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- 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 SnapshotClient
- func (fake *SnapshotClient) Cancel(arg1 context.Context, arg2 *peer.SignedSnapshotRequest, ...) (*empty.Empty, error)
- func (fake *SnapshotClient) CancelArgsForCall(i int) (context.Context, *peer.SignedSnapshotRequest, []grpc.CallOption)
- func (fake *SnapshotClient) CancelCallCount() int
- func (fake *SnapshotClient) CancelCalls(...)
- func (fake *SnapshotClient) CancelReturns(result1 *empty.Empty, result2 error)
- func (fake *SnapshotClient) CancelReturnsOnCall(i int, result1 *empty.Empty, result2 error)
- func (fake *SnapshotClient) Generate(arg1 context.Context, arg2 *peer.SignedSnapshotRequest, ...) (*empty.Empty, error)
- func (fake *SnapshotClient) GenerateArgsForCall(i int) (context.Context, *peer.SignedSnapshotRequest, []grpc.CallOption)
- func (fake *SnapshotClient) GenerateCallCount() int
- func (fake *SnapshotClient) GenerateCalls(...)
- func (fake *SnapshotClient) GenerateReturns(result1 *empty.Empty, result2 error)
- func (fake *SnapshotClient) GenerateReturnsOnCall(i int, result1 *empty.Empty, result2 error)
- func (fake *SnapshotClient) Invocations() map[string][][]interface{}
- func (fake *SnapshotClient) QueryPendings(arg1 context.Context, arg2 *peer.SignedSnapshotRequest, ...) (*peer.QueryPendingSnapshotsResponse, error)
- func (fake *SnapshotClient) QueryPendingsArgsForCall(i int) (context.Context, *peer.SignedSnapshotRequest, []grpc.CallOption)
- func (fake *SnapshotClient) QueryPendingsCallCount() int
- func (fake *SnapshotClient) QueryPendingsCalls(...)
- func (fake *SnapshotClient) QueryPendingsReturns(result1 *peer.QueryPendingSnapshotsResponse, result2 error)
- func (fake *SnapshotClient) QueryPendingsReturnsOnCall(i int, result1 *peer.QueryPendingSnapshotsResponse, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 SnapshotClient ¶
type SnapshotClient struct { CancelStub func(context.Context, *peer.SignedSnapshotRequest, ...grpc.CallOption) (*empty.Empty, error) GenerateStub func(context.Context, *peer.SignedSnapshotRequest, ...grpc.CallOption) (*empty.Empty, error) QueryPendingsStub func(context.Context, *peer.SignedSnapshotRequest, ...grpc.CallOption) (*peer.QueryPendingSnapshotsResponse, error) // contains filtered or unexported fields }
func (*SnapshotClient) Cancel ¶
func (fake *SnapshotClient) Cancel(arg1 context.Context, arg2 *peer.SignedSnapshotRequest, arg3 ...grpc.CallOption) (*empty.Empty, error)
func (*SnapshotClient) CancelArgsForCall ¶
func (fake *SnapshotClient) CancelArgsForCall(i int) (context.Context, *peer.SignedSnapshotRequest, []grpc.CallOption)
func (*SnapshotClient) CancelCallCount ¶
func (fake *SnapshotClient) CancelCallCount() int
func (*SnapshotClient) CancelCalls ¶
func (fake *SnapshotClient) CancelCalls(stub func(context.Context, *peer.SignedSnapshotRequest, ...grpc.CallOption) (*empty.Empty, error))
func (*SnapshotClient) CancelReturns ¶
func (fake *SnapshotClient) CancelReturns(result1 *empty.Empty, result2 error)
func (*SnapshotClient) CancelReturnsOnCall ¶
func (fake *SnapshotClient) CancelReturnsOnCall(i int, result1 *empty.Empty, result2 error)
func (*SnapshotClient) Generate ¶
func (fake *SnapshotClient) Generate(arg1 context.Context, arg2 *peer.SignedSnapshotRequest, arg3 ...grpc.CallOption) (*empty.Empty, error)
func (*SnapshotClient) GenerateArgsForCall ¶
func (fake *SnapshotClient) GenerateArgsForCall(i int) (context.Context, *peer.SignedSnapshotRequest, []grpc.CallOption)
func (*SnapshotClient) GenerateCallCount ¶
func (fake *SnapshotClient) GenerateCallCount() int
func (*SnapshotClient) GenerateCalls ¶
func (fake *SnapshotClient) GenerateCalls(stub func(context.Context, *peer.SignedSnapshotRequest, ...grpc.CallOption) (*empty.Empty, error))
func (*SnapshotClient) GenerateReturns ¶
func (fake *SnapshotClient) GenerateReturns(result1 *empty.Empty, result2 error)
func (*SnapshotClient) GenerateReturnsOnCall ¶
func (fake *SnapshotClient) GenerateReturnsOnCall(i int, result1 *empty.Empty, result2 error)
func (*SnapshotClient) Invocations ¶
func (fake *SnapshotClient) Invocations() map[string][][]interface{}
func (*SnapshotClient) QueryPendings ¶
func (fake *SnapshotClient) QueryPendings(arg1 context.Context, arg2 *peer.SignedSnapshotRequest, arg3 ...grpc.CallOption) (*peer.QueryPendingSnapshotsResponse, error)
func (*SnapshotClient) QueryPendingsArgsForCall ¶
func (fake *SnapshotClient) QueryPendingsArgsForCall(i int) (context.Context, *peer.SignedSnapshotRequest, []grpc.CallOption)
func (*SnapshotClient) QueryPendingsCallCount ¶
func (fake *SnapshotClient) QueryPendingsCallCount() int
func (*SnapshotClient) QueryPendingsCalls ¶
func (fake *SnapshotClient) QueryPendingsCalls(stub func(context.Context, *peer.SignedSnapshotRequest, ...grpc.CallOption) (*peer.QueryPendingSnapshotsResponse, error))
func (*SnapshotClient) QueryPendingsReturns ¶
func (fake *SnapshotClient) QueryPendingsReturns(result1 *peer.QueryPendingSnapshotsResponse, result2 error)
func (*SnapshotClient) QueryPendingsReturnsOnCall ¶
func (fake *SnapshotClient) QueryPendingsReturnsOnCall(i int, result1 *peer.QueryPendingSnapshotsResponse, result2 error)
Click to show internal directories.
Click to hide internal directories.