testhelper

package
v0.0.0-...-db3f45c Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0, BSD-3-Clause, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpyMetricClient

type SpyMetricClient struct {
	// contains filtered or unexported fields
}

func NewMetricClient

func NewMetricClient() *SpyMetricClient

func (*SpyMetricClient) EmitEvent

func (s *SpyMetricClient) EmitEvent(title, body string)

func (*SpyMetricClient) GetDelta

func (s *SpyMetricClient) GetDelta(name string) uint64

func (*SpyMetricClient) GetEnvelopes

func (s *SpyMetricClient) GetEnvelopes(name string) []*loggregator_v2.Envelope

func (*SpyMetricClient) GetEvent

func (s *SpyMetricClient) GetEvent(title string) (body string)

func (*SpyMetricClient) GetValue

func (s *SpyMetricClient) GetValue(name string) float64

func (*SpyMetricClient) NewCounter

func (s *SpyMetricClient) NewCounter(name string, opts ...metricemitter.MetricOption) *metricemitter.Counter

func (*SpyMetricClient) NewGauge

func (s *SpyMetricClient) NewGauge(name, unit string, opts ...metricemitter.MetricOption) *metricemitter.Gauge

Jump to

Keyboard shortcuts

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