diagnosesendermanager

package
v0.9.1-0...-9c46226 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

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