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.
Index ¶
- type ChainGetter
- type FakeBlockPuller
- func (fake *FakeBlockPuller) Close()
- func (fake *FakeBlockPuller) CloseCallCount() int
- func (fake *FakeBlockPuller) CloseCalls(stub func())
- func (fake *FakeBlockPuller) HeightsByEndpoints() (map[string]uint64, error)
- func (fake *FakeBlockPuller) HeightsByEndpointsCallCount() int
- func (fake *FakeBlockPuller) HeightsByEndpointsCalls(stub func() (map[string]uint64, error))
- func (fake *FakeBlockPuller) HeightsByEndpointsReturns(result1 map[string]uint64, result2 error)
- func (fake *FakeBlockPuller) HeightsByEndpointsReturnsOnCall(i int, result1 map[string]uint64, result2 error)
- func (fake *FakeBlockPuller) Invocations() map[string][][]interface{}
- func (fake *FakeBlockPuller) PullBlock(arg1 uint64) *common.Block
- func (fake *FakeBlockPuller) PullBlockArgsForCall(i int) uint64
- func (fake *FakeBlockPuller) PullBlockCallCount() int
- func (fake *FakeBlockPuller) PullBlockCalls(stub func(uint64) *common.Block)
- func (fake *FakeBlockPuller) PullBlockReturns(result1 *common.Block)
- func (fake *FakeBlockPuller) PullBlockReturnsOnCall(i int, result1 *common.Block)
- type FakeConfigurator
- func (fake *FakeConfigurator) Configure(arg1 string, arg2 []cluster.RemoteNode)
- func (fake *FakeConfigurator) ConfigureArgsForCall(i int) (string, []cluster.RemoteNode)
- func (fake *FakeConfigurator) ConfigureCallCount() int
- func (fake *FakeConfigurator) ConfigureCalls(stub func(string, []cluster.RemoteNode))
- func (fake *FakeConfigurator) Invocations() map[string][][]interface{}
- type FakeRPC
- func (fake *FakeRPC) Invocations() map[string][][]interface{}
- func (fake *FakeRPC) SendConsensus(arg1 uint64, arg2 *orderer.ConsensusRequest) error
- func (fake *FakeRPC) SendConsensusArgsForCall(i int) (uint64, *orderer.ConsensusRequest)
- func (fake *FakeRPC) SendConsensusCallCount() int
- func (fake *FakeRPC) SendConsensusCalls(stub func(uint64, *orderer.ConsensusRequest) error)
- func (fake *FakeRPC) SendConsensusReturns(result1 error)
- func (fake *FakeRPC) SendConsensusReturnsOnCall(i int, result1 error)
- func (fake *FakeRPC) SendSubmit(arg1 uint64, arg2 *orderer.SubmitRequest) error
- func (fake *FakeRPC) SendSubmitArgsForCall(i int) (uint64, *orderer.SubmitRequest)
- func (fake *FakeRPC) SendSubmitCallCount() int
- func (fake *FakeRPC) SendSubmitCalls(stub func(uint64, *orderer.SubmitRequest) error)
- func (fake *FakeRPC) SendSubmitReturns(result1 error)
- func (fake *FakeRPC) SendSubmitReturnsOnCall(i int, result1 error)
- type InactiveChainRegistry
- type MSP
- func (fake *MSP) DeserializeIdentity(arg1 []byte) (msp.Identity, error)
- func (fake *MSP) DeserializeIdentityArgsForCall(i int) []byte
- func (fake *MSP) DeserializeIdentityCallCount() int
- func (fake *MSP) DeserializeIdentityCalls(stub func([]byte) (msp.Identity, error))
- func (fake *MSP) DeserializeIdentityReturns(result1 msp.Identity, result2 error)
- func (fake *MSP) DeserializeIdentityReturnsOnCall(i int, result1 msp.Identity, result2 error)
- func (fake *MSP) GetDefaultSigningIdentity() (msp.SigningIdentity, error)
- func (fake *MSP) GetDefaultSigningIdentityCallCount() int
- func (fake *MSP) GetDefaultSigningIdentityCalls(stub func() (msp.SigningIdentity, error))
- func (fake *MSP) GetDefaultSigningIdentityReturns(result1 msp.SigningIdentity, result2 error)
- func (fake *MSP) GetDefaultSigningIdentityReturnsOnCall(i int, result1 msp.SigningIdentity, result2 error)
- func (fake *MSP) GetIdentifier() (string, error)
- func (fake *MSP) GetIdentifierCallCount() int
- func (fake *MSP) GetIdentifierCalls(stub func() (string, error))
- func (fake *MSP) GetIdentifierReturns(result1 string, result2 error)
- func (fake *MSP) GetIdentifierReturnsOnCall(i int, result1 string, result2 error)
- func (fake *MSP) GetSigningIdentity(arg1 *msp.IdentityIdentifier) (msp.SigningIdentity, error)
- func (fake *MSP) GetSigningIdentityArgsForCall(i int) *msp.IdentityIdentifier
- func (fake *MSP) GetSigningIdentityCallCount() int
- func (fake *MSP) GetSigningIdentityCalls(stub func(*msp.IdentityIdentifier) (msp.SigningIdentity, error))
- func (fake *MSP) GetSigningIdentityReturns(result1 msp.SigningIdentity, result2 error)
- func (fake *MSP) GetSigningIdentityReturnsOnCall(i int, result1 msp.SigningIdentity, result2 error)
- func (fake *MSP) GetTLSIntermediateCerts() [][]byte
- func (fake *MSP) GetTLSIntermediateCertsCallCount() int
- func (fake *MSP) GetTLSIntermediateCertsCalls(stub func() [][]byte)
- func (fake *MSP) GetTLSIntermediateCertsReturns(result1 [][]byte)
- func (fake *MSP) GetTLSIntermediateCertsReturnsOnCall(i int, result1 [][]byte)
- func (fake *MSP) GetTLSRootCerts() [][]byte
- func (fake *MSP) GetTLSRootCertsCallCount() int
- func (fake *MSP) GetTLSRootCertsCalls(stub func() [][]byte)
- func (fake *MSP) GetTLSRootCertsReturns(result1 [][]byte)
- func (fake *MSP) GetTLSRootCertsReturnsOnCall(i int, result1 [][]byte)
- func (fake *MSP) GetType() msp.ProviderType
- func (fake *MSP) GetTypeCallCount() int
- func (fake *MSP) GetTypeCalls(stub func() msp.ProviderType)
- func (fake *MSP) GetTypeReturns(result1 msp.ProviderType)
- func (fake *MSP) GetTypeReturnsOnCall(i int, result1 msp.ProviderType)
- func (fake *MSP) GetVersion() msp.MSPVersion
- func (fake *MSP) GetVersionCallCount() int
- func (fake *MSP) GetVersionCalls(stub func() msp.MSPVersion)
- func (fake *MSP) GetVersionReturns(result1 msp.MSPVersion)
- func (fake *MSP) GetVersionReturnsOnCall(i int, result1 msp.MSPVersion)
- func (fake *MSP) Invocations() map[string][][]interface{}
- func (fake *MSP) IsWellFormed(arg1 *mspa.SerializedIdentity) error
- func (fake *MSP) IsWellFormedArgsForCall(i int) *mspa.SerializedIdentity
- func (fake *MSP) IsWellFormedCallCount() int
- func (fake *MSP) IsWellFormedCalls(stub func(*mspa.SerializedIdentity) error)
- func (fake *MSP) IsWellFormedReturns(result1 error)
- func (fake *MSP) IsWellFormedReturnsOnCall(i int, result1 error)
- func (fake *MSP) SatisfiesPrincipal(arg1 msp.Identity, arg2 *mspa.MSPPrincipal) error
- func (fake *MSP) SatisfiesPrincipalArgsForCall(i int) (msp.Identity, *mspa.MSPPrincipal)
- func (fake *MSP) SatisfiesPrincipalCallCount() int
- func (fake *MSP) SatisfiesPrincipalCalls(stub func(msp.Identity, *mspa.MSPPrincipal) error)
- func (fake *MSP) SatisfiesPrincipalReturns(result1 error)
- func (fake *MSP) SatisfiesPrincipalReturnsOnCall(i int, result1 error)
- func (fake *MSP) Setup(arg1 *mspa.MSPConfig) error
- func (fake *MSP) SetupArgsForCall(i int) *mspa.MSPConfig
- func (fake *MSP) SetupCallCount() int
- func (fake *MSP) SetupCalls(stub func(*mspa.MSPConfig) error)
- func (fake *MSP) SetupReturns(result1 error)
- func (fake *MSP) SetupReturnsOnCall(i int, result1 error)
- func (fake *MSP) Validate(arg1 msp.Identity) error
- func (fake *MSP) ValidateArgsForCall(i int) msp.Identity
- func (fake *MSP) ValidateCallCount() int
- func (fake *MSP) ValidateCalls(stub func(msp.Identity) error)
- func (fake *MSP) ValidateReturns(result1 error)
- func (fake *MSP) ValidateReturnsOnCall(i int, result1 error)
- type MessageReceiver
- type OrdererCapabilities
- func (fake *OrdererCapabilities) ConsensusTypeMigration() bool
- func (fake *OrdererCapabilities) ConsensusTypeMigrationCallCount() int
- func (fake *OrdererCapabilities) ConsensusTypeMigrationCalls(stub func() bool)
- func (fake *OrdererCapabilities) ConsensusTypeMigrationReturns(result1 bool)
- func (fake *OrdererCapabilities) ConsensusTypeMigrationReturnsOnCall(i int, result1 bool)
- func (fake *OrdererCapabilities) ExpirationCheck() bool
- func (fake *OrdererCapabilities) ExpirationCheckCallCount() int
- func (fake *OrdererCapabilities) ExpirationCheckCalls(stub func() bool)
- func (fake *OrdererCapabilities) ExpirationCheckReturns(result1 bool)
- func (fake *OrdererCapabilities) ExpirationCheckReturnsOnCall(i int, result1 bool)
- func (fake *OrdererCapabilities) Invocations() map[string][][]interface{}
- func (fake *OrdererCapabilities) PredictableChannelTemplate() bool
- func (fake *OrdererCapabilities) PredictableChannelTemplateCallCount() int
- func (fake *OrdererCapabilities) PredictableChannelTemplateCalls(stub func() bool)
- func (fake *OrdererCapabilities) PredictableChannelTemplateReturns(result1 bool)
- func (fake *OrdererCapabilities) PredictableChannelTemplateReturnsOnCall(i int, result1 bool)
- func (fake *OrdererCapabilities) Resubmission() bool
- func (fake *OrdererCapabilities) ResubmissionCallCount() int
- func (fake *OrdererCapabilities) ResubmissionCalls(stub func() bool)
- func (fake *OrdererCapabilities) ResubmissionReturns(result1 bool)
- func (fake *OrdererCapabilities) ResubmissionReturnsOnCall(i int, result1 bool)
- func (fake *OrdererCapabilities) Supported() error
- func (fake *OrdererCapabilities) SupportedCallCount() int
- func (fake *OrdererCapabilities) SupportedCalls(stub func() error)
- func (fake *OrdererCapabilities) SupportedReturns(result1 error)
- func (fake *OrdererCapabilities) SupportedReturnsOnCall(i int, result1 error)
- func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdmins() bool
- func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsCallCount() int
- func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsCalls(stub func() bool)
- func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturns(result1 bool)
- func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturnsOnCall(i int, result1 bool)
- type OrdererConfig
- func (fake *OrdererConfig) BatchSize() *orderer.BatchSize
- func (fake *OrdererConfig) BatchSizeCallCount() int
- func (fake *OrdererConfig) BatchSizeCalls(stub func() *orderer.BatchSize)
- func (fake *OrdererConfig) BatchSizeReturns(result1 *orderer.BatchSize)
- func (fake *OrdererConfig) BatchSizeReturnsOnCall(i int, result1 *orderer.BatchSize)
- func (fake *OrdererConfig) BatchTimeout() time.Duration
- func (fake *OrdererConfig) BatchTimeoutCallCount() int
- func (fake *OrdererConfig) BatchTimeoutCalls(stub func() time.Duration)
- func (fake *OrdererConfig) BatchTimeoutReturns(result1 time.Duration)
- func (fake *OrdererConfig) BatchTimeoutReturnsOnCall(i int, result1 time.Duration)
- func (fake *OrdererConfig) Capabilities() channelconfig.OrdererCapabilities
- func (fake *OrdererConfig) CapabilitiesCallCount() int
- func (fake *OrdererConfig) CapabilitiesCalls(stub func() channelconfig.OrdererCapabilities)
- func (fake *OrdererConfig) CapabilitiesReturns(result1 channelconfig.OrdererCapabilities)
- func (fake *OrdererConfig) CapabilitiesReturnsOnCall(i int, result1 channelconfig.OrdererCapabilities)
- func (fake *OrdererConfig) ConsensusMetadata() []byte
- func (fake *OrdererConfig) ConsensusMetadataCallCount() int
- func (fake *OrdererConfig) ConsensusMetadataCalls(stub func() []byte)
- func (fake *OrdererConfig) ConsensusMetadataReturns(result1 []byte)
- func (fake *OrdererConfig) ConsensusMetadataReturnsOnCall(i int, result1 []byte)
- func (fake *OrdererConfig) ConsensusState() orderer.ConsensusType_State
- func (fake *OrdererConfig) ConsensusStateCallCount() int
- func (fake *OrdererConfig) ConsensusStateCalls(stub func() orderer.ConsensusType_State)
- func (fake *OrdererConfig) ConsensusStateReturns(result1 orderer.ConsensusType_State)
- func (fake *OrdererConfig) ConsensusStateReturnsOnCall(i int, result1 orderer.ConsensusType_State)
- func (fake *OrdererConfig) ConsensusType() string
- func (fake *OrdererConfig) ConsensusTypeCallCount() int
- func (fake *OrdererConfig) ConsensusTypeCalls(stub func() string)
- func (fake *OrdererConfig) ConsensusTypeReturns(result1 string)
- func (fake *OrdererConfig) ConsensusTypeReturnsOnCall(i int, result1 string)
- func (fake *OrdererConfig) Invocations() map[string][][]interface{}
- func (fake *OrdererConfig) KafkaBrokers() []string
- func (fake *OrdererConfig) KafkaBrokersCallCount() int
- func (fake *OrdererConfig) KafkaBrokersCalls(stub func() []string)
- func (fake *OrdererConfig) KafkaBrokersReturns(result1 []string)
- func (fake *OrdererConfig) KafkaBrokersReturnsOnCall(i int, result1 []string)
- func (fake *OrdererConfig) MaxChannelsCount() uint64
- func (fake *OrdererConfig) MaxChannelsCountCallCount() int
- func (fake *OrdererConfig) MaxChannelsCountCalls(stub func() uint64)
- func (fake *OrdererConfig) MaxChannelsCountReturns(result1 uint64)
- func (fake *OrdererConfig) MaxChannelsCountReturnsOnCall(i int, result1 uint64)
- func (fake *OrdererConfig) Organizations() map[string]channelconfig.OrdererOrg
- func (fake *OrdererConfig) OrganizationsCallCount() int
- func (fake *OrdererConfig) OrganizationsCalls(stub func() map[string]channelconfig.OrdererOrg)
- func (fake *OrdererConfig) OrganizationsReturns(result1 map[string]channelconfig.OrdererOrg)
- func (fake *OrdererConfig) OrganizationsReturnsOnCall(i int, result1 map[string]channelconfig.OrdererOrg)
- type OrdererOrg
- func (fake *OrdererOrg) Endpoints() []string
- func (fake *OrdererOrg) EndpointsCallCount() int
- func (fake *OrdererOrg) EndpointsCalls(stub func() []string)
- func (fake *OrdererOrg) EndpointsReturns(result1 []string)
- func (fake *OrdererOrg) EndpointsReturnsOnCall(i int, result1 []string)
- func (fake *OrdererOrg) Invocations() map[string][][]interface{}
- func (fake *OrdererOrg) MSP() msp.MSP
- func (fake *OrdererOrg) MSPCallCount() int
- func (fake *OrdererOrg) MSPCalls(stub func() msp.MSP)
- func (fake *OrdererOrg) MSPID() string
- func (fake *OrdererOrg) MSPIDCallCount() int
- func (fake *OrdererOrg) MSPIDCalls(stub func() string)
- func (fake *OrdererOrg) MSPIDReturns(result1 string)
- func (fake *OrdererOrg) MSPIDReturnsOnCall(i int, result1 string)
- func (fake *OrdererOrg) MSPReturns(result1 msp.MSP)
- func (fake *OrdererOrg) MSPReturnsOnCall(i int, result1 msp.MSP)
- func (fake *OrdererOrg) Name() string
- func (fake *OrdererOrg) NameCallCount() int
- func (fake *OrdererOrg) NameCalls(stub func() string)
- func (fake *OrdererOrg) NameReturns(result1 string)
- func (fake *OrdererOrg) NameReturnsOnCall(i int, result1 string)
- type ReceiverGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainGetter ¶
ChainGetter is an autogenerated mock type for the ChainGetter type
func (*ChainGetter) GetChain ¶
func (_m *ChainGetter) GetChain(chainID string) *multichannel.ChainSupport
GetChain provides a mock function with given fields: chainID
type FakeBlockPuller ¶
type FakeBlockPuller struct { CloseStub func() HeightsByEndpointsStub func() (map[string]uint64, error) PullBlockStub func(uint64) *common.Block // contains filtered or unexported fields }
func (*FakeBlockPuller) Close ¶
func (fake *FakeBlockPuller) Close()
func (*FakeBlockPuller) CloseCallCount ¶
func (fake *FakeBlockPuller) CloseCallCount() int
func (*FakeBlockPuller) CloseCalls ¶ added in v1.4.1
func (fake *FakeBlockPuller) CloseCalls(stub func())
func (*FakeBlockPuller) HeightsByEndpoints ¶ added in v1.4.1
func (fake *FakeBlockPuller) HeightsByEndpoints() (map[string]uint64, error)
func (*FakeBlockPuller) HeightsByEndpointsCallCount ¶ added in v1.4.1
func (fake *FakeBlockPuller) HeightsByEndpointsCallCount() int
func (*FakeBlockPuller) HeightsByEndpointsCalls ¶ added in v1.4.1
func (fake *FakeBlockPuller) HeightsByEndpointsCalls(stub func() (map[string]uint64, error))
func (*FakeBlockPuller) HeightsByEndpointsReturns ¶ added in v1.4.1
func (fake *FakeBlockPuller) HeightsByEndpointsReturns(result1 map[string]uint64, result2 error)
func (*FakeBlockPuller) HeightsByEndpointsReturnsOnCall ¶ added in v1.4.1
func (fake *FakeBlockPuller) HeightsByEndpointsReturnsOnCall(i int, result1 map[string]uint64, result2 error)
func (*FakeBlockPuller) Invocations ¶
func (fake *FakeBlockPuller) Invocations() map[string][][]interface{}
func (*FakeBlockPuller) PullBlock ¶
func (fake *FakeBlockPuller) PullBlock(arg1 uint64) *common.Block
func (*FakeBlockPuller) PullBlockArgsForCall ¶
func (fake *FakeBlockPuller) PullBlockArgsForCall(i int) uint64
func (*FakeBlockPuller) PullBlockCallCount ¶
func (fake *FakeBlockPuller) PullBlockCallCount() int
func (*FakeBlockPuller) PullBlockCalls ¶ added in v1.4.1
func (fake *FakeBlockPuller) PullBlockCalls(stub func(uint64) *common.Block)
func (*FakeBlockPuller) PullBlockReturns ¶
func (fake *FakeBlockPuller) PullBlockReturns(result1 *common.Block)
func (*FakeBlockPuller) PullBlockReturnsOnCall ¶
func (fake *FakeBlockPuller) PullBlockReturnsOnCall(i int, result1 *common.Block)
type FakeConfigurator ¶ added in v1.4.1
type FakeConfigurator struct { ConfigureStub func(string, []cluster.RemoteNode) // contains filtered or unexported fields }
func (*FakeConfigurator) Configure ¶ added in v1.4.1
func (fake *FakeConfigurator) Configure(arg1 string, arg2 []cluster.RemoteNode)
func (*FakeConfigurator) ConfigureArgsForCall ¶ added in v1.4.1
func (fake *FakeConfigurator) ConfigureArgsForCall(i int) (string, []cluster.RemoteNode)
func (*FakeConfigurator) ConfigureCallCount ¶ added in v1.4.1
func (fake *FakeConfigurator) ConfigureCallCount() int
func (*FakeConfigurator) ConfigureCalls ¶ added in v1.4.1
func (fake *FakeConfigurator) ConfigureCalls(stub func(string, []cluster.RemoteNode))
func (*FakeConfigurator) Invocations ¶ added in v1.4.1
func (fake *FakeConfigurator) Invocations() map[string][][]interface{}
type FakeRPC ¶
type FakeRPC struct { SendConsensusStub func(uint64, *orderer.ConsensusRequest) error SendSubmitStub func(uint64, *orderer.SubmitRequest) error // contains filtered or unexported fields }
func (*FakeRPC) Invocations ¶
func (*FakeRPC) SendConsensus ¶ added in v1.4.1
func (fake *FakeRPC) SendConsensus(arg1 uint64, arg2 *orderer.ConsensusRequest) error
func (*FakeRPC) SendConsensusArgsForCall ¶ added in v1.4.1
func (fake *FakeRPC) SendConsensusArgsForCall(i int) (uint64, *orderer.ConsensusRequest)
func (*FakeRPC) SendConsensusCallCount ¶ added in v1.4.1
func (*FakeRPC) SendConsensusCalls ¶ added in v1.4.1
func (fake *FakeRPC) SendConsensusCalls(stub func(uint64, *orderer.ConsensusRequest) error)
func (*FakeRPC) SendConsensusReturns ¶ added in v1.4.1
func (*FakeRPC) SendConsensusReturnsOnCall ¶ added in v1.4.1
func (*FakeRPC) SendSubmit ¶
func (fake *FakeRPC) SendSubmit(arg1 uint64, arg2 *orderer.SubmitRequest) error
func (*FakeRPC) SendSubmitArgsForCall ¶
func (fake *FakeRPC) SendSubmitArgsForCall(i int) (uint64, *orderer.SubmitRequest)
func (*FakeRPC) SendSubmitCallCount ¶
func (*FakeRPC) SendSubmitCalls ¶ added in v1.4.1
func (fake *FakeRPC) SendSubmitCalls(stub func(uint64, *orderer.SubmitRequest) error)
func (*FakeRPC) SendSubmitReturns ¶
func (*FakeRPC) SendSubmitReturnsOnCall ¶
type InactiveChainRegistry ¶ added in v1.4.1
InactiveChainRegistry is an autogenerated mock type for the InactiveChainRegistry type
func (*InactiveChainRegistry) TrackChain ¶ added in v1.4.1
func (_m *InactiveChainRegistry) TrackChain(chainName string, genesisBlock *common.Block, createChain func())
TrackChain provides a mock function with given fields: chainName, genesisBlock, createChain
type MSP ¶
type MSP struct { DeserializeIdentityStub func([]byte) (msp.Identity, error) GetDefaultSigningIdentityStub func() (msp.SigningIdentity, error) GetIdentifierStub func() (string, error) GetSigningIdentityStub func(*msp.IdentityIdentifier) (msp.SigningIdentity, error) GetTLSIntermediateCertsStub func() [][]byte GetTLSRootCertsStub func() [][]byte GetTypeStub func() msp.ProviderType GetVersionStub func() msp.MSPVersion IsWellFormedStub func(*mspa.SerializedIdentity) error SatisfiesPrincipalStub func(msp.Identity, *mspa.MSPPrincipal) error SetupStub func(*mspa.MSPConfig) error ValidateStub func(msp.Identity) error // contains filtered or unexported fields }
func (*MSP) DeserializeIdentity ¶
func (*MSP) DeserializeIdentityArgsForCall ¶
func (*MSP) DeserializeIdentityCallCount ¶
func (*MSP) DeserializeIdentityCalls ¶
func (*MSP) DeserializeIdentityReturns ¶
func (*MSP) DeserializeIdentityReturnsOnCall ¶
func (*MSP) GetDefaultSigningIdentity ¶
func (fake *MSP) GetDefaultSigningIdentity() (msp.SigningIdentity, error)
func (*MSP) GetDefaultSigningIdentityCallCount ¶
func (*MSP) GetDefaultSigningIdentityCalls ¶
func (fake *MSP) GetDefaultSigningIdentityCalls(stub func() (msp.SigningIdentity, error))
func (*MSP) GetDefaultSigningIdentityReturns ¶
func (fake *MSP) GetDefaultSigningIdentityReturns(result1 msp.SigningIdentity, result2 error)
func (*MSP) GetDefaultSigningIdentityReturnsOnCall ¶
func (fake *MSP) GetDefaultSigningIdentityReturnsOnCall(i int, result1 msp.SigningIdentity, result2 error)
func (*MSP) GetIdentifier ¶
func (*MSP) GetIdentifierCallCount ¶
func (*MSP) GetIdentifierCalls ¶
func (*MSP) GetIdentifierReturns ¶
func (*MSP) GetIdentifierReturnsOnCall ¶
func (*MSP) GetSigningIdentity ¶
func (fake *MSP) GetSigningIdentity(arg1 *msp.IdentityIdentifier) (msp.SigningIdentity, error)
func (*MSP) GetSigningIdentityArgsForCall ¶
func (fake *MSP) GetSigningIdentityArgsForCall(i int) *msp.IdentityIdentifier
func (*MSP) GetSigningIdentityCallCount ¶
func (*MSP) GetSigningIdentityCalls ¶
func (fake *MSP) GetSigningIdentityCalls(stub func(*msp.IdentityIdentifier) (msp.SigningIdentity, error))
func (*MSP) GetSigningIdentityReturns ¶
func (fake *MSP) GetSigningIdentityReturns(result1 msp.SigningIdentity, result2 error)
func (*MSP) GetSigningIdentityReturnsOnCall ¶
func (fake *MSP) GetSigningIdentityReturnsOnCall(i int, result1 msp.SigningIdentity, result2 error)
func (*MSP) GetTLSIntermediateCerts ¶
func (*MSP) GetTLSIntermediateCertsCallCount ¶
func (*MSP) GetTLSIntermediateCertsCalls ¶
func (*MSP) GetTLSIntermediateCertsReturns ¶
func (*MSP) GetTLSIntermediateCertsReturnsOnCall ¶
func (*MSP) GetTLSRootCerts ¶
func (*MSP) GetTLSRootCertsCallCount ¶
func (*MSP) GetTLSRootCertsCalls ¶
func (*MSP) GetTLSRootCertsReturns ¶
func (*MSP) GetTLSRootCertsReturnsOnCall ¶
func (*MSP) GetType ¶
func (fake *MSP) GetType() msp.ProviderType
func (*MSP) GetTypeCallCount ¶
func (*MSP) GetTypeCalls ¶
func (fake *MSP) GetTypeCalls(stub func() msp.ProviderType)
func (*MSP) GetTypeReturns ¶
func (fake *MSP) GetTypeReturns(result1 msp.ProviderType)
func (*MSP) GetTypeReturnsOnCall ¶
func (fake *MSP) GetTypeReturnsOnCall(i int, result1 msp.ProviderType)
func (*MSP) GetVersion ¶
func (fake *MSP) GetVersion() msp.MSPVersion
func (*MSP) GetVersionCallCount ¶
func (*MSP) GetVersionCalls ¶
func (fake *MSP) GetVersionCalls(stub func() msp.MSPVersion)
func (*MSP) GetVersionReturns ¶
func (fake *MSP) GetVersionReturns(result1 msp.MSPVersion)
func (*MSP) GetVersionReturnsOnCall ¶
func (fake *MSP) GetVersionReturnsOnCall(i int, result1 msp.MSPVersion)
func (*MSP) Invocations ¶
func (*MSP) IsWellFormed ¶
func (fake *MSP) IsWellFormed(arg1 *mspa.SerializedIdentity) error
func (*MSP) IsWellFormedArgsForCall ¶
func (fake *MSP) IsWellFormedArgsForCall(i int) *mspa.SerializedIdentity
func (*MSP) IsWellFormedCallCount ¶
func (*MSP) IsWellFormedCalls ¶
func (fake *MSP) IsWellFormedCalls(stub func(*mspa.SerializedIdentity) error)
func (*MSP) IsWellFormedReturns ¶
func (*MSP) IsWellFormedReturnsOnCall ¶
func (*MSP) SatisfiesPrincipal ¶
func (*MSP) SatisfiesPrincipalArgsForCall ¶
func (*MSP) SatisfiesPrincipalCallCount ¶
func (*MSP) SatisfiesPrincipalCalls ¶
func (*MSP) SatisfiesPrincipalReturns ¶
func (*MSP) SatisfiesPrincipalReturnsOnCall ¶
func (*MSP) SetupCallCount ¶
func (*MSP) SetupReturns ¶
func (*MSP) SetupReturnsOnCall ¶
func (*MSP) ValidateCallCount ¶
func (*MSP) ValidateReturns ¶
func (*MSP) ValidateReturnsOnCall ¶
type MessageReceiver ¶
MessageReceiver is an autogenerated mock type for the MessageReceiver type
func (*MessageReceiver) Consensus ¶ added in v1.4.1
func (_m *MessageReceiver) Consensus(req *orderer.ConsensusRequest, sender uint64) error
Consensus provides a mock function with given fields: req, sender
func (*MessageReceiver) Submit ¶
func (_m *MessageReceiver) Submit(req *orderer.SubmitRequest, sender uint64) error
Submit provides a mock function with given fields: req, sender
type OrdererCapabilities ¶
type OrdererCapabilities struct { ConsensusTypeMigrationStub func() bool ExpirationCheckStub func() bool PredictableChannelTemplateStub func() bool ResubmissionStub func() bool SupportedStub func() error UseChannelCreationPolicyAsAdminsStub func() bool // contains filtered or unexported fields }
func (*OrdererCapabilities) ConsensusTypeMigration ¶
func (fake *OrdererCapabilities) ConsensusTypeMigration() bool
func (*OrdererCapabilities) ConsensusTypeMigrationCallCount ¶
func (fake *OrdererCapabilities) ConsensusTypeMigrationCallCount() int
func (*OrdererCapabilities) ConsensusTypeMigrationCalls ¶
func (fake *OrdererCapabilities) ConsensusTypeMigrationCalls(stub func() bool)
func (*OrdererCapabilities) ConsensusTypeMigrationReturns ¶
func (fake *OrdererCapabilities) ConsensusTypeMigrationReturns(result1 bool)
func (*OrdererCapabilities) ConsensusTypeMigrationReturnsOnCall ¶
func (fake *OrdererCapabilities) ConsensusTypeMigrationReturnsOnCall(i int, result1 bool)
func (*OrdererCapabilities) ExpirationCheck ¶
func (fake *OrdererCapabilities) ExpirationCheck() bool
func (*OrdererCapabilities) ExpirationCheckCallCount ¶
func (fake *OrdererCapabilities) ExpirationCheckCallCount() int
func (*OrdererCapabilities) ExpirationCheckCalls ¶
func (fake *OrdererCapabilities) ExpirationCheckCalls(stub func() bool)
func (*OrdererCapabilities) ExpirationCheckReturns ¶
func (fake *OrdererCapabilities) ExpirationCheckReturns(result1 bool)
func (*OrdererCapabilities) ExpirationCheckReturnsOnCall ¶
func (fake *OrdererCapabilities) ExpirationCheckReturnsOnCall(i int, result1 bool)
func (*OrdererCapabilities) Invocations ¶
func (fake *OrdererCapabilities) Invocations() map[string][][]interface{}
func (*OrdererCapabilities) PredictableChannelTemplate ¶
func (fake *OrdererCapabilities) PredictableChannelTemplate() bool
func (*OrdererCapabilities) PredictableChannelTemplateCallCount ¶
func (fake *OrdererCapabilities) PredictableChannelTemplateCallCount() int
func (*OrdererCapabilities) PredictableChannelTemplateCalls ¶
func (fake *OrdererCapabilities) PredictableChannelTemplateCalls(stub func() bool)
func (*OrdererCapabilities) PredictableChannelTemplateReturns ¶
func (fake *OrdererCapabilities) PredictableChannelTemplateReturns(result1 bool)
func (*OrdererCapabilities) PredictableChannelTemplateReturnsOnCall ¶
func (fake *OrdererCapabilities) PredictableChannelTemplateReturnsOnCall(i int, result1 bool)
func (*OrdererCapabilities) Resubmission ¶
func (fake *OrdererCapabilities) Resubmission() bool
func (*OrdererCapabilities) ResubmissionCallCount ¶
func (fake *OrdererCapabilities) ResubmissionCallCount() int
func (*OrdererCapabilities) ResubmissionCalls ¶
func (fake *OrdererCapabilities) ResubmissionCalls(stub func() bool)
func (*OrdererCapabilities) ResubmissionReturns ¶
func (fake *OrdererCapabilities) ResubmissionReturns(result1 bool)
func (*OrdererCapabilities) ResubmissionReturnsOnCall ¶
func (fake *OrdererCapabilities) ResubmissionReturnsOnCall(i int, result1 bool)
func (*OrdererCapabilities) Supported ¶
func (fake *OrdererCapabilities) Supported() error
func (*OrdererCapabilities) SupportedCallCount ¶
func (fake *OrdererCapabilities) SupportedCallCount() int
func (*OrdererCapabilities) SupportedCalls ¶
func (fake *OrdererCapabilities) SupportedCalls(stub func() error)
func (*OrdererCapabilities) SupportedReturns ¶
func (fake *OrdererCapabilities) SupportedReturns(result1 error)
func (*OrdererCapabilities) SupportedReturnsOnCall ¶
func (fake *OrdererCapabilities) SupportedReturnsOnCall(i int, result1 error)
func (*OrdererCapabilities) UseChannelCreationPolicyAsAdmins ¶
func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdmins() bool
func (*OrdererCapabilities) UseChannelCreationPolicyAsAdminsCallCount ¶
func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsCallCount() int
func (*OrdererCapabilities) UseChannelCreationPolicyAsAdminsCalls ¶
func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsCalls(stub func() bool)
func (*OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturns ¶
func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturns(result1 bool)
func (*OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturnsOnCall ¶
func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturnsOnCall(i int, result1 bool)
type OrdererConfig ¶
type OrdererConfig struct { BatchSizeStub func() *orderer.BatchSize BatchTimeoutStub func() time.Duration CapabilitiesStub func() channelconfig.OrdererCapabilities ConsensusMetadataStub func() []byte ConsensusStateStub func() orderer.ConsensusType_State ConsensusTypeStub func() string KafkaBrokersStub func() []string MaxChannelsCountStub func() uint64 OrganizationsStub func() map[string]channelconfig.OrdererOrg // contains filtered or unexported fields }
func (*OrdererConfig) BatchSize ¶
func (fake *OrdererConfig) BatchSize() *orderer.BatchSize
func (*OrdererConfig) BatchSizeCallCount ¶
func (fake *OrdererConfig) BatchSizeCallCount() int
func (*OrdererConfig) BatchSizeCalls ¶
func (fake *OrdererConfig) BatchSizeCalls(stub func() *orderer.BatchSize)
func (*OrdererConfig) BatchSizeReturns ¶
func (fake *OrdererConfig) BatchSizeReturns(result1 *orderer.BatchSize)
func (*OrdererConfig) BatchSizeReturnsOnCall ¶
func (fake *OrdererConfig) BatchSizeReturnsOnCall(i int, result1 *orderer.BatchSize)
func (*OrdererConfig) BatchTimeout ¶
func (fake *OrdererConfig) BatchTimeout() time.Duration
func (*OrdererConfig) BatchTimeoutCallCount ¶
func (fake *OrdererConfig) BatchTimeoutCallCount() int
func (*OrdererConfig) BatchTimeoutCalls ¶
func (fake *OrdererConfig) BatchTimeoutCalls(stub func() time.Duration)
func (*OrdererConfig) BatchTimeoutReturns ¶
func (fake *OrdererConfig) BatchTimeoutReturns(result1 time.Duration)
func (*OrdererConfig) BatchTimeoutReturnsOnCall ¶
func (fake *OrdererConfig) BatchTimeoutReturnsOnCall(i int, result1 time.Duration)
func (*OrdererConfig) Capabilities ¶
func (fake *OrdererConfig) Capabilities() channelconfig.OrdererCapabilities
func (*OrdererConfig) CapabilitiesCallCount ¶
func (fake *OrdererConfig) CapabilitiesCallCount() int
func (*OrdererConfig) CapabilitiesCalls ¶
func (fake *OrdererConfig) CapabilitiesCalls(stub func() channelconfig.OrdererCapabilities)
func (*OrdererConfig) CapabilitiesReturns ¶
func (fake *OrdererConfig) CapabilitiesReturns(result1 channelconfig.OrdererCapabilities)
func (*OrdererConfig) CapabilitiesReturnsOnCall ¶
func (fake *OrdererConfig) CapabilitiesReturnsOnCall(i int, result1 channelconfig.OrdererCapabilities)
func (*OrdererConfig) ConsensusMetadata ¶
func (fake *OrdererConfig) ConsensusMetadata() []byte
func (*OrdererConfig) ConsensusMetadataCallCount ¶
func (fake *OrdererConfig) ConsensusMetadataCallCount() int
func (*OrdererConfig) ConsensusMetadataCalls ¶
func (fake *OrdererConfig) ConsensusMetadataCalls(stub func() []byte)
func (*OrdererConfig) ConsensusMetadataReturns ¶
func (fake *OrdererConfig) ConsensusMetadataReturns(result1 []byte)
func (*OrdererConfig) ConsensusMetadataReturnsOnCall ¶
func (fake *OrdererConfig) ConsensusMetadataReturnsOnCall(i int, result1 []byte)
func (*OrdererConfig) ConsensusState ¶
func (fake *OrdererConfig) ConsensusState() orderer.ConsensusType_State
func (*OrdererConfig) ConsensusStateCallCount ¶
func (fake *OrdererConfig) ConsensusStateCallCount() int
func (*OrdererConfig) ConsensusStateCalls ¶
func (fake *OrdererConfig) ConsensusStateCalls(stub func() orderer.ConsensusType_State)
func (*OrdererConfig) ConsensusStateReturns ¶
func (fake *OrdererConfig) ConsensusStateReturns(result1 orderer.ConsensusType_State)
func (*OrdererConfig) ConsensusStateReturnsOnCall ¶
func (fake *OrdererConfig) ConsensusStateReturnsOnCall(i int, result1 orderer.ConsensusType_State)
func (*OrdererConfig) ConsensusType ¶
func (fake *OrdererConfig) ConsensusType() string
func (*OrdererConfig) ConsensusTypeCallCount ¶
func (fake *OrdererConfig) ConsensusTypeCallCount() int
func (*OrdererConfig) ConsensusTypeCalls ¶
func (fake *OrdererConfig) ConsensusTypeCalls(stub func() string)
func (*OrdererConfig) ConsensusTypeReturns ¶
func (fake *OrdererConfig) ConsensusTypeReturns(result1 string)
func (*OrdererConfig) ConsensusTypeReturnsOnCall ¶
func (fake *OrdererConfig) ConsensusTypeReturnsOnCall(i int, result1 string)
func (*OrdererConfig) Invocations ¶
func (fake *OrdererConfig) Invocations() map[string][][]interface{}
func (*OrdererConfig) KafkaBrokers ¶
func (fake *OrdererConfig) KafkaBrokers() []string
func (*OrdererConfig) KafkaBrokersCallCount ¶
func (fake *OrdererConfig) KafkaBrokersCallCount() int
func (*OrdererConfig) KafkaBrokersCalls ¶
func (fake *OrdererConfig) KafkaBrokersCalls(stub func() []string)
func (*OrdererConfig) KafkaBrokersReturns ¶
func (fake *OrdererConfig) KafkaBrokersReturns(result1 []string)
func (*OrdererConfig) KafkaBrokersReturnsOnCall ¶
func (fake *OrdererConfig) KafkaBrokersReturnsOnCall(i int, result1 []string)
func (*OrdererConfig) MaxChannelsCount ¶
func (fake *OrdererConfig) MaxChannelsCount() uint64
func (*OrdererConfig) MaxChannelsCountCallCount ¶
func (fake *OrdererConfig) MaxChannelsCountCallCount() int
func (*OrdererConfig) MaxChannelsCountCalls ¶
func (fake *OrdererConfig) MaxChannelsCountCalls(stub func() uint64)
func (*OrdererConfig) MaxChannelsCountReturns ¶
func (fake *OrdererConfig) MaxChannelsCountReturns(result1 uint64)
func (*OrdererConfig) MaxChannelsCountReturnsOnCall ¶
func (fake *OrdererConfig) MaxChannelsCountReturnsOnCall(i int, result1 uint64)
func (*OrdererConfig) Organizations ¶
func (fake *OrdererConfig) Organizations() map[string]channelconfig.OrdererOrg
func (*OrdererConfig) OrganizationsCallCount ¶
func (fake *OrdererConfig) OrganizationsCallCount() int
func (*OrdererConfig) OrganizationsCalls ¶
func (fake *OrdererConfig) OrganizationsCalls(stub func() map[string]channelconfig.OrdererOrg)
func (*OrdererConfig) OrganizationsReturns ¶
func (fake *OrdererConfig) OrganizationsReturns(result1 map[string]channelconfig.OrdererOrg)
func (*OrdererConfig) OrganizationsReturnsOnCall ¶
func (fake *OrdererConfig) OrganizationsReturnsOnCall(i int, result1 map[string]channelconfig.OrdererOrg)
type OrdererOrg ¶
type OrdererOrg struct { EndpointsStub func() []string MSPStub func() msp.MSP MSPIDStub func() string NameStub func() string // contains filtered or unexported fields }
func (*OrdererOrg) Endpoints ¶
func (fake *OrdererOrg) Endpoints() []string
func (*OrdererOrg) EndpointsCallCount ¶
func (fake *OrdererOrg) EndpointsCallCount() int
func (*OrdererOrg) EndpointsCalls ¶
func (fake *OrdererOrg) EndpointsCalls(stub func() []string)
func (*OrdererOrg) EndpointsReturns ¶
func (fake *OrdererOrg) EndpointsReturns(result1 []string)
func (*OrdererOrg) EndpointsReturnsOnCall ¶
func (fake *OrdererOrg) EndpointsReturnsOnCall(i int, result1 []string)
func (*OrdererOrg) Invocations ¶
func (fake *OrdererOrg) Invocations() map[string][][]interface{}
func (*OrdererOrg) MSP ¶
func (fake *OrdererOrg) MSP() msp.MSP
func (*OrdererOrg) MSPCallCount ¶
func (fake *OrdererOrg) MSPCallCount() int
func (*OrdererOrg) MSPCalls ¶
func (fake *OrdererOrg) MSPCalls(stub func() msp.MSP)
func (*OrdererOrg) MSPID ¶
func (fake *OrdererOrg) MSPID() string
func (*OrdererOrg) MSPIDCallCount ¶
func (fake *OrdererOrg) MSPIDCallCount() int
func (*OrdererOrg) MSPIDCalls ¶
func (fake *OrdererOrg) MSPIDCalls(stub func() string)
func (*OrdererOrg) MSPIDReturns ¶
func (fake *OrdererOrg) MSPIDReturns(result1 string)
func (*OrdererOrg) MSPIDReturnsOnCall ¶
func (fake *OrdererOrg) MSPIDReturnsOnCall(i int, result1 string)
func (*OrdererOrg) MSPReturns ¶
func (fake *OrdererOrg) MSPReturns(result1 msp.MSP)
func (*OrdererOrg) MSPReturnsOnCall ¶
func (fake *OrdererOrg) MSPReturnsOnCall(i int, result1 msp.MSP)
func (*OrdererOrg) Name ¶
func (fake *OrdererOrg) Name() string
func (*OrdererOrg) NameCallCount ¶
func (fake *OrdererOrg) NameCallCount() int
func (*OrdererOrg) NameCalls ¶
func (fake *OrdererOrg) NameCalls(stub func() string)
func (*OrdererOrg) NameReturns ¶
func (fake *OrdererOrg) NameReturns(result1 string)
func (*OrdererOrg) NameReturnsOnCall ¶
func (fake *OrdererOrg) NameReturnsOnCall(i int, result1 string)
type ReceiverGetter ¶
ReceiverGetter is an autogenerated mock type for the ReceiverGetter type
func (*ReceiverGetter) ReceiverByChain ¶
func (_m *ReceiverGetter) ReceiverByChain(channelID string) etcdraft.MessageReceiver
ReceiverByChain provides a mock function with given fields: channelID