Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GomegaContainsCollectorResultMatcher ¶
func GomegaContainsCollectorResultMatcher(metric operatormetrics.Metric, expectedValue float64) types.GomegaMatcher
Types ¶
type MetricMatcher ¶
type MetricMatcher struct { Metric operatormetrics.Metric Labels map[string]string }
func (*MetricMatcher) FailureMessage ¶
func (matcher *MetricMatcher) FailureMessage(actual interface{}) (message string)
func (*MetricMatcher) Match ¶
func (matcher *MetricMatcher) Match(actual interface{}) (success bool, err error)
func (*MetricMatcher) NegatedFailureMessage ¶
func (matcher *MetricMatcher) NegatedFailureMessage(actual interface{}) (message string)
type PromResult ¶
Click to show internal directories.
Click to hide internal directories.