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 ACLProvider
- func (fake *ACLProvider) CheckACL(arg1 string, arg2 string, arg3 interface{}) error
- func (fake *ACLProvider) CheckACLArgsForCall(i int) (string, string, interface{})
- func (fake *ACLProvider) CheckACLCallCount() int
- func (fake *ACLProvider) CheckACLCalls(stub func(string, string, interface{}) error)
- func (fake *ACLProvider) CheckACLReturns(result1 error)
- func (fake *ACLProvider) CheckACLReturnsOnCall(i int, result1 error)
- func (fake *ACLProvider) Invocations() map[string][][]interface{}
- type ApplicationCapabilities
- func (fake *ApplicationCapabilities) ACLs() bool
- func (fake *ApplicationCapabilities) ACLsCallCount() int
- func (fake *ApplicationCapabilities) ACLsCalls(stub func() bool)
- func (fake *ApplicationCapabilities) ACLsReturns(result1 bool)
- func (fake *ApplicationCapabilities) ACLsReturnsOnCall(i int, result1 bool)
- func (fake *ApplicationCapabilities) CollectionUpgrade() bool
- func (fake *ApplicationCapabilities) CollectionUpgradeCallCount() int
- func (fake *ApplicationCapabilities) CollectionUpgradeCalls(stub func() bool)
- func (fake *ApplicationCapabilities) CollectionUpgradeReturns(result1 bool)
- func (fake *ApplicationCapabilities) CollectionUpgradeReturnsOnCall(i int, result1 bool)
- func (fake *ApplicationCapabilities) FabToken() bool
- func (fake *ApplicationCapabilities) FabTokenCallCount() int
- func (fake *ApplicationCapabilities) FabTokenCalls(stub func() bool)
- func (fake *ApplicationCapabilities) FabTokenReturns(result1 bool)
- func (fake *ApplicationCapabilities) FabTokenReturnsOnCall(i int, result1 bool)
- func (fake *ApplicationCapabilities) ForbidDuplicateTXIdInBlock() bool
- func (fake *ApplicationCapabilities) ForbidDuplicateTXIdInBlockCallCount() int
- func (fake *ApplicationCapabilities) ForbidDuplicateTXIdInBlockCalls(stub func() bool)
- func (fake *ApplicationCapabilities) ForbidDuplicateTXIdInBlockReturns(result1 bool)
- func (fake *ApplicationCapabilities) ForbidDuplicateTXIdInBlockReturnsOnCall(i int, result1 bool)
- func (fake *ApplicationCapabilities) Invocations() map[string][][]interface{}
- func (fake *ApplicationCapabilities) KeyLevelEndorsement() bool
- func (fake *ApplicationCapabilities) KeyLevelEndorsementCallCount() int
- func (fake *ApplicationCapabilities) KeyLevelEndorsementCalls(stub func() bool)
- func (fake *ApplicationCapabilities) KeyLevelEndorsementReturns(result1 bool)
- func (fake *ApplicationCapabilities) KeyLevelEndorsementReturnsOnCall(i int, result1 bool)
- func (fake *ApplicationCapabilities) LifecycleV20() bool
- func (fake *ApplicationCapabilities) LifecycleV20CallCount() int
- func (fake *ApplicationCapabilities) LifecycleV20Calls(stub func() bool)
- func (fake *ApplicationCapabilities) LifecycleV20Returns(result1 bool)
- func (fake *ApplicationCapabilities) LifecycleV20ReturnsOnCall(i int, result1 bool)
- func (fake *ApplicationCapabilities) MetadataLifecycle() bool
- func (fake *ApplicationCapabilities) MetadataLifecycleCallCount() int
- func (fake *ApplicationCapabilities) MetadataLifecycleCalls(stub func() bool)
- func (fake *ApplicationCapabilities) MetadataLifecycleReturns(result1 bool)
- func (fake *ApplicationCapabilities) MetadataLifecycleReturnsOnCall(i int, result1 bool)
- func (fake *ApplicationCapabilities) PrivateChannelData() bool
- func (fake *ApplicationCapabilities) PrivateChannelDataCallCount() int
- func (fake *ApplicationCapabilities) PrivateChannelDataCalls(stub func() bool)
- func (fake *ApplicationCapabilities) PrivateChannelDataReturns(result1 bool)
- func (fake *ApplicationCapabilities) PrivateChannelDataReturnsOnCall(i int, result1 bool)
- func (fake *ApplicationCapabilities) Supported() error
- func (fake *ApplicationCapabilities) SupportedCallCount() int
- func (fake *ApplicationCapabilities) SupportedCalls(stub func() error)
- func (fake *ApplicationCapabilities) SupportedReturns(result1 error)
- func (fake *ApplicationCapabilities) SupportedReturnsOnCall(i int, result1 error)
- func (fake *ApplicationCapabilities) V1_1Validation() bool
- func (fake *ApplicationCapabilities) V1_1ValidationCallCount() int
- func (fake *ApplicationCapabilities) V1_1ValidationCalls(stub func() bool)
- func (fake *ApplicationCapabilities) V1_1ValidationReturns(result1 bool)
- func (fake *ApplicationCapabilities) V1_1ValidationReturnsOnCall(i int, result1 bool)
- func (fake *ApplicationCapabilities) V1_2Validation() bool
- func (fake *ApplicationCapabilities) V1_2ValidationCallCount() int
- func (fake *ApplicationCapabilities) V1_2ValidationCalls(stub func() bool)
- func (fake *ApplicationCapabilities) V1_2ValidationReturns(result1 bool)
- func (fake *ApplicationCapabilities) V1_2ValidationReturnsOnCall(i int, result1 bool)
- func (fake *ApplicationCapabilities) V1_3Validation() bool
- func (fake *ApplicationCapabilities) V1_3ValidationCallCount() int
- func (fake *ApplicationCapabilities) V1_3ValidationCalls(stub func() bool)
- func (fake *ApplicationCapabilities) V1_3ValidationReturns(result1 bool)
- func (fake *ApplicationCapabilities) V1_3ValidationReturnsOnCall(i int, result1 bool)
- func (fake *ApplicationCapabilities) V2_0Validation() bool
- func (fake *ApplicationCapabilities) V2_0ValidationCallCount() int
- func (fake *ApplicationCapabilities) V2_0ValidationCalls(stub func() bool)
- func (fake *ApplicationCapabilities) V2_0ValidationReturns(result1 bool)
- func (fake *ApplicationCapabilities) V2_0ValidationReturnsOnCall(i int, result1 bool)
- type ApplicationConfig
- func (fake *ApplicationConfig) APIPolicyMapper() channelconfig.PolicyMapper
- func (fake *ApplicationConfig) APIPolicyMapperCallCount() int
- func (fake *ApplicationConfig) APIPolicyMapperCalls(stub func() channelconfig.PolicyMapper)
- func (fake *ApplicationConfig) APIPolicyMapperReturns(result1 channelconfig.PolicyMapper)
- func (fake *ApplicationConfig) APIPolicyMapperReturnsOnCall(i int, result1 channelconfig.PolicyMapper)
- func (fake *ApplicationConfig) Capabilities() channelconfig.ApplicationCapabilities
- func (fake *ApplicationConfig) CapabilitiesCallCount() int
- func (fake *ApplicationConfig) CapabilitiesCalls(stub func() channelconfig.ApplicationCapabilities)
- func (fake *ApplicationConfig) CapabilitiesReturns(result1 channelconfig.ApplicationCapabilities)
- func (fake *ApplicationConfig) CapabilitiesReturnsOnCall(i int, result1 channelconfig.ApplicationCapabilities)
- func (fake *ApplicationConfig) Invocations() map[string][][]interface{}
- func (fake *ApplicationConfig) Organizations() map[string]channelconfig.ApplicationOrg
- func (fake *ApplicationConfig) OrganizationsCallCount() int
- func (fake *ApplicationConfig) OrganizationsCalls(stub func() map[string]channelconfig.ApplicationOrg)
- func (fake *ApplicationConfig) OrganizationsReturns(result1 map[string]channelconfig.ApplicationOrg)
- func (fake *ApplicationConfig) OrganizationsReturnsOnCall(i int, result1 map[string]channelconfig.ApplicationOrg)
- type CapabilityChecker
- func (fake *CapabilityChecker) FabToken(arg1 string) (bool, error)
- func (fake *CapabilityChecker) FabTokenArgsForCall(i int) string
- func (fake *CapabilityChecker) FabTokenCallCount() int
- func (fake *CapabilityChecker) FabTokenCalls(stub func(string) (bool, error))
- func (fake *CapabilityChecker) FabTokenReturns(result1 bool, result2 error)
- func (fake *CapabilityChecker) FabTokenReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *CapabilityChecker) Invocations() map[string][][]interface{}
- type ChannelConfig
- func (fake *ChannelConfig) ApplicationConfig() (channelconfig.Application, bool)
- func (fake *ChannelConfig) ApplicationConfigCallCount() int
- func (fake *ChannelConfig) ApplicationConfigCalls(stub func() (channelconfig.Application, bool))
- func (fake *ChannelConfig) ApplicationConfigReturns(result1 channelconfig.Application, result2 bool)
- func (fake *ChannelConfig) ApplicationConfigReturnsOnCall(i int, result1 channelconfig.Application, result2 bool)
- func (fake *ChannelConfig) ChannelConfig() channelconfig.Channel
- func (fake *ChannelConfig) ChannelConfigCallCount() int
- func (fake *ChannelConfig) ChannelConfigCalls(stub func() channelconfig.Channel)
- func (fake *ChannelConfig) ChannelConfigReturns(result1 channelconfig.Channel)
- func (fake *ChannelConfig) ChannelConfigReturnsOnCall(i int, result1 channelconfig.Channel)
- func (fake *ChannelConfig) ConfigtxValidator() configtx.Validator
- func (fake *ChannelConfig) ConfigtxValidatorCallCount() int
- func (fake *ChannelConfig) ConfigtxValidatorCalls(stub func() configtx.Validator)
- func (fake *ChannelConfig) ConfigtxValidatorReturns(result1 configtx.Validator)
- func (fake *ChannelConfig) ConfigtxValidatorReturnsOnCall(i int, result1 configtx.Validator)
- func (fake *ChannelConfig) ConsortiumsConfig() (channelconfig.Consortiums, bool)
- func (fake *ChannelConfig) ConsortiumsConfigCallCount() int
- func (fake *ChannelConfig) ConsortiumsConfigCalls(stub func() (channelconfig.Consortiums, bool))
- func (fake *ChannelConfig) ConsortiumsConfigReturns(result1 channelconfig.Consortiums, result2 bool)
- func (fake *ChannelConfig) ConsortiumsConfigReturnsOnCall(i int, result1 channelconfig.Consortiums, result2 bool)
- func (fake *ChannelConfig) Invocations() map[string][][]interface{}
- func (fake *ChannelConfig) MSPManager() msp.MSPManager
- func (fake *ChannelConfig) MSPManagerCallCount() int
- func (fake *ChannelConfig) MSPManagerCalls(stub func() msp.MSPManager)
- func (fake *ChannelConfig) MSPManagerReturns(result1 msp.MSPManager)
- func (fake *ChannelConfig) MSPManagerReturnsOnCall(i int, result1 msp.MSPManager)
- func (fake *ChannelConfig) OrdererConfig() (channelconfig.Orderer, bool)
- func (fake *ChannelConfig) OrdererConfigCallCount() int
- func (fake *ChannelConfig) OrdererConfigCalls(stub func() (channelconfig.Orderer, bool))
- func (fake *ChannelConfig) OrdererConfigReturns(result1 channelconfig.Orderer, result2 bool)
- func (fake *ChannelConfig) OrdererConfigReturnsOnCall(i int, result1 channelconfig.Orderer, result2 bool)
- func (fake *ChannelConfig) PolicyManager() policies.Manager
- func (fake *ChannelConfig) PolicyManagerCallCount() int
- func (fake *ChannelConfig) PolicyManagerCalls(stub func() policies.Manager)
- func (fake *ChannelConfig) PolicyManagerReturns(result1 policies.Manager)
- func (fake *ChannelConfig) PolicyManagerReturnsOnCall(i int, result1 policies.Manager)
- func (fake *ChannelConfig) ValidateNew(arg1 channelconfig.Resources) error
- func (fake *ChannelConfig) ValidateNewArgsForCall(i int) channelconfig.Resources
- func (fake *ChannelConfig) ValidateNewCallCount() int
- func (fake *ChannelConfig) ValidateNewCalls(stub func(channelconfig.Resources) error)
- func (fake *ChannelConfig) ValidateNewReturns(result1 error)
- func (fake *ChannelConfig) ValidateNewReturnsOnCall(i int, result1 error)
- type Issuer
- func (fake *Issuer) Invocations() map[string][][]interface{}
- func (fake *Issuer) RequestIssue(tokensToIssue []*token.Token) (*token.TokenTransaction, error)
- func (fake *Issuer) RequestIssueArgsForCall(i int) []*token.Token
- func (fake *Issuer) RequestIssueCallCount() int
- func (fake *Issuer) RequestIssueReturns(result1 *token.TokenTransaction, result2 error)
- func (fake *Issuer) RequestIssueReturnsOnCall(i int, result1 *token.TokenTransaction, result2 error)
- func (fake *Issuer) RequestTokenOperation(op *token.TokenOperation) (*token.TokenTransaction, error)
- func (fake *Issuer) RequestTokenOperationArgsForCall(i int) *token.TokenOperation
- func (fake *Issuer) RequestTokenOperationCallCount() int
- func (fake *Issuer) RequestTokenOperationReturns(result1 *token.TokenTransaction, result2 error)
- func (fake *Issuer) RequestTokenOperationReturnsOnCall(i int, result1 *token.TokenTransaction, result2 error)
- type Marshaler
- func (fake *Marshaler) Invocations() map[string][][]interface{}
- func (fake *Marshaler) MarshalCommandResponse(arg1 []byte, arg2 interface{}) (*token.SignedCommandResponse, error)
- func (fake *Marshaler) MarshalCommandResponseArgsForCall(i int) ([]byte, interface{})
- func (fake *Marshaler) MarshalCommandResponseCallCount() int
- func (fake *Marshaler) MarshalCommandResponseCalls(stub func([]byte, interface{}) (*token.SignedCommandResponse, error))
- func (fake *Marshaler) MarshalCommandResponseReturns(result1 *token.SignedCommandResponse, result2 error)
- func (fake *Marshaler) MarshalCommandResponseReturnsOnCall(i int, result1 *token.SignedCommandResponse, result2 error)
- type PeerOperations
- func (fake *PeerOperations) CreateChainFromBlock(arg1 *common.Block, arg2 sysccprovider.SystemChaincodeProvider, ...) error
- func (fake *PeerOperations) CreateChainFromBlockArgsForCall(i int) (*common.Block, sysccprovider.SystemChaincodeProvider, ...)
- func (fake *PeerOperations) CreateChainFromBlockCallCount() int
- func (fake *PeerOperations) CreateChainFromBlockCalls(stub func(*common.Block, sysccprovider.SystemChaincodeProvider, ...) error)
- func (fake *PeerOperations) CreateChainFromBlockReturns(result1 error)
- func (fake *PeerOperations) CreateChainFromBlockReturnsOnCall(i int, result1 error)
- func (fake *PeerOperations) GetChannelConfig(arg1 string) channelconfig.Resources
- func (fake *PeerOperations) GetChannelConfigArgsForCall(i int) string
- func (fake *PeerOperations) GetChannelConfigCallCount() int
- func (fake *PeerOperations) GetChannelConfigCalls(stub func(string) channelconfig.Resources)
- func (fake *PeerOperations) GetChannelConfigReturns(result1 channelconfig.Resources)
- func (fake *PeerOperations) GetChannelConfigReturnsOnCall(i int, result1 channelconfig.Resources)
- func (fake *PeerOperations) GetChannelsInfo() []*peer.ChannelInfo
- func (fake *PeerOperations) GetChannelsInfoCallCount() int
- func (fake *PeerOperations) GetChannelsInfoCalls(stub func() []*peer.ChannelInfo)
- func (fake *PeerOperations) GetChannelsInfoReturns(result1 []*peer.ChannelInfo)
- func (fake *PeerOperations) GetChannelsInfoReturnsOnCall(i int, result1 []*peer.ChannelInfo)
- func (fake *PeerOperations) GetCurrConfigBlock(arg1 string) *common.Block
- func (fake *PeerOperations) GetCurrConfigBlockArgsForCall(i int) string
- func (fake *PeerOperations) GetCurrConfigBlockCallCount() int
- func (fake *PeerOperations) GetCurrConfigBlockCalls(stub func(string) *common.Block)
- func (fake *PeerOperations) GetCurrConfigBlockReturns(result1 *common.Block)
- func (fake *PeerOperations) GetCurrConfigBlockReturnsOnCall(i int, result1 *common.Block)
- func (fake *PeerOperations) GetLedger(arg1 string) ledger.PeerLedger
- func (fake *PeerOperations) GetLedgerArgsForCall(i int) string
- func (fake *PeerOperations) GetLedgerCallCount() int
- func (fake *PeerOperations) GetLedgerCalls(stub func(string) ledger.PeerLedger)
- func (fake *PeerOperations) GetLedgerReturns(result1 ledger.PeerLedger)
- func (fake *PeerOperations) GetLedgerReturnsOnCall(i int, result1 ledger.PeerLedger)
- func (fake *PeerOperations) GetMSPIDs(arg1 string) []string
- func (fake *PeerOperations) GetMSPIDsArgsForCall(i int) string
- func (fake *PeerOperations) GetMSPIDsCallCount() int
- func (fake *PeerOperations) GetMSPIDsCalls(stub func(string) []string)
- func (fake *PeerOperations) GetMSPIDsReturns(result1 []string)
- func (fake *PeerOperations) GetMSPIDsReturnsOnCall(i int, result1 []string)
- func (fake *PeerOperations) GetPolicyManager(arg1 string) policies.Manager
- func (fake *PeerOperations) GetPolicyManagerArgsForCall(i int) string
- func (fake *PeerOperations) GetPolicyManagerCallCount() int
- func (fake *PeerOperations) GetPolicyManagerCalls(stub func(string) policies.Manager)
- func (fake *PeerOperations) GetPolicyManagerReturns(result1 policies.Manager)
- func (fake *PeerOperations) GetPolicyManagerReturnsOnCall(i int, result1 policies.Manager)
- func (fake *PeerOperations) GetStableChannelConfig(arg1 string) channelconfig.Resources
- func (fake *PeerOperations) GetStableChannelConfigArgsForCall(i int) string
- func (fake *PeerOperations) GetStableChannelConfigCallCount() int
- func (fake *PeerOperations) GetStableChannelConfigCalls(stub func(string) channelconfig.Resources)
- func (fake *PeerOperations) GetStableChannelConfigReturns(result1 channelconfig.Resources)
- func (fake *PeerOperations) GetStableChannelConfigReturnsOnCall(i int, result1 channelconfig.Resources)
- func (fake *PeerOperations) InitChain(arg1 string)
- func (fake *PeerOperations) InitChainArgsForCall(i int) string
- func (fake *PeerOperations) InitChainCallCount() int
- func (fake *PeerOperations) InitChainCalls(stub func(string))
- func (fake *PeerOperations) Initialize(arg1 func(string), arg2 sysccprovider.SystemChaincodeProvider, ...)
- func (fake *PeerOperations) InitializeArgsForCall(i int) (func(string), sysccprovider.SystemChaincodeProvider, plugin.Mapper, ...)
- func (fake *PeerOperations) InitializeCallCount() int
- func (fake *PeerOperations) InitializeCalls(...)
- func (fake *PeerOperations) Invocations() map[string][][]interface{}
- type PolicyChecker
- func (fake *PolicyChecker) Check(arg1 *token.SignedCommand, arg2 *token.Command) error
- func (fake *PolicyChecker) CheckArgsForCall(i int) (*token.SignedCommand, *token.Command)
- func (fake *PolicyChecker) CheckCallCount() int
- func (fake *PolicyChecker) CheckCalls(stub func(*token.SignedCommand, *token.Command) error)
- func (fake *PolicyChecker) CheckReturns(result1 error)
- func (fake *PolicyChecker) CheckReturnsOnCall(i int, result1 error)
- func (fake *PolicyChecker) 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) SerializeCalls(stub func() ([]byte, error))
- 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) SignCalls(stub func([]byte) ([]byte, error))
- func (fake *SignerIdentity) SignReturns(result1 []byte, result2 error)
- func (fake *SignerIdentity) SignReturnsOnCall(i int, result1 []byte, result2 error)
- type TMSManager
- func (fake *TMSManager) GetIssuer(arg1 string, arg2 []byte, arg3 []byte) (server.Issuer, error)
- func (fake *TMSManager) GetIssuerArgsForCall(i int) (string, []byte, []byte)
- func (fake *TMSManager) GetIssuerCallCount() int
- func (fake *TMSManager) GetIssuerCalls(stub func(string, []byte, []byte) (server.Issuer, error))
- func (fake *TMSManager) GetIssuerReturns(result1 server.Issuer, result2 error)
- func (fake *TMSManager) GetIssuerReturnsOnCall(i int, result1 server.Issuer, result2 error)
- func (fake *TMSManager) GetTransactor(arg1 string, arg2 []byte, arg3 []byte) (server.Transactor, error)
- func (fake *TMSManager) GetTransactorArgsForCall(i int) (string, []byte, []byte)
- func (fake *TMSManager) GetTransactorCallCount() int
- func (fake *TMSManager) GetTransactorCalls(stub func(string, []byte, []byte) (server.Transactor, error))
- func (fake *TMSManager) GetTransactorReturns(result1 server.Transactor, result2 error)
- func (fake *TMSManager) GetTransactorReturnsOnCall(i int, result1 server.Transactor, result2 error)
- func (fake *TMSManager) Invocations() map[string][][]interface{}
- type Transactor
- func (fake *Transactor) Done()
- func (fake *Transactor) DoneCallCount() int
- func (fake *Transactor) Invocations() map[string][][]interface{}
- func (fake *Transactor) ListTokens() (*token.UnspentTokens, error)
- func (fake *Transactor) ListTokensCallCount() int
- func (fake *Transactor) ListTokensReturns(result1 *token.UnspentTokens, result2 error)
- func (fake *Transactor) ListTokensReturnsOnCall(i int, result1 *token.UnspentTokens, result2 error)
- func (fake *Transactor) RequestRedeem(request *token.RedeemRequest) (*token.TokenTransaction, error)
- func (fake *Transactor) RequestRedeemArgsForCall(i int) *token.RedeemRequest
- func (fake *Transactor) RequestRedeemCallCount() int
- func (fake *Transactor) RequestRedeemReturns(result1 *token.TokenTransaction, result2 error)
- func (fake *Transactor) RequestRedeemReturnsOnCall(i int, result1 *token.TokenTransaction, result2 error)
- func (fake *Transactor) RequestTokenOperation(tokenIDs []*token.TokenId, op *token.TokenOperation) (*token.TokenTransaction, int, error)
- func (fake *Transactor) RequestTokenOperationArgsForCall(i int) ([]*token.TokenId, *token.TokenOperation)
- func (fake *Transactor) RequestTokenOperationCallCount() int
- func (fake *Transactor) RequestTokenOperationReturns(result1 *token.TokenTransaction, result2 int, result3 error)
- func (fake *Transactor) RequestTokenOperationReturnsOnCall(i int, result1 *token.TokenTransaction, result2 int, result3 error)
- func (fake *Transactor) RequestTransfer(request *token.TransferRequest) (*token.TokenTransaction, error)
- func (fake *Transactor) RequestTransferArgsForCall(i int) *token.TransferRequest
- func (fake *Transactor) RequestTransferCallCount() int
- func (fake *Transactor) RequestTransferReturns(result1 *token.TokenTransaction, result2 error)
- func (fake *Transactor) RequestTransferReturnsOnCall(i int, result1 *token.TokenTransaction, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACLProvider ¶
type ACLProvider struct { CheckACLStub func(string, string, interface{}) error // contains filtered or unexported fields }
func (*ACLProvider) CheckACL ¶
func (fake *ACLProvider) CheckACL(arg1 string, arg2 string, arg3 interface{}) error
func (*ACLProvider) CheckACLArgsForCall ¶
func (fake *ACLProvider) CheckACLArgsForCall(i int) (string, string, interface{})
func (*ACLProvider) CheckACLCallCount ¶
func (fake *ACLProvider) CheckACLCallCount() int
func (*ACLProvider) CheckACLCalls ¶
func (fake *ACLProvider) CheckACLCalls(stub func(string, string, interface{}) error)
func (*ACLProvider) CheckACLReturns ¶
func (fake *ACLProvider) CheckACLReturns(result1 error)
func (*ACLProvider) CheckACLReturnsOnCall ¶
func (fake *ACLProvider) CheckACLReturnsOnCall(i int, result1 error)
func (*ACLProvider) Invocations ¶
func (fake *ACLProvider) Invocations() map[string][][]interface{}
type ApplicationCapabilities ¶
type ApplicationCapabilities struct { ACLsStub func() bool CollectionUpgradeStub func() bool FabTokenStub func() bool ForbidDuplicateTXIdInBlockStub func() bool KeyLevelEndorsementStub func() bool LifecycleV20Stub func() bool MetadataLifecycleStub func() bool PrivateChannelDataStub func() bool SupportedStub func() error V1_1ValidationStub func() bool V1_2ValidationStub func() bool V1_3ValidationStub func() bool V2_0ValidationStub func() bool // contains filtered or unexported fields }
func (*ApplicationCapabilities) ACLs ¶
func (fake *ApplicationCapabilities) ACLs() bool
func (*ApplicationCapabilities) ACLsCallCount ¶
func (fake *ApplicationCapabilities) ACLsCallCount() int
func (*ApplicationCapabilities) ACLsCalls ¶
func (fake *ApplicationCapabilities) ACLsCalls(stub func() bool)
func (*ApplicationCapabilities) ACLsReturns ¶
func (fake *ApplicationCapabilities) ACLsReturns(result1 bool)
func (*ApplicationCapabilities) ACLsReturnsOnCall ¶
func (fake *ApplicationCapabilities) ACLsReturnsOnCall(i int, result1 bool)
func (*ApplicationCapabilities) CollectionUpgrade ¶
func (fake *ApplicationCapabilities) CollectionUpgrade() bool
func (*ApplicationCapabilities) CollectionUpgradeCallCount ¶
func (fake *ApplicationCapabilities) CollectionUpgradeCallCount() int
func (*ApplicationCapabilities) CollectionUpgradeCalls ¶
func (fake *ApplicationCapabilities) CollectionUpgradeCalls(stub func() bool)
func (*ApplicationCapabilities) CollectionUpgradeReturns ¶
func (fake *ApplicationCapabilities) CollectionUpgradeReturns(result1 bool)
func (*ApplicationCapabilities) CollectionUpgradeReturnsOnCall ¶
func (fake *ApplicationCapabilities) CollectionUpgradeReturnsOnCall(i int, result1 bool)
func (*ApplicationCapabilities) FabToken ¶
func (fake *ApplicationCapabilities) FabToken() bool
func (*ApplicationCapabilities) FabTokenCallCount ¶
func (fake *ApplicationCapabilities) FabTokenCallCount() int
func (*ApplicationCapabilities) FabTokenCalls ¶
func (fake *ApplicationCapabilities) FabTokenCalls(stub func() bool)
func (*ApplicationCapabilities) FabTokenReturns ¶
func (fake *ApplicationCapabilities) FabTokenReturns(result1 bool)
func (*ApplicationCapabilities) FabTokenReturnsOnCall ¶
func (fake *ApplicationCapabilities) FabTokenReturnsOnCall(i int, result1 bool)
func (*ApplicationCapabilities) ForbidDuplicateTXIdInBlock ¶
func (fake *ApplicationCapabilities) ForbidDuplicateTXIdInBlock() bool
func (*ApplicationCapabilities) ForbidDuplicateTXIdInBlockCallCount ¶
func (fake *ApplicationCapabilities) ForbidDuplicateTXIdInBlockCallCount() int
func (*ApplicationCapabilities) ForbidDuplicateTXIdInBlockCalls ¶
func (fake *ApplicationCapabilities) ForbidDuplicateTXIdInBlockCalls(stub func() bool)
func (*ApplicationCapabilities) ForbidDuplicateTXIdInBlockReturns ¶
func (fake *ApplicationCapabilities) ForbidDuplicateTXIdInBlockReturns(result1 bool)
func (*ApplicationCapabilities) ForbidDuplicateTXIdInBlockReturnsOnCall ¶
func (fake *ApplicationCapabilities) ForbidDuplicateTXIdInBlockReturnsOnCall(i int, result1 bool)
func (*ApplicationCapabilities) Invocations ¶
func (fake *ApplicationCapabilities) Invocations() map[string][][]interface{}
func (*ApplicationCapabilities) KeyLevelEndorsement ¶
func (fake *ApplicationCapabilities) KeyLevelEndorsement() bool
func (*ApplicationCapabilities) KeyLevelEndorsementCallCount ¶
func (fake *ApplicationCapabilities) KeyLevelEndorsementCallCount() int
func (*ApplicationCapabilities) KeyLevelEndorsementCalls ¶
func (fake *ApplicationCapabilities) KeyLevelEndorsementCalls(stub func() bool)
func (*ApplicationCapabilities) KeyLevelEndorsementReturns ¶
func (fake *ApplicationCapabilities) KeyLevelEndorsementReturns(result1 bool)
func (*ApplicationCapabilities) KeyLevelEndorsementReturnsOnCall ¶
func (fake *ApplicationCapabilities) KeyLevelEndorsementReturnsOnCall(i int, result1 bool)
func (*ApplicationCapabilities) LifecycleV20 ¶
func (fake *ApplicationCapabilities) LifecycleV20() bool
func (*ApplicationCapabilities) LifecycleV20CallCount ¶
func (fake *ApplicationCapabilities) LifecycleV20CallCount() int
func (*ApplicationCapabilities) LifecycleV20Calls ¶
func (fake *ApplicationCapabilities) LifecycleV20Calls(stub func() bool)
func (*ApplicationCapabilities) LifecycleV20Returns ¶
func (fake *ApplicationCapabilities) LifecycleV20Returns(result1 bool)
func (*ApplicationCapabilities) LifecycleV20ReturnsOnCall ¶
func (fake *ApplicationCapabilities) LifecycleV20ReturnsOnCall(i int, result1 bool)
func (*ApplicationCapabilities) MetadataLifecycle ¶
func (fake *ApplicationCapabilities) MetadataLifecycle() bool
func (*ApplicationCapabilities) MetadataLifecycleCallCount ¶
func (fake *ApplicationCapabilities) MetadataLifecycleCallCount() int
func (*ApplicationCapabilities) MetadataLifecycleCalls ¶
func (fake *ApplicationCapabilities) MetadataLifecycleCalls(stub func() bool)
func (*ApplicationCapabilities) MetadataLifecycleReturns ¶
func (fake *ApplicationCapabilities) MetadataLifecycleReturns(result1 bool)
func (*ApplicationCapabilities) MetadataLifecycleReturnsOnCall ¶
func (fake *ApplicationCapabilities) MetadataLifecycleReturnsOnCall(i int, result1 bool)
func (*ApplicationCapabilities) PrivateChannelData ¶
func (fake *ApplicationCapabilities) PrivateChannelData() bool
func (*ApplicationCapabilities) PrivateChannelDataCallCount ¶
func (fake *ApplicationCapabilities) PrivateChannelDataCallCount() int
func (*ApplicationCapabilities) PrivateChannelDataCalls ¶
func (fake *ApplicationCapabilities) PrivateChannelDataCalls(stub func() bool)
func (*ApplicationCapabilities) PrivateChannelDataReturns ¶
func (fake *ApplicationCapabilities) PrivateChannelDataReturns(result1 bool)
func (*ApplicationCapabilities) PrivateChannelDataReturnsOnCall ¶
func (fake *ApplicationCapabilities) PrivateChannelDataReturnsOnCall(i int, result1 bool)
func (*ApplicationCapabilities) Supported ¶
func (fake *ApplicationCapabilities) Supported() error
func (*ApplicationCapabilities) SupportedCallCount ¶
func (fake *ApplicationCapabilities) SupportedCallCount() int
func (*ApplicationCapabilities) SupportedCalls ¶
func (fake *ApplicationCapabilities) SupportedCalls(stub func() error)
func (*ApplicationCapabilities) SupportedReturns ¶
func (fake *ApplicationCapabilities) SupportedReturns(result1 error)
func (*ApplicationCapabilities) SupportedReturnsOnCall ¶
func (fake *ApplicationCapabilities) SupportedReturnsOnCall(i int, result1 error)
func (*ApplicationCapabilities) V1_1Validation ¶
func (fake *ApplicationCapabilities) V1_1Validation() bool
func (*ApplicationCapabilities) V1_1ValidationCallCount ¶
func (fake *ApplicationCapabilities) V1_1ValidationCallCount() int
func (*ApplicationCapabilities) V1_1ValidationCalls ¶
func (fake *ApplicationCapabilities) V1_1ValidationCalls(stub func() bool)
func (*ApplicationCapabilities) V1_1ValidationReturns ¶
func (fake *ApplicationCapabilities) V1_1ValidationReturns(result1 bool)
func (*ApplicationCapabilities) V1_1ValidationReturnsOnCall ¶
func (fake *ApplicationCapabilities) V1_1ValidationReturnsOnCall(i int, result1 bool)
func (*ApplicationCapabilities) V1_2Validation ¶
func (fake *ApplicationCapabilities) V1_2Validation() bool
func (*ApplicationCapabilities) V1_2ValidationCallCount ¶
func (fake *ApplicationCapabilities) V1_2ValidationCallCount() int
func (*ApplicationCapabilities) V1_2ValidationCalls ¶
func (fake *ApplicationCapabilities) V1_2ValidationCalls(stub func() bool)
func (*ApplicationCapabilities) V1_2ValidationReturns ¶
func (fake *ApplicationCapabilities) V1_2ValidationReturns(result1 bool)
func (*ApplicationCapabilities) V1_2ValidationReturnsOnCall ¶
func (fake *ApplicationCapabilities) V1_2ValidationReturnsOnCall(i int, result1 bool)
func (*ApplicationCapabilities) V1_3Validation ¶
func (fake *ApplicationCapabilities) V1_3Validation() bool
func (*ApplicationCapabilities) V1_3ValidationCallCount ¶
func (fake *ApplicationCapabilities) V1_3ValidationCallCount() int
func (*ApplicationCapabilities) V1_3ValidationCalls ¶
func (fake *ApplicationCapabilities) V1_3ValidationCalls(stub func() bool)
func (*ApplicationCapabilities) V1_3ValidationReturns ¶
func (fake *ApplicationCapabilities) V1_3ValidationReturns(result1 bool)
func (*ApplicationCapabilities) V1_3ValidationReturnsOnCall ¶
func (fake *ApplicationCapabilities) V1_3ValidationReturnsOnCall(i int, result1 bool)
func (*ApplicationCapabilities) V2_0Validation ¶
func (fake *ApplicationCapabilities) V2_0Validation() bool
func (*ApplicationCapabilities) V2_0ValidationCallCount ¶
func (fake *ApplicationCapabilities) V2_0ValidationCallCount() int
func (*ApplicationCapabilities) V2_0ValidationCalls ¶
func (fake *ApplicationCapabilities) V2_0ValidationCalls(stub func() bool)
func (*ApplicationCapabilities) V2_0ValidationReturns ¶
func (fake *ApplicationCapabilities) V2_0ValidationReturns(result1 bool)
func (*ApplicationCapabilities) V2_0ValidationReturnsOnCall ¶
func (fake *ApplicationCapabilities) V2_0ValidationReturnsOnCall(i int, result1 bool)
type ApplicationConfig ¶
type ApplicationConfig struct { APIPolicyMapperStub func() channelconfig.PolicyMapper CapabilitiesStub func() channelconfig.ApplicationCapabilities OrganizationsStub func() map[string]channelconfig.ApplicationOrg // contains filtered or unexported fields }
func (*ApplicationConfig) APIPolicyMapper ¶
func (fake *ApplicationConfig) APIPolicyMapper() channelconfig.PolicyMapper
func (*ApplicationConfig) APIPolicyMapperCallCount ¶
func (fake *ApplicationConfig) APIPolicyMapperCallCount() int
func (*ApplicationConfig) APIPolicyMapperCalls ¶
func (fake *ApplicationConfig) APIPolicyMapperCalls(stub func() channelconfig.PolicyMapper)
func (*ApplicationConfig) APIPolicyMapperReturns ¶
func (fake *ApplicationConfig) APIPolicyMapperReturns(result1 channelconfig.PolicyMapper)
func (*ApplicationConfig) APIPolicyMapperReturnsOnCall ¶
func (fake *ApplicationConfig) APIPolicyMapperReturnsOnCall(i int, result1 channelconfig.PolicyMapper)
func (*ApplicationConfig) Capabilities ¶
func (fake *ApplicationConfig) Capabilities() channelconfig.ApplicationCapabilities
func (*ApplicationConfig) CapabilitiesCallCount ¶
func (fake *ApplicationConfig) CapabilitiesCallCount() int
func (*ApplicationConfig) CapabilitiesCalls ¶
func (fake *ApplicationConfig) CapabilitiesCalls(stub func() channelconfig.ApplicationCapabilities)
func (*ApplicationConfig) CapabilitiesReturns ¶
func (fake *ApplicationConfig) CapabilitiesReturns(result1 channelconfig.ApplicationCapabilities)
func (*ApplicationConfig) CapabilitiesReturnsOnCall ¶
func (fake *ApplicationConfig) CapabilitiesReturnsOnCall(i int, result1 channelconfig.ApplicationCapabilities)
func (*ApplicationConfig) Invocations ¶
func (fake *ApplicationConfig) Invocations() map[string][][]interface{}
func (*ApplicationConfig) Organizations ¶
func (fake *ApplicationConfig) Organizations() map[string]channelconfig.ApplicationOrg
func (*ApplicationConfig) OrganizationsCallCount ¶
func (fake *ApplicationConfig) OrganizationsCallCount() int
func (*ApplicationConfig) OrganizationsCalls ¶
func (fake *ApplicationConfig) OrganizationsCalls(stub func() map[string]channelconfig.ApplicationOrg)
func (*ApplicationConfig) OrganizationsReturns ¶
func (fake *ApplicationConfig) OrganizationsReturns(result1 map[string]channelconfig.ApplicationOrg)
func (*ApplicationConfig) OrganizationsReturnsOnCall ¶
func (fake *ApplicationConfig) OrganizationsReturnsOnCall(i int, result1 map[string]channelconfig.ApplicationOrg)
type CapabilityChecker ¶
type CapabilityChecker struct { FabTokenStub func(string) (bool, error) // contains filtered or unexported fields }
func (*CapabilityChecker) FabToken ¶
func (fake *CapabilityChecker) FabToken(arg1 string) (bool, error)
func (*CapabilityChecker) FabTokenArgsForCall ¶
func (fake *CapabilityChecker) FabTokenArgsForCall(i int) string
func (*CapabilityChecker) FabTokenCallCount ¶
func (fake *CapabilityChecker) FabTokenCallCount() int
func (*CapabilityChecker) FabTokenCalls ¶
func (fake *CapabilityChecker) FabTokenCalls(stub func(string) (bool, error))
func (*CapabilityChecker) FabTokenReturns ¶
func (fake *CapabilityChecker) FabTokenReturns(result1 bool, result2 error)
func (*CapabilityChecker) FabTokenReturnsOnCall ¶
func (fake *CapabilityChecker) FabTokenReturnsOnCall(i int, result1 bool, result2 error)
func (*CapabilityChecker) Invocations ¶
func (fake *CapabilityChecker) Invocations() map[string][][]interface{}
type ChannelConfig ¶
type ChannelConfig struct { ApplicationConfigStub func() (channelconfig.Application, bool) ChannelConfigStub func() channelconfig.Channel ConfigtxValidatorStub func() configtx.Validator ConsortiumsConfigStub func() (channelconfig.Consortiums, bool) MSPManagerStub func() msp.MSPManager OrdererConfigStub func() (channelconfig.Orderer, bool) PolicyManagerStub func() policies.Manager ValidateNewStub func(channelconfig.Resources) error // contains filtered or unexported fields }
func (*ChannelConfig) ApplicationConfig ¶
func (fake *ChannelConfig) ApplicationConfig() (channelconfig.Application, bool)
func (*ChannelConfig) ApplicationConfigCallCount ¶
func (fake *ChannelConfig) ApplicationConfigCallCount() int
func (*ChannelConfig) ApplicationConfigCalls ¶
func (fake *ChannelConfig) ApplicationConfigCalls(stub func() (channelconfig.Application, bool))
func (*ChannelConfig) ApplicationConfigReturns ¶
func (fake *ChannelConfig) ApplicationConfigReturns(result1 channelconfig.Application, result2 bool)
func (*ChannelConfig) ApplicationConfigReturnsOnCall ¶
func (fake *ChannelConfig) ApplicationConfigReturnsOnCall(i int, result1 channelconfig.Application, result2 bool)
func (*ChannelConfig) ChannelConfig ¶
func (fake *ChannelConfig) ChannelConfig() channelconfig.Channel
func (*ChannelConfig) ChannelConfigCallCount ¶
func (fake *ChannelConfig) ChannelConfigCallCount() int
func (*ChannelConfig) ChannelConfigCalls ¶
func (fake *ChannelConfig) ChannelConfigCalls(stub func() channelconfig.Channel)
func (*ChannelConfig) ChannelConfigReturns ¶
func (fake *ChannelConfig) ChannelConfigReturns(result1 channelconfig.Channel)
func (*ChannelConfig) ChannelConfigReturnsOnCall ¶
func (fake *ChannelConfig) ChannelConfigReturnsOnCall(i int, result1 channelconfig.Channel)
func (*ChannelConfig) ConfigtxValidator ¶
func (fake *ChannelConfig) ConfigtxValidator() configtx.Validator
func (*ChannelConfig) ConfigtxValidatorCallCount ¶
func (fake *ChannelConfig) ConfigtxValidatorCallCount() int
func (*ChannelConfig) ConfigtxValidatorCalls ¶
func (fake *ChannelConfig) ConfigtxValidatorCalls(stub func() configtx.Validator)
func (*ChannelConfig) ConfigtxValidatorReturns ¶
func (fake *ChannelConfig) ConfigtxValidatorReturns(result1 configtx.Validator)
func (*ChannelConfig) ConfigtxValidatorReturnsOnCall ¶
func (fake *ChannelConfig) ConfigtxValidatorReturnsOnCall(i int, result1 configtx.Validator)
func (*ChannelConfig) ConsortiumsConfig ¶
func (fake *ChannelConfig) ConsortiumsConfig() (channelconfig.Consortiums, bool)
func (*ChannelConfig) ConsortiumsConfigCallCount ¶
func (fake *ChannelConfig) ConsortiumsConfigCallCount() int
func (*ChannelConfig) ConsortiumsConfigCalls ¶
func (fake *ChannelConfig) ConsortiumsConfigCalls(stub func() (channelconfig.Consortiums, bool))
func (*ChannelConfig) ConsortiumsConfigReturns ¶
func (fake *ChannelConfig) ConsortiumsConfigReturns(result1 channelconfig.Consortiums, result2 bool)
func (*ChannelConfig) ConsortiumsConfigReturnsOnCall ¶
func (fake *ChannelConfig) ConsortiumsConfigReturnsOnCall(i int, result1 channelconfig.Consortiums, result2 bool)
func (*ChannelConfig) Invocations ¶
func (fake *ChannelConfig) Invocations() map[string][][]interface{}
func (*ChannelConfig) MSPManager ¶
func (fake *ChannelConfig) MSPManager() msp.MSPManager
func (*ChannelConfig) MSPManagerCallCount ¶
func (fake *ChannelConfig) MSPManagerCallCount() int
func (*ChannelConfig) MSPManagerCalls ¶
func (fake *ChannelConfig) MSPManagerCalls(stub func() msp.MSPManager)
func (*ChannelConfig) MSPManagerReturns ¶
func (fake *ChannelConfig) MSPManagerReturns(result1 msp.MSPManager)
func (*ChannelConfig) MSPManagerReturnsOnCall ¶
func (fake *ChannelConfig) MSPManagerReturnsOnCall(i int, result1 msp.MSPManager)
func (*ChannelConfig) OrdererConfig ¶
func (fake *ChannelConfig) OrdererConfig() (channelconfig.Orderer, bool)
func (*ChannelConfig) OrdererConfigCallCount ¶
func (fake *ChannelConfig) OrdererConfigCallCount() int
func (*ChannelConfig) OrdererConfigCalls ¶
func (fake *ChannelConfig) OrdererConfigCalls(stub func() (channelconfig.Orderer, bool))
func (*ChannelConfig) OrdererConfigReturns ¶
func (fake *ChannelConfig) OrdererConfigReturns(result1 channelconfig.Orderer, result2 bool)
func (*ChannelConfig) OrdererConfigReturnsOnCall ¶
func (fake *ChannelConfig) OrdererConfigReturnsOnCall(i int, result1 channelconfig.Orderer, result2 bool)
func (*ChannelConfig) PolicyManager ¶
func (fake *ChannelConfig) PolicyManager() policies.Manager
func (*ChannelConfig) PolicyManagerCallCount ¶
func (fake *ChannelConfig) PolicyManagerCallCount() int
func (*ChannelConfig) PolicyManagerCalls ¶
func (fake *ChannelConfig) PolicyManagerCalls(stub func() policies.Manager)
func (*ChannelConfig) PolicyManagerReturns ¶
func (fake *ChannelConfig) PolicyManagerReturns(result1 policies.Manager)
func (*ChannelConfig) PolicyManagerReturnsOnCall ¶
func (fake *ChannelConfig) PolicyManagerReturnsOnCall(i int, result1 policies.Manager)
func (*ChannelConfig) ValidateNew ¶
func (fake *ChannelConfig) ValidateNew(arg1 channelconfig.Resources) error
func (*ChannelConfig) ValidateNewArgsForCall ¶
func (fake *ChannelConfig) ValidateNewArgsForCall(i int) channelconfig.Resources
func (*ChannelConfig) ValidateNewCallCount ¶
func (fake *ChannelConfig) ValidateNewCallCount() int
func (*ChannelConfig) ValidateNewCalls ¶
func (fake *ChannelConfig) ValidateNewCalls(stub func(channelconfig.Resources) error)
func (*ChannelConfig) ValidateNewReturns ¶
func (fake *ChannelConfig) ValidateNewReturns(result1 error)
func (*ChannelConfig) ValidateNewReturnsOnCall ¶
func (fake *ChannelConfig) ValidateNewReturnsOnCall(i int, result1 error)
type Issuer ¶
type Issuer struct { RequestIssueStub func(tokensToIssue []*token.Token) (*token.TokenTransaction, error) RequestTokenOperationStub func(op *token.TokenOperation) (*token.TokenTransaction, error) // contains filtered or unexported fields }
func (*Issuer) Invocations ¶
func (*Issuer) RequestIssue ¶
func (*Issuer) RequestIssueArgsForCall ¶
func (*Issuer) RequestIssueCallCount ¶
func (*Issuer) RequestIssueReturns ¶
func (fake *Issuer) RequestIssueReturns(result1 *token.TokenTransaction, result2 error)
func (*Issuer) RequestIssueReturnsOnCall ¶
func (fake *Issuer) RequestIssueReturnsOnCall(i int, result1 *token.TokenTransaction, result2 error)
func (*Issuer) RequestTokenOperation ¶
func (fake *Issuer) RequestTokenOperation(op *token.TokenOperation) (*token.TokenTransaction, error)
func (*Issuer) RequestTokenOperationArgsForCall ¶
func (fake *Issuer) RequestTokenOperationArgsForCall(i int) *token.TokenOperation
func (*Issuer) RequestTokenOperationCallCount ¶
func (*Issuer) RequestTokenOperationReturns ¶
func (fake *Issuer) RequestTokenOperationReturns(result1 *token.TokenTransaction, result2 error)
func (*Issuer) RequestTokenOperationReturnsOnCall ¶
func (fake *Issuer) RequestTokenOperationReturnsOnCall(i int, result1 *token.TokenTransaction, result2 error)
type Marshaler ¶
type Marshaler struct { MarshalCommandResponseStub func([]byte, interface{}) (*token.SignedCommandResponse, error) // contains filtered or unexported fields }
func (*Marshaler) Invocations ¶
func (*Marshaler) MarshalCommandResponse ¶
func (fake *Marshaler) MarshalCommandResponse(arg1 []byte, arg2 interface{}) (*token.SignedCommandResponse, error)
func (*Marshaler) MarshalCommandResponseArgsForCall ¶
func (*Marshaler) MarshalCommandResponseCallCount ¶
func (*Marshaler) MarshalCommandResponseCalls ¶
func (fake *Marshaler) MarshalCommandResponseCalls(stub func([]byte, interface{}) (*token.SignedCommandResponse, error))
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 PeerOperations ¶
type PeerOperations struct { CreateChainFromBlockStub func(*common.Block, sysccprovider.SystemChaincodeProvider, ledger.DeployedChaincodeInfoProvider, plugindispatcher.LifecycleResources, plugindispatcher.CollectionAndLifecycleResources) error GetChannelConfigStub func(string) channelconfig.Resources GetChannelsInfoStub func() []*peer.ChannelInfo GetCurrConfigBlockStub func(string) *common.Block GetLedgerStub func(string) ledger.PeerLedger GetMSPIDsStub func(string) []string GetPolicyManagerStub func(string) policies.Manager GetStableChannelConfigStub func(string) channelconfig.Resources InitChainStub func(string) InitializeStub func(func(string), sysccprovider.SystemChaincodeProvider, plugin.Mapper, *platforms.Registry, ledger.DeployedChaincodeInfoProvider, ledger.MembershipInfoProvider, metrics.Provider, plugindispatcher.LifecycleResources, plugindispatcher.CollectionAndLifecycleResources) // contains filtered or unexported fields }
func (*PeerOperations) CreateChainFromBlock ¶
func (fake *PeerOperations) CreateChainFromBlock(arg1 *common.Block, arg2 sysccprovider.SystemChaincodeProvider, arg3 ledger.DeployedChaincodeInfoProvider, arg4 plugindispatcher.LifecycleResources, arg5 plugindispatcher.CollectionAndLifecycleResources) error
func (*PeerOperations) CreateChainFromBlockArgsForCall ¶
func (fake *PeerOperations) CreateChainFromBlockArgsForCall(i int) (*common.Block, sysccprovider.SystemChaincodeProvider, ledger.DeployedChaincodeInfoProvider, plugindispatcher.LifecycleResources, plugindispatcher.CollectionAndLifecycleResources)
func (*PeerOperations) CreateChainFromBlockCallCount ¶
func (fake *PeerOperations) CreateChainFromBlockCallCount() int
func (*PeerOperations) CreateChainFromBlockCalls ¶
func (fake *PeerOperations) CreateChainFromBlockCalls(stub func(*common.Block, sysccprovider.SystemChaincodeProvider, ledger.DeployedChaincodeInfoProvider, plugindispatcher.LifecycleResources, plugindispatcher.CollectionAndLifecycleResources) error)
func (*PeerOperations) CreateChainFromBlockReturns ¶
func (fake *PeerOperations) CreateChainFromBlockReturns(result1 error)
func (*PeerOperations) CreateChainFromBlockReturnsOnCall ¶
func (fake *PeerOperations) CreateChainFromBlockReturnsOnCall(i int, result1 error)
func (*PeerOperations) GetChannelConfig ¶
func (fake *PeerOperations) GetChannelConfig(arg1 string) channelconfig.Resources
func (*PeerOperations) GetChannelConfigArgsForCall ¶
func (fake *PeerOperations) GetChannelConfigArgsForCall(i int) string
func (*PeerOperations) GetChannelConfigCallCount ¶
func (fake *PeerOperations) GetChannelConfigCallCount() int
func (*PeerOperations) GetChannelConfigCalls ¶
func (fake *PeerOperations) GetChannelConfigCalls(stub func(string) channelconfig.Resources)
func (*PeerOperations) GetChannelConfigReturns ¶
func (fake *PeerOperations) GetChannelConfigReturns(result1 channelconfig.Resources)
func (*PeerOperations) GetChannelConfigReturnsOnCall ¶
func (fake *PeerOperations) GetChannelConfigReturnsOnCall(i int, result1 channelconfig.Resources)
func (*PeerOperations) GetChannelsInfo ¶
func (fake *PeerOperations) GetChannelsInfo() []*peer.ChannelInfo
func (*PeerOperations) GetChannelsInfoCallCount ¶
func (fake *PeerOperations) GetChannelsInfoCallCount() int
func (*PeerOperations) GetChannelsInfoCalls ¶
func (fake *PeerOperations) GetChannelsInfoCalls(stub func() []*peer.ChannelInfo)
func (*PeerOperations) GetChannelsInfoReturns ¶
func (fake *PeerOperations) GetChannelsInfoReturns(result1 []*peer.ChannelInfo)
func (*PeerOperations) GetChannelsInfoReturnsOnCall ¶
func (fake *PeerOperations) GetChannelsInfoReturnsOnCall(i int, result1 []*peer.ChannelInfo)
func (*PeerOperations) GetCurrConfigBlock ¶
func (fake *PeerOperations) GetCurrConfigBlock(arg1 string) *common.Block
func (*PeerOperations) GetCurrConfigBlockArgsForCall ¶
func (fake *PeerOperations) GetCurrConfigBlockArgsForCall(i int) string
func (*PeerOperations) GetCurrConfigBlockCallCount ¶
func (fake *PeerOperations) GetCurrConfigBlockCallCount() int
func (*PeerOperations) GetCurrConfigBlockCalls ¶
func (fake *PeerOperations) GetCurrConfigBlockCalls(stub func(string) *common.Block)
func (*PeerOperations) GetCurrConfigBlockReturns ¶
func (fake *PeerOperations) GetCurrConfigBlockReturns(result1 *common.Block)
func (*PeerOperations) GetCurrConfigBlockReturnsOnCall ¶
func (fake *PeerOperations) GetCurrConfigBlockReturnsOnCall(i int, result1 *common.Block)
func (*PeerOperations) GetLedger ¶
func (fake *PeerOperations) GetLedger(arg1 string) ledger.PeerLedger
func (*PeerOperations) GetLedgerArgsForCall ¶
func (fake *PeerOperations) GetLedgerArgsForCall(i int) string
func (*PeerOperations) GetLedgerCallCount ¶
func (fake *PeerOperations) GetLedgerCallCount() int
func (*PeerOperations) GetLedgerCalls ¶
func (fake *PeerOperations) GetLedgerCalls(stub func(string) ledger.PeerLedger)
func (*PeerOperations) GetLedgerReturns ¶
func (fake *PeerOperations) GetLedgerReturns(result1 ledger.PeerLedger)
func (*PeerOperations) GetLedgerReturnsOnCall ¶
func (fake *PeerOperations) GetLedgerReturnsOnCall(i int, result1 ledger.PeerLedger)
func (*PeerOperations) GetMSPIDs ¶
func (fake *PeerOperations) GetMSPIDs(arg1 string) []string
func (*PeerOperations) GetMSPIDsArgsForCall ¶
func (fake *PeerOperations) GetMSPIDsArgsForCall(i int) string
func (*PeerOperations) GetMSPIDsCallCount ¶
func (fake *PeerOperations) GetMSPIDsCallCount() int
func (*PeerOperations) GetMSPIDsCalls ¶
func (fake *PeerOperations) GetMSPIDsCalls(stub func(string) []string)
func (*PeerOperations) GetMSPIDsReturns ¶
func (fake *PeerOperations) GetMSPIDsReturns(result1 []string)
func (*PeerOperations) GetMSPIDsReturnsOnCall ¶
func (fake *PeerOperations) GetMSPIDsReturnsOnCall(i int, result1 []string)
func (*PeerOperations) GetPolicyManager ¶
func (fake *PeerOperations) GetPolicyManager(arg1 string) policies.Manager
func (*PeerOperations) GetPolicyManagerArgsForCall ¶
func (fake *PeerOperations) GetPolicyManagerArgsForCall(i int) string
func (*PeerOperations) GetPolicyManagerCallCount ¶
func (fake *PeerOperations) GetPolicyManagerCallCount() int
func (*PeerOperations) GetPolicyManagerCalls ¶
func (fake *PeerOperations) GetPolicyManagerCalls(stub func(string) policies.Manager)
func (*PeerOperations) GetPolicyManagerReturns ¶
func (fake *PeerOperations) GetPolicyManagerReturns(result1 policies.Manager)
func (*PeerOperations) GetPolicyManagerReturnsOnCall ¶
func (fake *PeerOperations) GetPolicyManagerReturnsOnCall(i int, result1 policies.Manager)
func (*PeerOperations) GetStableChannelConfig ¶
func (fake *PeerOperations) GetStableChannelConfig(arg1 string) channelconfig.Resources
func (*PeerOperations) GetStableChannelConfigArgsForCall ¶
func (fake *PeerOperations) GetStableChannelConfigArgsForCall(i int) string
func (*PeerOperations) GetStableChannelConfigCallCount ¶
func (fake *PeerOperations) GetStableChannelConfigCallCount() int
func (*PeerOperations) GetStableChannelConfigCalls ¶
func (fake *PeerOperations) GetStableChannelConfigCalls(stub func(string) channelconfig.Resources)
func (*PeerOperations) GetStableChannelConfigReturns ¶
func (fake *PeerOperations) GetStableChannelConfigReturns(result1 channelconfig.Resources)
func (*PeerOperations) GetStableChannelConfigReturnsOnCall ¶
func (fake *PeerOperations) GetStableChannelConfigReturnsOnCall(i int, result1 channelconfig.Resources)
func (*PeerOperations) InitChain ¶
func (fake *PeerOperations) InitChain(arg1 string)
func (*PeerOperations) InitChainArgsForCall ¶
func (fake *PeerOperations) InitChainArgsForCall(i int) string
func (*PeerOperations) InitChainCallCount ¶
func (fake *PeerOperations) InitChainCallCount() int
func (*PeerOperations) InitChainCalls ¶
func (fake *PeerOperations) InitChainCalls(stub func(string))
func (*PeerOperations) Initialize ¶
func (fake *PeerOperations) Initialize(arg1 func(string), arg2 sysccprovider.SystemChaincodeProvider, arg3 plugin.Mapper, arg4 *platforms.Registry, arg5 ledger.DeployedChaincodeInfoProvider, arg6 ledger.MembershipInfoProvider, arg7 metrics.Provider, arg8 plugindispatcher.LifecycleResources, arg9 plugindispatcher.CollectionAndLifecycleResources)
func (*PeerOperations) InitializeArgsForCall ¶
func (fake *PeerOperations) InitializeArgsForCall(i int) (func(string), sysccprovider.SystemChaincodeProvider, plugin.Mapper, *platforms.Registry, ledger.DeployedChaincodeInfoProvider, ledger.MembershipInfoProvider, metrics.Provider, plugindispatcher.LifecycleResources, plugindispatcher.CollectionAndLifecycleResources)
func (*PeerOperations) InitializeCallCount ¶
func (fake *PeerOperations) InitializeCallCount() int
func (*PeerOperations) InitializeCalls ¶
func (fake *PeerOperations) InitializeCalls(stub func(func(string), sysccprovider.SystemChaincodeProvider, plugin.Mapper, *platforms.Registry, ledger.DeployedChaincodeInfoProvider, ledger.MembershipInfoProvider, metrics.Provider, plugindispatcher.LifecycleResources, plugindispatcher.CollectionAndLifecycleResources))
func (*PeerOperations) Invocations ¶
func (fake *PeerOperations) Invocations() map[string][][]interface{}
type PolicyChecker ¶
type PolicyChecker struct { CheckStub func(*token.SignedCommand, *token.Command) error // contains filtered or unexported fields }
func (*PolicyChecker) Check ¶
func (fake *PolicyChecker) Check(arg1 *token.SignedCommand, arg2 *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) CheckCalls ¶
func (fake *PolicyChecker) CheckCalls(stub func(*token.SignedCommand, *token.Command) error)
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 SignerIdentity ¶
type SignerIdentity struct { SerializeStub func() ([]byte, error) SignStub func([]byte) ([]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) SerializeCalls ¶
func (fake *SignerIdentity) SerializeCalls(stub func() ([]byte, error))
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) SignCalls ¶
func (fake *SignerIdentity) SignCalls(stub func([]byte) ([]byte, error))
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(string, []byte, []byte) (server.Issuer, error) GetTransactorStub func(string, []byte, []byte) (server.Transactor, 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) GetIssuerCalls ¶
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) GetTransactor ¶
func (fake *TMSManager) GetTransactor(arg1 string, arg2 []byte, arg3 []byte) (server.Transactor, error)
func (*TMSManager) GetTransactorArgsForCall ¶
func (fake *TMSManager) GetTransactorArgsForCall(i int) (string, []byte, []byte)
func (*TMSManager) GetTransactorCallCount ¶
func (fake *TMSManager) GetTransactorCallCount() int
func (*TMSManager) GetTransactorCalls ¶
func (fake *TMSManager) GetTransactorCalls(stub func(string, []byte, []byte) (server.Transactor, error))
func (*TMSManager) GetTransactorReturns ¶
func (fake *TMSManager) GetTransactorReturns(result1 server.Transactor, result2 error)
func (*TMSManager) GetTransactorReturnsOnCall ¶
func (fake *TMSManager) GetTransactorReturnsOnCall(i int, result1 server.Transactor, result2 error)
func (*TMSManager) Invocations ¶
func (fake *TMSManager) Invocations() map[string][][]interface{}
type Transactor ¶
type Transactor struct { RequestTransferStub func(request *token.TransferRequest) (*token.TokenTransaction, error) RequestRedeemStub func(request *token.RedeemRequest) (*token.TokenTransaction, error) ListTokensStub func() (*token.UnspentTokens, error) RequestTokenOperationStub func(tokenIDs []*token.TokenId, op *token.TokenOperation) (*token.TokenTransaction, int, error) DoneStub func() // contains filtered or unexported fields }
func (*Transactor) Done ¶
func (fake *Transactor) Done()
func (*Transactor) DoneCallCount ¶
func (fake *Transactor) DoneCallCount() int
func (*Transactor) Invocations ¶
func (fake *Transactor) Invocations() map[string][][]interface{}
func (*Transactor) ListTokens ¶
func (fake *Transactor) ListTokens() (*token.UnspentTokens, error)
func (*Transactor) ListTokensCallCount ¶
func (fake *Transactor) ListTokensCallCount() int
func (*Transactor) ListTokensReturns ¶
func (fake *Transactor) ListTokensReturns(result1 *token.UnspentTokens, result2 error)
func (*Transactor) ListTokensReturnsOnCall ¶
func (fake *Transactor) ListTokensReturnsOnCall(i int, result1 *token.UnspentTokens, result2 error)
func (*Transactor) RequestRedeem ¶
func (fake *Transactor) RequestRedeem(request *token.RedeemRequest) (*token.TokenTransaction, error)
func (*Transactor) RequestRedeemArgsForCall ¶
func (fake *Transactor) RequestRedeemArgsForCall(i int) *token.RedeemRequest
func (*Transactor) RequestRedeemCallCount ¶
func (fake *Transactor) RequestRedeemCallCount() int
func (*Transactor) RequestRedeemReturns ¶
func (fake *Transactor) RequestRedeemReturns(result1 *token.TokenTransaction, result2 error)
func (*Transactor) RequestRedeemReturnsOnCall ¶
func (fake *Transactor) RequestRedeemReturnsOnCall(i int, result1 *token.TokenTransaction, result2 error)
func (*Transactor) RequestTokenOperation ¶
func (fake *Transactor) RequestTokenOperation(tokenIDs []*token.TokenId, op *token.TokenOperation) (*token.TokenTransaction, int, error)
func (*Transactor) RequestTokenOperationArgsForCall ¶
func (fake *Transactor) RequestTokenOperationArgsForCall(i int) ([]*token.TokenId, *token.TokenOperation)
func (*Transactor) RequestTokenOperationCallCount ¶
func (fake *Transactor) RequestTokenOperationCallCount() int
func (*Transactor) RequestTokenOperationReturns ¶
func (fake *Transactor) RequestTokenOperationReturns(result1 *token.TokenTransaction, result2 int, result3 error)
func (*Transactor) RequestTokenOperationReturnsOnCall ¶
func (fake *Transactor) RequestTokenOperationReturnsOnCall(i int, result1 *token.TokenTransaction, result2 int, result3 error)
func (*Transactor) RequestTransfer ¶
func (fake *Transactor) RequestTransfer(request *token.TransferRequest) (*token.TokenTransaction, error)
func (*Transactor) RequestTransferArgsForCall ¶
func (fake *Transactor) RequestTransferArgsForCall(i int) *token.TransferRequest
func (*Transactor) RequestTransferCallCount ¶
func (fake *Transactor) RequestTransferCallCount() int
func (*Transactor) RequestTransferReturns ¶
func (fake *Transactor) RequestTransferReturns(result1 *token.TokenTransaction, result2 error)
func (*Transactor) RequestTransferReturnsOnCall ¶
func (fake *Transactor) RequestTransferReturnsOnCall(i int, result1 *token.TokenTransaction, result2 error)
Click to show internal directories.
Click to hide internal directories.