Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by mockery v1.0.0. 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 mockery v1.0.0 ¶
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 ChanConfig
- func (fake *ChanConfig) GetChannelConfig(cid string) channelconfig.Resources
- func (fake *ChanConfig) GetChannelConfigArgsForCall(i int) string
- func (fake *ChanConfig) GetChannelConfigCallCount() int
- func (fake *ChanConfig) GetChannelConfigReturns(result1 channelconfig.Resources)
- func (fake *ChanConfig) GetChannelConfigReturnsOnCall(i int, result1 channelconfig.Resources)
- func (fake *ChanConfig) Invocations() map[string][][]interface{}
- type ChannelPolicyManagerGetter
- type ConfigBlockGetter
- func (fake *ConfigBlockGetter) GetCurrConfigBlock(channel string) *common.Block
- func (fake *ConfigBlockGetter) GetCurrConfigBlockArgsForCall(i int) string
- func (fake *ConfigBlockGetter) GetCurrConfigBlockCallCount() int
- func (fake *ConfigBlockGetter) GetCurrConfigBlockReturns(result1 *common.Block)
- func (fake *ConfigBlockGetter) GetCurrConfigBlockReturnsOnCall(i int, result1 *common.Block)
- func (fake *ConfigBlockGetter) Invocations() map[string][][]interface{}
- type ConfigtxValidator
- func (fake *ConfigtxValidator) ChainID() string
- func (fake *ConfigtxValidator) ChainIDCallCount() int
- func (fake *ConfigtxValidator) ChainIDReturns(result1 string)
- func (fake *ConfigtxValidator) ChainIDReturnsOnCall(i int, result1 string)
- func (fake *ConfigtxValidator) ConfigProto() *cb.Config
- func (fake *ConfigtxValidator) ConfigProtoCallCount() int
- func (fake *ConfigtxValidator) ConfigProtoReturns(result1 *cb.Config)
- func (fake *ConfigtxValidator) ConfigProtoReturnsOnCall(i int, result1 *cb.Config)
- func (fake *ConfigtxValidator) Invocations() map[string][][]interface{}
- func (fake *ConfigtxValidator) ProposeConfigUpdate(configtx *cb.Envelope) (*cb.ConfigEnvelope, error)
- func (fake *ConfigtxValidator) ProposeConfigUpdateArgsForCall(i int) *cb.Envelope
- func (fake *ConfigtxValidator) ProposeConfigUpdateCallCount() int
- func (fake *ConfigtxValidator) ProposeConfigUpdateReturns(result1 *cb.ConfigEnvelope, result2 error)
- func (fake *ConfigtxValidator) ProposeConfigUpdateReturnsOnCall(i int, result1 *cb.ConfigEnvelope, result2 error)
- func (fake *ConfigtxValidator) Sequence() uint64
- func (fake *ConfigtxValidator) SequenceCallCount() int
- func (fake *ConfigtxValidator) SequenceReturns(result1 uint64)
- func (fake *ConfigtxValidator) SequenceReturnsOnCall(i int, result1 uint64)
- func (fake *ConfigtxValidator) Validate(configEnv *cb.ConfigEnvelope) error
- func (fake *ConfigtxValidator) ValidateArgsForCall(i int) *cb.ConfigEnvelope
- func (fake *ConfigtxValidator) ValidateCallCount() int
- func (fake *ConfigtxValidator) ValidateReturns(result1 error)
- func (fake *ConfigtxValidator) ValidateReturnsOnCall(i int, result1 error)
- type Evaluator
- func (fake *Evaluator) Evaluate(signatureSet []*common2.SignedData) error
- func (fake *Evaluator) EvaluateArgsForCall(i int) []*common2.SignedData
- func (fake *Evaluator) EvaluateCallCount() int
- func (fake *Evaluator) EvaluateReturns(result1 error)
- func (fake *Evaluator) EvaluateReturnsOnCall(i int, result1 error)
- func (fake *Evaluator) Invocations() map[string][][]interface{}
- type Gossip
- func (fake *Gossip) Accept(arg1 common.MessageAcceptor, arg2 bool) (<-chan *gossipa.GossipMessage, <-chan protoext.ReceivedMessage)
- func (fake *Gossip) AcceptArgsForCall(i int) (common.MessageAcceptor, bool)
- func (fake *Gossip) AcceptCallCount() int
- func (fake *Gossip) AcceptCalls(...)
- func (fake *Gossip) AcceptReturns(result1 <-chan *gossipa.GossipMessage, result2 <-chan protoext.ReceivedMessage)
- func (fake *Gossip) AcceptReturnsOnCall(i int, result1 <-chan *gossipa.GossipMessage, ...)
- func (fake *Gossip) Gossip(arg1 *gossipa.GossipMessage)
- func (fake *Gossip) GossipArgsForCall(i int) *gossipa.GossipMessage
- func (fake *Gossip) GossipCallCount() int
- func (fake *Gossip) GossipCalls(stub func(*gossipa.GossipMessage))
- func (fake *Gossip) IdentityInfo() api.PeerIdentitySet
- func (fake *Gossip) IdentityInfoCallCount() int
- func (fake *Gossip) IdentityInfoCalls(stub func() api.PeerIdentitySet)
- func (fake *Gossip) IdentityInfoReturns(result1 api.PeerIdentitySet)
- func (fake *Gossip) IdentityInfoReturnsOnCall(i int, result1 api.PeerIdentitySet)
- func (fake *Gossip) Invocations() map[string][][]interface{}
- func (fake *Gossip) IsInMyOrg(arg1 discovery.NetworkMember) bool
- func (fake *Gossip) IsInMyOrgArgsForCall(i int) discovery.NetworkMember
- func (fake *Gossip) IsInMyOrgCallCount() int
- func (fake *Gossip) IsInMyOrgCalls(stub func(discovery.NetworkMember) bool)
- func (fake *Gossip) IsInMyOrgReturns(result1 bool)
- func (fake *Gossip) IsInMyOrgReturnsOnCall(i int, result1 bool)
- func (fake *Gossip) JoinChan(arg1 api.JoinChannelMessage, arg2 common.ChainID)
- func (fake *Gossip) JoinChanArgsForCall(i int) (api.JoinChannelMessage, common.ChainID)
- func (fake *Gossip) JoinChanCallCount() int
- func (fake *Gossip) JoinChanCalls(stub func(api.JoinChannelMessage, common.ChainID))
- func (fake *Gossip) LeaveChan(arg1 common.ChainID)
- func (fake *Gossip) LeaveChanArgsForCall(i int) common.ChainID
- func (fake *Gossip) LeaveChanCallCount() int
- func (fake *Gossip) LeaveChanCalls(stub func(common.ChainID))
- func (fake *Gossip) PeerFilter(arg1 common.ChainID, arg2 api.SubChannelSelectionCriteria) (filter.RoutingFilter, error)
- func (fake *Gossip) PeerFilterArgsForCall(i int) (common.ChainID, api.SubChannelSelectionCriteria)
- func (fake *Gossip) PeerFilterCallCount() int
- func (fake *Gossip) PeerFilterCalls(...)
- func (fake *Gossip) PeerFilterReturns(result1 filter.RoutingFilter, result2 error)
- func (fake *Gossip) PeerFilterReturnsOnCall(i int, result1 filter.RoutingFilter, result2 error)
- func (fake *Gossip) Peers() []discovery.NetworkMember
- func (fake *Gossip) PeersCallCount() int
- func (fake *Gossip) PeersCalls(stub func() []discovery.NetworkMember)
- func (fake *Gossip) PeersOfChannel(arg1 common.ChainID) []discovery.NetworkMember
- func (fake *Gossip) PeersOfChannelArgsForCall(i int) common.ChainID
- func (fake *Gossip) PeersOfChannelCallCount() int
- func (fake *Gossip) PeersOfChannelCalls(stub func(common.ChainID) []discovery.NetworkMember)
- func (fake *Gossip) PeersOfChannelReturns(result1 []discovery.NetworkMember)
- func (fake *Gossip) PeersOfChannelReturnsOnCall(i int, result1 []discovery.NetworkMember)
- func (fake *Gossip) PeersReturns(result1 []discovery.NetworkMember)
- func (fake *Gossip) PeersReturnsOnCall(i int, result1 []discovery.NetworkMember)
- func (fake *Gossip) SelfChannelInfo(arg1 common.ChainID) *protoext.SignedGossipMessage
- func (fake *Gossip) SelfChannelInfoArgsForCall(i int) common.ChainID
- func (fake *Gossip) SelfChannelInfoCallCount() int
- func (fake *Gossip) SelfChannelInfoCalls(stub func(common.ChainID) *protoext.SignedGossipMessage)
- func (fake *Gossip) SelfChannelInfoReturns(result1 *protoext.SignedGossipMessage)
- func (fake *Gossip) SelfChannelInfoReturnsOnCall(i int, result1 *protoext.SignedGossipMessage)
- func (fake *Gossip) SelfMembershipInfo() discovery.NetworkMember
- func (fake *Gossip) SelfMembershipInfoCallCount() int
- func (fake *Gossip) SelfMembershipInfoCalls(stub func() discovery.NetworkMember)
- func (fake *Gossip) SelfMembershipInfoReturns(result1 discovery.NetworkMember)
- func (fake *Gossip) SelfMembershipInfoReturnsOnCall(i int, result1 discovery.NetworkMember)
- func (fake *Gossip) Send(arg1 *gossipa.GossipMessage, arg2 ...*comm.RemotePeer)
- func (fake *Gossip) SendArgsForCall(i int) (*gossipa.GossipMessage, []*comm.RemotePeer)
- func (fake *Gossip) SendByCriteria(arg1 *protoext.SignedGossipMessage, arg2 gossip.SendCriteria) error
- func (fake *Gossip) SendByCriteriaArgsForCall(i int) (*protoext.SignedGossipMessage, gossip.SendCriteria)
- func (fake *Gossip) SendByCriteriaCallCount() int
- func (fake *Gossip) SendByCriteriaCalls(stub func(*protoext.SignedGossipMessage, gossip.SendCriteria) error)
- func (fake *Gossip) SendByCriteriaReturns(result1 error)
- func (fake *Gossip) SendByCriteriaReturnsOnCall(i int, result1 error)
- func (fake *Gossip) SendCallCount() int
- func (fake *Gossip) SendCalls(stub func(*gossipa.GossipMessage, ...*comm.RemotePeer))
- func (fake *Gossip) Stop()
- func (fake *Gossip) StopCallCount() int
- func (fake *Gossip) StopCalls(stub func())
- func (fake *Gossip) SuspectPeers(arg1 api.PeerSuspector)
- func (fake *Gossip) SuspectPeersArgsForCall(i int) api.PeerSuspector
- func (fake *Gossip) SuspectPeersCallCount() int
- func (fake *Gossip) SuspectPeersCalls(stub func(api.PeerSuspector))
- func (fake *Gossip) UpdateChaincodes(arg1 []*gossipa.Chaincode, arg2 common.ChainID)
- func (fake *Gossip) UpdateChaincodesArgsForCall(i int) ([]*gossipa.Chaincode, common.ChainID)
- func (fake *Gossip) UpdateChaincodesCallCount() int
- func (fake *Gossip) UpdateChaincodesCalls(stub func([]*gossipa.Chaincode, common.ChainID))
- func (fake *Gossip) UpdateLedgerHeight(arg1 uint64, arg2 common.ChainID)
- func (fake *Gossip) UpdateLedgerHeightArgsForCall(i int) (uint64, common.ChainID)
- func (fake *Gossip) UpdateLedgerHeightCallCount() int
- func (fake *Gossip) UpdateLedgerHeightCalls(stub func(uint64, common.ChainID))
- func (fake *Gossip) UpdateMetadata(arg1 []byte)
- func (fake *Gossip) UpdateMetadataArgsForCall(i int) []byte
- func (fake *Gossip) UpdateMetadataCallCount() int
- func (fake *Gossip) UpdateMetadataCalls(stub func([]byte))
- type GossipSupport
- type Identity
- func (fake *Identity) Anonymous() bool
- func (fake *Identity) AnonymousCallCount() int
- func (fake *Identity) AnonymousReturns(result1 bool)
- func (fake *Identity) AnonymousReturnsOnCall(i int, result1 bool)
- func (fake *Identity) ExpiresAt() time.Time
- func (fake *Identity) ExpiresAtCallCount() int
- func (fake *Identity) ExpiresAtReturns(result1 time.Time)
- func (fake *Identity) ExpiresAtReturnsOnCall(i int, result1 time.Time)
- func (fake *Identity) GetIdentifier() *msp.IdentityIdentifier
- func (fake *Identity) GetIdentifierCallCount() int
- func (fake *Identity) GetIdentifierReturns(result1 *msp.IdentityIdentifier)
- func (fake *Identity) GetIdentifierReturnsOnCall(i int, result1 *msp.IdentityIdentifier)
- func (fake *Identity) GetMSPIdentifier() string
- func (fake *Identity) GetMSPIdentifierCallCount() int
- func (fake *Identity) GetMSPIdentifierReturns(result1 string)
- func (fake *Identity) GetMSPIdentifierReturnsOnCall(i int, result1 string)
- func (fake *Identity) GetOrganizationalUnits() []*msp.OUIdentifier
- func (fake *Identity) GetOrganizationalUnitsCallCount() int
- func (fake *Identity) GetOrganizationalUnitsReturns(result1 []*msp.OUIdentifier)
- func (fake *Identity) GetOrganizationalUnitsReturnsOnCall(i int, result1 []*msp.OUIdentifier)
- func (fake *Identity) Invocations() map[string][][]interface{}
- func (fake *Identity) SatisfiesPrincipal(principal *mspprotos.MSPPrincipal) error
- func (fake *Identity) SatisfiesPrincipalArgsForCall(i int) *mspprotos.MSPPrincipal
- func (fake *Identity) SatisfiesPrincipalCallCount() int
- func (fake *Identity) SatisfiesPrincipalReturns(result1 error)
- func (fake *Identity) SatisfiesPrincipalReturnsOnCall(i int, result1 error)
- func (fake *Identity) Serialize() ([]byte, error)
- func (fake *Identity) SerializeCallCount() int
- func (fake *Identity) SerializeReturns(result1 []byte, result2 error)
- func (fake *Identity) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *Identity) Validate() error
- func (fake *Identity) ValidateCallCount() int
- func (fake *Identity) ValidateReturns(result1 error)
- func (fake *Identity) ValidateReturnsOnCall(i int, result1 error)
- func (fake *Identity) Verify(msg []byte, sig []byte) error
- func (fake *Identity) VerifyArgsForCall(i int) ([]byte, []byte)
- func (fake *Identity) VerifyCallCount() int
- func (fake *Identity) VerifyReturns(result1 error)
- func (fake *Identity) VerifyReturnsOnCall(i int, result1 error)
- type MSPManager
- func (fake *MSPManager) DeserializeIdentity(serializedIdentity []byte) (msp.Identity, error)
- func (fake *MSPManager) DeserializeIdentityArgsForCall(i int) []byte
- func (fake *MSPManager) DeserializeIdentityCallCount() int
- func (fake *MSPManager) DeserializeIdentityReturns(result1 msp.Identity, result2 error)
- func (fake *MSPManager) DeserializeIdentityReturnsOnCall(i int, result1 msp.Identity, result2 error)
- func (fake *MSPManager) GetMSPs() (map[string]msp.MSP, error)
- func (fake *MSPManager) GetMSPsCallCount() int
- func (fake *MSPManager) GetMSPsReturns(result1 map[string]msp.MSP, result2 error)
- func (fake *MSPManager) GetMSPsReturnsOnCall(i int, result1 map[string]msp.MSP, result2 error)
- func (fake *MSPManager) Invocations() map[string][][]interface{}
- func (fake *MSPManager) IsWellFormed(identity *mspprotos.SerializedIdentity) error
- func (fake *MSPManager) IsWellFormedArgsForCall(i int) *mspprotos.SerializedIdentity
- func (fake *MSPManager) IsWellFormedCallCount() int
- func (fake *MSPManager) IsWellFormedReturns(result1 error)
- func (fake *MSPManager) IsWellFormedReturnsOnCall(i int, result1 error)
- func (fake *MSPManager) Setup(msps []msp.MSP) error
- func (fake *MSPManager) SetupArgsForCall(i int) []msp.MSP
- func (fake *MSPManager) SetupCallCount() int
- func (fake *MSPManager) SetupReturns(result1 error)
- func (fake *MSPManager) SetupReturnsOnCall(i int, result1 error)
- type Resources
- func (fake *Resources) ApplicationConfig() (channelconfig.Application, bool)
- func (fake *Resources) ApplicationConfigCallCount() int
- func (fake *Resources) ApplicationConfigReturns(result1 channelconfig.Application, result2 bool)
- func (fake *Resources) ApplicationConfigReturnsOnCall(i int, result1 channelconfig.Application, result2 bool)
- func (fake *Resources) ChannelConfig() channelconfig.Channel
- func (fake *Resources) ChannelConfigCallCount() int
- func (fake *Resources) ChannelConfigReturns(result1 channelconfig.Channel)
- func (fake *Resources) ChannelConfigReturnsOnCall(i int, result1 channelconfig.Channel)
- func (fake *Resources) ConfigtxValidator() configtx.Validator
- func (fake *Resources) ConfigtxValidatorCallCount() int
- func (fake *Resources) ConfigtxValidatorReturns(result1 configtx.Validator)
- func (fake *Resources) ConfigtxValidatorReturnsOnCall(i int, result1 configtx.Validator)
- func (fake *Resources) ConsortiumsConfig() (channelconfig.Consortiums, bool)
- func (fake *Resources) ConsortiumsConfigCallCount() int
- func (fake *Resources) ConsortiumsConfigReturns(result1 channelconfig.Consortiums, result2 bool)
- func (fake *Resources) ConsortiumsConfigReturnsOnCall(i int, result1 channelconfig.Consortiums, result2 bool)
- func (fake *Resources) Invocations() map[string][][]interface{}
- func (fake *Resources) MSPManager() msp.MSPManager
- func (fake *Resources) MSPManagerCallCount() int
- func (fake *Resources) MSPManagerReturns(result1 msp.MSPManager)
- func (fake *Resources) MSPManagerReturnsOnCall(i int, result1 msp.MSPManager)
- func (fake *Resources) OrdererConfig() (channelconfig.Orderer, bool)
- func (fake *Resources) OrdererConfigCallCount() int
- func (fake *Resources) OrdererConfigReturns(result1 channelconfig.Orderer, result2 bool)
- func (fake *Resources) OrdererConfigReturnsOnCall(i int, result1 channelconfig.Orderer, result2 bool)
- func (fake *Resources) PolicyManager() policies.Manager
- func (fake *Resources) PolicyManagerCallCount() int
- func (fake *Resources) PolicyManagerReturns(result1 policies.Manager)
- func (fake *Resources) PolicyManagerReturnsOnCall(i int, result1 policies.Manager)
- func (fake *Resources) ValidateNew(resources channelconfig.Resources) error
- func (fake *Resources) ValidateNewArgsForCall(i int) channelconfig.Resources
- func (fake *Resources) ValidateNewCallCount() int
- func (fake *Resources) ValidateNewReturns(result1 error)
- func (fake *Resources) ValidateNewReturnsOnCall(i int, result1 error)
- type Verifier
- func (fake *Verifier) Invocations() map[string][][]interface{}
- func (fake *Verifier) VerifyByChannel(channel string, sd *cb.SignedData) error
- func (fake *Verifier) VerifyByChannelArgsForCall(i int) (string, *cb.SignedData)
- func (fake *Verifier) VerifyByChannelCallCount() int
- func (fake *Verifier) VerifyByChannelReturns(result1 error)
- func (fake *Verifier) VerifyByChannelReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChanConfig ¶
type ChanConfig struct { GetChannelConfigStub func(cid string) channelconfig.Resources // contains filtered or unexported fields }
func (*ChanConfig) GetChannelConfig ¶
func (fake *ChanConfig) GetChannelConfig(cid string) channelconfig.Resources
func (*ChanConfig) GetChannelConfigArgsForCall ¶
func (fake *ChanConfig) GetChannelConfigArgsForCall(i int) string
func (*ChanConfig) GetChannelConfigCallCount ¶
func (fake *ChanConfig) GetChannelConfigCallCount() int
func (*ChanConfig) GetChannelConfigReturns ¶
func (fake *ChanConfig) GetChannelConfigReturns(result1 channelconfig.Resources)
func (*ChanConfig) GetChannelConfigReturnsOnCall ¶
func (fake *ChanConfig) GetChannelConfigReturnsOnCall(i int, result1 channelconfig.Resources)
func (*ChanConfig) Invocations ¶
func (fake *ChanConfig) Invocations() map[string][][]interface{}
type ChannelPolicyManagerGetter ¶
ChannelPolicyManagerGetter is an autogenerated mock type for the ChannelPolicyManagerGetter type
type ConfigBlockGetter ¶
type ConfigBlockGetter struct { GetCurrConfigBlockStub func(channel string) *common.Block // contains filtered or unexported fields }
func (*ConfigBlockGetter) GetCurrConfigBlock ¶
func (fake *ConfigBlockGetter) GetCurrConfigBlock(channel string) *common.Block
func (*ConfigBlockGetter) GetCurrConfigBlockArgsForCall ¶
func (fake *ConfigBlockGetter) GetCurrConfigBlockArgsForCall(i int) string
func (*ConfigBlockGetter) GetCurrConfigBlockCallCount ¶
func (fake *ConfigBlockGetter) GetCurrConfigBlockCallCount() int
func (*ConfigBlockGetter) GetCurrConfigBlockReturns ¶
func (fake *ConfigBlockGetter) GetCurrConfigBlockReturns(result1 *common.Block)
func (*ConfigBlockGetter) GetCurrConfigBlockReturnsOnCall ¶
func (fake *ConfigBlockGetter) GetCurrConfigBlockReturnsOnCall(i int, result1 *common.Block)
func (*ConfigBlockGetter) Invocations ¶
func (fake *ConfigBlockGetter) Invocations() map[string][][]interface{}
type ConfigtxValidator ¶
type ConfigtxValidator struct { ValidateStub func(configEnv *cb.ConfigEnvelope) error ProposeConfigUpdateStub func(configtx *cb.Envelope) (*cb.ConfigEnvelope, error) ChainIDStub func() string ConfigProtoStub func() *cb.Config SequenceStub func() uint64 // contains filtered or unexported fields }
func (*ConfigtxValidator) ChainID ¶
func (fake *ConfigtxValidator) ChainID() string
func (*ConfigtxValidator) ChainIDCallCount ¶
func (fake *ConfigtxValidator) ChainIDCallCount() int
func (*ConfigtxValidator) ChainIDReturns ¶
func (fake *ConfigtxValidator) ChainIDReturns(result1 string)
func (*ConfigtxValidator) ChainIDReturnsOnCall ¶
func (fake *ConfigtxValidator) ChainIDReturnsOnCall(i int, result1 string)
func (*ConfigtxValidator) ConfigProto ¶
func (fake *ConfigtxValidator) ConfigProto() *cb.Config
func (*ConfigtxValidator) ConfigProtoCallCount ¶
func (fake *ConfigtxValidator) ConfigProtoCallCount() int
func (*ConfigtxValidator) ConfigProtoReturns ¶
func (fake *ConfigtxValidator) ConfigProtoReturns(result1 *cb.Config)
func (*ConfigtxValidator) ConfigProtoReturnsOnCall ¶
func (fake *ConfigtxValidator) ConfigProtoReturnsOnCall(i int, result1 *cb.Config)
func (*ConfigtxValidator) Invocations ¶
func (fake *ConfigtxValidator) Invocations() map[string][][]interface{}
func (*ConfigtxValidator) ProposeConfigUpdate ¶
func (fake *ConfigtxValidator) ProposeConfigUpdate(configtx *cb.Envelope) (*cb.ConfigEnvelope, error)
func (*ConfigtxValidator) ProposeConfigUpdateArgsForCall ¶
func (fake *ConfigtxValidator) ProposeConfigUpdateArgsForCall(i int) *cb.Envelope
func (*ConfigtxValidator) ProposeConfigUpdateCallCount ¶
func (fake *ConfigtxValidator) ProposeConfigUpdateCallCount() int
func (*ConfigtxValidator) ProposeConfigUpdateReturns ¶
func (fake *ConfigtxValidator) ProposeConfigUpdateReturns(result1 *cb.ConfigEnvelope, result2 error)
func (*ConfigtxValidator) ProposeConfigUpdateReturnsOnCall ¶
func (fake *ConfigtxValidator) ProposeConfigUpdateReturnsOnCall(i int, result1 *cb.ConfigEnvelope, result2 error)
func (*ConfigtxValidator) Sequence ¶
func (fake *ConfigtxValidator) Sequence() uint64
func (*ConfigtxValidator) SequenceCallCount ¶
func (fake *ConfigtxValidator) SequenceCallCount() int
func (*ConfigtxValidator) SequenceReturns ¶
func (fake *ConfigtxValidator) SequenceReturns(result1 uint64)
func (*ConfigtxValidator) SequenceReturnsOnCall ¶
func (fake *ConfigtxValidator) SequenceReturnsOnCall(i int, result1 uint64)
func (*ConfigtxValidator) Validate ¶
func (fake *ConfigtxValidator) Validate(configEnv *cb.ConfigEnvelope) error
func (*ConfigtxValidator) ValidateArgsForCall ¶
func (fake *ConfigtxValidator) ValidateArgsForCall(i int) *cb.ConfigEnvelope
func (*ConfigtxValidator) ValidateCallCount ¶
func (fake *ConfigtxValidator) ValidateCallCount() int
func (*ConfigtxValidator) ValidateReturns ¶
func (fake *ConfigtxValidator) ValidateReturns(result1 error)
func (*ConfigtxValidator) ValidateReturnsOnCall ¶
func (fake *ConfigtxValidator) ValidateReturnsOnCall(i int, result1 error)
type Evaluator ¶
type Evaluator struct { EvaluateStub func(signatureSet []*common2.SignedData) error // contains filtered or unexported fields }
func (*Evaluator) Evaluate ¶
func (fake *Evaluator) Evaluate(signatureSet []*common2.SignedData) error
func (*Evaluator) EvaluateArgsForCall ¶
func (fake *Evaluator) EvaluateArgsForCall(i int) []*common2.SignedData
func (*Evaluator) EvaluateCallCount ¶
func (*Evaluator) EvaluateReturns ¶
func (*Evaluator) EvaluateReturnsOnCall ¶
func (*Evaluator) Invocations ¶
type Gossip ¶
type Gossip struct { AcceptStub func(common.MessageAcceptor, bool) (<-chan *gossipa.GossipMessage, <-chan protoext.ReceivedMessage) GossipStub func(*gossipa.GossipMessage) IdentityInfoStub func() api.PeerIdentitySet IsInMyOrgStub func(discovery.NetworkMember) bool JoinChanStub func(api.JoinChannelMessage, common.ChainID) LeaveChanStub func(common.ChainID) PeerFilterStub func(common.ChainID, api.SubChannelSelectionCriteria) (filter.RoutingFilter, error) PeersStub func() []discovery.NetworkMember PeersOfChannelStub func(common.ChainID) []discovery.NetworkMember SelfChannelInfoStub func(common.ChainID) *protoext.SignedGossipMessage SelfMembershipInfoStub func() discovery.NetworkMember SendStub func(*gossipa.GossipMessage, ...*comm.RemotePeer) SendByCriteriaStub func(*protoext.SignedGossipMessage, gossip.SendCriteria) error StopStub func() SuspectPeersStub func(api.PeerSuspector) UpdateChaincodesStub func([]*gossipa.Chaincode, common.ChainID) UpdateLedgerHeightStub func(uint64, common.ChainID) UpdateMetadataStub func([]byte) // contains filtered or unexported fields }
func (*Gossip) Accept ¶
func (fake *Gossip) Accept(arg1 common.MessageAcceptor, arg2 bool) (<-chan *gossipa.GossipMessage, <-chan protoext.ReceivedMessage)
func (*Gossip) AcceptArgsForCall ¶
func (fake *Gossip) AcceptArgsForCall(i int) (common.MessageAcceptor, bool)
func (*Gossip) AcceptCallCount ¶
func (*Gossip) AcceptCalls ¶ added in v1.4.7
func (fake *Gossip) AcceptCalls(stub func(common.MessageAcceptor, bool) (<-chan *gossipa.GossipMessage, <-chan protoext.ReceivedMessage))
func (*Gossip) AcceptReturns ¶
func (fake *Gossip) AcceptReturns(result1 <-chan *gossipa.GossipMessage, result2 <-chan protoext.ReceivedMessage)
func (*Gossip) AcceptReturnsOnCall ¶
func (fake *Gossip) AcceptReturnsOnCall(i int, result1 <-chan *gossipa.GossipMessage, result2 <-chan protoext.ReceivedMessage)
func (*Gossip) Gossip ¶
func (fake *Gossip) Gossip(arg1 *gossipa.GossipMessage)
func (*Gossip) GossipArgsForCall ¶
func (fake *Gossip) GossipArgsForCall(i int) *gossipa.GossipMessage
func (*Gossip) GossipCallCount ¶
func (*Gossip) GossipCalls ¶ added in v1.4.7
func (fake *Gossip) GossipCalls(stub func(*gossipa.GossipMessage))
func (*Gossip) IdentityInfo ¶
func (fake *Gossip) IdentityInfo() api.PeerIdentitySet
func (*Gossip) IdentityInfoCallCount ¶
func (*Gossip) IdentityInfoCalls ¶ added in v1.4.7
func (fake *Gossip) IdentityInfoCalls(stub func() api.PeerIdentitySet)
func (*Gossip) IdentityInfoReturns ¶
func (fake *Gossip) IdentityInfoReturns(result1 api.PeerIdentitySet)
func (*Gossip) IdentityInfoReturnsOnCall ¶
func (fake *Gossip) IdentityInfoReturnsOnCall(i int, result1 api.PeerIdentitySet)
func (*Gossip) Invocations ¶
func (*Gossip) IsInMyOrg ¶ added in v1.4.7
func (fake *Gossip) IsInMyOrg(arg1 discovery.NetworkMember) bool
func (*Gossip) IsInMyOrgArgsForCall ¶ added in v1.4.7
func (fake *Gossip) IsInMyOrgArgsForCall(i int) discovery.NetworkMember
func (*Gossip) IsInMyOrgCallCount ¶ added in v1.4.7
func (*Gossip) IsInMyOrgCalls ¶ added in v1.4.7
func (fake *Gossip) IsInMyOrgCalls(stub func(discovery.NetworkMember) bool)
func (*Gossip) IsInMyOrgReturns ¶ added in v1.4.7
func (*Gossip) IsInMyOrgReturnsOnCall ¶ added in v1.4.7
func (*Gossip) JoinChan ¶
func (fake *Gossip) JoinChan(arg1 api.JoinChannelMessage, arg2 common.ChainID)
func (*Gossip) JoinChanArgsForCall ¶
func (*Gossip) JoinChanCallCount ¶
func (*Gossip) JoinChanCalls ¶ added in v1.4.7
func (fake *Gossip) JoinChanCalls(stub func(api.JoinChannelMessage, common.ChainID))
func (*Gossip) LeaveChanArgsForCall ¶
func (*Gossip) LeaveChanCallCount ¶
func (*Gossip) LeaveChanCalls ¶ added in v1.4.7
func (*Gossip) PeerFilter ¶
func (fake *Gossip) PeerFilter(arg1 common.ChainID, arg2 api.SubChannelSelectionCriteria) (filter.RoutingFilter, error)
func (*Gossip) PeerFilterArgsForCall ¶
func (*Gossip) PeerFilterCallCount ¶
func (*Gossip) PeerFilterCalls ¶ added in v1.4.7
func (fake *Gossip) PeerFilterCalls(stub func(common.ChainID, api.SubChannelSelectionCriteria) (filter.RoutingFilter, error))
func (*Gossip) PeerFilterReturns ¶
func (fake *Gossip) PeerFilterReturns(result1 filter.RoutingFilter, result2 error)
func (*Gossip) PeerFilterReturnsOnCall ¶
func (fake *Gossip) PeerFilterReturnsOnCall(i int, result1 filter.RoutingFilter, result2 error)
func (*Gossip) Peers ¶
func (fake *Gossip) Peers() []discovery.NetworkMember
func (*Gossip) PeersCallCount ¶
func (*Gossip) PeersCalls ¶ added in v1.4.7
func (fake *Gossip) PeersCalls(stub func() []discovery.NetworkMember)
func (*Gossip) PeersOfChannel ¶
func (fake *Gossip) PeersOfChannel(arg1 common.ChainID) []discovery.NetworkMember
func (*Gossip) PeersOfChannelArgsForCall ¶
func (*Gossip) PeersOfChannelCallCount ¶
func (*Gossip) PeersOfChannelCalls ¶ added in v1.4.7
func (fake *Gossip) PeersOfChannelCalls(stub func(common.ChainID) []discovery.NetworkMember)
func (*Gossip) PeersOfChannelReturns ¶
func (fake *Gossip) PeersOfChannelReturns(result1 []discovery.NetworkMember)
func (*Gossip) PeersOfChannelReturnsOnCall ¶
func (fake *Gossip) PeersOfChannelReturnsOnCall(i int, result1 []discovery.NetworkMember)
func (*Gossip) PeersReturns ¶
func (fake *Gossip) PeersReturns(result1 []discovery.NetworkMember)
func (*Gossip) PeersReturnsOnCall ¶
func (fake *Gossip) PeersReturnsOnCall(i int, result1 []discovery.NetworkMember)
func (*Gossip) SelfChannelInfo ¶
func (fake *Gossip) SelfChannelInfo(arg1 common.ChainID) *protoext.SignedGossipMessage
func (*Gossip) SelfChannelInfoArgsForCall ¶
func (*Gossip) SelfChannelInfoCallCount ¶
func (*Gossip) SelfChannelInfoCalls ¶ added in v1.4.7
func (fake *Gossip) SelfChannelInfoCalls(stub func(common.ChainID) *protoext.SignedGossipMessage)
func (*Gossip) SelfChannelInfoReturns ¶
func (fake *Gossip) SelfChannelInfoReturns(result1 *protoext.SignedGossipMessage)
func (*Gossip) SelfChannelInfoReturnsOnCall ¶
func (fake *Gossip) SelfChannelInfoReturnsOnCall(i int, result1 *protoext.SignedGossipMessage)
func (*Gossip) SelfMembershipInfo ¶
func (fake *Gossip) SelfMembershipInfo() discovery.NetworkMember
func (*Gossip) SelfMembershipInfoCallCount ¶
func (*Gossip) SelfMembershipInfoCalls ¶ added in v1.4.7
func (fake *Gossip) SelfMembershipInfoCalls(stub func() discovery.NetworkMember)
func (*Gossip) SelfMembershipInfoReturns ¶
func (fake *Gossip) SelfMembershipInfoReturns(result1 discovery.NetworkMember)
func (*Gossip) SelfMembershipInfoReturnsOnCall ¶
func (fake *Gossip) SelfMembershipInfoReturnsOnCall(i int, result1 discovery.NetworkMember)
func (*Gossip) Send ¶
func (fake *Gossip) Send(arg1 *gossipa.GossipMessage, arg2 ...*comm.RemotePeer)
func (*Gossip) SendArgsForCall ¶
func (fake *Gossip) SendArgsForCall(i int) (*gossipa.GossipMessage, []*comm.RemotePeer)
func (*Gossip) SendByCriteria ¶
func (fake *Gossip) SendByCriteria(arg1 *protoext.SignedGossipMessage, arg2 gossip.SendCriteria) error
func (*Gossip) SendByCriteriaArgsForCall ¶
func (fake *Gossip) SendByCriteriaArgsForCall(i int) (*protoext.SignedGossipMessage, gossip.SendCriteria)
func (*Gossip) SendByCriteriaCallCount ¶
func (*Gossip) SendByCriteriaCalls ¶ added in v1.4.7
func (fake *Gossip) SendByCriteriaCalls(stub func(*protoext.SignedGossipMessage, gossip.SendCriteria) error)
func (*Gossip) SendByCriteriaReturns ¶
func (*Gossip) SendByCriteriaReturnsOnCall ¶
func (*Gossip) SendCallCount ¶
func (*Gossip) SendCalls ¶ added in v1.4.7
func (fake *Gossip) SendCalls(stub func(*gossipa.GossipMessage, ...*comm.RemotePeer))
func (*Gossip) StopCallCount ¶
func (*Gossip) SuspectPeers ¶
func (fake *Gossip) SuspectPeers(arg1 api.PeerSuspector)
func (*Gossip) SuspectPeersArgsForCall ¶
func (fake *Gossip) SuspectPeersArgsForCall(i int) api.PeerSuspector
func (*Gossip) SuspectPeersCallCount ¶
func (*Gossip) SuspectPeersCalls ¶ added in v1.4.7
func (fake *Gossip) SuspectPeersCalls(stub func(api.PeerSuspector))
func (*Gossip) UpdateChaincodes ¶
func (*Gossip) UpdateChaincodesArgsForCall ¶
func (*Gossip) UpdateChaincodesCallCount ¶
func (*Gossip) UpdateChaincodesCalls ¶ added in v1.4.7
func (*Gossip) UpdateLedgerHeight ¶
func (*Gossip) UpdateLedgerHeightArgsForCall ¶
func (*Gossip) UpdateLedgerHeightCallCount ¶
func (*Gossip) UpdateLedgerHeightCalls ¶ added in v1.4.7
func (*Gossip) UpdateMetadata ¶
func (*Gossip) UpdateMetadataArgsForCall ¶
func (*Gossip) UpdateMetadataCallCount ¶
func (*Gossip) UpdateMetadataCalls ¶ added in v1.4.7
type GossipSupport ¶
GossipSupport is an autogenerated mock type for the GossipSupport type
func (*GossipSupport) ChannelExists ¶
func (_m *GossipSupport) ChannelExists(channel string) bool
ChannelExists provides a mock function with given fields: channel
func (*GossipSupport) IdentityInfo ¶
func (_m *GossipSupport) IdentityInfo() api.PeerIdentitySet
IdentityInfo provides a mock function with given fields:
func (*GossipSupport) Peers ¶
func (_m *GossipSupport) Peers() gossipdiscovery.Members
Peers provides a mock function with given fields:
func (*GossipSupport) PeersOfChannel ¶
func (_m *GossipSupport) PeersOfChannel(_a0 common.ChainID) gossipdiscovery.Members
PeersOfChannel provides a mock function with given fields: _a0
type Identity ¶
type Identity struct { ExpiresAtStub func() time.Time GetIdentifierStub func() *msp.IdentityIdentifier GetMSPIdentifierStub func() string ValidateStub func() error GetOrganizationalUnitsStub func() []*msp.OUIdentifier AnonymousStub func() bool VerifyStub func(msg []byte, sig []byte) error SerializeStub func() ([]byte, error) SatisfiesPrincipalStub func(principal *mspprotos.MSPPrincipal) error // contains filtered or unexported fields }
func (*Identity) AnonymousCallCount ¶
func (*Identity) AnonymousReturns ¶
func (*Identity) AnonymousReturnsOnCall ¶
func (*Identity) ExpiresAtCallCount ¶
func (*Identity) ExpiresAtReturns ¶
func (*Identity) ExpiresAtReturnsOnCall ¶
func (*Identity) GetIdentifier ¶
func (fake *Identity) GetIdentifier() *msp.IdentityIdentifier
func (*Identity) GetIdentifierCallCount ¶
func (*Identity) GetIdentifierReturns ¶
func (fake *Identity) GetIdentifierReturns(result1 *msp.IdentityIdentifier)
func (*Identity) GetIdentifierReturnsOnCall ¶
func (fake *Identity) GetIdentifierReturnsOnCall(i int, result1 *msp.IdentityIdentifier)
func (*Identity) GetMSPIdentifier ¶
func (*Identity) GetMSPIdentifierCallCount ¶
func (*Identity) GetMSPIdentifierReturns ¶
func (*Identity) GetMSPIdentifierReturnsOnCall ¶
func (*Identity) GetOrganizationalUnits ¶
func (fake *Identity) GetOrganizationalUnits() []*msp.OUIdentifier
func (*Identity) GetOrganizationalUnitsCallCount ¶
func (*Identity) GetOrganizationalUnitsReturns ¶
func (fake *Identity) GetOrganizationalUnitsReturns(result1 []*msp.OUIdentifier)
func (*Identity) GetOrganizationalUnitsReturnsOnCall ¶
func (fake *Identity) GetOrganizationalUnitsReturnsOnCall(i int, result1 []*msp.OUIdentifier)
func (*Identity) Invocations ¶
func (*Identity) SatisfiesPrincipal ¶
func (fake *Identity) SatisfiesPrincipal(principal *mspprotos.MSPPrincipal) error
func (*Identity) SatisfiesPrincipalArgsForCall ¶
func (fake *Identity) SatisfiesPrincipalArgsForCall(i int) *mspprotos.MSPPrincipal
func (*Identity) SatisfiesPrincipalCallCount ¶
func (*Identity) SatisfiesPrincipalReturns ¶
func (*Identity) SatisfiesPrincipalReturnsOnCall ¶
func (*Identity) SerializeCallCount ¶
func (*Identity) SerializeReturns ¶
func (*Identity) SerializeReturnsOnCall ¶
func (*Identity) ValidateCallCount ¶
func (*Identity) ValidateReturns ¶
func (*Identity) ValidateReturnsOnCall ¶
func (*Identity) VerifyArgsForCall ¶
func (*Identity) VerifyCallCount ¶
func (*Identity) VerifyReturns ¶
func (*Identity) VerifyReturnsOnCall ¶
type MSPManager ¶
type MSPManager struct { DeserializeIdentityStub func(serializedIdentity []byte) (msp.Identity, error) IsWellFormedStub func(identity *mspprotos.SerializedIdentity) error SetupStub func(msps []msp.MSP) error GetMSPsStub func() (map[string]msp.MSP, error) // contains filtered or unexported fields }
func (*MSPManager) DeserializeIdentity ¶
func (fake *MSPManager) DeserializeIdentity(serializedIdentity []byte) (msp.Identity, error)
func (*MSPManager) DeserializeIdentityArgsForCall ¶
func (fake *MSPManager) DeserializeIdentityArgsForCall(i int) []byte
func (*MSPManager) DeserializeIdentityCallCount ¶
func (fake *MSPManager) DeserializeIdentityCallCount() int
func (*MSPManager) DeserializeIdentityReturns ¶
func (fake *MSPManager) DeserializeIdentityReturns(result1 msp.Identity, result2 error)
func (*MSPManager) DeserializeIdentityReturnsOnCall ¶
func (fake *MSPManager) DeserializeIdentityReturnsOnCall(i int, result1 msp.Identity, result2 error)
func (*MSPManager) GetMSPsCallCount ¶
func (fake *MSPManager) GetMSPsCallCount() int
func (*MSPManager) GetMSPsReturns ¶
func (fake *MSPManager) GetMSPsReturns(result1 map[string]msp.MSP, result2 error)
func (*MSPManager) GetMSPsReturnsOnCall ¶
func (*MSPManager) Invocations ¶
func (fake *MSPManager) Invocations() map[string][][]interface{}
func (*MSPManager) IsWellFormed ¶
func (fake *MSPManager) IsWellFormed(identity *mspprotos.SerializedIdentity) error
func (*MSPManager) IsWellFormedArgsForCall ¶
func (fake *MSPManager) IsWellFormedArgsForCall(i int) *mspprotos.SerializedIdentity
func (*MSPManager) IsWellFormedCallCount ¶
func (fake *MSPManager) IsWellFormedCallCount() int
func (*MSPManager) IsWellFormedReturns ¶
func (fake *MSPManager) IsWellFormedReturns(result1 error)
func (*MSPManager) IsWellFormedReturnsOnCall ¶
func (fake *MSPManager) IsWellFormedReturnsOnCall(i int, result1 error)
func (*MSPManager) SetupArgsForCall ¶
func (fake *MSPManager) SetupArgsForCall(i int) []msp.MSP
func (*MSPManager) SetupCallCount ¶
func (fake *MSPManager) SetupCallCount() int
func (*MSPManager) SetupReturns ¶
func (fake *MSPManager) SetupReturns(result1 error)
func (*MSPManager) SetupReturnsOnCall ¶
func (fake *MSPManager) SetupReturnsOnCall(i int, result1 error)
type Resources ¶
type Resources struct { ConfigtxValidatorStub func() configtx.Validator PolicyManagerStub func() policies.Manager ChannelConfigStub func() channelconfig.Channel OrdererConfigStub func() (channelconfig.Orderer, bool) ConsortiumsConfigStub func() (channelconfig.Consortiums, bool) ApplicationConfigStub func() (channelconfig.Application, bool) MSPManagerStub func() msp.MSPManager ValidateNewStub func(resources channelconfig.Resources) error // contains filtered or unexported fields }
func (*Resources) ApplicationConfig ¶
func (fake *Resources) ApplicationConfig() (channelconfig.Application, bool)
func (*Resources) ApplicationConfigCallCount ¶
func (*Resources) ApplicationConfigReturns ¶
func (fake *Resources) ApplicationConfigReturns(result1 channelconfig.Application, result2 bool)
func (*Resources) ApplicationConfigReturnsOnCall ¶
func (fake *Resources) ApplicationConfigReturnsOnCall(i int, result1 channelconfig.Application, result2 bool)
func (*Resources) ChannelConfig ¶
func (fake *Resources) ChannelConfig() channelconfig.Channel
func (*Resources) ChannelConfigCallCount ¶
func (*Resources) ChannelConfigReturns ¶
func (fake *Resources) ChannelConfigReturns(result1 channelconfig.Channel)
func (*Resources) ChannelConfigReturnsOnCall ¶
func (fake *Resources) ChannelConfigReturnsOnCall(i int, result1 channelconfig.Channel)
func (*Resources) ConfigtxValidator ¶
func (*Resources) ConfigtxValidatorCallCount ¶
func (*Resources) ConfigtxValidatorReturns ¶
func (*Resources) ConfigtxValidatorReturnsOnCall ¶
func (*Resources) ConsortiumsConfig ¶
func (fake *Resources) ConsortiumsConfig() (channelconfig.Consortiums, bool)
func (*Resources) ConsortiumsConfigCallCount ¶
func (*Resources) ConsortiumsConfigReturns ¶
func (fake *Resources) ConsortiumsConfigReturns(result1 channelconfig.Consortiums, result2 bool)
func (*Resources) ConsortiumsConfigReturnsOnCall ¶
func (fake *Resources) ConsortiumsConfigReturnsOnCall(i int, result1 channelconfig.Consortiums, result2 bool)
func (*Resources) Invocations ¶
func (*Resources) MSPManager ¶
func (fake *Resources) MSPManager() msp.MSPManager
func (*Resources) MSPManagerCallCount ¶
func (*Resources) MSPManagerReturns ¶
func (fake *Resources) MSPManagerReturns(result1 msp.MSPManager)
func (*Resources) MSPManagerReturnsOnCall ¶
func (fake *Resources) MSPManagerReturnsOnCall(i int, result1 msp.MSPManager)
func (*Resources) OrdererConfig ¶
func (fake *Resources) OrdererConfig() (channelconfig.Orderer, bool)
func (*Resources) OrdererConfigCallCount ¶
func (*Resources) OrdererConfigReturns ¶
func (fake *Resources) OrdererConfigReturns(result1 channelconfig.Orderer, result2 bool)
func (*Resources) OrdererConfigReturnsOnCall ¶
func (fake *Resources) OrdererConfigReturnsOnCall(i int, result1 channelconfig.Orderer, result2 bool)
func (*Resources) PolicyManager ¶
func (*Resources) PolicyManagerCallCount ¶
func (*Resources) PolicyManagerReturns ¶
func (*Resources) PolicyManagerReturnsOnCall ¶
func (*Resources) ValidateNew ¶
func (fake *Resources) ValidateNew(resources channelconfig.Resources) error
func (*Resources) ValidateNewArgsForCall ¶
func (fake *Resources) ValidateNewArgsForCall(i int) channelconfig.Resources
func (*Resources) ValidateNewCallCount ¶
func (*Resources) ValidateNewReturns ¶
func (*Resources) ValidateNewReturnsOnCall ¶
type Verifier ¶
type Verifier struct { VerifyByChannelStub func(channel string, sd *cb.SignedData) error // contains filtered or unexported fields }
func (*Verifier) Invocations ¶
func (*Verifier) VerifyByChannel ¶
func (fake *Verifier) VerifyByChannel(channel string, sd *cb.SignedData) error
func (*Verifier) VerifyByChannelArgsForCall ¶
func (fake *Verifier) VerifyByChannelArgsForCall(i int) (string, *cb.SignedData)