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.
Index ¶
- type MetricsHistogram
- func (fake *MetricsHistogram) Invocations() map[string][][]interface{}
- func (fake *MetricsHistogram) Observe(arg1 float64)
- func (fake *MetricsHistogram) ObserveArgsForCall(i int) float64
- func (fake *MetricsHistogram) ObserveCallCount() int
- func (fake *MetricsHistogram) ObserveCalls(stub func(float64))
- func (fake *MetricsHistogram) With(arg1 ...string) metrics.Histogram
- func (fake *MetricsHistogram) WithArgsForCall(i int) []string
- func (fake *MetricsHistogram) WithCallCount() int
- func (fake *MetricsHistogram) WithCalls(stub func(...string) metrics.Histogram)
- func (fake *MetricsHistogram) WithReturns(result1 metrics.Histogram)
- func (fake *MetricsHistogram) WithReturnsOnCall(i int, result1 metrics.Histogram)
- 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 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) ConsensusMigrationContext() uint64
- func (fake *OrdererConfig) ConsensusMigrationContextCallCount() int
- func (fake *OrdererConfig) ConsensusMigrationContextCalls(stub func() uint64)
- func (fake *OrdererConfig) ConsensusMigrationContextReturns(result1 uint64)
- func (fake *OrdererConfig) ConsensusMigrationContextReturnsOnCall(i int, result1 uint64)
- func (fake *OrdererConfig) ConsensusMigrationState() orderer.ConsensusType_MigrationState
- func (fake *OrdererConfig) ConsensusMigrationStateCallCount() int
- func (fake *OrdererConfig) ConsensusMigrationStateCalls(stub func() orderer.ConsensusType_MigrationState)
- func (fake *OrdererConfig) ConsensusMigrationStateReturns(result1 orderer.ConsensusType_MigrationState)
- func (fake *OrdererConfig) ConsensusMigrationStateReturnsOnCall(i int, result1 orderer.ConsensusType_MigrationState)
- 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.Org
- func (fake *OrdererConfig) OrganizationsCallCount() int
- func (fake *OrdererConfig) OrganizationsCalls(stub func() map[string]channelconfig.Org)
- func (fake *OrdererConfig) OrganizationsReturns(result1 map[string]channelconfig.Org)
- func (fake *OrdererConfig) OrganizationsReturnsOnCall(i int, result1 map[string]channelconfig.Org)
- type OrdererConfigFetcher
- func (fake *OrdererConfigFetcher) Invocations() map[string][][]interface{}
- func (fake *OrdererConfigFetcher) OrdererConfig() (channelconfig.Orderer, bool)
- func (fake *OrdererConfigFetcher) OrdererConfigCallCount() int
- func (fake *OrdererConfigFetcher) OrdererConfigCalls(stub func() (channelconfig.Orderer, bool))
- func (fake *OrdererConfigFetcher) OrdererConfigReturns(result1 channelconfig.Orderer, result2 bool)
- func (fake *OrdererConfigFetcher) OrdererConfigReturnsOnCall(i int, result1 channelconfig.Orderer, result2 bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsHistogram ¶
type MetricsHistogram struct { ObserveStub func(float64) WithStub func(...string) metrics.Histogram // contains filtered or unexported fields }
func (*MetricsHistogram) Invocations ¶
func (fake *MetricsHistogram) Invocations() map[string][][]interface{}
func (*MetricsHistogram) Observe ¶
func (fake *MetricsHistogram) Observe(arg1 float64)
func (*MetricsHistogram) ObserveArgsForCall ¶
func (fake *MetricsHistogram) ObserveArgsForCall(i int) float64
func (*MetricsHistogram) ObserveCallCount ¶
func (fake *MetricsHistogram) ObserveCallCount() int
func (*MetricsHistogram) ObserveCalls ¶
func (fake *MetricsHistogram) ObserveCalls(stub func(float64))
func (*MetricsHistogram) With ¶
func (fake *MetricsHistogram) With(arg1 ...string) metrics.Histogram
func (*MetricsHistogram) WithArgsForCall ¶
func (fake *MetricsHistogram) WithArgsForCall(i int) []string
func (*MetricsHistogram) WithCallCount ¶
func (fake *MetricsHistogram) WithCallCount() int
func (*MetricsHistogram) WithCalls ¶
func (fake *MetricsHistogram) WithCalls(stub func(...string) metrics.Histogram)
func (*MetricsHistogram) WithReturns ¶
func (fake *MetricsHistogram) WithReturns(result1 metrics.Histogram)
func (*MetricsHistogram) WithReturnsOnCall ¶
func (fake *MetricsHistogram) WithReturnsOnCall(i int, result1 metrics.Histogram)
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 ¶
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 ¶
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 ¶
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 OrdererConfig ¶
type OrdererConfig struct { BatchSizeStub func() *orderer.BatchSize BatchTimeoutStub func() time.Duration CapabilitiesStub func() channelconfig.OrdererCapabilities ConsensusMetadataStub func() []byte ConsensusMigrationContextStub func() uint64 ConsensusMigrationStateStub func() orderer.ConsensusType_MigrationState ConsensusTypeStub func() string KafkaBrokersStub func() []string MaxChannelsCountStub func() uint64 OrganizationsStub func() map[string]channelconfig.Org // 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) ConsensusMigrationContext ¶ added in v1.4.1
func (fake *OrdererConfig) ConsensusMigrationContext() uint64
func (*OrdererConfig) ConsensusMigrationContextCallCount ¶ added in v1.4.1
func (fake *OrdererConfig) ConsensusMigrationContextCallCount() int
func (*OrdererConfig) ConsensusMigrationContextCalls ¶ added in v1.4.1
func (fake *OrdererConfig) ConsensusMigrationContextCalls(stub func() uint64)
func (*OrdererConfig) ConsensusMigrationContextReturns ¶ added in v1.4.1
func (fake *OrdererConfig) ConsensusMigrationContextReturns(result1 uint64)
func (*OrdererConfig) ConsensusMigrationContextReturnsOnCall ¶ added in v1.4.1
func (fake *OrdererConfig) ConsensusMigrationContextReturnsOnCall(i int, result1 uint64)
func (*OrdererConfig) ConsensusMigrationState ¶ added in v1.4.1
func (fake *OrdererConfig) ConsensusMigrationState() orderer.ConsensusType_MigrationState
func (*OrdererConfig) ConsensusMigrationStateCallCount ¶ added in v1.4.1
func (fake *OrdererConfig) ConsensusMigrationStateCallCount() int
func (*OrdererConfig) ConsensusMigrationStateCalls ¶ added in v1.4.1
func (fake *OrdererConfig) ConsensusMigrationStateCalls(stub func() orderer.ConsensusType_MigrationState)
func (*OrdererConfig) ConsensusMigrationStateReturns ¶ added in v1.4.1
func (fake *OrdererConfig) ConsensusMigrationStateReturns(result1 orderer.ConsensusType_MigrationState)
func (*OrdererConfig) ConsensusMigrationStateReturnsOnCall ¶ added in v1.4.1
func (fake *OrdererConfig) ConsensusMigrationStateReturnsOnCall(i int, result1 orderer.ConsensusType_MigrationState)
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.Org
func (*OrdererConfig) OrganizationsCallCount ¶
func (fake *OrdererConfig) OrganizationsCallCount() int
func (*OrdererConfig) OrganizationsCalls ¶
func (fake *OrdererConfig) OrganizationsCalls(stub func() map[string]channelconfig.Org)
func (*OrdererConfig) OrganizationsReturns ¶
func (fake *OrdererConfig) OrganizationsReturns(result1 map[string]channelconfig.Org)
func (*OrdererConfig) OrganizationsReturnsOnCall ¶
func (fake *OrdererConfig) OrganizationsReturnsOnCall(i int, result1 map[string]channelconfig.Org)
type OrdererConfigFetcher ¶
type OrdererConfigFetcher struct { OrdererConfigStub func() (channelconfig.Orderer, bool) // contains filtered or unexported fields }
func (*OrdererConfigFetcher) Invocations ¶
func (fake *OrdererConfigFetcher) Invocations() map[string][][]interface{}
func (*OrdererConfigFetcher) OrdererConfig ¶
func (fake *OrdererConfigFetcher) OrdererConfig() (channelconfig.Orderer, bool)
func (*OrdererConfigFetcher) OrdererConfigCallCount ¶
func (fake *OrdererConfigFetcher) OrdererConfigCallCount() int
func (*OrdererConfigFetcher) OrdererConfigCalls ¶
func (fake *OrdererConfigFetcher) OrdererConfigCalls(stub func() (channelconfig.Orderer, bool))
func (*OrdererConfigFetcher) OrdererConfigReturns ¶
func (fake *OrdererConfigFetcher) OrdererConfigReturns(result1 channelconfig.Orderer, result2 bool)
func (*OrdererConfigFetcher) OrdererConfigReturnsOnCall ¶
func (fake *OrdererConfigFetcher) OrdererConfigReturnsOnCall(i int, result1 channelconfig.Orderer, result2 bool)
Click to show internal directories.
Click to hide internal directories.