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.
Index ¶
- type Issuer
- func (fake *Issuer) Invocations() map[string][][]interface{}
- func (fake *Issuer) RequestImport(tokensToIssue []*token.TokenToIssue) (*token.TokenTransaction, error)
- func (fake *Issuer) RequestImportArgsForCall(i int) []*token.TokenToIssue
- func (fake *Issuer) RequestImportCallCount() int
- func (fake *Issuer) RequestImportReturns(result1 *token.TokenTransaction, result2 error)
- func (fake *Issuer) RequestImportReturnsOnCall(i int, result1 *token.TokenTransaction, result2 error)
- type Marshaler
- func (fake *Marshaler) Invocations() map[string][][]interface{}
- func (fake *Marshaler) MarshalCommandResponse(command []byte, responsePayload interface{}) (*token.SignedCommandResponse, error)
- func (fake *Marshaler) MarshalCommandResponseArgsForCall(i int) ([]byte, interface{})
- func (fake *Marshaler) MarshalCommandResponseCallCount() int
- func (fake *Marshaler) MarshalCommandResponseReturns(result1 *token.SignedCommandResponse, result2 error)
- func (fake *Marshaler) MarshalCommandResponseReturnsOnCall(i int, result1 *token.SignedCommandResponse, result2 error)
- type PolicyChecker
- func (fake *PolicyChecker) Check(sc *token.SignedCommand, c *token.Command) error
- func (fake *PolicyChecker) CheckArgsForCall(i int) (*token.SignedCommand, *token.Command)
- func (fake *PolicyChecker) CheckCallCount() int
- func (fake *PolicyChecker) CheckReturns(result1 error)
- func (fake *PolicyChecker) CheckReturnsOnCall(i int, result1 error)
- func (fake *PolicyChecker) Invocations() map[string][][]interface{}
- type SignedDataPolicyChecker
- func (fake *SignedDataPolicyChecker) CheckPolicyBySignedData(channelID string, policyName string, sd []*common.SignedData) error
- func (fake *SignedDataPolicyChecker) CheckPolicyBySignedDataArgsForCall(i int) (string, string, []*common.SignedData)
- func (fake *SignedDataPolicyChecker) CheckPolicyBySignedDataCallCount() int
- func (fake *SignedDataPolicyChecker) CheckPolicyBySignedDataReturns(result1 error)
- func (fake *SignedDataPolicyChecker) CheckPolicyBySignedDataReturnsOnCall(i int, result1 error)
- func (fake *SignedDataPolicyChecker) Invocations() map[string][][]interface{}
- 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 TMSManager
- func (fake *TMSManager) GetIssuer(channel string, privateCredential []byte, publicCredential []byte) (server.Issuer, error)
- func (fake *TMSManager) GetIssuerArgsForCall(i int) (string, []byte, []byte)
- func (fake *TMSManager) GetIssuerCallCount() int
- func (fake *TMSManager) GetIssuerReturns(result1 server.Issuer, result2 error)
- func (fake *TMSManager) GetIssuerReturnsOnCall(i int, result1 server.Issuer, result2 error)
- func (fake *TMSManager) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Issuer ¶
type Issuer struct { RequestImportStub func(tokensToIssue []*token.TokenToIssue) (*token.TokenTransaction, error) // contains filtered or unexported fields }
func (*Issuer) Invocations ¶
func (*Issuer) RequestImport ¶
func (fake *Issuer) RequestImport(tokensToIssue []*token.TokenToIssue) (*token.TokenTransaction, error)
func (*Issuer) RequestImportArgsForCall ¶
func (fake *Issuer) RequestImportArgsForCall(i int) []*token.TokenToIssue
func (*Issuer) RequestImportCallCount ¶
func (*Issuer) RequestImportReturns ¶
func (fake *Issuer) RequestImportReturns(result1 *token.TokenTransaction, result2 error)
func (*Issuer) RequestImportReturnsOnCall ¶
func (fake *Issuer) RequestImportReturnsOnCall(i int, result1 *token.TokenTransaction, result2 error)
type Marshaler ¶
type Marshaler struct { MarshalCommandResponseStub func(command []byte, responsePayload interface{}) (*token.SignedCommandResponse, error) // contains filtered or unexported fields }
func (*Marshaler) Invocations ¶
func (*Marshaler) MarshalCommandResponse ¶
func (fake *Marshaler) MarshalCommandResponse(command []byte, responsePayload interface{}) (*token.SignedCommandResponse, error)
func (*Marshaler) MarshalCommandResponseArgsForCall ¶
func (*Marshaler) MarshalCommandResponseCallCount ¶
func (*Marshaler) MarshalCommandResponseReturns ¶
func (fake *Marshaler) MarshalCommandResponseReturns(result1 *token.SignedCommandResponse, result2 error)
func (*Marshaler) MarshalCommandResponseReturnsOnCall ¶
func (fake *Marshaler) MarshalCommandResponseReturnsOnCall(i int, result1 *token.SignedCommandResponse, result2 error)
type PolicyChecker ¶
type PolicyChecker struct { CheckStub func(sc *token.SignedCommand, c *token.Command) error // contains filtered or unexported fields }
func (*PolicyChecker) Check ¶
func (fake *PolicyChecker) Check(sc *token.SignedCommand, c *token.Command) error
func (*PolicyChecker) CheckArgsForCall ¶
func (fake *PolicyChecker) CheckArgsForCall(i int) (*token.SignedCommand, *token.Command)
func (*PolicyChecker) CheckCallCount ¶
func (fake *PolicyChecker) CheckCallCount() int
func (*PolicyChecker) CheckReturns ¶
func (fake *PolicyChecker) CheckReturns(result1 error)
func (*PolicyChecker) CheckReturnsOnCall ¶
func (fake *PolicyChecker) CheckReturnsOnCall(i int, result1 error)
func (*PolicyChecker) Invocations ¶
func (fake *PolicyChecker) Invocations() map[string][][]interface{}
type SignedDataPolicyChecker ¶
type SignedDataPolicyChecker struct { CheckPolicyBySignedDataStub func(channelID, policyName string, sd []*common.SignedData) error // contains filtered or unexported fields }
func (*SignedDataPolicyChecker) CheckPolicyBySignedData ¶
func (fake *SignedDataPolicyChecker) CheckPolicyBySignedData(channelID string, policyName string, sd []*common.SignedData) error
func (*SignedDataPolicyChecker) CheckPolicyBySignedDataArgsForCall ¶
func (fake *SignedDataPolicyChecker) CheckPolicyBySignedDataArgsForCall(i int) (string, string, []*common.SignedData)
func (*SignedDataPolicyChecker) CheckPolicyBySignedDataCallCount ¶
func (fake *SignedDataPolicyChecker) CheckPolicyBySignedDataCallCount() int
func (*SignedDataPolicyChecker) CheckPolicyBySignedDataReturns ¶
func (fake *SignedDataPolicyChecker) CheckPolicyBySignedDataReturns(result1 error)
func (*SignedDataPolicyChecker) CheckPolicyBySignedDataReturnsOnCall ¶
func (fake *SignedDataPolicyChecker) CheckPolicyBySignedDataReturnsOnCall(i int, result1 error)
func (*SignedDataPolicyChecker) Invocations ¶
func (fake *SignedDataPolicyChecker) Invocations() map[string][][]interface{}
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 TMSManager ¶
type TMSManager struct { GetIssuerStub func(channel string, privateCredential, publicCredential []byte) (server.Issuer, error) // contains filtered or unexported fields }
func (*TMSManager) GetIssuerArgsForCall ¶
func (fake *TMSManager) GetIssuerArgsForCall(i int) (string, []byte, []byte)
func (*TMSManager) GetIssuerCallCount ¶
func (fake *TMSManager) GetIssuerCallCount() int
func (*TMSManager) GetIssuerReturns ¶
func (fake *TMSManager) GetIssuerReturns(result1 server.Issuer, result2 error)
func (*TMSManager) GetIssuerReturnsOnCall ¶
func (fake *TMSManager) GetIssuerReturnsOnCall(i int, result1 server.Issuer, result2 error)
func (*TMSManager) Invocations ¶
func (fake *TMSManager) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.