Home
last modified time | relevance | path

Searched defs:nopAppender (Results 1 – 8 of 8) sorted by relevance

/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/thanos-io/thanos/pkg/rules/
H A Dmanager_test.go36 type nopAppender struct{} struct
38 func (n nopAppender) Append(uint64, labels.Labels, int64, float64) (uint64, error) { return 0, nil }
39 func (n nopAppender) AppendExemplar(uint64, labels.Labels, exemplar.Exemplar) (uint64, error) {
42 func (n nopAppender) Commit() error { return nil }
43 func (n nopAppender) Rollback() error { return nil }
44 func (n nopAppender) Appender(_ context.Context) (storage.Appender, error) { return n, nil }
/dports/databases/prometheus-postgresql-adapter/prometheus-postgresql-adapter-0.6.0/vendor/github.com/prometheus/prometheus/scrape/
H A Dhelpers_test.go27 type nopAppender struct{} struct
29 func (a nopAppender) Add(labels.Labels, int64, float64) (uint64, error) { return 0, nil }
30 func (a nopAppender) AddFast(labels.Labels, uint64, int64, float64) error { return nil }
31 func (a nopAppender) Commit() error { return nil }
32 func (a nopAppender) Rollback() error { return nil }
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/prometheus/prometheus/scrape/
H A Dhelpers_test.go27 type nopAppender struct{} struct
29 func (a nopAppender) Add(labels.Labels, int64, float64) (uint64, error) { return 0, nil }
30 func (a nopAppender) AddFast(labels.Labels, uint64, int64, float64) error { return nil }
31 func (a nopAppender) Commit() error { return nil }
32 func (a nopAppender) Rollback() error { return nil }
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/github.com/prometheus/prometheus/scrape/
H A Dhelpers_test.go27 type nopAppender struct{} struct
29 func (a nopAppender) Add(labels.Labels, int64, float64) (uint64, error) { return 0, nil }
30 func (a nopAppender) AddFast(labels.Labels, uint64, int64, float64) error { return nil }
31 func (a nopAppender) Commit() error { return nil }
32 func (a nopAppender) Rollback() error { return nil }
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/prometheus/prometheus/scrape/
H A Dhelpers_test.go31 type nopAppender struct{} struct
33 func (a nopAppender) Append(uint64, labels.Labels, int64, float64) (uint64, error) { return 0, nil }
34 func (a nopAppender) AppendExemplar(uint64, labels.Labels, exemplar.Exemplar) (uint64, error) {
37 func (a nopAppender) Commit() error { return nil }
38 func (a nopAppender) Rollback() error { return nil }
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/prometheus/prometheus/scrape/
H A Dhelpers_test.go31 type nopAppender struct{} struct
33 func (a nopAppender) Append(uint64, labels.Labels, int64, float64) (uint64, error) { return 0, nil }
34 func (a nopAppender) AppendExemplar(uint64, labels.Labels, exemplar.Exemplar) (uint64, error) {
37 func (a nopAppender) Commit() error { return nil }
38 func (a nopAppender) Rollback() error { return nil }
/dports/net-mgmt/prometheus2/prometheus-2.30.3/scrape/
H A Dhelpers_test.go31 type nopAppender struct{} struct
33 func (a nopAppender) Append(uint64, labels.Labels, int64, float64) (uint64, error) { return 0, nil }
34 func (a nopAppender) AppendExemplar(uint64, labels.Labels, exemplar.Exemplar) (uint64, error) {
37 func (a nopAppender) Commit() error { return nil }
38 func (a nopAppender) Rollback() error { return nil }
/dports/net-mgmt/prometheus1/prometheus-1.8.2/retrieval/
H A Dhelpers_test.go22 type nopAppender struct{} struct
24 func (a nopAppender) Append(*model.Sample) error {
28 func (a nopAppender) NeedsThrottling() bool {