Documentation ¶
Overview ¶
Package diagnosesendermanager defines the sender manager for the local diagnose check
Package diagnosesendermanager defines the sender manager for the local diagnose check
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component interface { sender.DiagnoseSenderManager }
Component is the component type. This component must not be used with demultiplexer.Component See demultiplexer.provides for more information.
type MockComponent ¶
type MockComponent interface { Component AssertServiceCheck(t *testing.T, checkName string, status servicecheck.ServiceCheckStatus, hostname string, tags []string, message string) bool AssertMetric(t *testing.T, method string, metric string, value float64, hostname string, tags []string) bool AssertMonotonicCount(t *testing.T, method string, metric string, value float64, hostname string, tags []string, flushFirstValue bool) bool AssertHistogramBucket(t *testing.T, method string, metric string, value int64, lowerBound float64, upperBound float64, monotonic bool, hostname string, tags []string, flushFirstValue bool) bool AssertMetricInRange(t *testing.T, method string, metric string, min float64, max float64, hostname string, tags []string) bool AssertMetricTaggedWith(t *testing.T, method string, metric string, tags []string) bool AssertMetricNotTaggedWith(t *testing.T, method string, metric string, tags []string) bool AssertEvent(t *testing.T, expectedEvent event.Event, allowedDelta time.Duration) bool AssertEventPlatformEvent(t *testing.T, expectedRawEvent []byte, expectedEventType string) bool AssertEventMissing(t *testing.T, expectedEvent event.Event, allowedDelta time.Duration) bool }
MockComponent is an interface satisfied by mocksender.MockSender.
Directories ¶
Path | Synopsis |
---|---|
Package diagnosesendermanagerimpl defines the sender manager for the local diagnose check
|
Package diagnosesendermanagerimpl defines the sender manager for the local diagnose check |
Click to show internal directories.
Click to hide internal directories.