fabric: github.com/hyperledger/fabric/discovery/support/mocks Index | Files

package mocks

import "github.com/hyperledger/fabric/discovery/support/mocks"

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

Package Files

channel_config_getter.go channel_policy_manager_getter.go config_block_getter.go configtx_validator.go evaluator.go gossip_support.go identity.go msp_manager.go policy_manager.go resources.go verifier.go

type ChannelConfigGetter Uses

type ChannelConfigGetter struct {
    GetChannelConfigStub func(string) channelconfig.Resources
    // contains filtered or unexported fields
}

func (*ChannelConfigGetter) GetChannelConfig Uses

func (fake *ChannelConfigGetter) GetChannelConfig(arg1 string) channelconfig.Resources

func (*ChannelConfigGetter) GetChannelConfigArgsForCall Uses

func (fake *ChannelConfigGetter) GetChannelConfigArgsForCall(i int) string

func (*ChannelConfigGetter) GetChannelConfigCallCount Uses

func (fake *ChannelConfigGetter) GetChannelConfigCallCount() int

func (*ChannelConfigGetter) GetChannelConfigCalls Uses

func (fake *ChannelConfigGetter) GetChannelConfigCalls(stub func(string) channelconfig.Resources)

func (*ChannelConfigGetter) GetChannelConfigReturns Uses

func (fake *ChannelConfigGetter) GetChannelConfigReturns(result1 channelconfig.Resources)

func (*ChannelConfigGetter) GetChannelConfigReturnsOnCall Uses

func (fake *ChannelConfigGetter) GetChannelConfigReturnsOnCall(i int, result1 channelconfig.Resources)

func (*ChannelConfigGetter) Invocations Uses

func (fake *ChannelConfigGetter) Invocations() map[string][][]interface{}

type ChannelPolicyManagerGetter Uses

type ChannelPolicyManagerGetter struct {
    mock.Mock
}

ChannelPolicyManagerGetter is an autogenerated mock type for the ChannelPolicyManagerGetter type

func (*ChannelPolicyManagerGetter) Manager Uses

func (_m *ChannelPolicyManagerGetter) Manager(channelID string) policies.Manager

Manager provides a mock function with given fields: channelID

type ConfigBlockGetter Uses

type ConfigBlockGetter struct {
    GetCurrConfigBlockStub func(string) *common.Block
    // contains filtered or unexported fields
}

func (*ConfigBlockGetter) GetCurrConfigBlock Uses

func (fake *ConfigBlockGetter) GetCurrConfigBlock(arg1 string) *common.Block

func (*ConfigBlockGetter) GetCurrConfigBlockArgsForCall Uses

func (fake *ConfigBlockGetter) GetCurrConfigBlockArgsForCall(i int) string

func (*ConfigBlockGetter) GetCurrConfigBlockCallCount Uses

func (fake *ConfigBlockGetter) GetCurrConfigBlockCallCount() int

func (*ConfigBlockGetter) GetCurrConfigBlockCalls Uses

func (fake *ConfigBlockGetter) GetCurrConfigBlockCalls(stub func(string) *common.Block)

func (*ConfigBlockGetter) GetCurrConfigBlockReturns Uses

func (fake *ConfigBlockGetter) GetCurrConfigBlockReturns(result1 *common.Block)

func (*ConfigBlockGetter) GetCurrConfigBlockReturnsOnCall Uses

func (fake *ConfigBlockGetter) GetCurrConfigBlockReturnsOnCall(i int, result1 *common.Block)

func (*ConfigBlockGetter) Invocations Uses

func (fake *ConfigBlockGetter) Invocations() map[string][][]interface{}

type ConfigtxValidator Uses

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 Uses

func (fake *ConfigtxValidator) ChannelID() string

func (*ConfigtxValidator) ChannelIDCallCount Uses

func (fake *ConfigtxValidator) ChannelIDCallCount() int

func (*ConfigtxValidator) ChannelIDCalls Uses

func (fake *ConfigtxValidator) ChannelIDCalls(stub func() string)

func (*ConfigtxValidator) ChannelIDReturns Uses

func (fake *ConfigtxValidator) ChannelIDReturns(result1 string)

func (*ConfigtxValidator) ChannelIDReturnsOnCall Uses

func (fake *ConfigtxValidator) ChannelIDReturnsOnCall(i int, result1 string)

func (*ConfigtxValidator) ConfigProto Uses

func (fake *ConfigtxValidator) ConfigProto() *common.Config

func (*ConfigtxValidator) ConfigProtoCallCount Uses

func (fake *ConfigtxValidator) ConfigProtoCallCount() int

func (*ConfigtxValidator) ConfigProtoCalls Uses

func (fake *ConfigtxValidator) ConfigProtoCalls(stub func() *common.Config)

func (*ConfigtxValidator) ConfigProtoReturns Uses

func (fake *ConfigtxValidator) ConfigProtoReturns(result1 *common.Config)

func (*ConfigtxValidator) ConfigProtoReturnsOnCall Uses

func (fake *ConfigtxValidator) ConfigProtoReturnsOnCall(i int, result1 *common.Config)

func (*ConfigtxValidator) Invocations Uses

func (fake *ConfigtxValidator) Invocations() map[string][][]interface{}

func (*ConfigtxValidator) ProposeConfigUpdate Uses

func (fake *ConfigtxValidator) ProposeConfigUpdate(arg1 *common.Envelope) (*common.ConfigEnvelope, error)

func (*ConfigtxValidator) ProposeConfigUpdateArgsForCall Uses

func (fake *ConfigtxValidator) ProposeConfigUpdateArgsForCall(i int) *common.Envelope

func (*ConfigtxValidator) ProposeConfigUpdateCallCount Uses

func (fake *ConfigtxValidator) ProposeConfigUpdateCallCount() int

func (*ConfigtxValidator) ProposeConfigUpdateCalls Uses

func (fake *ConfigtxValidator) ProposeConfigUpdateCalls(stub func(*common.Envelope) (*common.ConfigEnvelope, error))

func (*ConfigtxValidator) ProposeConfigUpdateReturns Uses

func (fake *ConfigtxValidator) ProposeConfigUpdateReturns(result1 *common.ConfigEnvelope, result2 error)

func (*ConfigtxValidator) ProposeConfigUpdateReturnsOnCall Uses

func (fake *ConfigtxValidator) ProposeConfigUpdateReturnsOnCall(i int, result1 *common.ConfigEnvelope, result2 error)

func (*ConfigtxValidator) Sequence Uses

func (fake *ConfigtxValidator) Sequence() uint64

func (*ConfigtxValidator) SequenceCallCount Uses

func (fake *ConfigtxValidator) SequenceCallCount() int

func (*ConfigtxValidator) SequenceCalls Uses

func (fake *ConfigtxValidator) SequenceCalls(stub func() uint64)

func (*ConfigtxValidator) SequenceReturns Uses

func (fake *ConfigtxValidator) SequenceReturns(result1 uint64)

func (*ConfigtxValidator) SequenceReturnsOnCall Uses

func (fake *ConfigtxValidator) SequenceReturnsOnCall(i int, result1 uint64)

func (*ConfigtxValidator) Validate Uses

func (fake *ConfigtxValidator) Validate(arg1 *common.ConfigEnvelope) error

func (*ConfigtxValidator) ValidateArgsForCall Uses

func (fake *ConfigtxValidator) ValidateArgsForCall(i int) *common.ConfigEnvelope

func (*ConfigtxValidator) ValidateCallCount Uses

func (fake *ConfigtxValidator) ValidateCallCount() int

func (*ConfigtxValidator) ValidateCalls Uses

func (fake *ConfigtxValidator) ValidateCalls(stub func(*common.ConfigEnvelope) error)

func (*ConfigtxValidator) ValidateReturns Uses

func (fake *ConfigtxValidator) ValidateReturns(result1 error)

func (*ConfigtxValidator) ValidateReturnsOnCall Uses

func (fake *ConfigtxValidator) ValidateReturnsOnCall(i int, result1 error)

type Evaluator Uses

type Evaluator struct {
    EvaluateIdentitiesStub func([]msp.Identity) error

    EvaluateSignedDataStub func([]*protoutil.SignedData) error
    // contains filtered or unexported fields
}

func (*Evaluator) EvaluateIdentities Uses

func (fake *Evaluator) EvaluateIdentities(arg1 []msp.Identity) error

func (*Evaluator) EvaluateIdentitiesArgsForCall Uses

func (fake *Evaluator) EvaluateIdentitiesArgsForCall(i int) []msp.Identity

func (*Evaluator) EvaluateIdentitiesCallCount Uses

func (fake *Evaluator) EvaluateIdentitiesCallCount() int

func (*Evaluator) EvaluateIdentitiesCalls Uses

func (fake *Evaluator) EvaluateIdentitiesCalls(stub func([]msp.Identity) error)

func (*Evaluator) EvaluateIdentitiesReturns Uses

func (fake *Evaluator) EvaluateIdentitiesReturns(result1 error)

func (*Evaluator) EvaluateIdentitiesReturnsOnCall Uses

func (fake *Evaluator) EvaluateIdentitiesReturnsOnCall(i int, result1 error)

func (*Evaluator) EvaluateSignedData Uses

func (fake *Evaluator) EvaluateSignedData(arg1 []*protoutil.SignedData) error

func (*Evaluator) EvaluateSignedDataArgsForCall Uses

func (fake *Evaluator) EvaluateSignedDataArgsForCall(i int) []*protoutil.SignedData

func (*Evaluator) EvaluateSignedDataCallCount Uses

func (fake *Evaluator) EvaluateSignedDataCallCount() int

func (*Evaluator) EvaluateSignedDataCalls Uses

func (fake *Evaluator) EvaluateSignedDataCalls(stub func([]*protoutil.SignedData) error)

func (*Evaluator) EvaluateSignedDataReturns Uses

func (fake *Evaluator) EvaluateSignedDataReturns(result1 error)

func (*Evaluator) EvaluateSignedDataReturnsOnCall Uses

func (fake *Evaluator) EvaluateSignedDataReturnsOnCall(i int, result1 error)

func (*Evaluator) Invocations Uses

func (fake *Evaluator) Invocations() map[string][][]interface{}

type GossipSupport Uses

type GossipSupport struct {
    mock.Mock
}

GossipSupport is an autogenerated mock type for the GossipSupport type

func (*GossipSupport) ChannelExists Uses

func (_m *GossipSupport) ChannelExists(channel string) bool

ChannelExists provides a mock function with given fields: channel

func (*GossipSupport) IdentityInfo Uses

func (_m *GossipSupport) IdentityInfo() api.PeerIdentitySet

IdentityInfo provides a mock function with given fields:

func (*GossipSupport) Peers Uses

func (_m *GossipSupport) Peers() discovery.Members

Peers provides a mock function with given fields:

func (*GossipSupport) PeersOfChannel Uses

func (_m *GossipSupport) PeersOfChannel(_a0 common.ChannelID) discovery.Members

PeersOfChannel provides a mock function with given fields: _a0

type Identity Uses

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) Anonymous Uses

func (fake *Identity) Anonymous() bool

func (*Identity) AnonymousCallCount Uses

func (fake *Identity) AnonymousCallCount() int

func (*Identity) AnonymousCalls Uses

func (fake *Identity) AnonymousCalls(stub func() bool)

func (*Identity) AnonymousReturns Uses

func (fake *Identity) AnonymousReturns(result1 bool)

func (*Identity) AnonymousReturnsOnCall Uses

func (fake *Identity) AnonymousReturnsOnCall(i int, result1 bool)

func (*Identity) ExpiresAt Uses

func (fake *Identity) ExpiresAt() time.Time

func (*Identity) ExpiresAtCallCount Uses

func (fake *Identity) ExpiresAtCallCount() int

func (*Identity) ExpiresAtCalls Uses

func (fake *Identity) ExpiresAtCalls(stub func() time.Time)

func (*Identity) ExpiresAtReturns Uses

func (fake *Identity) ExpiresAtReturns(result1 time.Time)

func (*Identity) ExpiresAtReturnsOnCall Uses

func (fake *Identity) ExpiresAtReturnsOnCall(i int, result1 time.Time)

func (*Identity) GetIdentifier Uses

func (fake *Identity) GetIdentifier() *msp.IdentityIdentifier

func (*Identity) GetIdentifierCallCount Uses

func (fake *Identity) GetIdentifierCallCount() int

func (*Identity) GetIdentifierCalls Uses

func (fake *Identity) GetIdentifierCalls(stub func() *msp.IdentityIdentifier)

func (*Identity) GetIdentifierReturns Uses

func (fake *Identity) GetIdentifierReturns(result1 *msp.IdentityIdentifier)

func (*Identity) GetIdentifierReturnsOnCall Uses

func (fake *Identity) GetIdentifierReturnsOnCall(i int, result1 *msp.IdentityIdentifier)

func (*Identity) GetMSPIdentifier Uses

func (fake *Identity) GetMSPIdentifier() string

func (*Identity) GetMSPIdentifierCallCount Uses

func (fake *Identity) GetMSPIdentifierCallCount() int

func (*Identity) GetMSPIdentifierCalls Uses

func (fake *Identity) GetMSPIdentifierCalls(stub func() string)

func (*Identity) GetMSPIdentifierReturns Uses

func (fake *Identity) GetMSPIdentifierReturns(result1 string)

func (*Identity) GetMSPIdentifierReturnsOnCall Uses

func (fake *Identity) GetMSPIdentifierReturnsOnCall(i int, result1 string)

func (*Identity) GetOrganizationalUnits Uses

func (fake *Identity) GetOrganizationalUnits() []*msp.OUIdentifier

func (*Identity) GetOrganizationalUnitsCallCount Uses

func (fake *Identity) GetOrganizationalUnitsCallCount() int

func (*Identity) GetOrganizationalUnitsCalls Uses

func (fake *Identity) GetOrganizationalUnitsCalls(stub func() []*msp.OUIdentifier)

func (*Identity) GetOrganizationalUnitsReturns Uses

func (fake *Identity) GetOrganizationalUnitsReturns(result1 []*msp.OUIdentifier)

func (*Identity) GetOrganizationalUnitsReturnsOnCall Uses

func (fake *Identity) GetOrganizationalUnitsReturnsOnCall(i int, result1 []*msp.OUIdentifier)

func (*Identity) Invocations Uses

func (fake *Identity) Invocations() map[string][][]interface{}

func (*Identity) SatisfiesPrincipal Uses

func (fake *Identity) SatisfiesPrincipal(arg1 *mspa.MSPPrincipal) error

func (*Identity) SatisfiesPrincipalArgsForCall Uses

func (fake *Identity) SatisfiesPrincipalArgsForCall(i int) *mspa.MSPPrincipal

func (*Identity) SatisfiesPrincipalCallCount Uses

func (fake *Identity) SatisfiesPrincipalCallCount() int

func (*Identity) SatisfiesPrincipalCalls Uses

func (fake *Identity) SatisfiesPrincipalCalls(stub func(*mspa.MSPPrincipal) error)

func (*Identity) SatisfiesPrincipalReturns Uses

func (fake *Identity) SatisfiesPrincipalReturns(result1 error)

func (*Identity) SatisfiesPrincipalReturnsOnCall Uses

func (fake *Identity) SatisfiesPrincipalReturnsOnCall(i int, result1 error)

func (*Identity) Serialize Uses

func (fake *Identity) Serialize() ([]byte, error)

func (*Identity) SerializeCallCount Uses

func (fake *Identity) SerializeCallCount() int

func (*Identity) SerializeCalls Uses

func (fake *Identity) SerializeCalls(stub func() ([]byte, error))

func (*Identity) SerializeReturns Uses

func (fake *Identity) SerializeReturns(result1 []byte, result2 error)

func (*Identity) SerializeReturnsOnCall Uses

func (fake *Identity) SerializeReturnsOnCall(i int, result1 []byte, result2 error)

func (*Identity) Validate Uses

func (fake *Identity) Validate() error

func (*Identity) ValidateCallCount Uses

func (fake *Identity) ValidateCallCount() int

func (*Identity) ValidateCalls Uses

func (fake *Identity) ValidateCalls(stub func() error)

func (*Identity) ValidateReturns Uses

func (fake *Identity) ValidateReturns(result1 error)

func (*Identity) ValidateReturnsOnCall Uses

func (fake *Identity) ValidateReturnsOnCall(i int, result1 error)

func (*Identity) Verify Uses

func (fake *Identity) Verify(arg1 []byte, arg2 []byte) error

func (*Identity) VerifyArgsForCall Uses

func (fake *Identity) VerifyArgsForCall(i int) ([]byte, []byte)

func (*Identity) VerifyCallCount Uses

func (fake *Identity) VerifyCallCount() int

func (*Identity) VerifyCalls Uses

func (fake *Identity) VerifyCalls(stub func([]byte, []byte) error)

func (*Identity) VerifyReturns Uses

func (fake *Identity) VerifyReturns(result1 error)

func (*Identity) VerifyReturnsOnCall Uses

func (fake *Identity) VerifyReturnsOnCall(i int, result1 error)

type MSPManager Uses

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 Uses

func (fake *MSPManager) DeserializeIdentity(arg1 []byte) (msp.Identity, error)

func (*MSPManager) DeserializeIdentityArgsForCall Uses

func (fake *MSPManager) DeserializeIdentityArgsForCall(i int) []byte

func (*MSPManager) DeserializeIdentityCallCount Uses

func (fake *MSPManager) DeserializeIdentityCallCount() int

func (*MSPManager) DeserializeIdentityCalls Uses

func (fake *MSPManager) DeserializeIdentityCalls(stub func([]byte) (msp.Identity, error))

func (*MSPManager) DeserializeIdentityReturns Uses

func (fake *MSPManager) DeserializeIdentityReturns(result1 msp.Identity, result2 error)

func (*MSPManager) DeserializeIdentityReturnsOnCall Uses

func (fake *MSPManager) DeserializeIdentityReturnsOnCall(i int, result1 msp.Identity, result2 error)

func (*MSPManager) GetMSPs Uses

func (fake *MSPManager) GetMSPs() (map[string]msp.MSP, error)

func (*MSPManager) GetMSPsCallCount Uses

func (fake *MSPManager) GetMSPsCallCount() int

func (*MSPManager) GetMSPsCalls Uses

func (fake *MSPManager) GetMSPsCalls(stub func() (map[string]msp.MSP, error))

func (*MSPManager) GetMSPsReturns Uses

func (fake *MSPManager) GetMSPsReturns(result1 map[string]msp.MSP, result2 error)

func (*MSPManager) GetMSPsReturnsOnCall Uses

func (fake *MSPManager) GetMSPsReturnsOnCall(i int, result1 map[string]msp.MSP, result2 error)

func (*MSPManager) Invocations Uses

func (fake *MSPManager) Invocations() map[string][][]interface{}

func (*MSPManager) IsWellFormed Uses

func (fake *MSPManager) IsWellFormed(arg1 *mspa.SerializedIdentity) error

func (*MSPManager) IsWellFormedArgsForCall Uses

func (fake *MSPManager) IsWellFormedArgsForCall(i int) *mspa.SerializedIdentity

func (*MSPManager) IsWellFormedCallCount Uses

func (fake *MSPManager) IsWellFormedCallCount() int

func (*MSPManager) IsWellFormedCalls Uses

func (fake *MSPManager) IsWellFormedCalls(stub func(*mspa.SerializedIdentity) error)

func (*MSPManager) IsWellFormedReturns Uses

func (fake *MSPManager) IsWellFormedReturns(result1 error)

func (*MSPManager) IsWellFormedReturnsOnCall Uses

func (fake *MSPManager) IsWellFormedReturnsOnCall(i int, result1 error)

func (*MSPManager) Setup Uses

func (fake *MSPManager) Setup(arg1 []msp.MSP) error

func (*MSPManager) SetupArgsForCall Uses

func (fake *MSPManager) SetupArgsForCall(i int) []msp.MSP

func (*MSPManager) SetupCallCount Uses

func (fake *MSPManager) SetupCallCount() int

func (*MSPManager) SetupCalls Uses

func (fake *MSPManager) SetupCalls(stub func([]msp.MSP) error)

func (*MSPManager) SetupReturns Uses

func (fake *MSPManager) SetupReturns(result1 error)

func (*MSPManager) SetupReturnsOnCall Uses

func (fake *MSPManager) SetupReturnsOnCall(i int, result1 error)

type PolicyManager Uses

type PolicyManager struct {
    mock.Mock
}

PolicyManager is an autogenerated mock type for the PolicyManager type

func (*PolicyManager) GetPolicy Uses

func (_m *PolicyManager) GetPolicy(id string) (policies.Policy, bool)

GetPolicy provides a mock function with given fields: id

func (*PolicyManager) Manager Uses

func (_m *PolicyManager) Manager(path []string) (policies.Manager, bool)

Manager provides a mock function with given fields: path

type Resources Uses

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 Uses

func (fake *Resources) ApplicationConfig() (channelconfig.Application, bool)

func (*Resources) ApplicationConfigCallCount Uses

func (fake *Resources) ApplicationConfigCallCount() int

func (*Resources) ApplicationConfigCalls Uses

func (fake *Resources) ApplicationConfigCalls(stub func() (channelconfig.Application, bool))

func (*Resources) ApplicationConfigReturns Uses

func (fake *Resources) ApplicationConfigReturns(result1 channelconfig.Application, result2 bool)

func (*Resources) ApplicationConfigReturnsOnCall Uses

func (fake *Resources) ApplicationConfigReturnsOnCall(i int, result1 channelconfig.Application, result2 bool)

func (*Resources) ChannelConfig Uses

func (fake *Resources) ChannelConfig() channelconfig.Channel

func (*Resources) ChannelConfigCallCount Uses

func (fake *Resources) ChannelConfigCallCount() int

func (*Resources) ChannelConfigCalls Uses

func (fake *Resources) ChannelConfigCalls(stub func() channelconfig.Channel)

func (*Resources) ChannelConfigReturns Uses

func (fake *Resources) ChannelConfigReturns(result1 channelconfig.Channel)

func (*Resources) ChannelConfigReturnsOnCall Uses

func (fake *Resources) ChannelConfigReturnsOnCall(i int, result1 channelconfig.Channel)

func (*Resources) ConfigtxValidator Uses

func (fake *Resources) ConfigtxValidator() configtx.Validator

func (*Resources) ConfigtxValidatorCallCount Uses

func (fake *Resources) ConfigtxValidatorCallCount() int

func (*Resources) ConfigtxValidatorCalls Uses

func (fake *Resources) ConfigtxValidatorCalls(stub func() configtx.Validator)

func (*Resources) ConfigtxValidatorReturns Uses

func (fake *Resources) ConfigtxValidatorReturns(result1 configtx.Validator)

func (*Resources) ConfigtxValidatorReturnsOnCall Uses

func (fake *Resources) ConfigtxValidatorReturnsOnCall(i int, result1 configtx.Validator)

func (*Resources) ConsortiumsConfig Uses

func (fake *Resources) ConsortiumsConfig() (channelconfig.Consortiums, bool)

func (*Resources) ConsortiumsConfigCallCount Uses

func (fake *Resources) ConsortiumsConfigCallCount() int

func (*Resources) ConsortiumsConfigCalls Uses

func (fake *Resources) ConsortiumsConfigCalls(stub func() (channelconfig.Consortiums, bool))

func (*Resources) ConsortiumsConfigReturns Uses

func (fake *Resources) ConsortiumsConfigReturns(result1 channelconfig.Consortiums, result2 bool)

func (*Resources) ConsortiumsConfigReturnsOnCall Uses

func (fake *Resources) ConsortiumsConfigReturnsOnCall(i int, result1 channelconfig.Consortiums, result2 bool)

func (*Resources) Invocations Uses

func (fake *Resources) Invocations() map[string][][]interface{}

func (*Resources) MSPManager Uses

func (fake *Resources) MSPManager() msp.MSPManager

func (*Resources) MSPManagerCallCount Uses

func (fake *Resources) MSPManagerCallCount() int

func (*Resources) MSPManagerCalls Uses

func (fake *Resources) MSPManagerCalls(stub func() msp.MSPManager)

func (*Resources) MSPManagerReturns Uses

func (fake *Resources) MSPManagerReturns(result1 msp.MSPManager)

func (*Resources) MSPManagerReturnsOnCall Uses

func (fake *Resources) MSPManagerReturnsOnCall(i int, result1 msp.MSPManager)

func (*Resources) OrdererConfig Uses

func (fake *Resources) OrdererConfig() (channelconfig.Orderer, bool)

func (*Resources) OrdererConfigCallCount Uses

func (fake *Resources) OrdererConfigCallCount() int

func (*Resources) OrdererConfigCalls Uses

func (fake *Resources) OrdererConfigCalls(stub func() (channelconfig.Orderer, bool))

func (*Resources) OrdererConfigReturns Uses

func (fake *Resources) OrdererConfigReturns(result1 channelconfig.Orderer, result2 bool)

func (*Resources) OrdererConfigReturnsOnCall Uses

func (fake *Resources) OrdererConfigReturnsOnCall(i int, result1 channelconfig.Orderer, result2 bool)

func (*Resources) PolicyManager Uses

func (fake *Resources) PolicyManager() policies.Manager

func (*Resources) PolicyManagerCallCount Uses

func (fake *Resources) PolicyManagerCallCount() int

func (*Resources) PolicyManagerCalls Uses

func (fake *Resources) PolicyManagerCalls(stub func() policies.Manager)

func (*Resources) PolicyManagerReturns Uses

func (fake *Resources) PolicyManagerReturns(result1 policies.Manager)

func (*Resources) PolicyManagerReturnsOnCall Uses

func (fake *Resources) PolicyManagerReturnsOnCall(i int, result1 policies.Manager)

func (*Resources) ValidateNew Uses

func (fake *Resources) ValidateNew(arg1 channelconfig.Resources) error

func (*Resources) ValidateNewArgsForCall Uses

func (fake *Resources) ValidateNewArgsForCall(i int) channelconfig.Resources

func (*Resources) ValidateNewCallCount Uses

func (fake *Resources) ValidateNewCallCount() int

func (*Resources) ValidateNewCalls Uses

func (fake *Resources) ValidateNewCalls(stub func(channelconfig.Resources) error)

func (*Resources) ValidateNewReturns Uses

func (fake *Resources) ValidateNewReturns(result1 error)

func (*Resources) ValidateNewReturnsOnCall Uses

func (fake *Resources) ValidateNewReturnsOnCall(i int, result1 error)

type Verifier Uses

type Verifier struct {
    VerifyByChannelStub func(string, *protoutil.SignedData) error
    // contains filtered or unexported fields
}

func (*Verifier) Invocations Uses

func (fake *Verifier) Invocations() map[string][][]interface{}

func (*Verifier) VerifyByChannel Uses

func (fake *Verifier) VerifyByChannel(arg1 string, arg2 *protoutil.SignedData) error

func (*Verifier) VerifyByChannelArgsForCall Uses

func (fake *Verifier) VerifyByChannelArgsForCall(i int) (string, *protoutil.SignedData)

func (*Verifier) VerifyByChannelCallCount Uses

func (fake *Verifier) VerifyByChannelCallCount() int

func (*Verifier) VerifyByChannelCalls Uses

func (fake *Verifier) VerifyByChannelCalls(stub func(string, *protoutil.SignedData) error)

func (*Verifier) VerifyByChannelReturns Uses

func (fake *Verifier) VerifyByChannelReturns(result1 error)

func (*Verifier) VerifyByChannelReturnsOnCall Uses

func (fake *Verifier) VerifyByChannelReturnsOnCall(i int, result1 error)

Package mocks imports 13 packages (graph). Updated 2020-01-20. Refresh now. Tools for package owners.