fabric: github.com/hyperledger/fabric/orderer/common/msgprocessor/mocks Index | Files

package mocks

import "github.com/hyperledger/fabric/orderer/common/msgprocessor/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.

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_capabilities.go channel_config.go config_resources.go configtx_validator.go metadata_validator.go orderer_capabilities.go orderer_config.go policy.go policy_manager.go sig_filter_support.go signer_serializer.go

type ChannelCapabilities Uses

type ChannelCapabilities struct {
    ConsensusTypeMigrationStub func() bool

    MSPVersionStub func() msp.MSPVersion

    OrgSpecificOrdererEndpointsStub func() bool

    SupportedStub func() error
    // contains filtered or unexported fields
}

func (*ChannelCapabilities) ConsensusTypeMigration Uses

func (fake *ChannelCapabilities) ConsensusTypeMigration() bool

func (*ChannelCapabilities) ConsensusTypeMigrationCallCount Uses

func (fake *ChannelCapabilities) ConsensusTypeMigrationCallCount() int

func (*ChannelCapabilities) ConsensusTypeMigrationCalls Uses

func (fake *ChannelCapabilities) ConsensusTypeMigrationCalls(stub func() bool)

func (*ChannelCapabilities) ConsensusTypeMigrationReturns Uses

func (fake *ChannelCapabilities) ConsensusTypeMigrationReturns(result1 bool)

func (*ChannelCapabilities) ConsensusTypeMigrationReturnsOnCall Uses

func (fake *ChannelCapabilities) ConsensusTypeMigrationReturnsOnCall(i int, result1 bool)

func (*ChannelCapabilities) Invocations Uses

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

func (*ChannelCapabilities) MSPVersion Uses

func (fake *ChannelCapabilities) MSPVersion() msp.MSPVersion

func (*ChannelCapabilities) MSPVersionCallCount Uses

func (fake *ChannelCapabilities) MSPVersionCallCount() int

func (*ChannelCapabilities) MSPVersionCalls Uses

func (fake *ChannelCapabilities) MSPVersionCalls(stub func() msp.MSPVersion)

func (*ChannelCapabilities) MSPVersionReturns Uses

func (fake *ChannelCapabilities) MSPVersionReturns(result1 msp.MSPVersion)

func (*ChannelCapabilities) MSPVersionReturnsOnCall Uses

func (fake *ChannelCapabilities) MSPVersionReturnsOnCall(i int, result1 msp.MSPVersion)

func (*ChannelCapabilities) OrgSpecificOrdererEndpoints Uses

func (fake *ChannelCapabilities) OrgSpecificOrdererEndpoints() bool

func (*ChannelCapabilities) OrgSpecificOrdererEndpointsCallCount Uses

func (fake *ChannelCapabilities) OrgSpecificOrdererEndpointsCallCount() int

func (*ChannelCapabilities) OrgSpecificOrdererEndpointsCalls Uses

func (fake *ChannelCapabilities) OrgSpecificOrdererEndpointsCalls(stub func() bool)

func (*ChannelCapabilities) OrgSpecificOrdererEndpointsReturns Uses

func (fake *ChannelCapabilities) OrgSpecificOrdererEndpointsReturns(result1 bool)

func (*ChannelCapabilities) OrgSpecificOrdererEndpointsReturnsOnCall Uses

func (fake *ChannelCapabilities) OrgSpecificOrdererEndpointsReturnsOnCall(i int, result1 bool)

func (*ChannelCapabilities) Supported Uses

func (fake *ChannelCapabilities) Supported() error

func (*ChannelCapabilities) SupportedCallCount Uses

func (fake *ChannelCapabilities) SupportedCallCount() int

func (*ChannelCapabilities) SupportedCalls Uses

func (fake *ChannelCapabilities) SupportedCalls(stub func() error)

func (*ChannelCapabilities) SupportedReturns Uses

func (fake *ChannelCapabilities) SupportedReturns(result1 error)

func (*ChannelCapabilities) SupportedReturnsOnCall Uses

func (fake *ChannelCapabilities) SupportedReturnsOnCall(i int, result1 error)

type ChannelConfig Uses

type ChannelConfig struct {
    BlockDataHashingStructureWidthStub func() uint32

    CapabilitiesStub func() channelconfig.ChannelCapabilities

    HashingAlgorithmStub func() func(input []byte) []byte

    OrdererAddressesStub func() []string
    // contains filtered or unexported fields
}

func (*ChannelConfig) BlockDataHashingStructureWidth Uses

func (fake *ChannelConfig) BlockDataHashingStructureWidth() uint32

func (*ChannelConfig) BlockDataHashingStructureWidthCallCount Uses

func (fake *ChannelConfig) BlockDataHashingStructureWidthCallCount() int

func (*ChannelConfig) BlockDataHashingStructureWidthCalls Uses

func (fake *ChannelConfig) BlockDataHashingStructureWidthCalls(stub func() uint32)

func (*ChannelConfig) BlockDataHashingStructureWidthReturns Uses

func (fake *ChannelConfig) BlockDataHashingStructureWidthReturns(result1 uint32)

func (*ChannelConfig) BlockDataHashingStructureWidthReturnsOnCall Uses

func (fake *ChannelConfig) BlockDataHashingStructureWidthReturnsOnCall(i int, result1 uint32)

func (*ChannelConfig) Capabilities Uses

func (fake *ChannelConfig) Capabilities() channelconfig.ChannelCapabilities

func (*ChannelConfig) CapabilitiesCallCount Uses

func (fake *ChannelConfig) CapabilitiesCallCount() int

func (*ChannelConfig) CapabilitiesCalls Uses

func (fake *ChannelConfig) CapabilitiesCalls(stub func() channelconfig.ChannelCapabilities)

func (*ChannelConfig) CapabilitiesReturns Uses

func (fake *ChannelConfig) CapabilitiesReturns(result1 channelconfig.ChannelCapabilities)

func (*ChannelConfig) CapabilitiesReturnsOnCall Uses

func (fake *ChannelConfig) CapabilitiesReturnsOnCall(i int, result1 channelconfig.ChannelCapabilities)

func (*ChannelConfig) HashingAlgorithm Uses

func (fake *ChannelConfig) HashingAlgorithm() func(input []byte) []byte

func (*ChannelConfig) HashingAlgorithmCallCount Uses

func (fake *ChannelConfig) HashingAlgorithmCallCount() int

func (*ChannelConfig) HashingAlgorithmCalls Uses

func (fake *ChannelConfig) HashingAlgorithmCalls(stub func() func(input []byte) []byte)

func (*ChannelConfig) HashingAlgorithmReturns Uses

func (fake *ChannelConfig) HashingAlgorithmReturns(result1 func(input []byte) []byte)

func (*ChannelConfig) HashingAlgorithmReturnsOnCall Uses

func (fake *ChannelConfig) HashingAlgorithmReturnsOnCall(i int, result1 func(input []byte) []byte)

func (*ChannelConfig) Invocations Uses

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

func (*ChannelConfig) OrdererAddresses Uses

func (fake *ChannelConfig) OrdererAddresses() []string

func (*ChannelConfig) OrdererAddressesCallCount Uses

func (fake *ChannelConfig) OrdererAddressesCallCount() int

func (*ChannelConfig) OrdererAddressesCalls Uses

func (fake *ChannelConfig) OrdererAddressesCalls(stub func() []string)

func (*ChannelConfig) OrdererAddressesReturns Uses

func (fake *ChannelConfig) OrdererAddressesReturns(result1 []string)

func (*ChannelConfig) OrdererAddressesReturnsOnCall Uses

func (fake *ChannelConfig) OrdererAddressesReturnsOnCall(i int, result1 []string)

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 MetadataValidator Uses

type MetadataValidator struct {
    ValidateConsensusMetadataStub func([]byte, []byte, bool) error
    // contains filtered or unexported fields
}

func (*MetadataValidator) Invocations Uses

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

func (*MetadataValidator) ValidateConsensusMetadata Uses

func (fake *MetadataValidator) ValidateConsensusMetadata(arg1 []byte, arg2 []byte, arg3 bool) error

func (*MetadataValidator) ValidateConsensusMetadataArgsForCall Uses

func (fake *MetadataValidator) ValidateConsensusMetadataArgsForCall(i int) ([]byte, []byte, bool)

func (*MetadataValidator) ValidateConsensusMetadataCallCount Uses

func (fake *MetadataValidator) ValidateConsensusMetadataCallCount() int

func (*MetadataValidator) ValidateConsensusMetadataCalls Uses

func (fake *MetadataValidator) ValidateConsensusMetadataCalls(stub func([]byte, []byte, bool) error)

func (*MetadataValidator) ValidateConsensusMetadataReturns Uses

func (fake *MetadataValidator) ValidateConsensusMetadataReturns(result1 error)

func (*MetadataValidator) ValidateConsensusMetadataReturnsOnCall Uses

func (fake *MetadataValidator) ValidateConsensusMetadataReturnsOnCall(i int, result1 error)

type OrdererCapabilities Uses

type OrdererCapabilities struct {
    ConsensusTypeMigrationStub func() bool

    ExpirationCheckStub func() bool

    PredictableChannelTemplateStub func() bool

    ResubmissionStub func() bool

    SupportedStub func() error

    UseChannelCreationPolicyAsAdminsStub func() bool
    // contains filtered or unexported fields
}

func (*OrdererCapabilities) ConsensusTypeMigration Uses

func (fake *OrdererCapabilities) ConsensusTypeMigration() bool

func (*OrdererCapabilities) ConsensusTypeMigrationCallCount Uses

func (fake *OrdererCapabilities) ConsensusTypeMigrationCallCount() int

func (*OrdererCapabilities) ConsensusTypeMigrationCalls Uses

func (fake *OrdererCapabilities) ConsensusTypeMigrationCalls(stub func() bool)

func (*OrdererCapabilities) ConsensusTypeMigrationReturns Uses

func (fake *OrdererCapabilities) ConsensusTypeMigrationReturns(result1 bool)

func (*OrdererCapabilities) ConsensusTypeMigrationReturnsOnCall Uses

func (fake *OrdererCapabilities) ConsensusTypeMigrationReturnsOnCall(i int, result1 bool)

func (*OrdererCapabilities) ExpirationCheck Uses

func (fake *OrdererCapabilities) ExpirationCheck() bool

func (*OrdererCapabilities) ExpirationCheckCallCount Uses

func (fake *OrdererCapabilities) ExpirationCheckCallCount() int

func (*OrdererCapabilities) ExpirationCheckCalls Uses

func (fake *OrdererCapabilities) ExpirationCheckCalls(stub func() bool)

func (*OrdererCapabilities) ExpirationCheckReturns Uses

func (fake *OrdererCapabilities) ExpirationCheckReturns(result1 bool)

func (*OrdererCapabilities) ExpirationCheckReturnsOnCall Uses

func (fake *OrdererCapabilities) ExpirationCheckReturnsOnCall(i int, result1 bool)

func (*OrdererCapabilities) Invocations Uses

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

func (*OrdererCapabilities) PredictableChannelTemplate Uses

func (fake *OrdererCapabilities) PredictableChannelTemplate() bool

func (*OrdererCapabilities) PredictableChannelTemplateCallCount Uses

func (fake *OrdererCapabilities) PredictableChannelTemplateCallCount() int

func (*OrdererCapabilities) PredictableChannelTemplateCalls Uses

func (fake *OrdererCapabilities) PredictableChannelTemplateCalls(stub func() bool)

func (*OrdererCapabilities) PredictableChannelTemplateReturns Uses

func (fake *OrdererCapabilities) PredictableChannelTemplateReturns(result1 bool)

func (*OrdererCapabilities) PredictableChannelTemplateReturnsOnCall Uses

func (fake *OrdererCapabilities) PredictableChannelTemplateReturnsOnCall(i int, result1 bool)

func (*OrdererCapabilities) Resubmission Uses

func (fake *OrdererCapabilities) Resubmission() bool

func (*OrdererCapabilities) ResubmissionCallCount Uses

func (fake *OrdererCapabilities) ResubmissionCallCount() int

func (*OrdererCapabilities) ResubmissionCalls Uses

func (fake *OrdererCapabilities) ResubmissionCalls(stub func() bool)

func (*OrdererCapabilities) ResubmissionReturns Uses

func (fake *OrdererCapabilities) ResubmissionReturns(result1 bool)

func (*OrdererCapabilities) ResubmissionReturnsOnCall Uses

func (fake *OrdererCapabilities) ResubmissionReturnsOnCall(i int, result1 bool)

func (*OrdererCapabilities) Supported Uses

func (fake *OrdererCapabilities) Supported() error

func (*OrdererCapabilities) SupportedCallCount Uses

func (fake *OrdererCapabilities) SupportedCallCount() int

func (*OrdererCapabilities) SupportedCalls Uses

func (fake *OrdererCapabilities) SupportedCalls(stub func() error)

func (*OrdererCapabilities) SupportedReturns Uses

func (fake *OrdererCapabilities) SupportedReturns(result1 error)

func (*OrdererCapabilities) SupportedReturnsOnCall Uses

func (fake *OrdererCapabilities) SupportedReturnsOnCall(i int, result1 error)

func (*OrdererCapabilities) UseChannelCreationPolicyAsAdmins Uses

func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdmins() bool

func (*OrdererCapabilities) UseChannelCreationPolicyAsAdminsCallCount Uses

func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsCallCount() int

func (*OrdererCapabilities) UseChannelCreationPolicyAsAdminsCalls Uses

func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsCalls(stub func() bool)

func (*OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturns Uses

func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturns(result1 bool)

func (*OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturnsOnCall Uses

func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturnsOnCall(i int, result1 bool)

type OrdererConfig Uses

type OrdererConfig struct {
    BatchSizeStub func() *orderer.BatchSize

    BatchTimeoutStub func() time.Duration

    CapabilitiesStub func() channelconfig.OrdererCapabilities

    ConsensusMetadataStub func() []byte

    ConsensusStateStub func() orderer.ConsensusType_State

    ConsensusTypeStub func() string

    KafkaBrokersStub func() []string

    MaxChannelsCountStub func() uint64

    OrganizationsStub func() map[string]channelconfig.OrdererOrg
    // contains filtered or unexported fields
}

func (*OrdererConfig) BatchSize Uses

func (fake *OrdererConfig) BatchSize() *orderer.BatchSize

func (*OrdererConfig) BatchSizeCallCount Uses

func (fake *OrdererConfig) BatchSizeCallCount() int

func (*OrdererConfig) BatchSizeCalls Uses

func (fake *OrdererConfig) BatchSizeCalls(stub func() *orderer.BatchSize)

func (*OrdererConfig) BatchSizeReturns Uses

func (fake *OrdererConfig) BatchSizeReturns(result1 *orderer.BatchSize)

func (*OrdererConfig) BatchSizeReturnsOnCall Uses

func (fake *OrdererConfig) BatchSizeReturnsOnCall(i int, result1 *orderer.BatchSize)

func (*OrdererConfig) BatchTimeout Uses

func (fake *OrdererConfig) BatchTimeout() time.Duration

func (*OrdererConfig) BatchTimeoutCallCount Uses

func (fake *OrdererConfig) BatchTimeoutCallCount() int

func (*OrdererConfig) BatchTimeoutCalls Uses

func (fake *OrdererConfig) BatchTimeoutCalls(stub func() time.Duration)

func (*OrdererConfig) BatchTimeoutReturns Uses

func (fake *OrdererConfig) BatchTimeoutReturns(result1 time.Duration)

func (*OrdererConfig) BatchTimeoutReturnsOnCall Uses

func (fake *OrdererConfig) BatchTimeoutReturnsOnCall(i int, result1 time.Duration)

func (*OrdererConfig) Capabilities Uses

func (fake *OrdererConfig) Capabilities() channelconfig.OrdererCapabilities

func (*OrdererConfig) CapabilitiesCallCount Uses

func (fake *OrdererConfig) CapabilitiesCallCount() int

func (*OrdererConfig) CapabilitiesCalls Uses

func (fake *OrdererConfig) CapabilitiesCalls(stub func() channelconfig.OrdererCapabilities)

func (*OrdererConfig) CapabilitiesReturns Uses

func (fake *OrdererConfig) CapabilitiesReturns(result1 channelconfig.OrdererCapabilities)

func (*OrdererConfig) CapabilitiesReturnsOnCall Uses

func (fake *OrdererConfig) CapabilitiesReturnsOnCall(i int, result1 channelconfig.OrdererCapabilities)

func (*OrdererConfig) ConsensusMetadata Uses

func (fake *OrdererConfig) ConsensusMetadata() []byte

func (*OrdererConfig) ConsensusMetadataCallCount Uses

func (fake *OrdererConfig) ConsensusMetadataCallCount() int

func (*OrdererConfig) ConsensusMetadataCalls Uses

func (fake *OrdererConfig) ConsensusMetadataCalls(stub func() []byte)

func (*OrdererConfig) ConsensusMetadataReturns Uses

func (fake *OrdererConfig) ConsensusMetadataReturns(result1 []byte)

func (*OrdererConfig) ConsensusMetadataReturnsOnCall Uses

func (fake *OrdererConfig) ConsensusMetadataReturnsOnCall(i int, result1 []byte)

func (*OrdererConfig) ConsensusState Uses

func (fake *OrdererConfig) ConsensusState() orderer.ConsensusType_State

func (*OrdererConfig) ConsensusStateCallCount Uses

func (fake *OrdererConfig) ConsensusStateCallCount() int

func (*OrdererConfig) ConsensusStateCalls Uses

func (fake *OrdererConfig) ConsensusStateCalls(stub func() orderer.ConsensusType_State)

func (*OrdererConfig) ConsensusStateReturns Uses

func (fake *OrdererConfig) ConsensusStateReturns(result1 orderer.ConsensusType_State)

func (*OrdererConfig) ConsensusStateReturnsOnCall Uses

func (fake *OrdererConfig) ConsensusStateReturnsOnCall(i int, result1 orderer.ConsensusType_State)

func (*OrdererConfig) ConsensusType Uses

func (fake *OrdererConfig) ConsensusType() string

func (*OrdererConfig) ConsensusTypeCallCount Uses

func (fake *OrdererConfig) ConsensusTypeCallCount() int

func (*OrdererConfig) ConsensusTypeCalls Uses

func (fake *OrdererConfig) ConsensusTypeCalls(stub func() string)

func (*OrdererConfig) ConsensusTypeReturns Uses

func (fake *OrdererConfig) ConsensusTypeReturns(result1 string)

func (*OrdererConfig) ConsensusTypeReturnsOnCall Uses

func (fake *OrdererConfig) ConsensusTypeReturnsOnCall(i int, result1 string)

func (*OrdererConfig) Invocations Uses

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

func (*OrdererConfig) KafkaBrokers Uses

func (fake *OrdererConfig) KafkaBrokers() []string

func (*OrdererConfig) KafkaBrokersCallCount Uses

func (fake *OrdererConfig) KafkaBrokersCallCount() int

func (*OrdererConfig) KafkaBrokersCalls Uses

func (fake *OrdererConfig) KafkaBrokersCalls(stub func() []string)

func (*OrdererConfig) KafkaBrokersReturns Uses

func (fake *OrdererConfig) KafkaBrokersReturns(result1 []string)

func (*OrdererConfig) KafkaBrokersReturnsOnCall Uses

func (fake *OrdererConfig) KafkaBrokersReturnsOnCall(i int, result1 []string)

func (*OrdererConfig) MaxChannelsCount Uses

func (fake *OrdererConfig) MaxChannelsCount() uint64

func (*OrdererConfig) MaxChannelsCountCallCount Uses

func (fake *OrdererConfig) MaxChannelsCountCallCount() int

func (*OrdererConfig) MaxChannelsCountCalls Uses

func (fake *OrdererConfig) MaxChannelsCountCalls(stub func() uint64)

func (*OrdererConfig) MaxChannelsCountReturns Uses

func (fake *OrdererConfig) MaxChannelsCountReturns(result1 uint64)

func (*OrdererConfig) MaxChannelsCountReturnsOnCall Uses

func (fake *OrdererConfig) MaxChannelsCountReturnsOnCall(i int, result1 uint64)

func (*OrdererConfig) Organizations Uses

func (fake *OrdererConfig) Organizations() map[string]channelconfig.OrdererOrg

func (*OrdererConfig) OrganizationsCallCount Uses

func (fake *OrdererConfig) OrganizationsCallCount() int

func (*OrdererConfig) OrganizationsCalls Uses

func (fake *OrdererConfig) OrganizationsCalls(stub func() map[string]channelconfig.OrdererOrg)

func (*OrdererConfig) OrganizationsReturns Uses

func (fake *OrdererConfig) OrganizationsReturns(result1 map[string]channelconfig.OrdererOrg)

func (*OrdererConfig) OrganizationsReturnsOnCall Uses

func (fake *OrdererConfig) OrganizationsReturnsOnCall(i int, result1 map[string]channelconfig.OrdererOrg)

type Policy Uses

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

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

func (*Policy) EvaluateIdentities Uses

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

func (*Policy) EvaluateIdentitiesArgsForCall Uses

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

func (*Policy) EvaluateIdentitiesCallCount Uses

func (fake *Policy) EvaluateIdentitiesCallCount() int

func (*Policy) EvaluateIdentitiesCalls Uses

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

func (*Policy) EvaluateIdentitiesReturns Uses

func (fake *Policy) EvaluateIdentitiesReturns(result1 error)

func (*Policy) EvaluateIdentitiesReturnsOnCall Uses

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

func (*Policy) EvaluateSignedData Uses

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

func (*Policy) EvaluateSignedDataArgsForCall Uses

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

func (*Policy) EvaluateSignedDataCallCount Uses

func (fake *Policy) EvaluateSignedDataCallCount() int

func (*Policy) EvaluateSignedDataCalls Uses

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

func (*Policy) EvaluateSignedDataReturns Uses

func (fake *Policy) EvaluateSignedDataReturns(result1 error)

func (*Policy) EvaluateSignedDataReturnsOnCall Uses

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

func (*Policy) Invocations Uses

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

type PolicyManager Uses

type PolicyManager struct {
    GetPolicyStub func(string) (policies.Policy, bool)

    ManagerStub func([]string) (policies.Manager, bool)
    // contains filtered or unexported fields
}

func (*PolicyManager) GetPolicy Uses

func (fake *PolicyManager) GetPolicy(arg1 string) (policies.Policy, bool)

func (*PolicyManager) GetPolicyArgsForCall Uses

func (fake *PolicyManager) GetPolicyArgsForCall(i int) string

func (*PolicyManager) GetPolicyCallCount Uses

func (fake *PolicyManager) GetPolicyCallCount() int

func (*PolicyManager) GetPolicyCalls Uses

func (fake *PolicyManager) GetPolicyCalls(stub func(string) (policies.Policy, bool))

func (*PolicyManager) GetPolicyReturns Uses

func (fake *PolicyManager) GetPolicyReturns(result1 policies.Policy, result2 bool)

func (*PolicyManager) GetPolicyReturnsOnCall Uses

func (fake *PolicyManager) GetPolicyReturnsOnCall(i int, result1 policies.Policy, result2 bool)

func (*PolicyManager) Invocations Uses

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

func (*PolicyManager) Manager Uses

func (fake *PolicyManager) Manager(arg1 []string) (policies.Manager, bool)

func (*PolicyManager) ManagerArgsForCall Uses

func (fake *PolicyManager) ManagerArgsForCall(i int) []string

func (*PolicyManager) ManagerCallCount Uses

func (fake *PolicyManager) ManagerCallCount() int

func (*PolicyManager) ManagerCalls Uses

func (fake *PolicyManager) ManagerCalls(stub func([]string) (policies.Manager, bool))

func (*PolicyManager) ManagerReturns Uses

func (fake *PolicyManager) ManagerReturns(result1 policies.Manager, result2 bool)

func (*PolicyManager) ManagerReturnsOnCall Uses

func (fake *PolicyManager) ManagerReturnsOnCall(i int, result1 policies.Manager, result2 bool)

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 SigFilterSupport Uses

type SigFilterSupport struct {
    OrdererConfigStub func() (channelconfig.Orderer, bool)

    PolicyManagerStub func() policies.Manager
    // contains filtered or unexported fields
}

func (*SigFilterSupport) Invocations Uses

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

func (*SigFilterSupport) OrdererConfig Uses

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

func (*SigFilterSupport) OrdererConfigCallCount Uses

func (fake *SigFilterSupport) OrdererConfigCallCount() int

func (*SigFilterSupport) OrdererConfigCalls Uses

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

func (*SigFilterSupport) OrdererConfigReturns Uses

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

func (*SigFilterSupport) OrdererConfigReturnsOnCall Uses

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

func (*SigFilterSupport) PolicyManager Uses

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

func (*SigFilterSupport) PolicyManagerCallCount Uses

func (fake *SigFilterSupport) PolicyManagerCallCount() int

func (*SigFilterSupport) PolicyManagerCalls Uses

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

func (*SigFilterSupport) PolicyManagerReturns Uses

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

func (*SigFilterSupport) PolicyManagerReturnsOnCall Uses

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

type SignerSerializer Uses

type SignerSerializer struct {
    SerializeStub func() ([]byte, error)

    SignStub func([]byte) ([]byte, error)
    // contains filtered or unexported fields
}

func (*SignerSerializer) Invocations Uses

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

func (*SignerSerializer) Serialize Uses

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

func (*SignerSerializer) SerializeCallCount Uses

func (fake *SignerSerializer) SerializeCallCount() int

func (*SignerSerializer) SerializeCalls Uses

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

func (*SignerSerializer) SerializeReturns Uses

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

func (*SignerSerializer) SerializeReturnsOnCall Uses

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

func (*SignerSerializer) Sign Uses

func (fake *SignerSerializer) Sign(arg1 []byte) ([]byte, error)

func (*SignerSerializer) SignArgsForCall Uses

func (fake *SignerSerializer) SignArgsForCall(i int) []byte

func (*SignerSerializer) SignCallCount Uses

func (fake *SignerSerializer) SignCallCount() int

func (*SignerSerializer) SignCalls Uses

func (fake *SignerSerializer) SignCalls(stub func([]byte) ([]byte, error))

func (*SignerSerializer) SignReturns Uses

func (fake *SignerSerializer) SignReturns(result1 []byte, result2 error)

func (*SignerSerializer) SignReturnsOnCall Uses

func (fake *SignerSerializer) SignReturnsOnCall(i int, result1 []byte, result2 error)

Package mocks imports 9 packages (graph). Updated 2019-11-16. Refresh now. Tools for package owners.