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.
Index ¶
- type ChannelConfigGetter
- func (fake *ChannelConfigGetter) GetChannelConfig(arg1 string) channelconfig.Resources
- func (fake *ChannelConfigGetter) GetChannelConfigArgsForCall(i int) string
- func (fake *ChannelConfigGetter) GetChannelConfigCallCount() int
- func (fake *ChannelConfigGetter) GetChannelConfigCalls(stub func(string) channelconfig.Resources)
- func (fake *ChannelConfigGetter) GetChannelConfigReturns(result1 channelconfig.Resources)
- func (fake *ChannelConfigGetter) GetChannelConfigReturnsOnCall(i int, result1 channelconfig.Resources)
- func (fake *ChannelConfigGetter) Invocations() map[string][][]interface{}
- type ChannelPolicyManagerGetter
- type ConfigBlockGetter
- func (fake *ConfigBlockGetter) GetCurrConfigBlock(arg1 string) *common.Block
- func (fake *ConfigBlockGetter) GetCurrConfigBlockArgsForCall(i int) string
- func (fake *ConfigBlockGetter) GetCurrConfigBlockCallCount() int
- func (fake *ConfigBlockGetter) GetCurrConfigBlockCalls(stub func(string) *common.Block)
- 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) ChannelID() string
- func (fake *ConfigtxValidator) ChannelIDCallCount() int
- func (fake *ConfigtxValidator) ChannelIDCalls(stub func() string)
- func (fake *ConfigtxValidator) ChannelIDReturns(result1 string)
- func (fake *ConfigtxValidator) ChannelIDReturnsOnCall(i int, result1 string)
- func (fake *ConfigtxValidator) ConfigProto() *common.Config
- func (fake *ConfigtxValidator) ConfigProtoCallCount() int
- func (fake *ConfigtxValidator) ConfigProtoCalls(stub func() *common.Config)
- func (fake *ConfigtxValidator) ConfigProtoReturns(result1 *common.Config)
- func (fake *ConfigtxValidator) ConfigProtoReturnsOnCall(i int, result1 *common.Config)
- func (fake *ConfigtxValidator) Invocations() map[string][][]interface{}
- func (fake *ConfigtxValidator) ProposeConfigUpdate(arg1 *common.Envelope) (*common.ConfigEnvelope, error)
- func (fake *ConfigtxValidator) ProposeConfigUpdateArgsForCall(i int) *common.Envelope
- func (fake *ConfigtxValidator) ProposeConfigUpdateCallCount() int
- func (fake *ConfigtxValidator) ProposeConfigUpdateCalls(stub func(*common.Envelope) (*common.ConfigEnvelope, error))
- func (fake *ConfigtxValidator) ProposeConfigUpdateReturns(result1 *common.ConfigEnvelope, result2 error)
- func (fake *ConfigtxValidator) ProposeConfigUpdateReturnsOnCall(i int, result1 *common.ConfigEnvelope, result2 error)
- func (fake *ConfigtxValidator) Sequence() uint64
- func (fake *ConfigtxValidator) SequenceCallCount() int
- func (fake *ConfigtxValidator) SequenceCalls(stub func() uint64)
- func (fake *ConfigtxValidator) SequenceReturns(result1 uint64)
- func (fake *ConfigtxValidator) SequenceReturnsOnCall(i int, result1 uint64)
- func (fake *ConfigtxValidator) Validate(arg1 *common.ConfigEnvelope) error
- func (fake *ConfigtxValidator) ValidateArgsForCall(i int) *common.ConfigEnvelope
- func (fake *ConfigtxValidator) ValidateCallCount() int
- func (fake *ConfigtxValidator) ValidateCalls(stub func(*common.ConfigEnvelope) error)
- func (fake *ConfigtxValidator) ValidateReturns(result1 error)
- func (fake *ConfigtxValidator) ValidateReturnsOnCall(i int, result1 error)
- type Evaluator
- func (fake *Evaluator) EvaluateIdentities(arg1 []msp.Identity) error
- func (fake *Evaluator) EvaluateIdentitiesArgsForCall(i int) []msp.Identity
- func (fake *Evaluator) EvaluateIdentitiesCallCount() int
- func (fake *Evaluator) EvaluateIdentitiesCalls(stub func([]msp.Identity) error)
- func (fake *Evaluator) EvaluateIdentitiesReturns(result1 error)
- func (fake *Evaluator) EvaluateIdentitiesReturnsOnCall(i int, result1 error)
- func (fake *Evaluator) EvaluateSignedData(arg1 []*protoutil.SignedData) error
- func (fake *Evaluator) EvaluateSignedDataArgsForCall(i int) []*protoutil.SignedData
- func (fake *Evaluator) EvaluateSignedDataCallCount() int
- func (fake *Evaluator) EvaluateSignedDataCalls(stub func([]*protoutil.SignedData) error)
- func (fake *Evaluator) EvaluateSignedDataReturns(result1 error)
- func (fake *Evaluator) EvaluateSignedDataReturnsOnCall(i int, result1 error)
- func (fake *Evaluator) Invocations() map[string][][]interface{}
- type GossipSupport
- type Identity
- func (fake *Identity) Anonymous() bool
- func (fake *Identity) AnonymousCallCount() int
- func (fake *Identity) AnonymousCalls(stub func() bool)
- 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) ExpiresAtCalls(stub func() time.Time)
- 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) GetIdentifierCalls(stub func() *msp.IdentityIdentifier)
- 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) GetMSPIdentifierCalls(stub func() string)
- 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) GetOrganizationalUnitsCalls(stub func() []*msp.OUIdentifier)
- 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(arg1 *mspa.MSPPrincipal) error
- func (fake *Identity) SatisfiesPrincipalArgsForCall(i int) *mspa.MSPPrincipal
- func (fake *Identity) SatisfiesPrincipalCallCount() int
- func (fake *Identity) SatisfiesPrincipalCalls(stub func(*mspa.MSPPrincipal) error)
- 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) SerializeCalls(stub func() ([]byte, error))
- 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) ValidateCalls(stub func() error)
- func (fake *Identity) ValidateReturns(result1 error)
- func (fake *Identity) ValidateReturnsOnCall(i int, result1 error)
- func (fake *Identity) Verify(arg1 []byte, arg2 []byte) error
- func (fake *Identity) VerifyArgsForCall(i int) ([]byte, []byte)
- func (fake *Identity) VerifyCallCount() int
- func (fake *Identity) VerifyCalls(stub func([]byte, []byte) error)
- func (fake *Identity) VerifyReturns(result1 error)
- func (fake *Identity) VerifyReturnsOnCall(i int, result1 error)
- type MSPManager
- func (fake *MSPManager) DeserializeIdentity(arg1 []byte) (msp.Identity, error)
- func (fake *MSPManager) DeserializeIdentityArgsForCall(i int) []byte
- func (fake *MSPManager) DeserializeIdentityCallCount() int
- func (fake *MSPManager) DeserializeIdentityCalls(stub func([]byte) (msp.Identity, error))
- 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) GetMSPsCalls(stub func() (map[string]msp.MSP, error))
- 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(arg1 *mspa.SerializedIdentity) error
- func (fake *MSPManager) IsWellFormedArgsForCall(i int) *mspa.SerializedIdentity
- func (fake *MSPManager) IsWellFormedCallCount() int
- func (fake *MSPManager) IsWellFormedCalls(stub func(*mspa.SerializedIdentity) error)
- func (fake *MSPManager) IsWellFormedReturns(result1 error)
- func (fake *MSPManager) IsWellFormedReturnsOnCall(i int, result1 error)
- func (fake *MSPManager) Setup(arg1 []msp.MSP) error
- func (fake *MSPManager) SetupArgsForCall(i int) []msp.MSP
- func (fake *MSPManager) SetupCallCount() int
- func (fake *MSPManager) SetupCalls(stub func([]msp.MSP) error)
- func (fake *MSPManager) SetupReturns(result1 error)
- func (fake *MSPManager) SetupReturnsOnCall(i int, result1 error)
- type PolicyManager
- type Resources
- func (fake *Resources) ApplicationConfig() (channelconfig.Application, bool)
- func (fake *Resources) ApplicationConfigCallCount() int
- func (fake *Resources) ApplicationConfigCalls(stub func() (channelconfig.Application, bool))
- 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) ChannelConfigCalls(stub func() channelconfig.Channel)
- 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) ConfigtxValidatorCalls(stub func() configtx.Validator)
- 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) ConsortiumsConfigCalls(stub func() (channelconfig.Consortiums, bool))
- 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) MSPManagerCalls(stub func() msp.MSPManager)
- 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) OrdererConfigCalls(stub func() (channelconfig.Orderer, bool))
- 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) PolicyManagerCalls(stub func() policies.Manager)
- func (fake *Resources) PolicyManagerReturns(result1 policies.Manager)
- func (fake *Resources) PolicyManagerReturnsOnCall(i int, result1 policies.Manager)
- func (fake *Resources) ValidateNew(arg1 channelconfig.Resources) error
- func (fake *Resources) ValidateNewArgsForCall(i int) channelconfig.Resources
- func (fake *Resources) ValidateNewCallCount() int
- func (fake *Resources) ValidateNewCalls(stub func(channelconfig.Resources) error)
- 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(arg1 string, arg2 *protoutil.SignedData) error
- func (fake *Verifier) VerifyByChannelArgsForCall(i int) (string, *protoutil.SignedData)
- func (fake *Verifier) VerifyByChannelCallCount() int
- func (fake *Verifier) VerifyByChannelCalls(stub func(string, *protoutil.SignedData) error)
- 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 ChannelConfigGetter ¶
type ChannelConfigGetter struct { GetChannelConfigStub func(string) channelconfig.Resources // contains filtered or unexported fields }
func (*ChannelConfigGetter) GetChannelConfig ¶
func (fake *ChannelConfigGetter) GetChannelConfig(arg1 string) channelconfig.Resources
func (*ChannelConfigGetter) GetChannelConfigArgsForCall ¶
func (fake *ChannelConfigGetter) GetChannelConfigArgsForCall(i int) string
func (*ChannelConfigGetter) GetChannelConfigCallCount ¶
func (fake *ChannelConfigGetter) GetChannelConfigCallCount() int
func (*ChannelConfigGetter) GetChannelConfigCalls ¶
func (fake *ChannelConfigGetter) GetChannelConfigCalls(stub func(string) channelconfig.Resources)
func (*ChannelConfigGetter) GetChannelConfigReturns ¶
func (fake *ChannelConfigGetter) GetChannelConfigReturns(result1 channelconfig.Resources)
func (*ChannelConfigGetter) GetChannelConfigReturnsOnCall ¶
func (fake *ChannelConfigGetter) GetChannelConfigReturnsOnCall(i int, result1 channelconfig.Resources)
func (*ChannelConfigGetter) Invocations ¶
func (fake *ChannelConfigGetter) Invocations() map[string][][]interface{}
type ChannelPolicyManagerGetter ¶
ChannelPolicyManagerGetter is an autogenerated mock type for the ChannelPolicyManagerGetter type
type ConfigBlockGetter ¶
type ConfigBlockGetter struct { GetCurrConfigBlockStub func(string) *common.Block // contains filtered or unexported fields }
func (*ConfigBlockGetter) GetCurrConfigBlock ¶
func (fake *ConfigBlockGetter) GetCurrConfigBlock(arg1 string) *common.Block
func (*ConfigBlockGetter) GetCurrConfigBlockArgsForCall ¶
func (fake *ConfigBlockGetter) GetCurrConfigBlockArgsForCall(i int) string
func (*ConfigBlockGetter) GetCurrConfigBlockCallCount ¶
func (fake *ConfigBlockGetter) GetCurrConfigBlockCallCount() int
func (*ConfigBlockGetter) GetCurrConfigBlockCalls ¶
func (fake *ConfigBlockGetter) GetCurrConfigBlockCalls(stub func(string) *common.Block)
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 { ChannelIDStub func() string ConfigProtoStub func() *common.Config ProposeConfigUpdateStub func(*common.Envelope) (*common.ConfigEnvelope, error) SequenceStub func() uint64 ValidateStub func(*common.ConfigEnvelope) error // contains filtered or unexported fields }
func (*ConfigtxValidator) ChannelID ¶
func (fake *ConfigtxValidator) ChannelID() string
func (*ConfigtxValidator) ChannelIDCallCount ¶
func (fake *ConfigtxValidator) ChannelIDCallCount() int
func (*ConfigtxValidator) ChannelIDCalls ¶
func (fake *ConfigtxValidator) ChannelIDCalls(stub func() string)
func (*ConfigtxValidator) ChannelIDReturns ¶
func (fake *ConfigtxValidator) ChannelIDReturns(result1 string)
func (*ConfigtxValidator) ChannelIDReturnsOnCall ¶
func (fake *ConfigtxValidator) ChannelIDReturnsOnCall(i int, result1 string)
func (*ConfigtxValidator) ConfigProto ¶
func (fake *ConfigtxValidator) ConfigProto() *common.Config
func (*ConfigtxValidator) ConfigProtoCallCount ¶
func (fake *ConfigtxValidator) ConfigProtoCallCount() int
func (*ConfigtxValidator) ConfigProtoCalls ¶
func (fake *ConfigtxValidator) ConfigProtoCalls(stub func() *common.Config)
func (*ConfigtxValidator) ConfigProtoReturns ¶
func (fake *ConfigtxValidator) ConfigProtoReturns(result1 *common.Config)
func (*ConfigtxValidator) ConfigProtoReturnsOnCall ¶
func (fake *ConfigtxValidator) ConfigProtoReturnsOnCall(i int, result1 *common.Config)
func (*ConfigtxValidator) Invocations ¶
func (fake *ConfigtxValidator) Invocations() map[string][][]interface{}
func (*ConfigtxValidator) ProposeConfigUpdate ¶
func (fake *ConfigtxValidator) ProposeConfigUpdate(arg1 *common.Envelope) (*common.ConfigEnvelope, error)
func (*ConfigtxValidator) ProposeConfigUpdateArgsForCall ¶
func (fake *ConfigtxValidator) ProposeConfigUpdateArgsForCall(i int) *common.Envelope
func (*ConfigtxValidator) ProposeConfigUpdateCallCount ¶
func (fake *ConfigtxValidator) ProposeConfigUpdateCallCount() int
func (*ConfigtxValidator) ProposeConfigUpdateCalls ¶
func (fake *ConfigtxValidator) ProposeConfigUpdateCalls(stub func(*common.Envelope) (*common.ConfigEnvelope, error))
func (*ConfigtxValidator) ProposeConfigUpdateReturns ¶
func (fake *ConfigtxValidator) ProposeConfigUpdateReturns(result1 *common.ConfigEnvelope, result2 error)
func (*ConfigtxValidator) ProposeConfigUpdateReturnsOnCall ¶
func (fake *ConfigtxValidator) ProposeConfigUpdateReturnsOnCall(i int, result1 *common.ConfigEnvelope, result2 error)
func (*ConfigtxValidator) Sequence ¶
func (fake *ConfigtxValidator) Sequence() uint64
func (*ConfigtxValidator) SequenceCallCount ¶
func (fake *ConfigtxValidator) SequenceCallCount() int
func (*ConfigtxValidator) SequenceCalls ¶
func (fake *ConfigtxValidator) SequenceCalls(stub func() uint64)
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(arg1 *common.ConfigEnvelope) error
func (*ConfigtxValidator) ValidateArgsForCall ¶
func (fake *ConfigtxValidator) ValidateArgsForCall(i int) *common.ConfigEnvelope
func (*ConfigtxValidator) ValidateCallCount ¶
func (fake *ConfigtxValidator) ValidateCallCount() int
func (*ConfigtxValidator) ValidateCalls ¶
func (fake *ConfigtxValidator) ValidateCalls(stub func(*common.ConfigEnvelope) error)
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 { EvaluateIdentitiesStub func([]msp.Identity) error EvaluateSignedDataStub func([]*protoutil.SignedData) error // contains filtered or unexported fields }
func (*Evaluator) EvaluateIdentities ¶
func (*Evaluator) EvaluateIdentitiesArgsForCall ¶
func (*Evaluator) EvaluateIdentitiesCallCount ¶
func (*Evaluator) EvaluateIdentitiesCalls ¶
func (*Evaluator) EvaluateIdentitiesReturns ¶
func (*Evaluator) EvaluateIdentitiesReturnsOnCall ¶
func (*Evaluator) EvaluateSignedData ¶
func (fake *Evaluator) EvaluateSignedData(arg1 []*protoutil.SignedData) error
func (*Evaluator) EvaluateSignedDataArgsForCall ¶
func (fake *Evaluator) EvaluateSignedDataArgsForCall(i int) []*protoutil.SignedData
func (*Evaluator) EvaluateSignedDataCallCount ¶
func (*Evaluator) EvaluateSignedDataCalls ¶
func (fake *Evaluator) EvaluateSignedDataCalls(stub func([]*protoutil.SignedData) error)
func (*Evaluator) EvaluateSignedDataReturns ¶
func (*Evaluator) EvaluateSignedDataReturnsOnCall ¶
func (*Evaluator) Invocations ¶
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() discovery.Members
Peers provides a mock function with given fields:
func (*GossipSupport) PeersOfChannel ¶
func (_m *GossipSupport) PeersOfChannel(_a0 common.ChannelID) discovery.Members
PeersOfChannel provides a mock function with given fields: _a0
type Identity ¶
type Identity struct { AnonymousStub func() bool ExpiresAtStub func() time.Time GetIdentifierStub func() *msp.IdentityIdentifier GetMSPIdentifierStub func() string GetOrganizationalUnitsStub func() []*msp.OUIdentifier SatisfiesPrincipalStub func(*mspa.MSPPrincipal) error SerializeStub func() ([]byte, error) ValidateStub func() error VerifyStub func([]byte, []byte) error // contains filtered or unexported fields }
func (*Identity) AnonymousCallCount ¶
func (*Identity) AnonymousCalls ¶
func (*Identity) AnonymousReturns ¶
func (*Identity) AnonymousReturnsOnCall ¶
func (*Identity) ExpiresAtCallCount ¶
func (*Identity) ExpiresAtCalls ¶
func (*Identity) ExpiresAtReturns ¶
func (*Identity) ExpiresAtReturnsOnCall ¶
func (*Identity) GetIdentifier ¶
func (fake *Identity) GetIdentifier() *msp.IdentityIdentifier
func (*Identity) GetIdentifierCallCount ¶
func (*Identity) GetIdentifierCalls ¶
func (fake *Identity) GetIdentifierCalls(stub func() *msp.IdentityIdentifier)
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) GetMSPIdentifierCalls ¶
func (*Identity) GetMSPIdentifierReturns ¶
func (*Identity) GetMSPIdentifierReturnsOnCall ¶
func (*Identity) GetOrganizationalUnits ¶
func (fake *Identity) GetOrganizationalUnits() []*msp.OUIdentifier
func (*Identity) GetOrganizationalUnitsCallCount ¶
func (*Identity) GetOrganizationalUnitsCalls ¶
func (fake *Identity) GetOrganizationalUnitsCalls(stub func() []*msp.OUIdentifier)
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(arg1 *mspa.MSPPrincipal) error
func (*Identity) SatisfiesPrincipalArgsForCall ¶
func (fake *Identity) SatisfiesPrincipalArgsForCall(i int) *mspa.MSPPrincipal
func (*Identity) SatisfiesPrincipalCallCount ¶
func (*Identity) SatisfiesPrincipalCalls ¶
func (fake *Identity) SatisfiesPrincipalCalls(stub func(*mspa.MSPPrincipal) error)
func (*Identity) SatisfiesPrincipalReturns ¶
func (*Identity) SatisfiesPrincipalReturnsOnCall ¶
func (*Identity) SerializeCallCount ¶
func (*Identity) SerializeCalls ¶
func (*Identity) SerializeReturns ¶
func (*Identity) SerializeReturnsOnCall ¶
func (*Identity) ValidateCallCount ¶
func (*Identity) ValidateCalls ¶
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([]byte) (msp.Identity, error) GetMSPsStub func() (map[string]msp.MSP, error) IsWellFormedStub func(*mspa.SerializedIdentity) error SetupStub func([]msp.MSP) error // contains filtered or unexported fields }
func (*MSPManager) DeserializeIdentity ¶
func (fake *MSPManager) DeserializeIdentity(arg1 []byte) (msp.Identity, error)
func (*MSPManager) DeserializeIdentityArgsForCall ¶
func (fake *MSPManager) DeserializeIdentityArgsForCall(i int) []byte
func (*MSPManager) DeserializeIdentityCallCount ¶
func (fake *MSPManager) DeserializeIdentityCallCount() int
func (*MSPManager) DeserializeIdentityCalls ¶
func (fake *MSPManager) DeserializeIdentityCalls(stub func([]byte) (msp.Identity, error))
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) GetMSPsCalls ¶
func (fake *MSPManager) GetMSPsCalls(stub func() (map[string]msp.MSP, error))
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(arg1 *mspa.SerializedIdentity) error
func (*MSPManager) IsWellFormedArgsForCall ¶
func (fake *MSPManager) IsWellFormedArgsForCall(i int) *mspa.SerializedIdentity
func (*MSPManager) IsWellFormedCallCount ¶
func (fake *MSPManager) IsWellFormedCallCount() int
func (*MSPManager) IsWellFormedCalls ¶
func (fake *MSPManager) IsWellFormedCalls(stub func(*mspa.SerializedIdentity) error)
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) SetupCalls ¶
func (fake *MSPManager) SetupCalls(stub func([]msp.MSP) error)
func (*MSPManager) SetupReturns ¶
func (fake *MSPManager) SetupReturns(result1 error)
func (*MSPManager) SetupReturnsOnCall ¶
func (fake *MSPManager) SetupReturnsOnCall(i int, result1 error)
type PolicyManager ¶
PolicyManager is an autogenerated mock type for the PolicyManager type
type Resources ¶
type Resources 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 (*Resources) ApplicationConfig ¶
func (fake *Resources) ApplicationConfig() (channelconfig.Application, bool)
func (*Resources) ApplicationConfigCallCount ¶
func (*Resources) ApplicationConfigCalls ¶
func (fake *Resources) ApplicationConfigCalls(stub func() (channelconfig.Application, bool))
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) ChannelConfigCalls ¶
func (fake *Resources) ChannelConfigCalls(stub func() channelconfig.Channel)
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) ConfigtxValidatorCalls ¶
func (*Resources) ConfigtxValidatorReturns ¶
func (*Resources) ConfigtxValidatorReturnsOnCall ¶
func (*Resources) ConsortiumsConfig ¶
func (fake *Resources) ConsortiumsConfig() (channelconfig.Consortiums, bool)
func (*Resources) ConsortiumsConfigCallCount ¶
func (*Resources) ConsortiumsConfigCalls ¶
func (fake *Resources) ConsortiumsConfigCalls(stub func() (channelconfig.Consortiums, bool))
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) MSPManagerCalls ¶
func (fake *Resources) MSPManagerCalls(stub func() msp.MSPManager)
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) OrdererConfigCalls ¶
func (fake *Resources) OrdererConfigCalls(stub func() (channelconfig.Orderer, bool))
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) PolicyManagerCalls ¶
func (*Resources) PolicyManagerReturns ¶
func (*Resources) PolicyManagerReturnsOnCall ¶
func (*Resources) ValidateNew ¶
func (fake *Resources) ValidateNew(arg1 channelconfig.Resources) error
func (*Resources) ValidateNewArgsForCall ¶
func (fake *Resources) ValidateNewArgsForCall(i int) channelconfig.Resources
func (*Resources) ValidateNewCallCount ¶
func (*Resources) ValidateNewCalls ¶
func (fake *Resources) ValidateNewCalls(stub func(channelconfig.Resources) error)
func (*Resources) ValidateNewReturns ¶
func (*Resources) ValidateNewReturnsOnCall ¶
type Verifier ¶
type Verifier struct { VerifyByChannelStub func(string, *protoutil.SignedData) error // contains filtered or unexported fields }
func (*Verifier) Invocations ¶
func (*Verifier) VerifyByChannel ¶
func (fake *Verifier) VerifyByChannel(arg1 string, arg2 *protoutil.SignedData) error
func (*Verifier) VerifyByChannelArgsForCall ¶
func (fake *Verifier) VerifyByChannelArgsForCall(i int) (string, *protoutil.SignedData)
func (*Verifier) VerifyByChannelCallCount ¶
func (*Verifier) VerifyByChannelCalls ¶
func (fake *Verifier) VerifyByChannelCalls(stub func(string, *protoutil.SignedData) error)