mock

package
v0.0.0-...-ea48f79 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

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

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 (*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 (fake *Issuer) Invocations() map[string][][]interface{}

func (*Issuer) RequestIssue

func (fake *Issuer) RequestIssue(tokensToIssue []*token.Token) (*token.TokenTransaction, error)

func (*Issuer) RequestIssueArgsForCall

func (fake *Issuer) RequestIssueArgsForCall(i int) []*token.Token

func (*Issuer) RequestIssueCallCount

func (fake *Issuer) RequestIssueCallCount() int

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 (fake *Issuer) RequestTokenOperationCallCount() int

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 (fake *Marshaler) Invocations() map[string][][]interface{}

func (*Marshaler) MarshalCommandResponse

func (fake *Marshaler) MarshalCommandResponse(arg1 []byte, arg2 interface{}) (*token.SignedCommandResponse, error)

func (*Marshaler) MarshalCommandResponseArgsForCall

func (fake *Marshaler) MarshalCommandResponseArgsForCall(i int) ([]byte, interface{})

func (*Marshaler) MarshalCommandResponseCallCount

func (fake *Marshaler) MarshalCommandResponseCallCount() int

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) CreateChainFromBlockCallCount

func (fake *PeerOperations) CreateChainFromBlockCallCount() int

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) InitializeCallCount

func (fake *PeerOperations) InitializeCallCount() int

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) Sign

func (fake *SignerIdentity) Sign(arg1 []byte) ([]byte, 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) GetIssuer

func (fake *TMSManager) GetIssuer(arg1 string, arg2 []byte, arg3 []byte) (server.Issuer, error)

func (*TMSManager) GetIssuerArgsForCall

func (fake *TMSManager) GetIssuerArgsForCall(i int) (string, []byte, []byte)

func (*TMSManager) GetIssuerCallCount

func (fake *TMSManager) GetIssuerCallCount() int

func (*TMSManager) GetIssuerCalls

func (fake *TMSManager) GetIssuerCalls(stub func(string, []byte, []byte) (server.Issuer, error))

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL