fabric: github.com/hyperledger/fabric/gossip/metrics/mocks Index | Files

package mocks

import "github.com/hyperledger/fabric/gossip/metrics/mocks"

Index

Package Files

metrics.go

type TestMetricProvider Uses

type TestMetricProvider struct {
    FakeProvider *metricsfakes.Provider

    FakeHeightGauge            *metricsfakes.Gauge
    FakeCommitDurationHist     *metricsfakes.Histogram
    FakePayloadBufferSizeGauge *metricsfakes.Gauge

    FakeDeclarationGauge *metricsfakes.Gauge

    FakeSentMessages     *metricsfakes.Counter
    FakeBufferOverflow   *metricsfakes.Counter
    FakeReceivedMessages *metricsfakes.Counter

    FakeTotalGauge *metricsfakes.Gauge

    FakeValidationDuration             *metricsfakes.Histogram
    FakeListMissingPrivateDataDuration *metricsfakes.Histogram
    FakeFetchDuration                  *metricsfakes.Histogram
    FakeCommitPrivateDataDuration      *metricsfakes.Histogram
    FakePurgeDuration                  *metricsfakes.Histogram
    FakeSendDuration                   *metricsfakes.Histogram
    FakeReconciliationDuration         *metricsfakes.Histogram
    FakePullDuration                   *metricsfakes.Histogram
    FakeRetrieveDuration               *metricsfakes.Histogram
}

func TestUtilConstructMetricProvider Uses

func TestUtilConstructMetricProvider() *TestMetricProvider

Package mocks imports 3 packages (graph). Updated 2019-04-03. Refresh now. Tools for package owners.