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 { Desc *prometheus.Desc Metric *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)
Click to show internal directories.
Click to hide internal directories.