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.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type ChannelCapabilities
- func (fake *ChannelCapabilities) ConsensusTypeMigration() bool
- func (fake *ChannelCapabilities) ConsensusTypeMigrationCallCount() int
- func (fake *ChannelCapabilities) ConsensusTypeMigrationCalls(stub func() bool)
- func (fake *ChannelCapabilities) ConsensusTypeMigrationReturns(result1 bool)
- func (fake *ChannelCapabilities) ConsensusTypeMigrationReturnsOnCall(i int, result1 bool)
- func (fake *ChannelCapabilities) Invocations() map[string][][]interface{}
- func (fake *ChannelCapabilities) MSPVersion() msp.MSPVersion
- func (fake *ChannelCapabilities) MSPVersionCallCount() int
- func (fake *ChannelCapabilities) MSPVersionCalls(stub func() msp.MSPVersion)
- func (fake *ChannelCapabilities) MSPVersionReturns(result1 msp.MSPVersion)
- func (fake *ChannelCapabilities) MSPVersionReturnsOnCall(i int, result1 msp.MSPVersion)
- func (fake *ChannelCapabilities) OrgSpecificOrdererEndpoints() bool
- func (fake *ChannelCapabilities) OrgSpecificOrdererEndpointsCallCount() int
- func (fake *ChannelCapabilities) OrgSpecificOrdererEndpointsCalls(stub func() bool)
- func (fake *ChannelCapabilities) OrgSpecificOrdererEndpointsReturns(result1 bool)
- func (fake *ChannelCapabilities) OrgSpecificOrdererEndpointsReturnsOnCall(i int, result1 bool)
- func (fake *ChannelCapabilities) Supported() error
- func (fake *ChannelCapabilities) SupportedCallCount() int
- func (fake *ChannelCapabilities) SupportedCalls(stub func() error)
- func (fake *ChannelCapabilities) SupportedReturns(result1 error)
- func (fake *ChannelCapabilities) SupportedReturnsOnCall(i int, result1 error)
- type ChannelConfig
- func (fake *ChannelConfig) BlockDataHashingStructureWidth() uint32
- func (fake *ChannelConfig) BlockDataHashingStructureWidthCallCount() int
- func (fake *ChannelConfig) BlockDataHashingStructureWidthCalls(stub func() uint32)
- func (fake *ChannelConfig) BlockDataHashingStructureWidthReturns(result1 uint32)
- func (fake *ChannelConfig) BlockDataHashingStructureWidthReturnsOnCall(i int, result1 uint32)
- func (fake *ChannelConfig) Capabilities() channelconfig.ChannelCapabilities
- func (fake *ChannelConfig) CapabilitiesCallCount() int
- func (fake *ChannelConfig) CapabilitiesCalls(stub func() channelconfig.ChannelCapabilities)
- func (fake *ChannelConfig) CapabilitiesReturns(result1 channelconfig.ChannelCapabilities)
- func (fake *ChannelConfig) CapabilitiesReturnsOnCall(i int, result1 channelconfig.ChannelCapabilities)
- func (fake *ChannelConfig) HashingAlgorithm() func(input []byte) []byte
- func (fake *ChannelConfig) HashingAlgorithmCallCount() int
- func (fake *ChannelConfig) HashingAlgorithmCalls(stub func() func(input []byte) []byte)
- func (fake *ChannelConfig) HashingAlgorithmReturns(result1 func(input []byte) []byte)
- func (fake *ChannelConfig) HashingAlgorithmReturnsOnCall(i int, result1 func(input []byte) []byte)
- func (fake *ChannelConfig) Invocations() map[string][][]interface{}
- func (fake *ChannelConfig) OrdererAddresses() []string
- func (fake *ChannelConfig) OrdererAddressesCallCount() int
- func (fake *ChannelConfig) OrdererAddressesCalls(stub func() []string)
- func (fake *ChannelConfig) OrdererAddressesReturns(result1 []string)
- func (fake *ChannelConfig) OrdererAddressesReturnsOnCall(i int, result1 []string)
- 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 OrdererCapabilities
- func (fake *OrdererCapabilities) ConsensusTypeMigration() bool
- func (fake *OrdererCapabilities) ConsensusTypeMigrationCallCount() int
- func (fake *OrdererCapabilities) ConsensusTypeMigrationCalls(stub func() bool)
- func (fake *OrdererCapabilities) ConsensusTypeMigrationReturns(result1 bool)
- func (fake *OrdererCapabilities) ConsensusTypeMigrationReturnsOnCall(i int, result1 bool)
- func (fake *OrdererCapabilities) ExpirationCheck() bool
- func (fake *OrdererCapabilities) ExpirationCheckCallCount() int
- func (fake *OrdererCapabilities) ExpirationCheckCalls(stub func() bool)
- func (fake *OrdererCapabilities) ExpirationCheckReturns(result1 bool)
- func (fake *OrdererCapabilities) ExpirationCheckReturnsOnCall(i int, result1 bool)
- func (fake *OrdererCapabilities) Invocations() map[string][][]interface{}
- func (fake *OrdererCapabilities) PredictableChannelTemplate() bool
- func (fake *OrdererCapabilities) PredictableChannelTemplateCallCount() int
- func (fake *OrdererCapabilities) PredictableChannelTemplateCalls(stub func() bool)
- func (fake *OrdererCapabilities) PredictableChannelTemplateReturns(result1 bool)
- func (fake *OrdererCapabilities) PredictableChannelTemplateReturnsOnCall(i int, result1 bool)
- func (fake *OrdererCapabilities) Resubmission() bool
- func (fake *OrdererCapabilities) ResubmissionCallCount() int
- func (fake *OrdererCapabilities) ResubmissionCalls(stub func() bool)
- func (fake *OrdererCapabilities) ResubmissionReturns(result1 bool)
- func (fake *OrdererCapabilities) ResubmissionReturnsOnCall(i int, result1 bool)
- func (fake *OrdererCapabilities) Supported() error
- func (fake *OrdererCapabilities) SupportedCallCount() int
- func (fake *OrdererCapabilities) SupportedCalls(stub func() error)
- func (fake *OrdererCapabilities) SupportedReturns(result1 error)
- func (fake *OrdererCapabilities) SupportedReturnsOnCall(i int, result1 error)
- func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdmins() bool
- func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsCallCount() int
- func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsCalls(stub func() bool)
- func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturns(result1 bool)
- func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturnsOnCall(i int, result1 bool)
- type OrdererConfig
- func (fake *OrdererConfig) BatchSize() *orderer.BatchSize
- func (fake *OrdererConfig) BatchSizeCallCount() int
- func (fake *OrdererConfig) BatchSizeCalls(stub func() *orderer.BatchSize)
- func (fake *OrdererConfig) BatchSizeReturns(result1 *orderer.BatchSize)
- func (fake *OrdererConfig) BatchSizeReturnsOnCall(i int, result1 *orderer.BatchSize)
- func (fake *OrdererConfig) BatchTimeout() time.Duration
- func (fake *OrdererConfig) BatchTimeoutCallCount() int
- func (fake *OrdererConfig) BatchTimeoutCalls(stub func() time.Duration)
- func (fake *OrdererConfig) BatchTimeoutReturns(result1 time.Duration)
- func (fake *OrdererConfig) BatchTimeoutReturnsOnCall(i int, result1 time.Duration)
- func (fake *OrdererConfig) Capabilities() channelconfig.OrdererCapabilities
- func (fake *OrdererConfig) CapabilitiesCallCount() int
- func (fake *OrdererConfig) CapabilitiesCalls(stub func() channelconfig.OrdererCapabilities)
- func (fake *OrdererConfig) CapabilitiesReturns(result1 channelconfig.OrdererCapabilities)
- func (fake *OrdererConfig) CapabilitiesReturnsOnCall(i int, result1 channelconfig.OrdererCapabilities)
- func (fake *OrdererConfig) ConsensusMetadata() []byte
- func (fake *OrdererConfig) ConsensusMetadataCallCount() int
- func (fake *OrdererConfig) ConsensusMetadataCalls(stub func() []byte)
- func (fake *OrdererConfig) ConsensusMetadataReturns(result1 []byte)
- func (fake *OrdererConfig) ConsensusMetadataReturnsOnCall(i int, result1 []byte)
- func (fake *OrdererConfig) ConsensusState() orderer.ConsensusType_State
- func (fake *OrdererConfig) ConsensusStateCallCount() int
- func (fake *OrdererConfig) ConsensusStateCalls(stub func() orderer.ConsensusType_State)
- func (fake *OrdererConfig) ConsensusStateReturns(result1 orderer.ConsensusType_State)
- func (fake *OrdererConfig) ConsensusStateReturnsOnCall(i int, result1 orderer.ConsensusType_State)
- func (fake *OrdererConfig) ConsensusType() string
- func (fake *OrdererConfig) ConsensusTypeCallCount() int
- func (fake *OrdererConfig) ConsensusTypeCalls(stub func() string)
- func (fake *OrdererConfig) ConsensusTypeReturns(result1 string)
- func (fake *OrdererConfig) ConsensusTypeReturnsOnCall(i int, result1 string)
- func (fake *OrdererConfig) Invocations() map[string][][]interface{}
- func (fake *OrdererConfig) KafkaBrokers() []string
- func (fake *OrdererConfig) KafkaBrokersCallCount() int
- func (fake *OrdererConfig) KafkaBrokersCalls(stub func() []string)
- func (fake *OrdererConfig) KafkaBrokersReturns(result1 []string)
- func (fake *OrdererConfig) KafkaBrokersReturnsOnCall(i int, result1 []string)
- func (fake *OrdererConfig) MaxChannelsCount() uint64
- func (fake *OrdererConfig) MaxChannelsCountCallCount() int
- func (fake *OrdererConfig) MaxChannelsCountCalls(stub func() uint64)
- func (fake *OrdererConfig) MaxChannelsCountReturns(result1 uint64)
- func (fake *OrdererConfig) MaxChannelsCountReturnsOnCall(i int, result1 uint64)
- func (fake *OrdererConfig) Organizations() map[string]channelconfig.OrdererOrg
- func (fake *OrdererConfig) OrganizationsCallCount() int
- func (fake *OrdererConfig) OrganizationsCalls(stub func() map[string]channelconfig.OrdererOrg)
- func (fake *OrdererConfig) OrganizationsReturns(result1 map[string]channelconfig.OrdererOrg)
- func (fake *OrdererConfig) OrganizationsReturnsOnCall(i int, result1 map[string]channelconfig.OrdererOrg)
- type Policy
- func (fake *Policy) EvaluateIdentities(arg1 []msp.Identity) error
- func (fake *Policy) EvaluateIdentitiesArgsForCall(i int) []msp.Identity
- func (fake *Policy) EvaluateIdentitiesCallCount() int
- func (fake *Policy) EvaluateIdentitiesCalls(stub func([]msp.Identity) error)
- func (fake *Policy) EvaluateIdentitiesReturns(result1 error)
- func (fake *Policy) EvaluateIdentitiesReturnsOnCall(i int, result1 error)
- func (fake *Policy) EvaluateSignedData(arg1 []*protoutil.SignedData) error
- func (fake *Policy) EvaluateSignedDataArgsForCall(i int) []*protoutil.SignedData
- func (fake *Policy) EvaluateSignedDataCallCount() int
- func (fake *Policy) EvaluateSignedDataCalls(stub func([]*protoutil.SignedData) error)
- func (fake *Policy) EvaluateSignedDataReturns(result1 error)
- func (fake *Policy) EvaluateSignedDataReturnsOnCall(i int, result1 error)
- func (fake *Policy) Invocations() map[string][][]interface{}
- type PolicyManager
- func (fake *PolicyManager) GetPolicy(arg1 string) (policies.Policy, bool)
- func (fake *PolicyManager) GetPolicyArgsForCall(i int) string
- func (fake *PolicyManager) GetPolicyCallCount() int
- func (fake *PolicyManager) GetPolicyCalls(stub func(string) (policies.Policy, bool))
- func (fake *PolicyManager) GetPolicyReturns(result1 policies.Policy, result2 bool)
- func (fake *PolicyManager) GetPolicyReturnsOnCall(i int, result1 policies.Policy, result2 bool)
- func (fake *PolicyManager) Invocations() map[string][][]interface{}
- func (fake *PolicyManager) Manager(arg1 []string) (policies.Manager, bool)
- func (fake *PolicyManager) ManagerArgsForCall(i int) []string
- func (fake *PolicyManager) ManagerCallCount() int
- func (fake *PolicyManager) ManagerCalls(stub func([]string) (policies.Manager, bool))
- func (fake *PolicyManager) ManagerReturns(result1 policies.Manager, result2 bool)
- func (fake *PolicyManager) ManagerReturnsOnCall(i int, result1 policies.Manager, result2 bool)
- 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 SignerSerializer
- func (fake *SignerSerializer) Invocations() map[string][][]interface{}
- func (fake *SignerSerializer) Serialize() ([]byte, error)
- func (fake *SignerSerializer) SerializeCallCount() int
- func (fake *SignerSerializer) SerializeCalls(stub func() ([]byte, error))
- func (fake *SignerSerializer) SerializeReturns(result1 []byte, result2 error)
- func (fake *SignerSerializer) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *SignerSerializer) Sign(arg1 []byte) ([]byte, error)
- func (fake *SignerSerializer) SignArgsForCall(i int) []byte
- func (fake *SignerSerializer) SignCallCount() int
- func (fake *SignerSerializer) SignCalls(stub func([]byte) ([]byte, error))
- func (fake *SignerSerializer) SignReturns(result1 []byte, result2 error)
- func (fake *SignerSerializer) SignReturnsOnCall(i int, result1 []byte, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelCapabilities ¶
type ChannelCapabilities struct { ConsensusTypeMigrationStub func() bool MSPVersionStub func() msp.MSPVersion OrgSpecificOrdererEndpointsStub func() bool SupportedStub func() error // contains filtered or unexported fields }
func (*ChannelCapabilities) ConsensusTypeMigration ¶
func (fake *ChannelCapabilities) ConsensusTypeMigration() bool
func (*ChannelCapabilities) ConsensusTypeMigrationCallCount ¶
func (fake *ChannelCapabilities) ConsensusTypeMigrationCallCount() int
func (*ChannelCapabilities) ConsensusTypeMigrationCalls ¶
func (fake *ChannelCapabilities) ConsensusTypeMigrationCalls(stub func() bool)
func (*ChannelCapabilities) ConsensusTypeMigrationReturns ¶
func (fake *ChannelCapabilities) ConsensusTypeMigrationReturns(result1 bool)
func (*ChannelCapabilities) ConsensusTypeMigrationReturnsOnCall ¶
func (fake *ChannelCapabilities) ConsensusTypeMigrationReturnsOnCall(i int, result1 bool)
func (*ChannelCapabilities) Invocations ¶
func (fake *ChannelCapabilities) Invocations() map[string][][]interface{}
func (*ChannelCapabilities) MSPVersion ¶
func (fake *ChannelCapabilities) MSPVersion() msp.MSPVersion
func (*ChannelCapabilities) MSPVersionCallCount ¶
func (fake *ChannelCapabilities) MSPVersionCallCount() int
func (*ChannelCapabilities) MSPVersionCalls ¶
func (fake *ChannelCapabilities) MSPVersionCalls(stub func() msp.MSPVersion)
func (*ChannelCapabilities) MSPVersionReturns ¶
func (fake *ChannelCapabilities) MSPVersionReturns(result1 msp.MSPVersion)
func (*ChannelCapabilities) MSPVersionReturnsOnCall ¶
func (fake *ChannelCapabilities) MSPVersionReturnsOnCall(i int, result1 msp.MSPVersion)
func (*ChannelCapabilities) OrgSpecificOrdererEndpoints ¶
func (fake *ChannelCapabilities) OrgSpecificOrdererEndpoints() bool
func (*ChannelCapabilities) OrgSpecificOrdererEndpointsCallCount ¶
func (fake *ChannelCapabilities) OrgSpecificOrdererEndpointsCallCount() int
func (*ChannelCapabilities) OrgSpecificOrdererEndpointsCalls ¶
func (fake *ChannelCapabilities) OrgSpecificOrdererEndpointsCalls(stub func() bool)
func (*ChannelCapabilities) OrgSpecificOrdererEndpointsReturns ¶
func (fake *ChannelCapabilities) OrgSpecificOrdererEndpointsReturns(result1 bool)
func (*ChannelCapabilities) OrgSpecificOrdererEndpointsReturnsOnCall ¶
func (fake *ChannelCapabilities) OrgSpecificOrdererEndpointsReturnsOnCall(i int, result1 bool)
func (*ChannelCapabilities) Supported ¶
func (fake *ChannelCapabilities) Supported() error
func (*ChannelCapabilities) SupportedCallCount ¶
func (fake *ChannelCapabilities) SupportedCallCount() int
func (*ChannelCapabilities) SupportedCalls ¶
func (fake *ChannelCapabilities) SupportedCalls(stub func() error)
func (*ChannelCapabilities) SupportedReturns ¶
func (fake *ChannelCapabilities) SupportedReturns(result1 error)
func (*ChannelCapabilities) SupportedReturnsOnCall ¶
func (fake *ChannelCapabilities) SupportedReturnsOnCall(i int, result1 error)
type ChannelConfig ¶
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 ¶
func (fake *ChannelConfig) BlockDataHashingStructureWidth() uint32
func (*ChannelConfig) BlockDataHashingStructureWidthCallCount ¶
func (fake *ChannelConfig) BlockDataHashingStructureWidthCallCount() int
func (*ChannelConfig) BlockDataHashingStructureWidthCalls ¶
func (fake *ChannelConfig) BlockDataHashingStructureWidthCalls(stub func() uint32)
func (*ChannelConfig) BlockDataHashingStructureWidthReturns ¶
func (fake *ChannelConfig) BlockDataHashingStructureWidthReturns(result1 uint32)
func (*ChannelConfig) BlockDataHashingStructureWidthReturnsOnCall ¶
func (fake *ChannelConfig) BlockDataHashingStructureWidthReturnsOnCall(i int, result1 uint32)
func (*ChannelConfig) Capabilities ¶
func (fake *ChannelConfig) Capabilities() channelconfig.ChannelCapabilities
func (*ChannelConfig) CapabilitiesCallCount ¶
func (fake *ChannelConfig) CapabilitiesCallCount() int
func (*ChannelConfig) CapabilitiesCalls ¶
func (fake *ChannelConfig) CapabilitiesCalls(stub func() channelconfig.ChannelCapabilities)
func (*ChannelConfig) CapabilitiesReturns ¶
func (fake *ChannelConfig) CapabilitiesReturns(result1 channelconfig.ChannelCapabilities)
func (*ChannelConfig) CapabilitiesReturnsOnCall ¶
func (fake *ChannelConfig) CapabilitiesReturnsOnCall(i int, result1 channelconfig.ChannelCapabilities)
func (*ChannelConfig) HashingAlgorithm ¶
func (fake *ChannelConfig) HashingAlgorithm() func(input []byte) []byte
func (*ChannelConfig) HashingAlgorithmCallCount ¶
func (fake *ChannelConfig) HashingAlgorithmCallCount() int
func (*ChannelConfig) HashingAlgorithmCalls ¶
func (fake *ChannelConfig) HashingAlgorithmCalls(stub func() func(input []byte) []byte)
func (*ChannelConfig) HashingAlgorithmReturns ¶
func (fake *ChannelConfig) HashingAlgorithmReturns(result1 func(input []byte) []byte)
func (*ChannelConfig) HashingAlgorithmReturnsOnCall ¶
func (fake *ChannelConfig) HashingAlgorithmReturnsOnCall(i int, result1 func(input []byte) []byte)
func (*ChannelConfig) Invocations ¶
func (fake *ChannelConfig) Invocations() map[string][][]interface{}
func (*ChannelConfig) OrdererAddresses ¶
func (fake *ChannelConfig) OrdererAddresses() []string
func (*ChannelConfig) OrdererAddressesCallCount ¶
func (fake *ChannelConfig) OrdererAddressesCallCount() int
func (*ChannelConfig) OrdererAddressesCalls ¶
func (fake *ChannelConfig) OrdererAddressesCalls(stub func() []string)
func (*ChannelConfig) OrdererAddressesReturns ¶
func (fake *ChannelConfig) OrdererAddressesReturns(result1 []string)
func (*ChannelConfig) OrdererAddressesReturnsOnCall ¶
func (fake *ChannelConfig) OrdererAddressesReturnsOnCall(i int, result1 []string)
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 OrdererCapabilities ¶
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 ¶
func (fake *OrdererCapabilities) ConsensusTypeMigration() bool
func (*OrdererCapabilities) ConsensusTypeMigrationCallCount ¶
func (fake *OrdererCapabilities) ConsensusTypeMigrationCallCount() int
func (*OrdererCapabilities) ConsensusTypeMigrationCalls ¶
func (fake *OrdererCapabilities) ConsensusTypeMigrationCalls(stub func() bool)
func (*OrdererCapabilities) ConsensusTypeMigrationReturns ¶
func (fake *OrdererCapabilities) ConsensusTypeMigrationReturns(result1 bool)
func (*OrdererCapabilities) ConsensusTypeMigrationReturnsOnCall ¶
func (fake *OrdererCapabilities) ConsensusTypeMigrationReturnsOnCall(i int, result1 bool)
func (*OrdererCapabilities) ExpirationCheck ¶
func (fake *OrdererCapabilities) ExpirationCheck() bool
func (*OrdererCapabilities) ExpirationCheckCallCount ¶
func (fake *OrdererCapabilities) ExpirationCheckCallCount() int
func (*OrdererCapabilities) ExpirationCheckCalls ¶
func (fake *OrdererCapabilities) ExpirationCheckCalls(stub func() bool)
func (*OrdererCapabilities) ExpirationCheckReturns ¶
func (fake *OrdererCapabilities) ExpirationCheckReturns(result1 bool)
func (*OrdererCapabilities) ExpirationCheckReturnsOnCall ¶
func (fake *OrdererCapabilities) ExpirationCheckReturnsOnCall(i int, result1 bool)
func (*OrdererCapabilities) Invocations ¶
func (fake *OrdererCapabilities) Invocations() map[string][][]interface{}
func (*OrdererCapabilities) PredictableChannelTemplate ¶
func (fake *OrdererCapabilities) PredictableChannelTemplate() bool
func (*OrdererCapabilities) PredictableChannelTemplateCallCount ¶
func (fake *OrdererCapabilities) PredictableChannelTemplateCallCount() int
func (*OrdererCapabilities) PredictableChannelTemplateCalls ¶
func (fake *OrdererCapabilities) PredictableChannelTemplateCalls(stub func() bool)
func (*OrdererCapabilities) PredictableChannelTemplateReturns ¶
func (fake *OrdererCapabilities) PredictableChannelTemplateReturns(result1 bool)
func (*OrdererCapabilities) PredictableChannelTemplateReturnsOnCall ¶
func (fake *OrdererCapabilities) PredictableChannelTemplateReturnsOnCall(i int, result1 bool)
func (*OrdererCapabilities) Resubmission ¶
func (fake *OrdererCapabilities) Resubmission() bool
func (*OrdererCapabilities) ResubmissionCallCount ¶
func (fake *OrdererCapabilities) ResubmissionCallCount() int
func (*OrdererCapabilities) ResubmissionCalls ¶
func (fake *OrdererCapabilities) ResubmissionCalls(stub func() bool)
func (*OrdererCapabilities) ResubmissionReturns ¶
func (fake *OrdererCapabilities) ResubmissionReturns(result1 bool)
func (*OrdererCapabilities) ResubmissionReturnsOnCall ¶
func (fake *OrdererCapabilities) ResubmissionReturnsOnCall(i int, result1 bool)
func (*OrdererCapabilities) Supported ¶
func (fake *OrdererCapabilities) Supported() error
func (*OrdererCapabilities) SupportedCallCount ¶
func (fake *OrdererCapabilities) SupportedCallCount() int
func (*OrdererCapabilities) SupportedCalls ¶
func (fake *OrdererCapabilities) SupportedCalls(stub func() error)
func (*OrdererCapabilities) SupportedReturns ¶
func (fake *OrdererCapabilities) SupportedReturns(result1 error)
func (*OrdererCapabilities) SupportedReturnsOnCall ¶
func (fake *OrdererCapabilities) SupportedReturnsOnCall(i int, result1 error)
func (*OrdererCapabilities) UseChannelCreationPolicyAsAdmins ¶
func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdmins() bool
func (*OrdererCapabilities) UseChannelCreationPolicyAsAdminsCallCount ¶
func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsCallCount() int
func (*OrdererCapabilities) UseChannelCreationPolicyAsAdminsCalls ¶
func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsCalls(stub func() bool)
func (*OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturns ¶
func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturns(result1 bool)
func (*OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturnsOnCall ¶
func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturnsOnCall(i int, result1 bool)
type OrdererConfig ¶
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 ¶
func (fake *OrdererConfig) BatchSize() *orderer.BatchSize
func (*OrdererConfig) BatchSizeCallCount ¶
func (fake *OrdererConfig) BatchSizeCallCount() int
func (*OrdererConfig) BatchSizeCalls ¶
func (fake *OrdererConfig) BatchSizeCalls(stub func() *orderer.BatchSize)
func (*OrdererConfig) BatchSizeReturns ¶
func (fake *OrdererConfig) BatchSizeReturns(result1 *orderer.BatchSize)
func (*OrdererConfig) BatchSizeReturnsOnCall ¶
func (fake *OrdererConfig) BatchSizeReturnsOnCall(i int, result1 *orderer.BatchSize)
func (*OrdererConfig) BatchTimeout ¶
func (fake *OrdererConfig) BatchTimeout() time.Duration
func (*OrdererConfig) BatchTimeoutCallCount ¶
func (fake *OrdererConfig) BatchTimeoutCallCount() int
func (*OrdererConfig) BatchTimeoutCalls ¶
func (fake *OrdererConfig) BatchTimeoutCalls(stub func() time.Duration)
func (*OrdererConfig) BatchTimeoutReturns ¶
func (fake *OrdererConfig) BatchTimeoutReturns(result1 time.Duration)
func (*OrdererConfig) BatchTimeoutReturnsOnCall ¶
func (fake *OrdererConfig) BatchTimeoutReturnsOnCall(i int, result1 time.Duration)
func (*OrdererConfig) Capabilities ¶
func (fake *OrdererConfig) Capabilities() channelconfig.OrdererCapabilities
func (*OrdererConfig) CapabilitiesCallCount ¶
func (fake *OrdererConfig) CapabilitiesCallCount() int
func (*OrdererConfig) CapabilitiesCalls ¶
func (fake *OrdererConfig) CapabilitiesCalls(stub func() channelconfig.OrdererCapabilities)
func (*OrdererConfig) CapabilitiesReturns ¶
func (fake *OrdererConfig) CapabilitiesReturns(result1 channelconfig.OrdererCapabilities)
func (*OrdererConfig) CapabilitiesReturnsOnCall ¶
func (fake *OrdererConfig) CapabilitiesReturnsOnCall(i int, result1 channelconfig.OrdererCapabilities)
func (*OrdererConfig) ConsensusMetadata ¶
func (fake *OrdererConfig) ConsensusMetadata() []byte
func (*OrdererConfig) ConsensusMetadataCallCount ¶
func (fake *OrdererConfig) ConsensusMetadataCallCount() int
func (*OrdererConfig) ConsensusMetadataCalls ¶
func (fake *OrdererConfig) ConsensusMetadataCalls(stub func() []byte)
func (*OrdererConfig) ConsensusMetadataReturns ¶
func (fake *OrdererConfig) ConsensusMetadataReturns(result1 []byte)
func (*OrdererConfig) ConsensusMetadataReturnsOnCall ¶
func (fake *OrdererConfig) ConsensusMetadataReturnsOnCall(i int, result1 []byte)
func (*OrdererConfig) ConsensusState ¶
func (fake *OrdererConfig) ConsensusState() orderer.ConsensusType_State
func (*OrdererConfig) ConsensusStateCallCount ¶
func (fake *OrdererConfig) ConsensusStateCallCount() int
func (*OrdererConfig) ConsensusStateCalls ¶
func (fake *OrdererConfig) ConsensusStateCalls(stub func() orderer.ConsensusType_State)
func (*OrdererConfig) ConsensusStateReturns ¶
func (fake *OrdererConfig) ConsensusStateReturns(result1 orderer.ConsensusType_State)
func (*OrdererConfig) ConsensusStateReturnsOnCall ¶
func (fake *OrdererConfig) ConsensusStateReturnsOnCall(i int, result1 orderer.ConsensusType_State)
func (*OrdererConfig) ConsensusType ¶
func (fake *OrdererConfig) ConsensusType() string
func (*OrdererConfig) ConsensusTypeCallCount ¶
func (fake *OrdererConfig) ConsensusTypeCallCount() int
func (*OrdererConfig) ConsensusTypeCalls ¶
func (fake *OrdererConfig) ConsensusTypeCalls(stub func() string)
func (*OrdererConfig) ConsensusTypeReturns ¶
func (fake *OrdererConfig) ConsensusTypeReturns(result1 string)
func (*OrdererConfig) ConsensusTypeReturnsOnCall ¶
func (fake *OrdererConfig) ConsensusTypeReturnsOnCall(i int, result1 string)
func (*OrdererConfig) Invocations ¶
func (fake *OrdererConfig) Invocations() map[string][][]interface{}
func (*OrdererConfig) KafkaBrokers ¶
func (fake *OrdererConfig) KafkaBrokers() []string
func (*OrdererConfig) KafkaBrokersCallCount ¶
func (fake *OrdererConfig) KafkaBrokersCallCount() int
func (*OrdererConfig) KafkaBrokersCalls ¶
func (fake *OrdererConfig) KafkaBrokersCalls(stub func() []string)
func (*OrdererConfig) KafkaBrokersReturns ¶
func (fake *OrdererConfig) KafkaBrokersReturns(result1 []string)
func (*OrdererConfig) KafkaBrokersReturnsOnCall ¶
func (fake *OrdererConfig) KafkaBrokersReturnsOnCall(i int, result1 []string)
func (*OrdererConfig) MaxChannelsCount ¶
func (fake *OrdererConfig) MaxChannelsCount() uint64
func (*OrdererConfig) MaxChannelsCountCallCount ¶
func (fake *OrdererConfig) MaxChannelsCountCallCount() int
func (*OrdererConfig) MaxChannelsCountCalls ¶
func (fake *OrdererConfig) MaxChannelsCountCalls(stub func() uint64)
func (*OrdererConfig) MaxChannelsCountReturns ¶
func (fake *OrdererConfig) MaxChannelsCountReturns(result1 uint64)
func (*OrdererConfig) MaxChannelsCountReturnsOnCall ¶
func (fake *OrdererConfig) MaxChannelsCountReturnsOnCall(i int, result1 uint64)
func (*OrdererConfig) Organizations ¶
func (fake *OrdererConfig) Organizations() map[string]channelconfig.OrdererOrg
func (*OrdererConfig) OrganizationsCallCount ¶
func (fake *OrdererConfig) OrganizationsCallCount() int
func (*OrdererConfig) OrganizationsCalls ¶
func (fake *OrdererConfig) OrganizationsCalls(stub func() map[string]channelconfig.OrdererOrg)
func (*OrdererConfig) OrganizationsReturns ¶
func (fake *OrdererConfig) OrganizationsReturns(result1 map[string]channelconfig.OrdererOrg)
func (*OrdererConfig) OrganizationsReturnsOnCall ¶
func (fake *OrdererConfig) OrganizationsReturnsOnCall(i int, result1 map[string]channelconfig.OrdererOrg)
type Policy ¶
type Policy struct { EvaluateIdentitiesStub func([]msp.Identity) error EvaluateSignedDataStub func([]*protoutil.SignedData) error // contains filtered or unexported fields }
func (*Policy) EvaluateIdentities ¶
func (*Policy) EvaluateIdentitiesArgsForCall ¶
func (*Policy) EvaluateIdentitiesCallCount ¶
func (*Policy) EvaluateIdentitiesCalls ¶
func (*Policy) EvaluateIdentitiesReturns ¶
func (*Policy) EvaluateIdentitiesReturnsOnCall ¶
func (*Policy) EvaluateSignedData ¶
func (fake *Policy) EvaluateSignedData(arg1 []*protoutil.SignedData) error
func (*Policy) EvaluateSignedDataArgsForCall ¶
func (fake *Policy) EvaluateSignedDataArgsForCall(i int) []*protoutil.SignedData
func (*Policy) EvaluateSignedDataCallCount ¶
func (*Policy) EvaluateSignedDataCalls ¶
func (fake *Policy) EvaluateSignedDataCalls(stub func([]*protoutil.SignedData) error)
func (*Policy) EvaluateSignedDataReturns ¶
func (*Policy) EvaluateSignedDataReturnsOnCall ¶
func (*Policy) Invocations ¶
type PolicyManager ¶
type PolicyManager struct { GetPolicyStub func(string) (policies.Policy, bool) ManagerStub func([]string) (policies.Manager, bool) // contains filtered or unexported fields }
func (*PolicyManager) GetPolicy ¶
func (fake *PolicyManager) GetPolicy(arg1 string) (policies.Policy, bool)
func (*PolicyManager) GetPolicyArgsForCall ¶
func (fake *PolicyManager) GetPolicyArgsForCall(i int) string
func (*PolicyManager) GetPolicyCallCount ¶
func (fake *PolicyManager) GetPolicyCallCount() int
func (*PolicyManager) GetPolicyCalls ¶
func (fake *PolicyManager) GetPolicyCalls(stub func(string) (policies.Policy, bool))
func (*PolicyManager) GetPolicyReturns ¶
func (fake *PolicyManager) GetPolicyReturns(result1 policies.Policy, result2 bool)
func (*PolicyManager) GetPolicyReturnsOnCall ¶
func (fake *PolicyManager) GetPolicyReturnsOnCall(i int, result1 policies.Policy, result2 bool)
func (*PolicyManager) Invocations ¶
func (fake *PolicyManager) Invocations() map[string][][]interface{}
func (*PolicyManager) Manager ¶
func (fake *PolicyManager) Manager(arg1 []string) (policies.Manager, bool)
func (*PolicyManager) ManagerArgsForCall ¶
func (fake *PolicyManager) ManagerArgsForCall(i int) []string
func (*PolicyManager) ManagerCallCount ¶
func (fake *PolicyManager) ManagerCallCount() int
func (*PolicyManager) ManagerCalls ¶
func (fake *PolicyManager) ManagerCalls(stub func([]string) (policies.Manager, bool))
func (*PolicyManager) ManagerReturns ¶
func (fake *PolicyManager) ManagerReturns(result1 policies.Manager, result2 bool)
func (*PolicyManager) ManagerReturnsOnCall ¶
func (fake *PolicyManager) ManagerReturnsOnCall(i int, result1 policies.Manager, result2 bool)
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 SignerSerializer ¶
type SignerSerializer struct { SerializeStub func() ([]byte, error) SignStub func([]byte) ([]byte, error) // contains filtered or unexported fields }
func (*SignerSerializer) Invocations ¶
func (fake *SignerSerializer) Invocations() map[string][][]interface{}
func (*SignerSerializer) Serialize ¶
func (fake *SignerSerializer) Serialize() ([]byte, error)
func (*SignerSerializer) SerializeCallCount ¶
func (fake *SignerSerializer) SerializeCallCount() int
func (*SignerSerializer) SerializeCalls ¶
func (fake *SignerSerializer) SerializeCalls(stub func() ([]byte, error))
func (*SignerSerializer) SerializeReturns ¶
func (fake *SignerSerializer) SerializeReturns(result1 []byte, result2 error)
func (*SignerSerializer) SerializeReturnsOnCall ¶
func (fake *SignerSerializer) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
func (*SignerSerializer) SignArgsForCall ¶
func (fake *SignerSerializer) SignArgsForCall(i int) []byte
func (*SignerSerializer) SignCallCount ¶
func (fake *SignerSerializer) SignCallCount() int
func (*SignerSerializer) SignCalls ¶
func (fake *SignerSerializer) SignCalls(stub func([]byte) ([]byte, error))
func (*SignerSerializer) SignReturns ¶
func (fake *SignerSerializer) SignReturns(result1 []byte, result2 error)
func (*SignerSerializer) SignReturnsOnCall ¶
func (fake *SignerSerializer) SignReturnsOnCall(i int, result1 []byte, result2 error)
Click to show internal directories.
Click to hide internal directories.