fabric: github.com/hyperledger/fabric/orderer/consensus/kafka/mock Index | Files

package mock

import "github.com/hyperledger/fabric/orderer/consensus/kafka/mock"

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Package Files

channel_capabilities.go channel_config.go health_checker.go metrics_gauge.go metrics_histogram.go metrics_meter.go metrics_provider.go metrics_registry.go orderer_capabilities.go orderer_config.go sync_producer.go

type ChannelCapabilities Uses

type ChannelCapabilities struct {
    ConsensusTypeMigrationStub func() bool

    MSPVersionStub func() msp.MSPVersion

    OrgSpecificOrdererEndpointsStub func() bool

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

func (*ChannelCapabilities) ConsensusTypeMigration Uses

func (fake *ChannelCapabilities) ConsensusTypeMigration() bool

func (*ChannelCapabilities) ConsensusTypeMigrationCallCount Uses

func (fake *ChannelCapabilities) ConsensusTypeMigrationCallCount() int

func (*ChannelCapabilities) ConsensusTypeMigrationCalls Uses

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

func (*ChannelCapabilities) ConsensusTypeMigrationReturns Uses

func (fake *ChannelCapabilities) ConsensusTypeMigrationReturns(result1 bool)

func (*ChannelCapabilities) ConsensusTypeMigrationReturnsOnCall Uses

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

func (*ChannelCapabilities) Invocations Uses

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

func (*ChannelCapabilities) MSPVersion Uses

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

func (*ChannelCapabilities) MSPVersionCallCount Uses

func (fake *ChannelCapabilities) MSPVersionCallCount() int

func (*ChannelCapabilities) MSPVersionCalls Uses

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

func (*ChannelCapabilities) MSPVersionReturns Uses

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

func (*ChannelCapabilities) MSPVersionReturnsOnCall Uses

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

func (*ChannelCapabilities) OrgSpecificOrdererEndpoints Uses

func (fake *ChannelCapabilities) OrgSpecificOrdererEndpoints() bool

func (*ChannelCapabilities) OrgSpecificOrdererEndpointsCallCount Uses

func (fake *ChannelCapabilities) OrgSpecificOrdererEndpointsCallCount() int

func (*ChannelCapabilities) OrgSpecificOrdererEndpointsCalls Uses

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

func (*ChannelCapabilities) OrgSpecificOrdererEndpointsReturns Uses

func (fake *ChannelCapabilities) OrgSpecificOrdererEndpointsReturns(result1 bool)

func (*ChannelCapabilities) OrgSpecificOrdererEndpointsReturnsOnCall Uses

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

func (*ChannelCapabilities) Supported Uses

func (fake *ChannelCapabilities) Supported() error

func (*ChannelCapabilities) SupportedCallCount Uses

func (fake *ChannelCapabilities) SupportedCallCount() int

func (*ChannelCapabilities) SupportedCalls Uses

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

func (*ChannelCapabilities) SupportedReturns Uses

func (fake *ChannelCapabilities) SupportedReturns(result1 error)

func (*ChannelCapabilities) SupportedReturnsOnCall Uses

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

type ChannelConfig Uses

type ChannelConfig struct {
    BlockDataHashingStructureWidthStub func() uint32

    CapabilitiesStub func() channelconfig.ChannelCapabilities

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

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

func (*ChannelConfig) BlockDataHashingStructureWidth Uses

func (fake *ChannelConfig) BlockDataHashingStructureWidth() uint32

func (*ChannelConfig) BlockDataHashingStructureWidthCallCount Uses

func (fake *ChannelConfig) BlockDataHashingStructureWidthCallCount() int

func (*ChannelConfig) BlockDataHashingStructureWidthCalls Uses

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

func (*ChannelConfig) BlockDataHashingStructureWidthReturns Uses

func (fake *ChannelConfig) BlockDataHashingStructureWidthReturns(result1 uint32)

func (*ChannelConfig) BlockDataHashingStructureWidthReturnsOnCall Uses

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

func (*ChannelConfig) Capabilities Uses

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

func (*ChannelConfig) CapabilitiesCallCount Uses

func (fake *ChannelConfig) CapabilitiesCallCount() int

func (*ChannelConfig) CapabilitiesCalls Uses

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

func (*ChannelConfig) CapabilitiesReturns Uses

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

func (*ChannelConfig) CapabilitiesReturnsOnCall Uses

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

func (*ChannelConfig) HashingAlgorithm Uses

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

func (*ChannelConfig) HashingAlgorithmCallCount Uses

func (fake *ChannelConfig) HashingAlgorithmCallCount() int

func (*ChannelConfig) HashingAlgorithmCalls Uses

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

func (*ChannelConfig) HashingAlgorithmReturns Uses

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

func (*ChannelConfig) HashingAlgorithmReturnsOnCall Uses

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

func (*ChannelConfig) Invocations Uses

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

func (*ChannelConfig) OrdererAddresses Uses

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

func (*ChannelConfig) OrdererAddressesCallCount Uses

func (fake *ChannelConfig) OrdererAddressesCallCount() int

func (*ChannelConfig) OrdererAddressesCalls Uses

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

func (*ChannelConfig) OrdererAddressesReturns Uses

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

func (*ChannelConfig) OrdererAddressesReturnsOnCall Uses

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

type HealthChecker Uses

type HealthChecker struct {
    RegisterCheckerStub func(string, healthz.HealthChecker) error
    // contains filtered or unexported fields
}

func (*HealthChecker) Invocations Uses

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

func (*HealthChecker) RegisterChecker Uses

func (fake *HealthChecker) RegisterChecker(arg1 string, arg2 healthz.HealthChecker) error

func (*HealthChecker) RegisterCheckerArgsForCall Uses

func (fake *HealthChecker) RegisterCheckerArgsForCall(i int) (string, healthz.HealthChecker)

func (*HealthChecker) RegisterCheckerCallCount Uses

func (fake *HealthChecker) RegisterCheckerCallCount() int

func (*HealthChecker) RegisterCheckerCalls Uses

func (fake *HealthChecker) RegisterCheckerCalls(stub func(string, healthz.HealthChecker) error)

func (*HealthChecker) RegisterCheckerReturns Uses

func (fake *HealthChecker) RegisterCheckerReturns(result1 error)

func (*HealthChecker) RegisterCheckerReturnsOnCall Uses

func (fake *HealthChecker) RegisterCheckerReturnsOnCall(i int, result1 error)

type MetricsGauge Uses

type MetricsGauge struct {
    AddStub func(float64)

    SetStub func(float64)

    WithStub func(...string) metrics.Gauge
    // contains filtered or unexported fields
}

func (*MetricsGauge) Add Uses

func (fake *MetricsGauge) Add(arg1 float64)

func (*MetricsGauge) AddArgsForCall Uses

func (fake *MetricsGauge) AddArgsForCall(i int) float64

func (*MetricsGauge) AddCallCount Uses

func (fake *MetricsGauge) AddCallCount() int

func (*MetricsGauge) AddCalls Uses

func (fake *MetricsGauge) AddCalls(stub func(float64))

func (*MetricsGauge) Invocations Uses

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

func (*MetricsGauge) Set Uses

func (fake *MetricsGauge) Set(arg1 float64)

func (*MetricsGauge) SetArgsForCall Uses

func (fake *MetricsGauge) SetArgsForCall(i int) float64

func (*MetricsGauge) SetCallCount Uses

func (fake *MetricsGauge) SetCallCount() int

func (*MetricsGauge) SetCalls Uses

func (fake *MetricsGauge) SetCalls(stub func(float64))

func (*MetricsGauge) With Uses

func (fake *MetricsGauge) With(arg1 ...string) metrics.Gauge

func (*MetricsGauge) WithArgsForCall Uses

func (fake *MetricsGauge) WithArgsForCall(i int) []string

func (*MetricsGauge) WithCallCount Uses

func (fake *MetricsGauge) WithCallCount() int

func (*MetricsGauge) WithCalls Uses

func (fake *MetricsGauge) WithCalls(stub func(...string) metrics.Gauge)

func (*MetricsGauge) WithReturns Uses

func (fake *MetricsGauge) WithReturns(result1 metrics.Gauge)

func (*MetricsGauge) WithReturnsOnCall Uses

func (fake *MetricsGauge) WithReturnsOnCall(i int, result1 metrics.Gauge)

type MetricsHistogram Uses

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 Uses

func (fake *MetricsHistogram) Clear()

func (*MetricsHistogram) ClearCallCount Uses

func (fake *MetricsHistogram) ClearCallCount() int

func (*MetricsHistogram) ClearCalls Uses

func (fake *MetricsHistogram) ClearCalls(stub func())

func (*MetricsHistogram) Count Uses

func (fake *MetricsHistogram) Count() int64

func (*MetricsHistogram) CountCallCount Uses

func (fake *MetricsHistogram) CountCallCount() int

func (*MetricsHistogram) CountCalls Uses

func (fake *MetricsHistogram) CountCalls(stub func() int64)

func (*MetricsHistogram) CountReturns Uses

func (fake *MetricsHistogram) CountReturns(result1 int64)

func (*MetricsHistogram) CountReturnsOnCall Uses

func (fake *MetricsHistogram) CountReturnsOnCall(i int, result1 int64)

func (*MetricsHistogram) Invocations Uses

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

func (*MetricsHistogram) Max Uses

func (fake *MetricsHistogram) Max() int64

func (*MetricsHistogram) MaxCallCount Uses

func (fake *MetricsHistogram) MaxCallCount() int

func (*MetricsHistogram) MaxCalls Uses

func (fake *MetricsHistogram) MaxCalls(stub func() int64)

func (*MetricsHistogram) MaxReturns Uses

func (fake *MetricsHistogram) MaxReturns(result1 int64)

func (*MetricsHistogram) MaxReturnsOnCall Uses

func (fake *MetricsHistogram) MaxReturnsOnCall(i int, result1 int64)

func (*MetricsHistogram) Mean Uses

func (fake *MetricsHistogram) Mean() float64

func (*MetricsHistogram) MeanCallCount Uses

func (fake *MetricsHistogram) MeanCallCount() int

func (*MetricsHistogram) MeanCalls Uses

func (fake *MetricsHistogram) MeanCalls(stub func() float64)

func (*MetricsHistogram) MeanReturns Uses

func (fake *MetricsHistogram) MeanReturns(result1 float64)

func (*MetricsHistogram) MeanReturnsOnCall Uses

func (fake *MetricsHistogram) MeanReturnsOnCall(i int, result1 float64)

func (*MetricsHistogram) Min Uses

func (fake *MetricsHistogram) Min() int64

func (*MetricsHistogram) MinCallCount Uses

func (fake *MetricsHistogram) MinCallCount() int

func (*MetricsHistogram) MinCalls Uses

func (fake *MetricsHistogram) MinCalls(stub func() int64)

func (*MetricsHistogram) MinReturns Uses

func (fake *MetricsHistogram) MinReturns(result1 int64)

func (*MetricsHistogram) MinReturnsOnCall Uses

func (fake *MetricsHistogram) MinReturnsOnCall(i int, result1 int64)

func (*MetricsHistogram) Percentile Uses

func (fake *MetricsHistogram) Percentile(arg1 float64) float64

func (*MetricsHistogram) PercentileArgsForCall Uses

func (fake *MetricsHistogram) PercentileArgsForCall(i int) float64

func (*MetricsHistogram) PercentileCallCount Uses

func (fake *MetricsHistogram) PercentileCallCount() int

func (*MetricsHistogram) PercentileCalls Uses

func (fake *MetricsHistogram) PercentileCalls(stub func(float64) float64)

func (*MetricsHistogram) PercentileReturns Uses

func (fake *MetricsHistogram) PercentileReturns(result1 float64)

func (*MetricsHistogram) PercentileReturnsOnCall Uses

func (fake *MetricsHistogram) PercentileReturnsOnCall(i int, result1 float64)

func (*MetricsHistogram) Percentiles Uses

func (fake *MetricsHistogram) Percentiles(arg1 []float64) []float64

func (*MetricsHistogram) PercentilesArgsForCall Uses

func (fake *MetricsHistogram) PercentilesArgsForCall(i int) []float64

func (*MetricsHistogram) PercentilesCallCount Uses

func (fake *MetricsHistogram) PercentilesCallCount() int

func (*MetricsHistogram) PercentilesCalls Uses

func (fake *MetricsHistogram) PercentilesCalls(stub func([]float64) []float64)

func (*MetricsHistogram) PercentilesReturns Uses

func (fake *MetricsHistogram) PercentilesReturns(result1 []float64)

func (*MetricsHistogram) PercentilesReturnsOnCall Uses

func (fake *MetricsHistogram) PercentilesReturnsOnCall(i int, result1 []float64)

func (*MetricsHistogram) Sample Uses

func (fake *MetricsHistogram) Sample() metrics.Sample

func (*MetricsHistogram) SampleCallCount Uses

func (fake *MetricsHistogram) SampleCallCount() int

func (*MetricsHistogram) SampleCalls Uses

func (fake *MetricsHistogram) SampleCalls(stub func() metrics.Sample)

func (*MetricsHistogram) SampleReturns Uses

func (fake *MetricsHistogram) SampleReturns(result1 metrics.Sample)

func (*MetricsHistogram) SampleReturnsOnCall Uses

func (fake *MetricsHistogram) SampleReturnsOnCall(i int, result1 metrics.Sample)

func (*MetricsHistogram) Snapshot Uses

func (fake *MetricsHistogram) Snapshot() metrics.Histogram

func (*MetricsHistogram) SnapshotCallCount Uses

func (fake *MetricsHistogram) SnapshotCallCount() int

func (*MetricsHistogram) SnapshotCalls Uses

func (fake *MetricsHistogram) SnapshotCalls(stub func() metrics.Histogram)

func (*MetricsHistogram) SnapshotReturns Uses

func (fake *MetricsHistogram) SnapshotReturns(result1 metrics.Histogram)

func (*MetricsHistogram) SnapshotReturnsOnCall Uses

func (fake *MetricsHistogram) SnapshotReturnsOnCall(i int, result1 metrics.Histogram)

func (*MetricsHistogram) StdDev Uses

func (fake *MetricsHistogram) StdDev() float64

func (*MetricsHistogram) StdDevCallCount Uses

func (fake *MetricsHistogram) StdDevCallCount() int

func (*MetricsHistogram) StdDevCalls Uses

func (fake *MetricsHistogram) StdDevCalls(stub func() float64)

func (*MetricsHistogram) StdDevReturns Uses

func (fake *MetricsHistogram) StdDevReturns(result1 float64)

func (*MetricsHistogram) StdDevReturnsOnCall Uses

func (fake *MetricsHistogram) StdDevReturnsOnCall(i int, result1 float64)

func (*MetricsHistogram) Sum Uses

func (fake *MetricsHistogram) Sum() int64

func (*MetricsHistogram) SumCallCount Uses

func (fake *MetricsHistogram) SumCallCount() int

func (*MetricsHistogram) SumCalls Uses

func (fake *MetricsHistogram) SumCalls(stub func() int64)

func (*MetricsHistogram) SumReturns Uses

func (fake *MetricsHistogram) SumReturns(result1 int64)

func (*MetricsHistogram) SumReturnsOnCall Uses

func (fake *MetricsHistogram) SumReturnsOnCall(i int, result1 int64)

func (*MetricsHistogram) Update Uses

func (fake *MetricsHistogram) Update(arg1 int64)

func (*MetricsHistogram) UpdateArgsForCall Uses

func (fake *MetricsHistogram) UpdateArgsForCall(i int) int64

func (*MetricsHistogram) UpdateCallCount Uses

func (fake *MetricsHistogram) UpdateCallCount() int

func (*MetricsHistogram) UpdateCalls Uses

func (fake *MetricsHistogram) UpdateCalls(stub func(int64))

func (*MetricsHistogram) Variance Uses

func (fake *MetricsHistogram) Variance() float64

func (*MetricsHistogram) VarianceCallCount Uses

func (fake *MetricsHistogram) VarianceCallCount() int

func (*MetricsHistogram) VarianceCalls Uses

func (fake *MetricsHistogram) VarianceCalls(stub func() float64)

func (*MetricsHistogram) VarianceReturns Uses

func (fake *MetricsHistogram) VarianceReturns(result1 float64)

func (*MetricsHistogram) VarianceReturnsOnCall Uses

func (fake *MetricsHistogram) VarianceReturnsOnCall(i int, result1 float64)

type MetricsMeter Uses

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 Uses

func (fake *MetricsMeter) Count() int64

func (*MetricsMeter) CountCallCount Uses

func (fake *MetricsMeter) CountCallCount() int

func (*MetricsMeter) CountCalls Uses

func (fake *MetricsMeter) CountCalls(stub func() int64)

func (*MetricsMeter) CountReturns Uses

func (fake *MetricsMeter) CountReturns(result1 int64)

func (*MetricsMeter) CountReturnsOnCall Uses

func (fake *MetricsMeter) CountReturnsOnCall(i int, result1 int64)

func (*MetricsMeter) Invocations Uses

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

func (*MetricsMeter) Mark Uses

func (fake *MetricsMeter) Mark(arg1 int64)

func (*MetricsMeter) MarkArgsForCall Uses

func (fake *MetricsMeter) MarkArgsForCall(i int) int64

func (*MetricsMeter) MarkCallCount Uses

func (fake *MetricsMeter) MarkCallCount() int

func (*MetricsMeter) MarkCalls Uses

func (fake *MetricsMeter) MarkCalls(stub func(int64))

func (*MetricsMeter) Rate1 Uses

func (fake *MetricsMeter) Rate1() float64

func (*MetricsMeter) Rate15 Uses

func (fake *MetricsMeter) Rate15() float64

func (*MetricsMeter) Rate15CallCount Uses

func (fake *MetricsMeter) Rate15CallCount() int

func (*MetricsMeter) Rate15Calls Uses

func (fake *MetricsMeter) Rate15Calls(stub func() float64)

func (*MetricsMeter) Rate15Returns Uses

func (fake *MetricsMeter) Rate15Returns(result1 float64)

func (*MetricsMeter) Rate15ReturnsOnCall Uses

func (fake *MetricsMeter) Rate15ReturnsOnCall(i int, result1 float64)

func (*MetricsMeter) Rate1CallCount Uses

func (fake *MetricsMeter) Rate1CallCount() int

func (*MetricsMeter) Rate1Calls Uses

func (fake *MetricsMeter) Rate1Calls(stub func() float64)

func (*MetricsMeter) Rate1Returns Uses

func (fake *MetricsMeter) Rate1Returns(result1 float64)

func (*MetricsMeter) Rate1ReturnsOnCall Uses

func (fake *MetricsMeter) Rate1ReturnsOnCall(i int, result1 float64)

func (*MetricsMeter) Rate5 Uses

func (fake *MetricsMeter) Rate5() float64

func (*MetricsMeter) Rate5CallCount Uses

func (fake *MetricsMeter) Rate5CallCount() int

func (*MetricsMeter) Rate5Calls Uses

func (fake *MetricsMeter) Rate5Calls(stub func() float64)

func (*MetricsMeter) Rate5Returns Uses

func (fake *MetricsMeter) Rate5Returns(result1 float64)

func (*MetricsMeter) Rate5ReturnsOnCall Uses

func (fake *MetricsMeter) Rate5ReturnsOnCall(i int, result1 float64)

func (*MetricsMeter) RateMean Uses

func (fake *MetricsMeter) RateMean() float64

func (*MetricsMeter) RateMeanCallCount Uses

func (fake *MetricsMeter) RateMeanCallCount() int

func (*MetricsMeter) RateMeanCalls Uses

func (fake *MetricsMeter) RateMeanCalls(stub func() float64)

func (*MetricsMeter) RateMeanReturns Uses

func (fake *MetricsMeter) RateMeanReturns(result1 float64)

func (*MetricsMeter) RateMeanReturnsOnCall Uses

func (fake *MetricsMeter) RateMeanReturnsOnCall(i int, result1 float64)

func (*MetricsMeter) Snapshot Uses

func (fake *MetricsMeter) Snapshot() metrics.Meter

func (*MetricsMeter) SnapshotCallCount Uses

func (fake *MetricsMeter) SnapshotCallCount() int

func (*MetricsMeter) SnapshotCalls Uses

func (fake *MetricsMeter) SnapshotCalls(stub func() metrics.Meter)

func (*MetricsMeter) SnapshotReturns Uses

func (fake *MetricsMeter) SnapshotReturns(result1 metrics.Meter)

func (*MetricsMeter) SnapshotReturnsOnCall Uses

func (fake *MetricsMeter) SnapshotReturnsOnCall(i int, result1 metrics.Meter)

func (*MetricsMeter) Stop Uses

func (fake *MetricsMeter) Stop()

func (*MetricsMeter) StopCallCount Uses

func (fake *MetricsMeter) StopCallCount() int

func (*MetricsMeter) StopCalls Uses

func (fake *MetricsMeter) StopCalls(stub func())

type MetricsProvider Uses

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 Uses

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

func (*MetricsProvider) NewCounter Uses

func (fake *MetricsProvider) NewCounter(arg1 metrics.CounterOpts) metrics.Counter

func (*MetricsProvider) NewCounterArgsForCall Uses

func (fake *MetricsProvider) NewCounterArgsForCall(i int) metrics.CounterOpts

func (*MetricsProvider) NewCounterCallCount Uses

func (fake *MetricsProvider) NewCounterCallCount() int

func (*MetricsProvider) NewCounterCalls Uses

func (fake *MetricsProvider) NewCounterCalls(stub func(metrics.CounterOpts) metrics.Counter)

func (*MetricsProvider) NewCounterReturns Uses

func (fake *MetricsProvider) NewCounterReturns(result1 metrics.Counter)

func (*MetricsProvider) NewCounterReturnsOnCall Uses

func (fake *MetricsProvider) NewCounterReturnsOnCall(i int, result1 metrics.Counter)

func (*MetricsProvider) NewGauge Uses

func (fake *MetricsProvider) NewGauge(arg1 metrics.GaugeOpts) metrics.Gauge

func (*MetricsProvider) NewGaugeArgsForCall Uses

func (fake *MetricsProvider) NewGaugeArgsForCall(i int) metrics.GaugeOpts

func (*MetricsProvider) NewGaugeCallCount Uses

func (fake *MetricsProvider) NewGaugeCallCount() int

func (*MetricsProvider) NewGaugeCalls Uses

func (fake *MetricsProvider) NewGaugeCalls(stub func(metrics.GaugeOpts) metrics.Gauge)

func (*MetricsProvider) NewGaugeReturns Uses

func (fake *MetricsProvider) NewGaugeReturns(result1 metrics.Gauge)

func (*MetricsProvider) NewGaugeReturnsOnCall Uses

func (fake *MetricsProvider) NewGaugeReturnsOnCall(i int, result1 metrics.Gauge)

func (*MetricsProvider) NewHistogram Uses

func (fake *MetricsProvider) NewHistogram(arg1 metrics.HistogramOpts) metrics.Histogram

func (*MetricsProvider) NewHistogramArgsForCall Uses

func (fake *MetricsProvider) NewHistogramArgsForCall(i int) metrics.HistogramOpts

func (*MetricsProvider) NewHistogramCallCount Uses

func (fake *MetricsProvider) NewHistogramCallCount() int

func (*MetricsProvider) NewHistogramCalls Uses

func (fake *MetricsProvider) NewHistogramCalls(stub func(metrics.HistogramOpts) metrics.Histogram)

func (*MetricsProvider) NewHistogramReturns Uses

func (fake *MetricsProvider) NewHistogramReturns(result1 metrics.Histogram)

func (*MetricsProvider) NewHistogramReturnsOnCall Uses

func (fake *MetricsProvider) NewHistogramReturnsOnCall(i int, result1 metrics.Histogram)

type MetricsRegistry Uses

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 Uses

func (fake *MetricsRegistry) Each(arg1 func(string, interface{}))

func (*MetricsRegistry) EachArgsForCall Uses

func (fake *MetricsRegistry) EachArgsForCall(i int) func(string, interface{})

func (*MetricsRegistry) EachCallCount Uses

func (fake *MetricsRegistry) EachCallCount() int

func (*MetricsRegistry) EachCalls Uses

func (fake *MetricsRegistry) EachCalls(stub func(func(string, interface{})))

func (*MetricsRegistry) Get Uses

func (fake *MetricsRegistry) Get(arg1 string) interface{}

func (*MetricsRegistry) GetAll Uses

func (fake *MetricsRegistry) GetAll() map[string]map[string]interface{}

func (*MetricsRegistry) GetAllCallCount Uses

func (fake *MetricsRegistry) GetAllCallCount() int

func (*MetricsRegistry) GetAllCalls Uses

func (fake *MetricsRegistry) GetAllCalls(stub func() map[string]map[string]interface{})

func (*MetricsRegistry) GetAllReturns Uses

func (fake *MetricsRegistry) GetAllReturns(result1 map[string]map[string]interface{})

func (*MetricsRegistry) GetAllReturnsOnCall Uses

func (fake *MetricsRegistry) GetAllReturnsOnCall(i int, result1 map[string]map[string]interface{})

func (*MetricsRegistry) GetArgsForCall Uses

func (fake *MetricsRegistry) GetArgsForCall(i int) string

func (*MetricsRegistry) GetCallCount Uses

func (fake *MetricsRegistry) GetCallCount() int

func (*MetricsRegistry) GetCalls Uses

func (fake *MetricsRegistry) GetCalls(stub func(string) interface{})

func (*MetricsRegistry) GetOrRegister Uses

func (fake *MetricsRegistry) GetOrRegister(arg1 string, arg2 interface{}) interface{}

func (*MetricsRegistry) GetOrRegisterArgsForCall Uses

func (fake *MetricsRegistry) GetOrRegisterArgsForCall(i int) (string, interface{})

func (*MetricsRegistry) GetOrRegisterCallCount Uses

func (fake *MetricsRegistry) GetOrRegisterCallCount() int

func (*MetricsRegistry) GetOrRegisterCalls Uses

func (fake *MetricsRegistry) GetOrRegisterCalls(stub func(string, interface{}) interface{})

func (*MetricsRegistry) GetOrRegisterReturns Uses

func (fake *MetricsRegistry) GetOrRegisterReturns(result1 interface{})

func (*MetricsRegistry) GetOrRegisterReturnsOnCall Uses

func (fake *MetricsRegistry) GetOrRegisterReturnsOnCall(i int, result1 interface{})

func (*MetricsRegistry) GetReturns Uses

func (fake *MetricsRegistry) GetReturns(result1 interface{})

func (*MetricsRegistry) GetReturnsOnCall Uses

func (fake *MetricsRegistry) GetReturnsOnCall(i int, result1 interface{})

func (*MetricsRegistry) Invocations Uses

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

func (*MetricsRegistry) Register Uses

func (fake *MetricsRegistry) Register(arg1 string, arg2 interface{}) error

func (*MetricsRegistry) RegisterArgsForCall Uses

func (fake *MetricsRegistry) RegisterArgsForCall(i int) (string, interface{})

func (*MetricsRegistry) RegisterCallCount Uses

func (fake *MetricsRegistry) RegisterCallCount() int

func (*MetricsRegistry) RegisterCalls Uses

func (fake *MetricsRegistry) RegisterCalls(stub func(string, interface{}) error)

func (*MetricsRegistry) RegisterReturns Uses

func (fake *MetricsRegistry) RegisterReturns(result1 error)

func (*MetricsRegistry) RegisterReturnsOnCall Uses

func (fake *MetricsRegistry) RegisterReturnsOnCall(i int, result1 error)

func (*MetricsRegistry) RunHealthchecks Uses

func (fake *MetricsRegistry) RunHealthchecks()

func (*MetricsRegistry) RunHealthchecksCallCount Uses

func (fake *MetricsRegistry) RunHealthchecksCallCount() int

func (*MetricsRegistry) RunHealthchecksCalls Uses

func (fake *MetricsRegistry) RunHealthchecksCalls(stub func())

func (*MetricsRegistry) Unregister Uses

func (fake *MetricsRegistry) Unregister(arg1 string)

func (*MetricsRegistry) UnregisterAll Uses

func (fake *MetricsRegistry) UnregisterAll()

func (*MetricsRegistry) UnregisterAllCallCount Uses

func (fake *MetricsRegistry) UnregisterAllCallCount() int

func (*MetricsRegistry) UnregisterAllCalls Uses

func (fake *MetricsRegistry) UnregisterAllCalls(stub func())

func (*MetricsRegistry) UnregisterArgsForCall Uses

func (fake *MetricsRegistry) UnregisterArgsForCall(i int) string

func (*MetricsRegistry) UnregisterCallCount Uses

func (fake *MetricsRegistry) UnregisterCallCount() int

func (*MetricsRegistry) UnregisterCalls Uses

func (fake *MetricsRegistry) UnregisterCalls(stub func(string))

type OrdererCapabilities Uses

type OrdererCapabilities struct {
    ConsensusTypeMigrationStub func() bool

    ExpirationCheckStub func() bool

    PredictableChannelTemplateStub func() bool

    ResubmissionStub func() bool

    SupportedStub func() error

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

func (*OrdererCapabilities) ConsensusTypeMigration Uses

func (fake *OrdererCapabilities) ConsensusTypeMigration() bool

func (*OrdererCapabilities) ConsensusTypeMigrationCallCount Uses

func (fake *OrdererCapabilities) ConsensusTypeMigrationCallCount() int

func (*OrdererCapabilities) ConsensusTypeMigrationCalls Uses

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

func (*OrdererCapabilities) ConsensusTypeMigrationReturns Uses

func (fake *OrdererCapabilities) ConsensusTypeMigrationReturns(result1 bool)

func (*OrdererCapabilities) ConsensusTypeMigrationReturnsOnCall Uses

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

func (*OrdererCapabilities) ExpirationCheck Uses

func (fake *OrdererCapabilities) ExpirationCheck() bool

func (*OrdererCapabilities) ExpirationCheckCallCount Uses

func (fake *OrdererCapabilities) ExpirationCheckCallCount() int

func (*OrdererCapabilities) ExpirationCheckCalls Uses

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

func (*OrdererCapabilities) ExpirationCheckReturns Uses

func (fake *OrdererCapabilities) ExpirationCheckReturns(result1 bool)

func (*OrdererCapabilities) ExpirationCheckReturnsOnCall Uses

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

func (*OrdererCapabilities) Invocations Uses

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

func (*OrdererCapabilities) PredictableChannelTemplate Uses

func (fake *OrdererCapabilities) PredictableChannelTemplate() bool

func (*OrdererCapabilities) PredictableChannelTemplateCallCount Uses

func (fake *OrdererCapabilities) PredictableChannelTemplateCallCount() int

func (*OrdererCapabilities) PredictableChannelTemplateCalls Uses

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

func (*OrdererCapabilities) PredictableChannelTemplateReturns Uses

func (fake *OrdererCapabilities) PredictableChannelTemplateReturns(result1 bool)

func (*OrdererCapabilities) PredictableChannelTemplateReturnsOnCall Uses

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

func (*OrdererCapabilities) Resubmission Uses

func (fake *OrdererCapabilities) Resubmission() bool

func (*OrdererCapabilities) ResubmissionCallCount Uses

func (fake *OrdererCapabilities) ResubmissionCallCount() int

func (*OrdererCapabilities) ResubmissionCalls Uses

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

func (*OrdererCapabilities) ResubmissionReturns Uses

func (fake *OrdererCapabilities) ResubmissionReturns(result1 bool)

func (*OrdererCapabilities) ResubmissionReturnsOnCall Uses

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

func (*OrdererCapabilities) Supported Uses

func (fake *OrdererCapabilities) Supported() error

func (*OrdererCapabilities) SupportedCallCount Uses

func (fake *OrdererCapabilities) SupportedCallCount() int

func (*OrdererCapabilities) SupportedCalls Uses

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

func (*OrdererCapabilities) SupportedReturns Uses

func (fake *OrdererCapabilities) SupportedReturns(result1 error)

func (*OrdererCapabilities) SupportedReturnsOnCall Uses

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

func (*OrdererCapabilities) UseChannelCreationPolicyAsAdmins Uses

func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdmins() bool

func (*OrdererCapabilities) UseChannelCreationPolicyAsAdminsCallCount Uses

func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsCallCount() int

func (*OrdererCapabilities) UseChannelCreationPolicyAsAdminsCalls Uses

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

func (*OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturns Uses

func (fake *OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturns(result1 bool)

func (*OrdererCapabilities) UseChannelCreationPolicyAsAdminsReturnsOnCall Uses

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

type OrdererConfig Uses

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

    BatchTimeoutStub func() time.Duration

    CapabilitiesStub func() channelconfig.OrdererCapabilities

    ConsensusMetadataStub func() []byte

    ConsensusStateStub func() orderer.ConsensusType_State

    ConsensusTypeStub func() string

    KafkaBrokersStub func() []string

    MaxChannelsCountStub func() uint64

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

func (*OrdererConfig) BatchSize Uses

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

func (*OrdererConfig) BatchSizeCallCount Uses

func (fake *OrdererConfig) BatchSizeCallCount() int

func (*OrdererConfig) BatchSizeCalls Uses

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

func (*OrdererConfig) BatchSizeReturns Uses

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

func (*OrdererConfig) BatchSizeReturnsOnCall Uses

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

func (*OrdererConfig) BatchTimeout Uses

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

func (*OrdererConfig) BatchTimeoutCallCount Uses

func (fake *OrdererConfig) BatchTimeoutCallCount() int

func (*OrdererConfig) BatchTimeoutCalls Uses

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

func (*OrdererConfig) BatchTimeoutReturns Uses

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

func (*OrdererConfig) BatchTimeoutReturnsOnCall Uses

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

func (*OrdererConfig) Capabilities Uses

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

func (*OrdererConfig) CapabilitiesCallCount Uses

func (fake *OrdererConfig) CapabilitiesCallCount() int

func (*OrdererConfig) CapabilitiesCalls Uses

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

func (*OrdererConfig) CapabilitiesReturns Uses

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

func (*OrdererConfig) CapabilitiesReturnsOnCall Uses

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

func (*OrdererConfig) ConsensusMetadata Uses

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

func (*OrdererConfig) ConsensusMetadataCallCount Uses

func (fake *OrdererConfig) ConsensusMetadataCallCount() int

func (*OrdererConfig) ConsensusMetadataCalls Uses

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

func (*OrdererConfig) ConsensusMetadataReturns Uses

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

func (*OrdererConfig) ConsensusMetadataReturnsOnCall Uses

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

func (*OrdererConfig) ConsensusState Uses

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

func (*OrdererConfig) ConsensusStateCallCount Uses

func (fake *OrdererConfig) ConsensusStateCallCount() int

func (*OrdererConfig) ConsensusStateCalls Uses

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

func (*OrdererConfig) ConsensusStateReturns Uses

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

func (*OrdererConfig) ConsensusStateReturnsOnCall Uses

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

func (*OrdererConfig) ConsensusType Uses

func (fake *OrdererConfig) ConsensusType() string

func (*OrdererConfig) ConsensusTypeCallCount Uses

func (fake *OrdererConfig) ConsensusTypeCallCount() int

func (*OrdererConfig) ConsensusTypeCalls Uses

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

func (*OrdererConfig) ConsensusTypeReturns Uses

func (fake *OrdererConfig) ConsensusTypeReturns(result1 string)

func (*OrdererConfig) ConsensusTypeReturnsOnCall Uses

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

func (*OrdererConfig) Invocations Uses

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

func (*OrdererConfig) KafkaBrokers Uses

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

func (*OrdererConfig) KafkaBrokersCallCount Uses

func (fake *OrdererConfig) KafkaBrokersCallCount() int

func (*OrdererConfig) KafkaBrokersCalls Uses

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

func (*OrdererConfig) KafkaBrokersReturns Uses

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

func (*OrdererConfig) KafkaBrokersReturnsOnCall Uses

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

func (*OrdererConfig) MaxChannelsCount Uses

func (fake *OrdererConfig) MaxChannelsCount() uint64

func (*OrdererConfig) MaxChannelsCountCallCount Uses

func (fake *OrdererConfig) MaxChannelsCountCallCount() int

func (*OrdererConfig) MaxChannelsCountCalls Uses

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

func (*OrdererConfig) MaxChannelsCountReturns Uses

func (fake *OrdererConfig) MaxChannelsCountReturns(result1 uint64)

func (*OrdererConfig) MaxChannelsCountReturnsOnCall Uses

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

func (*OrdererConfig) Organizations Uses

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

func (*OrdererConfig) OrganizationsCallCount Uses

func (fake *OrdererConfig) OrganizationsCallCount() int

func (*OrdererConfig) OrganizationsCalls Uses

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

func (*OrdererConfig) OrganizationsReturns Uses

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

func (*OrdererConfig) OrganizationsReturnsOnCall Uses

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

type SyncProducer Uses

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 Uses

func (fake *SyncProducer) Close() error

func (*SyncProducer) CloseCallCount Uses

func (fake *SyncProducer) CloseCallCount() int

func (*SyncProducer) CloseCalls Uses

func (fake *SyncProducer) CloseCalls(stub func() error)

func (*SyncProducer) CloseReturns Uses

func (fake *SyncProducer) CloseReturns(result1 error)

func (*SyncProducer) CloseReturnsOnCall Uses

func (fake *SyncProducer) CloseReturnsOnCall(i int, result1 error)

func (*SyncProducer) Invocations Uses

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

func (*SyncProducer) SendMessage Uses

func (fake *SyncProducer) SendMessage(arg1 *sarama.ProducerMessage) (int32, int64, error)

func (*SyncProducer) SendMessageArgsForCall Uses

func (fake *SyncProducer) SendMessageArgsForCall(i int) *sarama.ProducerMessage

func (*SyncProducer) SendMessageCallCount Uses

func (fake *SyncProducer) SendMessageCallCount() int

func (*SyncProducer) SendMessageCalls Uses

func (fake *SyncProducer) SendMessageCalls(stub func(*sarama.ProducerMessage) (int32, int64, error))

func (*SyncProducer) SendMessageReturns Uses

func (fake *SyncProducer) SendMessageReturns(result1 int32, result2 int64, result3 error)

func (*SyncProducer) SendMessageReturnsOnCall Uses

func (fake *SyncProducer) SendMessageReturnsOnCall(i int, result1 int32, result2 int64, result3 error)

func (*SyncProducer) SendMessages Uses

func (fake *SyncProducer) SendMessages(arg1 []*sarama.ProducerMessage) error

func (*SyncProducer) SendMessagesArgsForCall Uses

func (fake *SyncProducer) SendMessagesArgsForCall(i int) []*sarama.ProducerMessage

func (*SyncProducer) SendMessagesCallCount Uses

func (fake *SyncProducer) SendMessagesCallCount() int

func (*SyncProducer) SendMessagesCalls Uses

func (fake *SyncProducer) SendMessagesCalls(stub func([]*sarama.ProducerMessage) error)

func (*SyncProducer) SendMessagesReturns Uses

func (fake *SyncProducer) SendMessagesReturns(result1 error)

func (*SyncProducer) SendMessagesReturnsOnCall Uses

func (fake *SyncProducer) SendMessagesReturnsOnCall(i int, result1 error)

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