Home
last modified time | relevance | path

Searched refs:GatherAndCompare (Results 1 – 25 of 131) sorted by relevance

123456

/dports/sysutils/helm/helm-3.5.2/vendor/k8s.io/component-base/metrics/testutil/
H A Dtestutil.go48 func GatherAndCompare(g metrics.Gatherer, expected io.Reader, metricNames ...string) error { func
57 return testutil.GatherAndCompare(g, expected, metricNames...)
67 return GatherAndCompare(registry, expected, metricNames...)
/dports/sysutils/kubectl/kubernetes-1.22.2/staging/src/k8s.io/component-base/metrics/testutil/
H A Dtestutil.go48 func GatherAndCompare(g metrics.Gatherer, expected io.Reader, metricNames ...string) error { func
57 return testutil.GatherAndCompare(g, expected, metricNames...)
67 return GatherAndCompare(registry, expected, metricNames...)
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/cortexproject/cortex/pkg/storage/tsdb/bucketindex/
H A Dloader_test.go47 assert.NoError(t, testutil.GatherAndCompare(reg, bytes.NewBufferString(`
71 assert.NoError(t, testutil.GatherAndCompare(reg, bytes.NewBufferString(`
110 assert.NoError(t, testutil.GatherAndCompare(reg, bytes.NewBufferString(`
146 assert.NoError(t, testutil.GatherAndCompare(reg, bytes.NewBufferString(`
215 assert.NoError(t, testutil.GatherAndCompare(reg, bytes.NewBufferString(`
275 assert.NoError(t, testutil.GatherAndCompare(reg, bytes.NewBufferString(`
328 assert.NoError(t, testutil.GatherAndCompare(reg, bytes.NewBufferString(`
384 assert.NoError(t, testutil.GatherAndCompare(reg, bytes.NewBufferString(`
437 assert.NoError(t, testutil.GatherAndCompare(reg, bytes.NewBufferString(`
499 assert.NoError(t, testutil.GatherAndCompare(reg, bytes.NewBufferString(`
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/cortexproject/cortex/pkg/util/validation/
H A Dvalidate_test.go129 require.NoError(t, testutil.GatherAndCompare(prometheus.DefaultGatherer, strings.NewReader(`
144 require.NoError(t, testutil.GatherAndCompare(prometheus.DefaultGatherer, strings.NewReader(`
177 require.NoError(t, testutil.GatherAndCompare(prometheus.DefaultGatherer, strings.NewReader(`
189 require.NoError(t, testutil.GatherAndCompare(prometheus.DefaultGatherer, strings.NewReader(`
241 require.NoError(t, testutil.GatherAndCompare(prometheus.DefaultGatherer, strings.NewReader(`
254 require.NoError(t, testutil.GatherAndCompare(prometheus.DefaultGatherer, strings.NewReader(`
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/cortexproject/cortex/pkg/storegateway/
H A Dbucket_index_metadata_fetcher_test.go66 assert.NoError(t, testutil.GatherAndCompare(reg, bytes.NewBufferString(`
117 assert.NoError(t, testutil.GatherAndCompare(reg, bytes.NewBufferString(`
171 assert.NoError(t, testutil.GatherAndCompare(reg, bytes.NewBufferString(`
225 assert.NoError(t, testutil.GatherAndCompare(reg, bytes.NewBufferString(`
249 assert.NoError(t, testutil.GatherAndCompare(reg, bytes.NewBufferString(`
281 assert.NoError(t, testutil.GatherAndCompare(reg, bytes.NewBufferString(`
307 assert.NoError(t, testutil.GatherAndCompare(reg, bytes.NewBufferString(`
/dports/sysutils/kubectl/kubernetes-1.22.2/staging/src/k8s.io/component-base/metrics/
H A Dregistry_test.go371 if err := testutil.GatherAndCompare(registry, strings.NewReader(""), tc.fqName); err != nil {
382 …if err := testutil.GatherAndCompare(registry, strings.NewReader(tc.expectedMetric), tc.fqName); er…
453 …if err := testutil.GatherAndCompare(registry, strings.NewReader(tc.expectMetricsBeforeEnable), tc.…
463 …if err := testutil.GatherAndCompare(registry, strings.NewReader(tc.expectMetricsAfterEnable), tc.m…
510 …if err := testutil.GatherAndCompare(registry, strings.NewReader(nonResettableOutput+resettableOutp…
514 …if err := testutil.GatherAndCompare(registry, strings.NewReader(nonResettableOutput), "reset_metri…
552 …if err := testutil.GatherAndCompare(registry, strings.NewReader(enabledMetricOutput), "should_be_d…
/dports/sysutils/helm/helm-3.5.2/vendor/k8s.io/component-base/metrics/
H A Dregistry_test.go371 if err := testutil.GatherAndCompare(registry, strings.NewReader(""), tc.fqName); err != nil {
382 …if err := testutil.GatherAndCompare(registry, strings.NewReader(tc.expectedMetric), tc.fqName); er…
453 …if err := testutil.GatherAndCompare(registry, strings.NewReader(tc.expectMetricsBeforeEnable), tc.…
463 …if err := testutil.GatherAndCompare(registry, strings.NewReader(tc.expectMetricsAfterEnable), tc.m…
510 …if err := testutil.GatherAndCompare(registry, strings.NewReader(nonResettableOutput+resettableOutp…
514 …if err := testutil.GatherAndCompare(registry, strings.NewReader(nonResettableOutput), "reset_metri…
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/weaveworks/common/middleware/
H A Dgrpc_stats_test.go81 err = testutil.GatherAndCompare(reg, bytes.NewBufferString(`
176 err = testutil.GatherAndCompare(reg, bytes.NewBufferString(`
190 err = testutil.GatherAndCompare(reg, bytes.NewBufferString(`
202 err = testutil.GatherAndCompare(reg, bytes.NewBufferString(`
/dports/databases/prometheus-postgresql-adapter/prometheus-postgresql-adapter-0.6.0/vendor/github.com/prometheus/prometheus/vendor/github.com/prometheus/client_golang/prometheus/testutil/
H A Dtestutil.go119 return GatherAndCompare(reg, expected, metricNames...)
126 func GatherAndCompare(g prometheus.Gatherer, expected io.Reader, metricNames ...string) error { func
/dports/databases/prometheus-postgresql-adapter/prometheus-postgresql-adapter-0.6.0/vendor/github.com/prometheus/client_golang/prometheus/testutil/
H A Dtestutil.go119 return GatherAndCompare(reg, expected, metricNames...)
126 func GatherAndCompare(g prometheus.Gatherer, expected io.Reader, metricNames ...string) error { func
/dports/security/aws-iam-authenticator/aws-iam-authenticator-0.5.2/vendor/github.com/prometheus/client_golang/client_golang-1.1.0/prometheus/testutil/
H A Dtestutil.go119 return GatherAndCompare(reg, expected, metricNames...)
126 func GatherAndCompare(g prometheus.Gatherer, expected io.Reader, metricNames ...string) error { func
/dports/www/beehive/beehive-0.4.0/vendor/github.com/prometheus/client_golang/prometheus/testutil/
H A Dtestutil.go119 return GatherAndCompare(reg, expected, metricNames...)
126 func GatherAndCompare(g prometheus.Gatherer, expected io.Reader, metricNames ...string) error { func
/dports/misc/concourse/concourse-6.7.2/vendor/github.com/prometheus/client_golang/prometheus/testutil/
H A Dtestutil.go119 return GatherAndCompare(reg, expected, metricNames...)
126 func GatherAndCompare(g prometheus.Gatherer, expected io.Reader, metricNames ...string) error { func
/dports/net-mgmt/unbound_exporter/unbound_exporter-0.3/vendor/github.com/prometheus/client_golang/prometheus/testutil/
H A Dtestutil.go119 return GatherAndCompare(reg, expected, metricNames...)
126 func GatherAndCompare(g prometheus.Gatherer, expected io.Reader, metricNames ...string) error { func
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/github.com/prometheus/prometheus/vendor/github.com/prometheus/client_golang/prometheus/testutil/
H A Dtestutil.go119 return GatherAndCompare(reg, expected, metricNames...)
126 func GatherAndCompare(g prometheus.Gatherer, expected io.Reader, metricNames ...string) error { func
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/github.com/prometheus/client_golang/prometheus/testutil/
H A Dtestutil.go119 return GatherAndCompare(reg, expected, metricNames...)
126 func GatherAndCompare(g prometheus.Gatherer, expected io.Reader, metricNames ...string) error { func
/dports/security/certmgr/certmgr-3.0.3/vendor/github.com/prometheus/client_golang/client_golang-0.9.4/prometheus/testutil/
H A Dtestutil.go119 return GatherAndCompare(reg, expected, metricNames...)
126 func GatherAndCompare(g prometheus.Gatherer, expected io.Reader, metricNames ...string) error { func
/dports/www/varnish_exporter/prometheus_varnish_exporter-1.6/vendor/github.com/prometheus/client_golang/prometheus/testutil/
H A Dtestutil.go119 return GatherAndCompare(reg, expected, metricNames...)
126 func GatherAndCompare(g prometheus.Gatherer, expected io.Reader, metricNames ...string) error { func
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/github.com/prometheus/client_golang/client_golang-1.1.0/prometheus/testutil/
H A Dtestutil.go119 return GatherAndCompare(reg, expected, metricNames...)
126 func GatherAndCompare(g prometheus.Gatherer, expected io.Reader, metricNames ...string) error { func
/dports/sysutils/docker-registry/distribution-2.7.1/vendor/github.com/prometheus/client_golang/client_golang-1.1.0/prometheus/testutil/
H A Dtestutil.go119 return GatherAndCompare(reg, expected, metricNames...)
126 func GatherAndCompare(g prometheus.Gatherer, expected io.Reader, metricNames ...string) error { func
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/prometheus/client_golang/prometheus/testutil/
H A Dtestutil.go119 return GatherAndCompare(reg, expected, metricNames...)
126 func GatherAndCompare(g prometheus.Gatherer, expected io.Reader, metricNames ...string) error { func
/dports/audio/visp-go/visp-2585747/vendor/github.com/prometheus/client_golang/prometheus/testutil/
H A Dtestutil.go119 return GatherAndCompare(reg, expected, metricNames...)
126 func GatherAndCompare(g prometheus.Gatherer, expected io.Reader, metricNames ...string) error { func
/dports/net-mgmt/adguard-exporter/adguard-exporter-1.14/vendor/github.com/prometheus/client_golang/prometheus/testutil/
H A Dtestutil.go119 return GatherAndCompare(reg, expected, metricNames...)
126 func GatherAndCompare(g prometheus.Gatherer, expected io.Reader, metricNames ...string) error { func
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/prometheus/client_golang/prometheus/testutil/
H A Dtestutil.go119 return GatherAndCompare(reg, expected, metricNames...)
126 func GatherAndCompare(g prometheus.Gatherer, expected io.Reader, metricNames ...string) error { func
/dports/net/inlets/inlets-3.0.2/vendor/github.com/prometheus/client_golang/client_golang-1.4.0/prometheus/testutil/
H A Dtestutil.go146 return GatherAndCompare(reg, expected, metricNames...)
153 func GatherAndCompare(g prometheus.Gatherer, expected io.Reader, metricNames ...string) error { func

123456