test_matchers

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrometheusMetric

func PrometheusMetric(expected prometheus.Metric) types.GomegaMatcher

Types

type PrometheusMetricMatcher

type PrometheusMetricMatcher struct {
	Expected *dto.Metric
}

func (*PrometheusMetricMatcher) FailureMessage

func (matcher *PrometheusMetricMatcher) FailureMessage(actual interface{}) (message string)

func (*PrometheusMetricMatcher) Match

func (matcher *PrometheusMetricMatcher) Match(actual interface{}) (success bool, err error)

func (*PrometheusMetricMatcher) NegatedFailureMessage

func (matcher *PrometheusMetricMatcher) NegatedFailureMessage(actual interface{}) (message string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL