mocks

package
v0.0.0-...-7491e2d Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

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

type ChannelPolicyManagerGetter struct {
	mock.Mock
}

ChannelPolicyManagerGetter is an autogenerated mock type for the ChannelPolicyManagerGetter type

func (*ChannelPolicyManagerGetter) Manager

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

Manager provides a mock function with given fields: channelID

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

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

func (*Evaluator) EvaluateIdentities

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

func (*Evaluator) EvaluateIdentitiesArgsForCall

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

func (*Evaluator) EvaluateIdentitiesCallCount

func (fake *Evaluator) EvaluateIdentitiesCallCount() int

func (*Evaluator) EvaluateIdentitiesCalls

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

func (*Evaluator) EvaluateIdentitiesReturns

func (fake *Evaluator) EvaluateIdentitiesReturns(result1 error)

func (*Evaluator) EvaluateIdentitiesReturnsOnCall

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

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 (fake *Evaluator) EvaluateSignedDataCallCount() int

func (*Evaluator) EvaluateSignedDataCalls

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

func (*Evaluator) EvaluateSignedDataReturns

func (fake *Evaluator) EvaluateSignedDataReturns(result1 error)

func (*Evaluator) EvaluateSignedDataReturnsOnCall

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

func (*Evaluator) EvaluateVrfPolicy

func (fake *Evaluator) EvaluateVrfPolicy(arg1 []*protoutil.SignedData, arg2 []*protoutil.VrfData) error

func (*Evaluator) EvaluateVrfPolicyArgsForCall

func (fake *Evaluator) EvaluateVrfPolicyArgsForCall(i int) ([]*protoutil.SignedData, []*protoutil.VrfData)

func (*Evaluator) EvaluateVrfPolicyCallCount

func (fake *Evaluator) EvaluateVrfPolicyCallCount() int

func (*Evaluator) EvaluateVrfPolicyCalls

func (fake *Evaluator) EvaluateVrfPolicyCalls(stub func([]*protoutil.SignedData, []*protoutil.VrfData) error)

func (*Evaluator) EvaluateVrfPolicyReturns

func (fake *Evaluator) EvaluateVrfPolicyReturns(result1 error)

func (*Evaluator) EvaluateVrfPolicyReturnsOnCall

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

func (*Evaluator) Invocations

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

type GossipSupport

type GossipSupport struct {
	mock.Mock
}

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

	VrfVerifyStub func([]byte, []byte, []byte) bool
	// contains filtered or unexported fields
}

func (*Identity) Anonymous

func (fake *Identity) Anonymous() bool

func (*Identity) AnonymousCallCount

func (fake *Identity) AnonymousCallCount() int

func (*Identity) AnonymousCalls

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

func (*Identity) AnonymousReturns

func (fake *Identity) AnonymousReturns(result1 bool)

func (*Identity) AnonymousReturnsOnCall

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

func (*Identity) ExpiresAt

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

func (*Identity) ExpiresAtCallCount

func (fake *Identity) ExpiresAtCallCount() int

func (*Identity) ExpiresAtCalls

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

func (*Identity) ExpiresAtReturns

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

func (*Identity) ExpiresAtReturnsOnCall

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

func (*Identity) GetIdentifier

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

func (*Identity) GetIdentifierCallCount

func (fake *Identity) GetIdentifierCallCount() int

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 (fake *Identity) GetMSPIdentifier() string

func (*Identity) GetMSPIdentifierCallCount

func (fake *Identity) GetMSPIdentifierCallCount() int

func (*Identity) GetMSPIdentifierCalls

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

func (*Identity) GetMSPIdentifierReturns

func (fake *Identity) GetMSPIdentifierReturns(result1 string)

func (*Identity) GetMSPIdentifierReturnsOnCall

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

func (*Identity) GetOrganizationalUnits

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

func (*Identity) GetOrganizationalUnitsCallCount

func (fake *Identity) GetOrganizationalUnitsCallCount() int

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

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 (fake *Identity) SatisfiesPrincipalCallCount() int

func (*Identity) SatisfiesPrincipalCalls

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

func (*Identity) SatisfiesPrincipalReturns

func (fake *Identity) SatisfiesPrincipalReturns(result1 error)

func (*Identity) SatisfiesPrincipalReturnsOnCall

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

func (*Identity) Serialize

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

func (*Identity) SerializeCallCount

func (fake *Identity) SerializeCallCount() int

func (*Identity) SerializeCalls

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

func (*Identity) SerializeReturns

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

func (*Identity) SerializeReturnsOnCall

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

func (*Identity) Validate

func (fake *Identity) Validate() error

func (*Identity) ValidateCallCount

func (fake *Identity) ValidateCallCount() int

func (*Identity) ValidateCalls

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

func (*Identity) ValidateReturns

func (fake *Identity) ValidateReturns(result1 error)

func (*Identity) ValidateReturnsOnCall

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

func (*Identity) Verify

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

func (*Identity) VerifyArgsForCall

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

func (*Identity) VerifyCallCount

func (fake *Identity) VerifyCallCount() int

func (*Identity) VerifyCalls

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

func (*Identity) VerifyReturns

func (fake *Identity) VerifyReturns(result1 error)

func (*Identity) VerifyReturnsOnCall

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

func (*Identity) VrfVerify

func (fake *Identity) VrfVerify(arg1 []byte, arg2 []byte, arg3 []byte) bool

func (*Identity) VrfVerifyArgsForCall

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

func (*Identity) VrfVerifyCallCount

func (fake *Identity) VrfVerifyCallCount() int

func (*Identity) VrfVerifyCalls

func (fake *Identity) VrfVerifyCalls(stub func([]byte, []byte, []byte) bool)

func (*Identity) VrfVerifyReturns

func (fake *Identity) VrfVerifyReturns(result1 bool)

func (*Identity) VrfVerifyReturnsOnCall

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

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

func (fake *MSPManager) GetMSPs() (map[string]msp.MSP, 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 (fake *MSPManager) GetMSPsReturnsOnCall(i int, result1 map[string]msp.MSP, result2 error)

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

func (fake *MSPManager) Setup(arg1 []msp.MSP) 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

type PolicyManager struct {
	mock.Mock
}

PolicyManager is an autogenerated mock type for the PolicyManager type

func (*PolicyManager) GetPolicy

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

GetPolicy provides a mock function with given fields: id

func (*PolicyManager) Manager

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

Manager provides a mock function with given fields: path

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 (fake *Resources) ApplicationConfigCallCount() int

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 (fake *Resources) ChannelConfigCallCount() int

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 (fake *Resources) ConfigtxValidator() configtx.Validator

func (*Resources) ConfigtxValidatorCallCount

func (fake *Resources) ConfigtxValidatorCallCount() int

func (*Resources) ConfigtxValidatorCalls

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

func (*Resources) ConfigtxValidatorReturns

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

func (*Resources) ConfigtxValidatorReturnsOnCall

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

func (*Resources) ConsortiumsConfig

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

func (*Resources) ConsortiumsConfigCallCount

func (fake *Resources) ConsortiumsConfigCallCount() int

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

func (*Resources) MSPManager

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

func (*Resources) MSPManagerCallCount

func (fake *Resources) MSPManagerCallCount() int

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 (fake *Resources) OrdererConfigCallCount() int

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 (fake *Resources) PolicyManager() policies.Manager

func (*Resources) PolicyManagerCallCount

func (fake *Resources) PolicyManagerCallCount() int

func (*Resources) PolicyManagerCalls

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

func (*Resources) PolicyManagerReturns

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

func (*Resources) PolicyManagerReturnsOnCall

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

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 (fake *Resources) ValidateNewCallCount() int

func (*Resources) ValidateNewCalls

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

func (*Resources) ValidateNewReturns

func (fake *Resources) ValidateNewReturns(result1 error)

func (*Resources) ValidateNewReturnsOnCall

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

type Verifier

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

func (*Verifier) Invocations

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

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 (fake *Verifier) VerifyByChannelCallCount() int

func (*Verifier) VerifyByChannelCalls

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

func (*Verifier) VerifyByChannelReturns

func (fake *Verifier) VerifyByChannelReturns(result1 error)

func (*Verifier) VerifyByChannelReturnsOnCall

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

Jump to

Keyboard shortcuts

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