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.
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 HealthChecker
- func (fake *HealthChecker) Invocations() map[string][][]interface{}
- func (fake *HealthChecker) RegisterChecker(arg1 string, arg2 healthz.HealthChecker) error
- func (fake *HealthChecker) RegisterCheckerArgsForCall(i int) (string, healthz.HealthChecker)
- func (fake *HealthChecker) RegisterCheckerCallCount() int
- func (fake *HealthChecker) RegisterCheckerCalls(stub func(string, healthz.HealthChecker) error)
- func (fake *HealthChecker) RegisterCheckerReturns(result1 error)
- func (fake *HealthChecker) RegisterCheckerReturnsOnCall(i int, result1 error)
- type MetricsGauge
- func (fake *MetricsGauge) Add(arg1 float64)
- func (fake *MetricsGauge) AddArgsForCall(i int) float64
- func (fake *MetricsGauge) AddCallCount() int
- func (fake *MetricsGauge) AddCalls(stub func(float64))
- func (fake *MetricsGauge) Invocations() map[string][][]interface{}
- func (fake *MetricsGauge) Set(arg1 float64)
- func (fake *MetricsGauge) SetArgsForCall(i int) float64
- func (fake *MetricsGauge) SetCallCount() int
- func (fake *MetricsGauge) SetCalls(stub func(float64))
- func (fake *MetricsGauge) With(arg1 ...string) metrics.Gauge
- func (fake *MetricsGauge) WithArgsForCall(i int) []string
- func (fake *MetricsGauge) WithCallCount() int
- func (fake *MetricsGauge) WithCalls(stub func(...string) metrics.Gauge)
- func (fake *MetricsGauge) WithReturns(result1 metrics.Gauge)
- func (fake *MetricsGauge) WithReturnsOnCall(i int, result1 metrics.Gauge)
- type MetricsHistogram
- func (fake *MetricsHistogram) Clear()
- func (fake *MetricsHistogram) ClearCallCount() int
- func (fake *MetricsHistogram) ClearCalls(stub func())
- func (fake *MetricsHistogram) Count() int64
- func (fake *MetricsHistogram) CountCallCount() int
- func (fake *MetricsHistogram) CountCalls(stub func() int64)
- func (fake *MetricsHistogram) CountReturns(result1 int64)
- func (fake *MetricsHistogram) CountReturnsOnCall(i int, result1 int64)
- func (fake *MetricsHistogram) Invocations() map[string][][]interface{}
- func (fake *MetricsHistogram) Max() int64
- func (fake *MetricsHistogram) MaxCallCount() int
- func (fake *MetricsHistogram) MaxCalls(stub func() int64)
- func (fake *MetricsHistogram) MaxReturns(result1 int64)
- func (fake *MetricsHistogram) MaxReturnsOnCall(i int, result1 int64)
- func (fake *MetricsHistogram) Mean() float64
- func (fake *MetricsHistogram) MeanCallCount() int
- func (fake *MetricsHistogram) MeanCalls(stub func() float64)
- func (fake *MetricsHistogram) MeanReturns(result1 float64)
- func (fake *MetricsHistogram) MeanReturnsOnCall(i int, result1 float64)
- func (fake *MetricsHistogram) Min() int64
- func (fake *MetricsHistogram) MinCallCount() int
- func (fake *MetricsHistogram) MinCalls(stub func() int64)
- func (fake *MetricsHistogram) MinReturns(result1 int64)
- func (fake *MetricsHistogram) MinReturnsOnCall(i int, result1 int64)
- func (fake *MetricsHistogram) Percentile(arg1 float64) float64
- func (fake *MetricsHistogram) PercentileArgsForCall(i int) float64
- func (fake *MetricsHistogram) PercentileCallCount() int
- func (fake *MetricsHistogram) PercentileCalls(stub func(float64) float64)
- func (fake *MetricsHistogram) PercentileReturns(result1 float64)
- func (fake *MetricsHistogram) PercentileReturnsOnCall(i int, result1 float64)
- func (fake *MetricsHistogram) Percentiles(arg1 []float64) []float64
- func (fake *MetricsHistogram) PercentilesArgsForCall(i int) []float64
- func (fake *MetricsHistogram) PercentilesCallCount() int
- func (fake *MetricsHistogram) PercentilesCalls(stub func([]float64) []float64)
- func (fake *MetricsHistogram) PercentilesReturns(result1 []float64)
- func (fake *MetricsHistogram) PercentilesReturnsOnCall(i int, result1 []float64)
- func (fake *MetricsHistogram) Sample() metrics.Sample
- func (fake *MetricsHistogram) SampleCallCount() int
- func (fake *MetricsHistogram) SampleCalls(stub func() metrics.Sample)
- func (fake *MetricsHistogram) SampleReturns(result1 metrics.Sample)
- func (fake *MetricsHistogram) SampleReturnsOnCall(i int, result1 metrics.Sample)
- func (fake *MetricsHistogram) Snapshot() metrics.Histogram
- func (fake *MetricsHistogram) SnapshotCallCount() int
- func (fake *MetricsHistogram) SnapshotCalls(stub func() metrics.Histogram)
- func (fake *MetricsHistogram) SnapshotReturns(result1 metrics.Histogram)
- func (fake *MetricsHistogram) SnapshotReturnsOnCall(i int, result1 metrics.Histogram)
- func (fake *MetricsHistogram) StdDev() float64
- func (fake *MetricsHistogram) StdDevCallCount() int
- func (fake *MetricsHistogram) StdDevCalls(stub func() float64)
- func (fake *MetricsHistogram) StdDevReturns(result1 float64)
- func (fake *MetricsHistogram) StdDevReturnsOnCall(i int, result1 float64)
- func (fake *MetricsHistogram) Sum() int64
- func (fake *MetricsHistogram) SumCallCount() int
- func (fake *MetricsHistogram) SumCalls(stub func() int64)
- func (fake *MetricsHistogram) SumReturns(result1 int64)
- func (fake *MetricsHistogram) SumReturnsOnCall(i int, result1 int64)
- func (fake *MetricsHistogram) Update(arg1 int64)
- func (fake *MetricsHistogram) UpdateArgsForCall(i int) int64
- func (fake *MetricsHistogram) UpdateCallCount() int
- func (fake *MetricsHistogram) UpdateCalls(stub func(int64))
- func (fake *MetricsHistogram) Variance() float64
- func (fake *MetricsHistogram) VarianceCallCount() int
- func (fake *MetricsHistogram) VarianceCalls(stub func() float64)
- func (fake *MetricsHistogram) VarianceReturns(result1 float64)
- func (fake *MetricsHistogram) VarianceReturnsOnCall(i int, result1 float64)
- type MetricsMeter
- func (fake *MetricsMeter) Count() int64
- func (fake *MetricsMeter) CountCallCount() int
- func (fake *MetricsMeter) CountCalls(stub func() int64)
- func (fake *MetricsMeter) CountReturns(result1 int64)
- func (fake *MetricsMeter) CountReturnsOnCall(i int, result1 int64)
- func (fake *MetricsMeter) Invocations() map[string][][]interface{}
- func (fake *MetricsMeter) Mark(arg1 int64)
- func (fake *MetricsMeter) MarkArgsForCall(i int) int64
- func (fake *MetricsMeter) MarkCallCount() int
- func (fake *MetricsMeter) MarkCalls(stub func(int64))
- func (fake *MetricsMeter) Rate1() float64
- func (fake *MetricsMeter) Rate15() float64
- func (fake *MetricsMeter) Rate15CallCount() int
- func (fake *MetricsMeter) Rate15Calls(stub func() float64)
- func (fake *MetricsMeter) Rate15Returns(result1 float64)
- func (fake *MetricsMeter) Rate15ReturnsOnCall(i int, result1 float64)
- func (fake *MetricsMeter) Rate1CallCount() int
- func (fake *MetricsMeter) Rate1Calls(stub func() float64)
- func (fake *MetricsMeter) Rate1Returns(result1 float64)
- func (fake *MetricsMeter) Rate1ReturnsOnCall(i int, result1 float64)
- func (fake *MetricsMeter) Rate5() float64
- func (fake *MetricsMeter) Rate5CallCount() int
- func (fake *MetricsMeter) Rate5Calls(stub func() float64)
- func (fake *MetricsMeter) Rate5Returns(result1 float64)
- func (fake *MetricsMeter) Rate5ReturnsOnCall(i int, result1 float64)
- func (fake *MetricsMeter) RateMean() float64
- func (fake *MetricsMeter) RateMeanCallCount() int
- func (fake *MetricsMeter) RateMeanCalls(stub func() float64)
- func (fake *MetricsMeter) RateMeanReturns(result1 float64)
- func (fake *MetricsMeter) RateMeanReturnsOnCall(i int, result1 float64)
- func (fake *MetricsMeter) Snapshot() metrics.Meter
- func (fake *MetricsMeter) SnapshotCallCount() int
- func (fake *MetricsMeter) SnapshotCalls(stub func() metrics.Meter)
- func (fake *MetricsMeter) SnapshotReturns(result1 metrics.Meter)
- func (fake *MetricsMeter) SnapshotReturnsOnCall(i int, result1 metrics.Meter)
- func (fake *MetricsMeter) Stop()
- func (fake *MetricsMeter) StopCallCount() int
- func (fake *MetricsMeter) StopCalls(stub func())
- type MetricsProvider
- func (fake *MetricsProvider) Invocations() map[string][][]interface{}
- func (fake *MetricsProvider) NewCounter(arg1 metrics.CounterOpts) metrics.Counter
- func (fake *MetricsProvider) NewCounterArgsForCall(i int) metrics.CounterOpts
- func (fake *MetricsProvider) NewCounterCallCount() int
- func (fake *MetricsProvider) NewCounterCalls(stub func(metrics.CounterOpts) metrics.Counter)
- func (fake *MetricsProvider) NewCounterReturns(result1 metrics.Counter)
- func (fake *MetricsProvider) NewCounterReturnsOnCall(i int, result1 metrics.Counter)
- func (fake *MetricsProvider) NewGauge(arg1 metrics.GaugeOpts) metrics.Gauge
- func (fake *MetricsProvider) NewGaugeArgsForCall(i int) metrics.GaugeOpts
- func (fake *MetricsProvider) NewGaugeCallCount() int
- func (fake *MetricsProvider) NewGaugeCalls(stub func(metrics.GaugeOpts) metrics.Gauge)
- func (fake *MetricsProvider) NewGaugeReturns(result1 metrics.Gauge)
- func (fake *MetricsProvider) NewGaugeReturnsOnCall(i int, result1 metrics.Gauge)
- func (fake *MetricsProvider) NewHistogram(arg1 metrics.HistogramOpts) metrics.Histogram
- func (fake *MetricsProvider) NewHistogramArgsForCall(i int) metrics.HistogramOpts
- func (fake *MetricsProvider) NewHistogramCallCount() int
- func (fake *MetricsProvider) NewHistogramCalls(stub func(metrics.HistogramOpts) metrics.Histogram)
- func (fake *MetricsProvider) NewHistogramReturns(result1 metrics.Histogram)
- func (fake *MetricsProvider) NewHistogramReturnsOnCall(i int, result1 metrics.Histogram)
- type MetricsRegistry
- func (fake *MetricsRegistry) Each(arg1 func(string, interface{}))
- func (fake *MetricsRegistry) EachArgsForCall(i int) func(string, interface{})
- func (fake *MetricsRegistry) EachCallCount() int
- func (fake *MetricsRegistry) EachCalls(stub func(func(string, interface{})))
- func (fake *MetricsRegistry) Get(arg1 string) interface{}
- func (fake *MetricsRegistry) GetAll() map[string]map[string]interface{}
- func (fake *MetricsRegistry) GetAllCallCount() int
- func (fake *MetricsRegistry) GetAllCalls(stub func() map[string]map[string]interface{})
- func (fake *MetricsRegistry) GetAllReturns(result1 map[string]map[string]interface{})
- func (fake *MetricsRegistry) GetAllReturnsOnCall(i int, result1 map[string]map[string]interface{})
- func (fake *MetricsRegistry) GetArgsForCall(i int) string
- func (fake *MetricsRegistry) GetCallCount() int
- func (fake *MetricsRegistry) GetCalls(stub func(string) interface{})
- func (fake *MetricsRegistry) GetOrRegister(arg1 string, arg2 interface{}) interface{}
- func (fake *MetricsRegistry) GetOrRegisterArgsForCall(i int) (string, interface{})
- func (fake *MetricsRegistry) GetOrRegisterCallCount() int
- func (fake *MetricsRegistry) GetOrRegisterCalls(stub func(string, interface{}) interface{})
- func (fake *MetricsRegistry) GetOrRegisterReturns(result1 interface{})
- func (fake *MetricsRegistry) GetOrRegisterReturnsOnCall(i int, result1 interface{})
- func (fake *MetricsRegistry) GetReturns(result1 interface{})
- func (fake *MetricsRegistry) GetReturnsOnCall(i int, result1 interface{})
- func (fake *MetricsRegistry) Invocations() map[string][][]interface{}
- func (fake *MetricsRegistry) Register(arg1 string, arg2 interface{}) error
- func (fake *MetricsRegistry) RegisterArgsForCall(i int) (string, interface{})
- func (fake *MetricsRegistry) RegisterCallCount() int
- func (fake *MetricsRegistry) RegisterCalls(stub func(string, interface{}) error)
- func (fake *MetricsRegistry) RegisterReturns(result1 error)
- func (fake *MetricsRegistry) RegisterReturnsOnCall(i int, result1 error)
- func (fake *MetricsRegistry) RunHealthchecks()
- func (fake *MetricsRegistry) RunHealthchecksCallCount() int
- func (fake *MetricsRegistry) RunHealthchecksCalls(stub func())
- func (fake *MetricsRegistry) Unregister(arg1 string)
- func (fake *MetricsRegistry) UnregisterAll()
- func (fake *MetricsRegistry) UnregisterAllCallCount() int
- func (fake *MetricsRegistry) UnregisterAllCalls(stub func())
- func (fake *MetricsRegistry) UnregisterArgsForCall(i int) string
- func (fake *MetricsRegistry) UnregisterCallCount() int
- func (fake *MetricsRegistry) UnregisterCalls(stub func(string))
- 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 SyncProducer
- func (fake *SyncProducer) Close() error
- func (fake *SyncProducer) CloseCallCount() int
- func (fake *SyncProducer) CloseCalls(stub func() error)
- func (fake *SyncProducer) CloseReturns(result1 error)
- func (fake *SyncProducer) CloseReturnsOnCall(i int, result1 error)
- func (fake *SyncProducer) Invocations() map[string][][]interface{}
- func (fake *SyncProducer) SendMessage(arg1 *sarama.ProducerMessage) (int32, int64, error)
- func (fake *SyncProducer) SendMessageArgsForCall(i int) *sarama.ProducerMessage
- func (fake *SyncProducer) SendMessageCallCount() int
- func (fake *SyncProducer) SendMessageCalls(stub func(*sarama.ProducerMessage) (int32, int64, error))
- func (fake *SyncProducer) SendMessageReturns(result1 int32, result2 int64, result3 error)
- func (fake *SyncProducer) SendMessageReturnsOnCall(i int, result1 int32, result2 int64, result3 error)
- func (fake *SyncProducer) SendMessages(arg1 []*sarama.ProducerMessage) error
- func (fake *SyncProducer) SendMessagesArgsForCall(i int) []*sarama.ProducerMessage
- func (fake *SyncProducer) SendMessagesCallCount() int
- func (fake *SyncProducer) SendMessagesCalls(stub func([]*sarama.ProducerMessage) error)
- func (fake *SyncProducer) SendMessagesReturns(result1 error)
- func (fake *SyncProducer) SendMessagesReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelCapabilities ¶ added in v1.5.6
type ChannelCapabilities struct { ConsensusTypeMigrationStub func() bool MSPVersionStub func() msp.MSPVersion OrgSpecificOrdererEndpointsStub func() bool SupportedStub func() error // contains filtered or unexported fields }
func (*ChannelCapabilities) ConsensusTypeMigration ¶ added in v1.5.6
func (fake *ChannelCapabilities) ConsensusTypeMigration() bool
func (*ChannelCapabilities) ConsensusTypeMigrationCallCount ¶ added in v1.5.6
func (fake *ChannelCapabilities) ConsensusTypeMigrationCallCount() int
func (*ChannelCapabilities) ConsensusTypeMigrationCalls ¶ added in v1.5.6
func (fake *ChannelCapabilities) ConsensusTypeMigrationCalls(stub func() bool)
func (*ChannelCapabilities) ConsensusTypeMigrationReturns ¶ added in v1.5.6
func (fake *ChannelCapabilities) ConsensusTypeMigrationReturns(result1 bool)
func (*ChannelCapabilities) ConsensusTypeMigrationReturnsOnCall ¶ added in v1.5.6
func (fake *ChannelCapabilities) ConsensusTypeMigrationReturnsOnCall(i int, result1 bool)
func (*ChannelCapabilities) Invocations ¶ added in v1.5.6
func (fake *ChannelCapabilities) Invocations() map[string][][]interface{}
func (*ChannelCapabilities) MSPVersion ¶ added in v1.5.6
func (fake *ChannelCapabilities) MSPVersion() msp.MSPVersion
func (*ChannelCapabilities) MSPVersionCallCount ¶ added in v1.5.6
func (fake *ChannelCapabilities) MSPVersionCallCount() int
func (*ChannelCapabilities) MSPVersionCalls ¶ added in v1.5.6
func (fake *ChannelCapabilities) MSPVersionCalls(stub func() msp.MSPVersion)
func (*ChannelCapabilities) MSPVersionReturns ¶ added in v1.5.6
func (fake *ChannelCapabilities) MSPVersionReturns(result1 msp.MSPVersion)
func (*ChannelCapabilities) MSPVersionReturnsOnCall ¶ added in v1.5.6
func (fake *ChannelCapabilities) MSPVersionReturnsOnCall(i int, result1 msp.MSPVersion)
func (*ChannelCapabilities) OrgSpecificOrdererEndpoints ¶ added in v1.5.6
func (fake *ChannelCapabilities) OrgSpecificOrdererEndpoints() bool
func (*ChannelCapabilities) OrgSpecificOrdererEndpointsCallCount ¶ added in v1.5.6
func (fake *ChannelCapabilities) OrgSpecificOrdererEndpointsCallCount() int
func (*ChannelCapabilities) OrgSpecificOrdererEndpointsCalls ¶ added in v1.5.6
func (fake *ChannelCapabilities) OrgSpecificOrdererEndpointsCalls(stub func() bool)
func (*ChannelCapabilities) OrgSpecificOrdererEndpointsReturns ¶ added in v1.5.6
func (fake *ChannelCapabilities) OrgSpecificOrdererEndpointsReturns(result1 bool)
func (*ChannelCapabilities) OrgSpecificOrdererEndpointsReturnsOnCall ¶ added in v1.5.6
func (fake *ChannelCapabilities) OrgSpecificOrdererEndpointsReturnsOnCall(i int, result1 bool)
func (*ChannelCapabilities) Supported ¶ added in v1.5.6
func (fake *ChannelCapabilities) Supported() error
func (*ChannelCapabilities) SupportedCallCount ¶ added in v1.5.6
func (fake *ChannelCapabilities) SupportedCallCount() int
func (*ChannelCapabilities) SupportedCalls ¶ added in v1.5.6
func (fake *ChannelCapabilities) SupportedCalls(stub func() error)
func (*ChannelCapabilities) SupportedReturns ¶ added in v1.5.6
func (fake *ChannelCapabilities) SupportedReturns(result1 error)
func (*ChannelCapabilities) SupportedReturnsOnCall ¶ added in v1.5.6
func (fake *ChannelCapabilities) SupportedReturnsOnCall(i int, result1 error)
type ChannelConfig ¶ added in v1.5.6
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 ¶ added in v1.5.6
func (fake *ChannelConfig) BlockDataHashingStructureWidth() uint32
func (*ChannelConfig) BlockDataHashingStructureWidthCallCount ¶ added in v1.5.6
func (fake *ChannelConfig) BlockDataHashingStructureWidthCallCount() int
func (*ChannelConfig) BlockDataHashingStructureWidthCalls ¶ added in v1.5.6
func (fake *ChannelConfig) BlockDataHashingStructureWidthCalls(stub func() uint32)
func (*ChannelConfig) BlockDataHashingStructureWidthReturns ¶ added in v1.5.6
func (fake *ChannelConfig) BlockDataHashingStructureWidthReturns(result1 uint32)
func (*ChannelConfig) BlockDataHashingStructureWidthReturnsOnCall ¶ added in v1.5.6
func (fake *ChannelConfig) BlockDataHashingStructureWidthReturnsOnCall(i int, result1 uint32)
func (*ChannelConfig) Capabilities ¶ added in v1.5.6
func (fake *ChannelConfig) Capabilities() channelconfig.ChannelCapabilities
func (*ChannelConfig) CapabilitiesCallCount ¶ added in v1.5.6
func (fake *ChannelConfig) CapabilitiesCallCount() int
func (*ChannelConfig) CapabilitiesCalls ¶ added in v1.5.6
func (fake *ChannelConfig) CapabilitiesCalls(stub func() channelconfig.ChannelCapabilities)
func (*ChannelConfig) CapabilitiesReturns ¶ added in v1.5.6
func (fake *ChannelConfig) CapabilitiesReturns(result1 channelconfig.ChannelCapabilities)
func (*ChannelConfig) CapabilitiesReturnsOnCall ¶ added in v1.5.6
func (fake *ChannelConfig) CapabilitiesReturnsOnCall(i int, result1 channelconfig.ChannelCapabilities)
func (*ChannelConfig) HashingAlgorithm ¶ added in v1.5.6
func (fake *ChannelConfig) HashingAlgorithm() func(input []byte) []byte
func (*ChannelConfig) HashingAlgorithmCallCount ¶ added in v1.5.6
func (fake *ChannelConfig) HashingAlgorithmCallCount() int
func (*ChannelConfig) HashingAlgorithmCalls ¶ added in v1.5.6
func (fake *ChannelConfig) HashingAlgorithmCalls(stub func() func(input []byte) []byte)
func (*ChannelConfig) HashingAlgorithmReturns ¶ added in v1.5.6
func (fake *ChannelConfig) HashingAlgorithmReturns(result1 func(input []byte) []byte)
func (*ChannelConfig) HashingAlgorithmReturnsOnCall ¶ added in v1.5.6
func (fake *ChannelConfig) HashingAlgorithmReturnsOnCall(i int, result1 func(input []byte) []byte)
func (*ChannelConfig) Invocations ¶ added in v1.5.6
func (fake *ChannelConfig) Invocations() map[string][][]interface{}
func (*ChannelConfig) OrdererAddresses ¶ added in v1.5.6
func (fake *ChannelConfig) OrdererAddresses() []string
func (*ChannelConfig) OrdererAddressesCallCount ¶ added in v1.5.6
func (fake *ChannelConfig) OrdererAddressesCallCount() int
func (*ChannelConfig) OrdererAddressesCalls ¶ added in v1.5.6
func (fake *ChannelConfig) OrdererAddressesCalls(stub func() []string)
func (*ChannelConfig) OrdererAddressesReturns ¶ added in v1.5.6
func (fake *ChannelConfig) OrdererAddressesReturns(result1 []string)
func (*ChannelConfig) OrdererAddressesReturnsOnCall ¶ added in v1.5.6
func (fake *ChannelConfig) OrdererAddressesReturnsOnCall(i int, result1 []string)
type HealthChecker ¶ added in v1.4.1
type HealthChecker struct { RegisterCheckerStub func(string, healthz.HealthChecker) error // contains filtered or unexported fields }
func (*HealthChecker) Invocations ¶ added in v1.4.1
func (fake *HealthChecker) Invocations() map[string][][]interface{}
func (*HealthChecker) RegisterChecker ¶ added in v1.4.1
func (fake *HealthChecker) RegisterChecker(arg1 string, arg2 healthz.HealthChecker) error
func (*HealthChecker) RegisterCheckerArgsForCall ¶ added in v1.4.1
func (fake *HealthChecker) RegisterCheckerArgsForCall(i int) (string, healthz.HealthChecker)
func (*HealthChecker) RegisterCheckerCallCount ¶ added in v1.4.1
func (fake *HealthChecker) RegisterCheckerCallCount() int
func (*HealthChecker) RegisterCheckerCalls ¶ added in v1.4.1
func (fake *HealthChecker) RegisterCheckerCalls(stub func(string, healthz.HealthChecker) error)
func (*HealthChecker) RegisterCheckerReturns ¶ added in v1.4.1
func (fake *HealthChecker) RegisterCheckerReturns(result1 error)
func (*HealthChecker) RegisterCheckerReturnsOnCall ¶ added in v1.4.1
func (fake *HealthChecker) RegisterCheckerReturnsOnCall(i int, result1 error)
type MetricsGauge ¶
type MetricsGauge struct { AddStub func(float64) SetStub func(float64) WithStub func(...string) metrics.Gauge // contains filtered or unexported fields }
func (*MetricsGauge) Add ¶
func (fake *MetricsGauge) Add(arg1 float64)
func (*MetricsGauge) AddArgsForCall ¶
func (fake *MetricsGauge) AddArgsForCall(i int) float64
func (*MetricsGauge) AddCallCount ¶
func (fake *MetricsGauge) AddCallCount() int
func (*MetricsGauge) AddCalls ¶ added in v1.5.6
func (fake *MetricsGauge) AddCalls(stub func(float64))
func (*MetricsGauge) Invocations ¶
func (fake *MetricsGauge) Invocations() map[string][][]interface{}
func (*MetricsGauge) Set ¶
func (fake *MetricsGauge) Set(arg1 float64)
func (*MetricsGauge) SetArgsForCall ¶
func (fake *MetricsGauge) SetArgsForCall(i int) float64
func (*MetricsGauge) SetCallCount ¶
func (fake *MetricsGauge) SetCallCount() int
func (*MetricsGauge) SetCalls ¶ added in v1.5.6
func (fake *MetricsGauge) SetCalls(stub func(float64))
func (*MetricsGauge) WithArgsForCall ¶
func (fake *MetricsGauge) WithArgsForCall(i int) []string
func (*MetricsGauge) WithCallCount ¶
func (fake *MetricsGauge) WithCallCount() int
func (*MetricsGauge) WithCalls ¶ added in v1.5.6
func (fake *MetricsGauge) WithCalls(stub func(...string) metrics.Gauge)
func (*MetricsGauge) WithReturns ¶
func (fake *MetricsGauge) WithReturns(result1 metrics.Gauge)
func (*MetricsGauge) WithReturnsOnCall ¶
func (fake *MetricsGauge) WithReturnsOnCall(i int, result1 metrics.Gauge)
type MetricsHistogram ¶
type MetricsHistogram struct { ClearStub func() CountStub func() int64 MaxStub func() int64 MeanStub func() float64 MinStub func() int64 PercentileStub func(float64) float64 PercentilesStub func([]float64) []float64 SampleStub func() metrics.Sample SnapshotStub func() metrics.Histogram StdDevStub func() float64 SumStub func() int64 UpdateStub func(int64) VarianceStub func() float64 // contains filtered or unexported fields }
func (*MetricsHistogram) Clear ¶
func (fake *MetricsHistogram) Clear()
func (*MetricsHistogram) ClearCallCount ¶
func (fake *MetricsHistogram) ClearCallCount() int
func (*MetricsHistogram) ClearCalls ¶ added in v1.5.6
func (fake *MetricsHistogram) ClearCalls(stub func())
func (*MetricsHistogram) Count ¶
func (fake *MetricsHistogram) Count() int64
func (*MetricsHistogram) CountCallCount ¶
func (fake *MetricsHistogram) CountCallCount() int
func (*MetricsHistogram) CountCalls ¶ added in v1.5.6
func (fake *MetricsHistogram) CountCalls(stub func() int64)
func (*MetricsHistogram) CountReturns ¶
func (fake *MetricsHistogram) CountReturns(result1 int64)
func (*MetricsHistogram) CountReturnsOnCall ¶
func (fake *MetricsHistogram) CountReturnsOnCall(i int, result1 int64)
func (*MetricsHistogram) Invocations ¶
func (fake *MetricsHistogram) Invocations() map[string][][]interface{}
func (*MetricsHistogram) Max ¶
func (fake *MetricsHistogram) Max() int64
func (*MetricsHistogram) MaxCallCount ¶
func (fake *MetricsHistogram) MaxCallCount() int
func (*MetricsHistogram) MaxCalls ¶ added in v1.5.6
func (fake *MetricsHistogram) MaxCalls(stub func() int64)
func (*MetricsHistogram) MaxReturns ¶
func (fake *MetricsHistogram) MaxReturns(result1 int64)
func (*MetricsHistogram) MaxReturnsOnCall ¶
func (fake *MetricsHistogram) MaxReturnsOnCall(i int, result1 int64)
func (*MetricsHistogram) Mean ¶
func (fake *MetricsHistogram) Mean() float64
func (*MetricsHistogram) MeanCallCount ¶
func (fake *MetricsHistogram) MeanCallCount() int
func (*MetricsHistogram) MeanCalls ¶ added in v1.5.6
func (fake *MetricsHistogram) MeanCalls(stub func() float64)
func (*MetricsHistogram) MeanReturns ¶
func (fake *MetricsHistogram) MeanReturns(result1 float64)
func (*MetricsHistogram) MeanReturnsOnCall ¶
func (fake *MetricsHistogram) MeanReturnsOnCall(i int, result1 float64)
func (*MetricsHistogram) Min ¶
func (fake *MetricsHistogram) Min() int64
func (*MetricsHistogram) MinCallCount ¶
func (fake *MetricsHistogram) MinCallCount() int
func (*MetricsHistogram) MinCalls ¶ added in v1.5.6
func (fake *MetricsHistogram) MinCalls(stub func() int64)
func (*MetricsHistogram) MinReturns ¶
func (fake *MetricsHistogram) MinReturns(result1 int64)
func (*MetricsHistogram) MinReturnsOnCall ¶
func (fake *MetricsHistogram) MinReturnsOnCall(i int, result1 int64)
func (*MetricsHistogram) Percentile ¶
func (fake *MetricsHistogram) Percentile(arg1 float64) float64
func (*MetricsHistogram) PercentileArgsForCall ¶
func (fake *MetricsHistogram) PercentileArgsForCall(i int) float64
func (*MetricsHistogram) PercentileCallCount ¶
func (fake *MetricsHistogram) PercentileCallCount() int
func (*MetricsHistogram) PercentileCalls ¶ added in v1.5.6
func (fake *MetricsHistogram) PercentileCalls(stub func(float64) float64)
func (*MetricsHistogram) PercentileReturns ¶
func (fake *MetricsHistogram) PercentileReturns(result1 float64)
func (*MetricsHistogram) PercentileReturnsOnCall ¶
func (fake *MetricsHistogram) PercentileReturnsOnCall(i int, result1 float64)
func (*MetricsHistogram) Percentiles ¶
func (fake *MetricsHistogram) Percentiles(arg1 []float64) []float64
func (*MetricsHistogram) PercentilesArgsForCall ¶
func (fake *MetricsHistogram) PercentilesArgsForCall(i int) []float64
func (*MetricsHistogram) PercentilesCallCount ¶
func (fake *MetricsHistogram) PercentilesCallCount() int
func (*MetricsHistogram) PercentilesCalls ¶ added in v1.5.6
func (fake *MetricsHistogram) PercentilesCalls(stub func([]float64) []float64)
func (*MetricsHistogram) PercentilesReturns ¶
func (fake *MetricsHistogram) PercentilesReturns(result1 []float64)
func (*MetricsHistogram) PercentilesReturnsOnCall ¶
func (fake *MetricsHistogram) PercentilesReturnsOnCall(i int, result1 []float64)
func (*MetricsHistogram) Sample ¶
func (fake *MetricsHistogram) Sample() metrics.Sample
func (*MetricsHistogram) SampleCallCount ¶
func (fake *MetricsHistogram) SampleCallCount() int
func (*MetricsHistogram) SampleCalls ¶ added in v1.5.6
func (fake *MetricsHistogram) SampleCalls(stub func() metrics.Sample)
func (*MetricsHistogram) SampleReturns ¶
func (fake *MetricsHistogram) SampleReturns(result1 metrics.Sample)
func (*MetricsHistogram) SampleReturnsOnCall ¶
func (fake *MetricsHistogram) SampleReturnsOnCall(i int, result1 metrics.Sample)
func (*MetricsHistogram) Snapshot ¶
func (fake *MetricsHistogram) Snapshot() metrics.Histogram
func (*MetricsHistogram) SnapshotCallCount ¶
func (fake *MetricsHistogram) SnapshotCallCount() int
func (*MetricsHistogram) SnapshotCalls ¶ added in v1.5.6
func (fake *MetricsHistogram) SnapshotCalls(stub func() metrics.Histogram)
func (*MetricsHistogram) SnapshotReturns ¶
func (fake *MetricsHistogram) SnapshotReturns(result1 metrics.Histogram)
func (*MetricsHistogram) SnapshotReturnsOnCall ¶
func (fake *MetricsHistogram) SnapshotReturnsOnCall(i int, result1 metrics.Histogram)
func (*MetricsHistogram) StdDev ¶
func (fake *MetricsHistogram) StdDev() float64
func (*MetricsHistogram) StdDevCallCount ¶
func (fake *MetricsHistogram) StdDevCallCount() int
func (*MetricsHistogram) StdDevCalls ¶ added in v1.5.6
func (fake *MetricsHistogram) StdDevCalls(stub func() float64)
func (*MetricsHistogram) StdDevReturns ¶
func (fake *MetricsHistogram) StdDevReturns(result1 float64)
func (*MetricsHistogram) StdDevReturnsOnCall ¶
func (fake *MetricsHistogram) StdDevReturnsOnCall(i int, result1 float64)
func (*MetricsHistogram) Sum ¶
func (fake *MetricsHistogram) Sum() int64
func (*MetricsHistogram) SumCallCount ¶
func (fake *MetricsHistogram) SumCallCount() int
func (*MetricsHistogram) SumCalls ¶ added in v1.5.6
func (fake *MetricsHistogram) SumCalls(stub func() int64)
func (*MetricsHistogram) SumReturns ¶
func (fake *MetricsHistogram) SumReturns(result1 int64)
func (*MetricsHistogram) SumReturnsOnCall ¶
func (fake *MetricsHistogram) SumReturnsOnCall(i int, result1 int64)
func (*MetricsHistogram) Update ¶
func (fake *MetricsHistogram) Update(arg1 int64)
func (*MetricsHistogram) UpdateArgsForCall ¶
func (fake *MetricsHistogram) UpdateArgsForCall(i int) int64
func (*MetricsHistogram) UpdateCallCount ¶
func (fake *MetricsHistogram) UpdateCallCount() int
func (*MetricsHistogram) UpdateCalls ¶ added in v1.5.6
func (fake *MetricsHistogram) UpdateCalls(stub func(int64))
func (*MetricsHistogram) Variance ¶
func (fake *MetricsHistogram) Variance() float64
func (*MetricsHistogram) VarianceCallCount ¶
func (fake *MetricsHistogram) VarianceCallCount() int
func (*MetricsHistogram) VarianceCalls ¶ added in v1.5.6
func (fake *MetricsHistogram) VarianceCalls(stub func() float64)
func (*MetricsHistogram) VarianceReturns ¶
func (fake *MetricsHistogram) VarianceReturns(result1 float64)
func (*MetricsHistogram) VarianceReturnsOnCall ¶
func (fake *MetricsHistogram) VarianceReturnsOnCall(i int, result1 float64)
type MetricsMeter ¶
type MetricsMeter struct { CountStub func() int64 MarkStub func(int64) Rate1Stub func() float64 Rate15Stub func() float64 Rate5Stub func() float64 RateMeanStub func() float64 SnapshotStub func() metrics.Meter StopStub func() // contains filtered or unexported fields }
func (*MetricsMeter) Count ¶
func (fake *MetricsMeter) Count() int64
func (*MetricsMeter) CountCallCount ¶
func (fake *MetricsMeter) CountCallCount() int
func (*MetricsMeter) CountCalls ¶ added in v1.5.6
func (fake *MetricsMeter) CountCalls(stub func() int64)
func (*MetricsMeter) CountReturns ¶
func (fake *MetricsMeter) CountReturns(result1 int64)
func (*MetricsMeter) CountReturnsOnCall ¶
func (fake *MetricsMeter) CountReturnsOnCall(i int, result1 int64)
func (*MetricsMeter) Invocations ¶
func (fake *MetricsMeter) Invocations() map[string][][]interface{}
func (*MetricsMeter) Mark ¶
func (fake *MetricsMeter) Mark(arg1 int64)
func (*MetricsMeter) MarkArgsForCall ¶
func (fake *MetricsMeter) MarkArgsForCall(i int) int64
func (*MetricsMeter) MarkCallCount ¶
func (fake *MetricsMeter) MarkCallCount() int
func (*MetricsMeter) MarkCalls ¶ added in v1.5.6
func (fake *MetricsMeter) MarkCalls(stub func(int64))
func (*MetricsMeter) Rate1 ¶
func (fake *MetricsMeter) Rate1() float64
func (*MetricsMeter) Rate15 ¶
func (fake *MetricsMeter) Rate15() float64
func (*MetricsMeter) Rate15CallCount ¶
func (fake *MetricsMeter) Rate15CallCount() int
func (*MetricsMeter) Rate15Calls ¶ added in v1.5.6
func (fake *MetricsMeter) Rate15Calls(stub func() float64)
func (*MetricsMeter) Rate15Returns ¶
func (fake *MetricsMeter) Rate15Returns(result1 float64)
func (*MetricsMeter) Rate15ReturnsOnCall ¶
func (fake *MetricsMeter) Rate15ReturnsOnCall(i int, result1 float64)
func (*MetricsMeter) Rate1CallCount ¶
func (fake *MetricsMeter) Rate1CallCount() int
func (*MetricsMeter) Rate1Calls ¶ added in v1.5.6
func (fake *MetricsMeter) Rate1Calls(stub func() float64)
func (*MetricsMeter) Rate1Returns ¶
func (fake *MetricsMeter) Rate1Returns(result1 float64)
func (*MetricsMeter) Rate1ReturnsOnCall ¶
func (fake *MetricsMeter) Rate1ReturnsOnCall(i int, result1 float64)
func (*MetricsMeter) Rate5 ¶
func (fake *MetricsMeter) Rate5() float64
func (*MetricsMeter) Rate5CallCount ¶
func (fake *MetricsMeter) Rate5CallCount() int
func (*MetricsMeter) Rate5Calls ¶ added in v1.5.6
func (fake *MetricsMeter) Rate5Calls(stub func() float64)
func (*MetricsMeter) Rate5Returns ¶
func (fake *MetricsMeter) Rate5Returns(result1 float64)
func (*MetricsMeter) Rate5ReturnsOnCall ¶
func (fake *MetricsMeter) Rate5ReturnsOnCall(i int, result1 float64)
func (*MetricsMeter) RateMean ¶
func (fake *MetricsMeter) RateMean() float64
func (*MetricsMeter) RateMeanCallCount ¶
func (fake *MetricsMeter) RateMeanCallCount() int
func (*MetricsMeter) RateMeanCalls ¶ added in v1.5.6
func (fake *MetricsMeter) RateMeanCalls(stub func() float64)
func (*MetricsMeter) RateMeanReturns ¶
func (fake *MetricsMeter) RateMeanReturns(result1 float64)
func (*MetricsMeter) RateMeanReturnsOnCall ¶
func (fake *MetricsMeter) RateMeanReturnsOnCall(i int, result1 float64)
func (*MetricsMeter) Snapshot ¶
func (fake *MetricsMeter) Snapshot() metrics.Meter
func (*MetricsMeter) SnapshotCallCount ¶
func (fake *MetricsMeter) SnapshotCallCount() int
func (*MetricsMeter) SnapshotCalls ¶ added in v1.5.6
func (fake *MetricsMeter) SnapshotCalls(stub func() metrics.Meter)
func (*MetricsMeter) SnapshotReturns ¶
func (fake *MetricsMeter) SnapshotReturns(result1 metrics.Meter)
func (*MetricsMeter) SnapshotReturnsOnCall ¶
func (fake *MetricsMeter) SnapshotReturnsOnCall(i int, result1 metrics.Meter)
func (*MetricsMeter) Stop ¶
func (fake *MetricsMeter) Stop()
func (*MetricsMeter) StopCallCount ¶
func (fake *MetricsMeter) StopCallCount() int
func (*MetricsMeter) StopCalls ¶ added in v1.5.6
func (fake *MetricsMeter) StopCalls(stub func())
type MetricsProvider ¶
type MetricsProvider struct { NewCounterStub func(metrics.CounterOpts) metrics.Counter NewGaugeStub func(metrics.GaugeOpts) metrics.Gauge NewHistogramStub func(metrics.HistogramOpts) metrics.Histogram // contains filtered or unexported fields }
func (*MetricsProvider) Invocations ¶
func (fake *MetricsProvider) Invocations() map[string][][]interface{}
func (*MetricsProvider) NewCounter ¶
func (fake *MetricsProvider) NewCounter(arg1 metrics.CounterOpts) metrics.Counter
func (*MetricsProvider) NewCounterArgsForCall ¶
func (fake *MetricsProvider) NewCounterArgsForCall(i int) metrics.CounterOpts
func (*MetricsProvider) NewCounterCallCount ¶
func (fake *MetricsProvider) NewCounterCallCount() int
func (*MetricsProvider) NewCounterCalls ¶ added in v1.5.6
func (fake *MetricsProvider) NewCounterCalls(stub func(metrics.CounterOpts) metrics.Counter)
func (*MetricsProvider) NewCounterReturns ¶
func (fake *MetricsProvider) NewCounterReturns(result1 metrics.Counter)
func (*MetricsProvider) NewCounterReturnsOnCall ¶
func (fake *MetricsProvider) NewCounterReturnsOnCall(i int, result1 metrics.Counter)
func (*MetricsProvider) NewGauge ¶
func (fake *MetricsProvider) NewGauge(arg1 metrics.GaugeOpts) metrics.Gauge
func (*MetricsProvider) NewGaugeArgsForCall ¶
func (fake *MetricsProvider) NewGaugeArgsForCall(i int) metrics.GaugeOpts
func (*MetricsProvider) NewGaugeCallCount ¶
func (fake *MetricsProvider) NewGaugeCallCount() int
func (*MetricsProvider) NewGaugeCalls ¶ added in v1.5.6
func (fake *MetricsProvider) NewGaugeCalls(stub func(metrics.GaugeOpts) metrics.Gauge)
func (*MetricsProvider) NewGaugeReturns ¶
func (fake *MetricsProvider) NewGaugeReturns(result1 metrics.Gauge)
func (*MetricsProvider) NewGaugeReturnsOnCall ¶
func (fake *MetricsProvider) NewGaugeReturnsOnCall(i int, result1 metrics.Gauge)
func (*MetricsProvider) NewHistogram ¶
func (fake *MetricsProvider) NewHistogram(arg1 metrics.HistogramOpts) metrics.Histogram
func (*MetricsProvider) NewHistogramArgsForCall ¶
func (fake *MetricsProvider) NewHistogramArgsForCall(i int) metrics.HistogramOpts
func (*MetricsProvider) NewHistogramCallCount ¶
func (fake *MetricsProvider) NewHistogramCallCount() int
func (*MetricsProvider) NewHistogramCalls ¶ added in v1.5.6
func (fake *MetricsProvider) NewHistogramCalls(stub func(metrics.HistogramOpts) metrics.Histogram)
func (*MetricsProvider) NewHistogramReturns ¶
func (fake *MetricsProvider) NewHistogramReturns(result1 metrics.Histogram)
func (*MetricsProvider) NewHistogramReturnsOnCall ¶
func (fake *MetricsProvider) NewHistogramReturnsOnCall(i int, result1 metrics.Histogram)
type MetricsRegistry ¶
type MetricsRegistry struct { EachStub func(func(string, interface{})) GetStub func(string) interface{} GetAllStub func() map[string]map[string]interface{} GetOrRegisterStub func(string, interface{}) interface{} RegisterStub func(string, interface{}) error RunHealthchecksStub func() UnregisterStub func(string) UnregisterAllStub func() // contains filtered or unexported fields }
func (*MetricsRegistry) Each ¶
func (fake *MetricsRegistry) Each(arg1 func(string, interface{}))
func (*MetricsRegistry) EachArgsForCall ¶
func (fake *MetricsRegistry) EachArgsForCall(i int) func(string, interface{})
func (*MetricsRegistry) EachCallCount ¶
func (fake *MetricsRegistry) EachCallCount() int
func (*MetricsRegistry) EachCalls ¶ added in v1.5.6
func (fake *MetricsRegistry) EachCalls(stub func(func(string, interface{})))
func (*MetricsRegistry) Get ¶
func (fake *MetricsRegistry) Get(arg1 string) interface{}
func (*MetricsRegistry) GetAll ¶
func (fake *MetricsRegistry) GetAll() map[string]map[string]interface{}
func (*MetricsRegistry) GetAllCallCount ¶
func (fake *MetricsRegistry) GetAllCallCount() int
func (*MetricsRegistry) GetAllCalls ¶ added in v1.5.6
func (fake *MetricsRegistry) GetAllCalls(stub func() map[string]map[string]interface{})
func (*MetricsRegistry) GetAllReturns ¶
func (fake *MetricsRegistry) GetAllReturns(result1 map[string]map[string]interface{})
func (*MetricsRegistry) GetAllReturnsOnCall ¶
func (fake *MetricsRegistry) GetAllReturnsOnCall(i int, result1 map[string]map[string]interface{})
func (*MetricsRegistry) GetArgsForCall ¶
func (fake *MetricsRegistry) GetArgsForCall(i int) string
func (*MetricsRegistry) GetCallCount ¶
func (fake *MetricsRegistry) GetCallCount() int
func (*MetricsRegistry) GetCalls ¶ added in v1.5.6
func (fake *MetricsRegistry) GetCalls(stub func(string) interface{})
func (*MetricsRegistry) GetOrRegister ¶
func (fake *MetricsRegistry) GetOrRegister(arg1 string, arg2 interface{}) interface{}
func (*MetricsRegistry) GetOrRegisterArgsForCall ¶
func (fake *MetricsRegistry) GetOrRegisterArgsForCall(i int) (string, interface{})
func (*MetricsRegistry) GetOrRegisterCallCount ¶
func (fake *MetricsRegistry) GetOrRegisterCallCount() int
func (*MetricsRegistry) GetOrRegisterCalls ¶ added in v1.5.6
func (fake *MetricsRegistry) GetOrRegisterCalls(stub func(string, interface{}) interface{})
func (*MetricsRegistry) GetOrRegisterReturns ¶
func (fake *MetricsRegistry) GetOrRegisterReturns(result1 interface{})
func (*MetricsRegistry) GetOrRegisterReturnsOnCall ¶
func (fake *MetricsRegistry) GetOrRegisterReturnsOnCall(i int, result1 interface{})
func (*MetricsRegistry) GetReturns ¶
func (fake *MetricsRegistry) GetReturns(result1 interface{})
func (*MetricsRegistry) GetReturnsOnCall ¶
func (fake *MetricsRegistry) GetReturnsOnCall(i int, result1 interface{})
func (*MetricsRegistry) Invocations ¶
func (fake *MetricsRegistry) Invocations() map[string][][]interface{}
func (*MetricsRegistry) Register ¶
func (fake *MetricsRegistry) Register(arg1 string, arg2 interface{}) error
func (*MetricsRegistry) RegisterArgsForCall ¶
func (fake *MetricsRegistry) RegisterArgsForCall(i int) (string, interface{})
func (*MetricsRegistry) RegisterCallCount ¶
func (fake *MetricsRegistry) RegisterCallCount() int
func (*MetricsRegistry) RegisterCalls ¶ added in v1.5.6
func (fake *MetricsRegistry) RegisterCalls(stub func(string, interface{}) error)
func (*MetricsRegistry) RegisterReturns ¶
func (fake *MetricsRegistry) RegisterReturns(result1 error)
func (*MetricsRegistry) RegisterReturnsOnCall ¶
func (fake *MetricsRegistry) RegisterReturnsOnCall(i int, result1 error)
func (*MetricsRegistry) RunHealthchecks ¶
func (fake *MetricsRegistry) RunHealthchecks()
func (*MetricsRegistry) RunHealthchecksCallCount ¶
func (fake *MetricsRegistry) RunHealthchecksCallCount() int
func (*MetricsRegistry) RunHealthchecksCalls ¶ added in v1.5.6
func (fake *MetricsRegistry) RunHealthchecksCalls(stub func())
func (*MetricsRegistry) Unregister ¶
func (fake *MetricsRegistry) Unregister(arg1 string)
func (*MetricsRegistry) UnregisterAll ¶
func (fake *MetricsRegistry) UnregisterAll()
func (*MetricsRegistry) UnregisterAllCallCount ¶
func (fake *MetricsRegistry) UnregisterAllCallCount() int
func (*MetricsRegistry) UnregisterAllCalls ¶ added in v1.5.6
func (fake *MetricsRegistry) UnregisterAllCalls(stub func())
func (*MetricsRegistry) UnregisterArgsForCall ¶
func (fake *MetricsRegistry) UnregisterArgsForCall(i int) string
func (*MetricsRegistry) UnregisterCallCount ¶
func (fake *MetricsRegistry) UnregisterCallCount() int
func (*MetricsRegistry) UnregisterCalls ¶ added in v1.5.6
func (fake *MetricsRegistry) UnregisterCalls(stub func(string))
type OrdererCapabilities ¶ added in v1.5.6
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 ¶ added in v1.5.6
func (fake *OrdererCapabilities) ConsensusTypeMigration() bool
func (*OrdererCapabilities) ConsensusTypeMigrationCallCount ¶ added in v1.5.6
func (fake *OrdererCapabilities) ConsensusTypeMigrationCallCount() int
func (*OrdererCapabilities) ConsensusTypeMigrationCalls ¶ added in v1.5.6
func (fake *OrdererCapabilities) ConsensusTypeMigrationCalls(stub func() bool)
func (*OrdererCapabilities) ConsensusTypeMigrationReturns ¶ added in v1.5.6
func (fake *OrdererCapabilities) ConsensusTypeMigrationReturns(result1 bool)
func (*OrdererCapabilities) ConsensusTypeMigrationReturnsOnCall ¶ added in v1.5.6
func (fake *OrdererCapabilities) ConsensusTypeMigrationReturnsOnCall(i int, result1 bool)
func (*OrdererCapabilities) ExpirationCheck ¶ added in v1.5.6
func (fake *OrdererCapabilities) ExpirationCheck() bool
func (*OrdererCapabilities) ExpirationCheckCallCount ¶ added in v1.5.6
func (fake *OrdererCapabilities) ExpirationCheckCallCount() int
func (*OrdererCapabilities) ExpirationCheckCalls ¶ added in v1.5.6
func (fake *OrdererCapabilities) ExpirationCheckCalls(stub func() bool)
func (*OrdererCapabilities) ExpirationCheckReturns ¶ added in v1.5.6
func (fake *OrdererCapabilities) ExpirationCheckReturns(result1 bool)
func (*OrdererCapabilities) ExpirationCheckReturnsOnCall ¶ added in v1.5.6
func (fake *OrdererCapabilities) ExpirationCheckReturnsOnCall(i int, result1 bool)
func (*OrdererCapabilities) Invocations ¶ added in v1.5.6
func (fake *OrdererCapabilities) Invocations() map[string][][]interface{}
func (*OrdererCapabilities) PredictableChannelTemplate ¶ added in v1.5.6
func (fake *OrdererCapabilities) PredictableChannelTemplate() bool
func (*OrdererCapabilities) PredictableChannelTemplateCallCount ¶ added in v1.5.6
func (fake *OrdererCapabilities) PredictableChannelTemplateCallCount() int
func (*OrdererCapabilities) PredictableChannelTemplateCalls ¶ added in v1.5.6
func (fake *OrdererCapabilities) PredictableChannelTemplateCalls(stub func() bool)
func (*OrdererCapabilities) PredictableChannelTemplateReturns ¶ added in v1.5.6
func (fake *OrdererCapabilities) PredictableChannelTemplateReturns(result1 bool)
func (*OrdererCapabilities) PredictableChannelTemplateReturnsOnCall ¶ added in v1.5.6
func (fake *OrdererCapabilities) PredictableChannelTemplateReturnsOnCall(i int, result1 bool)
func (*OrdererCapabilities) Resubmission ¶ added in v1.5.6
func (fake *OrdererCapabilities) Resubmission() bool
func (*OrdererCapabilities) ResubmissionCallCount ¶ added in v1.5.6
func (fake *OrdererCapabilities) ResubmissionCallCount() int
func (*OrdererCapabilities) ResubmissionCalls ¶ added in v1.5.6
func (fake *OrdererCapabilities) ResubmissionCalls(stub func() bool)
func (*OrdererCapabilities) ResubmissionReturns ¶ added in v1.5.6
func (fake *OrdererCapabilities) ResubmissionReturns(result1 bool)
func (*OrdererCapabilities) ResubmissionReturnsOnCall ¶ added in v1.5.6
func (fake *OrdererCapabilities) ResubmissionReturnsOnCall(i int, result1 bool)
func (*OrdererCapabilities) Supported ¶ added in v1.5.6
func (fake *OrdererCapabilities) Supported() error
func (*OrdererCapabilities) SupportedCallCount ¶ added in v1.5.6
func (fake *OrdererCapabilities) SupportedCallCount() int
func (*OrdererCapabilities) SupportedCalls ¶ added in v1.5.6
func (fake *OrdererCapabilities) SupportedCalls(stub func() error)
func (*OrdererCapabilities) SupportedReturns ¶ added in v1.5.6
func (fake *OrdererCapabilities) SupportedReturns(result1 error)
func (*OrdererCapabilities) SupportedReturnsOnCall ¶ added in v1.5.6
func (fake *OrdererCapabilities) SupportedReturnsOnCall(i int, result1 error)
func (*OrdererCapabilities) UseChannelCreationPolicyAsAdmins ¶ added in v1.5.6
func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdmins() bool
func (*OrdererCapabilities) UseChannelCreationPolicyAsAdminsCallCount ¶ added in v1.5.6
func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsCallCount() int
func (*OrdererCapabilities) UseChannelCreationPolicyAsAdminsCalls ¶ added in v1.5.6
func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsCalls(stub func() bool)
func (*OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturns ¶ added in v1.5.6
func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturns(result1 bool)
func (*OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturnsOnCall ¶ added in v1.5.6
func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturnsOnCall(i int, result1 bool)
type OrdererConfig ¶ added in v1.5.6
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 ¶ added in v1.5.6
func (fake *OrdererConfig) BatchSize() *orderer.BatchSize
func (*OrdererConfig) BatchSizeCallCount ¶ added in v1.5.6
func (fake *OrdererConfig) BatchSizeCallCount() int
func (*OrdererConfig) BatchSizeCalls ¶ added in v1.5.6
func (fake *OrdererConfig) BatchSizeCalls(stub func() *orderer.BatchSize)
func (*OrdererConfig) BatchSizeReturns ¶ added in v1.5.6
func (fake *OrdererConfig) BatchSizeReturns(result1 *orderer.BatchSize)
func (*OrdererConfig) BatchSizeReturnsOnCall ¶ added in v1.5.6
func (fake *OrdererConfig) BatchSizeReturnsOnCall(i int, result1 *orderer.BatchSize)
func (*OrdererConfig) BatchTimeout ¶ added in v1.5.6
func (fake *OrdererConfig) BatchTimeout() time.Duration
func (*OrdererConfig) BatchTimeoutCallCount ¶ added in v1.5.6
func (fake *OrdererConfig) BatchTimeoutCallCount() int
func (*OrdererConfig) BatchTimeoutCalls ¶ added in v1.5.6
func (fake *OrdererConfig) BatchTimeoutCalls(stub func() time.Duration)
func (*OrdererConfig) BatchTimeoutReturns ¶ added in v1.5.6
func (fake *OrdererConfig) BatchTimeoutReturns(result1 time.Duration)
func (*OrdererConfig) BatchTimeoutReturnsOnCall ¶ added in v1.5.6
func (fake *OrdererConfig) BatchTimeoutReturnsOnCall(i int, result1 time.Duration)
func (*OrdererConfig) Capabilities ¶ added in v1.5.6
func (fake *OrdererConfig) Capabilities() channelconfig.OrdererCapabilities
func (*OrdererConfig) CapabilitiesCallCount ¶ added in v1.5.6
func (fake *OrdererConfig) CapabilitiesCallCount() int
func (*OrdererConfig) CapabilitiesCalls ¶ added in v1.5.6
func (fake *OrdererConfig) CapabilitiesCalls(stub func() channelconfig.OrdererCapabilities)
func (*OrdererConfig) CapabilitiesReturns ¶ added in v1.5.6
func (fake *OrdererConfig) CapabilitiesReturns(result1 channelconfig.OrdererCapabilities)
func (*OrdererConfig) CapabilitiesReturnsOnCall ¶ added in v1.5.6
func (fake *OrdererConfig) CapabilitiesReturnsOnCall(i int, result1 channelconfig.OrdererCapabilities)
func (*OrdererConfig) ConsensusMetadata ¶ added in v1.5.6
func (fake *OrdererConfig) ConsensusMetadata() []byte
func (*OrdererConfig) ConsensusMetadataCallCount ¶ added in v1.5.6
func (fake *OrdererConfig) ConsensusMetadataCallCount() int
func (*OrdererConfig) ConsensusMetadataCalls ¶ added in v1.5.6
func (fake *OrdererConfig) ConsensusMetadataCalls(stub func() []byte)
func (*OrdererConfig) ConsensusMetadataReturns ¶ added in v1.5.6
func (fake *OrdererConfig) ConsensusMetadataReturns(result1 []byte)
func (*OrdererConfig) ConsensusMetadataReturnsOnCall ¶ added in v1.5.6
func (fake *OrdererConfig) ConsensusMetadataReturnsOnCall(i int, result1 []byte)
func (*OrdererConfig) ConsensusState ¶ added in v1.5.6
func (fake *OrdererConfig) ConsensusState() orderer.ConsensusType_State
func (*OrdererConfig) ConsensusStateCallCount ¶ added in v1.5.6
func (fake *OrdererConfig) ConsensusStateCallCount() int
func (*OrdererConfig) ConsensusStateCalls ¶ added in v1.5.6
func (fake *OrdererConfig) ConsensusStateCalls(stub func() orderer.ConsensusType_State)
func (*OrdererConfig) ConsensusStateReturns ¶ added in v1.5.6
func (fake *OrdererConfig) ConsensusStateReturns(result1 orderer.ConsensusType_State)
func (*OrdererConfig) ConsensusStateReturnsOnCall ¶ added in v1.5.6
func (fake *OrdererConfig) ConsensusStateReturnsOnCall(i int, result1 orderer.ConsensusType_State)
func (*OrdererConfig) ConsensusType ¶ added in v1.5.6
func (fake *OrdererConfig) ConsensusType() string
func (*OrdererConfig) ConsensusTypeCallCount ¶ added in v1.5.6
func (fake *OrdererConfig) ConsensusTypeCallCount() int
func (*OrdererConfig) ConsensusTypeCalls ¶ added in v1.5.6
func (fake *OrdererConfig) ConsensusTypeCalls(stub func() string)
func (*OrdererConfig) ConsensusTypeReturns ¶ added in v1.5.6
func (fake *OrdererConfig) ConsensusTypeReturns(result1 string)
func (*OrdererConfig) ConsensusTypeReturnsOnCall ¶ added in v1.5.6
func (fake *OrdererConfig) ConsensusTypeReturnsOnCall(i int, result1 string)
func (*OrdererConfig) Invocations ¶ added in v1.5.6
func (fake *OrdererConfig) Invocations() map[string][][]interface{}
func (*OrdererConfig) KafkaBrokers ¶ added in v1.5.6
func (fake *OrdererConfig) KafkaBrokers() []string
func (*OrdererConfig) KafkaBrokersCallCount ¶ added in v1.5.6
func (fake *OrdererConfig) KafkaBrokersCallCount() int
func (*OrdererConfig) KafkaBrokersCalls ¶ added in v1.5.6
func (fake *OrdererConfig) KafkaBrokersCalls(stub func() []string)
func (*OrdererConfig) KafkaBrokersReturns ¶ added in v1.5.6
func (fake *OrdererConfig) KafkaBrokersReturns(result1 []string)
func (*OrdererConfig) KafkaBrokersReturnsOnCall ¶ added in v1.5.6
func (fake *OrdererConfig) KafkaBrokersReturnsOnCall(i int, result1 []string)
func (*OrdererConfig) MaxChannelsCount ¶ added in v1.5.6
func (fake *OrdererConfig) MaxChannelsCount() uint64
func (*OrdererConfig) MaxChannelsCountCallCount ¶ added in v1.5.6
func (fake *OrdererConfig) MaxChannelsCountCallCount() int
func (*OrdererConfig) MaxChannelsCountCalls ¶ added in v1.5.6
func (fake *OrdererConfig) MaxChannelsCountCalls(stub func() uint64)
func (*OrdererConfig) MaxChannelsCountReturns ¶ added in v1.5.6
func (fake *OrdererConfig) MaxChannelsCountReturns(result1 uint64)
func (*OrdererConfig) MaxChannelsCountReturnsOnCall ¶ added in v1.5.6
func (fake *OrdererConfig) MaxChannelsCountReturnsOnCall(i int, result1 uint64)
func (*OrdererConfig) Organizations ¶ added in v1.5.6
func (fake *OrdererConfig) Organizations() map[string]channelconfig.OrdererOrg
func (*OrdererConfig) OrganizationsCallCount ¶ added in v1.5.6
func (fake *OrdererConfig) OrganizationsCallCount() int
func (*OrdererConfig) OrganizationsCalls ¶ added in v1.5.6
func (fake *OrdererConfig) OrganizationsCalls(stub func() map[string]channelconfig.OrdererOrg)
func (*OrdererConfig) OrganizationsReturns ¶ added in v1.5.6
func (fake *OrdererConfig) OrganizationsReturns(result1 map[string]channelconfig.OrdererOrg)
func (*OrdererConfig) OrganizationsReturnsOnCall ¶ added in v1.5.6
func (fake *OrdererConfig) OrganizationsReturnsOnCall(i int, result1 map[string]channelconfig.OrdererOrg)
type SyncProducer ¶ added in v1.4.1
type SyncProducer struct { CloseStub func() error SendMessageStub func(*sarama.ProducerMessage) (int32, int64, error) SendMessagesStub func([]*sarama.ProducerMessage) error // contains filtered or unexported fields }
func (*SyncProducer) Close ¶ added in v1.4.1
func (fake *SyncProducer) Close() error
func (*SyncProducer) CloseCallCount ¶ added in v1.4.1
func (fake *SyncProducer) CloseCallCount() int
func (*SyncProducer) CloseCalls ¶ added in v1.4.1
func (fake *SyncProducer) CloseCalls(stub func() error)
func (*SyncProducer) CloseReturns ¶ added in v1.4.1
func (fake *SyncProducer) CloseReturns(result1 error)
func (*SyncProducer) CloseReturnsOnCall ¶ added in v1.4.1
func (fake *SyncProducer) CloseReturnsOnCall(i int, result1 error)
func (*SyncProducer) Invocations ¶ added in v1.4.1
func (fake *SyncProducer) Invocations() map[string][][]interface{}
func (*SyncProducer) SendMessage ¶ added in v1.4.1
func (fake *SyncProducer) SendMessage(arg1 *sarama.ProducerMessage) (int32, int64, error)
func (*SyncProducer) SendMessageArgsForCall ¶ added in v1.4.1
func (fake *SyncProducer) SendMessageArgsForCall(i int) *sarama.ProducerMessage
func (*SyncProducer) SendMessageCallCount ¶ added in v1.4.1
func (fake *SyncProducer) SendMessageCallCount() int
func (*SyncProducer) SendMessageCalls ¶ added in v1.4.1
func (fake *SyncProducer) SendMessageCalls(stub func(*sarama.ProducerMessage) (int32, int64, error))
func (*SyncProducer) SendMessageReturns ¶ added in v1.4.1
func (fake *SyncProducer) SendMessageReturns(result1 int32, result2 int64, result3 error)
func (*SyncProducer) SendMessageReturnsOnCall ¶ added in v1.4.1
func (fake *SyncProducer) SendMessageReturnsOnCall(i int, result1 int32, result2 int64, result3 error)
func (*SyncProducer) SendMessages ¶ added in v1.4.1
func (fake *SyncProducer) SendMessages(arg1 []*sarama.ProducerMessage) error
func (*SyncProducer) SendMessagesArgsForCall ¶ added in v1.4.1
func (fake *SyncProducer) SendMessagesArgsForCall(i int) []*sarama.ProducerMessage
func (*SyncProducer) SendMessagesCallCount ¶ added in v1.4.1
func (fake *SyncProducer) SendMessagesCallCount() int
func (*SyncProducer) SendMessagesCalls ¶ added in v1.4.1
func (fake *SyncProducer) SendMessagesCalls(stub func([]*sarama.ProducerMessage) error)
func (*SyncProducer) SendMessagesReturns ¶ added in v1.4.1
func (fake *SyncProducer) SendMessagesReturns(result1 error)
func (*SyncProducer) SendMessagesReturnsOnCall ¶ added in v1.4.1
func (fake *SyncProducer) SendMessagesReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.