metrics

package
v0.0.0-...-e050086 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2024 Datadog, Inc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sink

type Sink interface {
	Close() error
	GetSinkName() string
	GetPrefix() string
	MetricCleaned(succeed bool, kind string, tags []string) error
	MetricCleanedForReinjection(succeed bool, kind string, tags []string) error
	MetricCleanupDuration(duration time.Duration, tags []string) error
	MetricInjectDuration(duration time.Duration, tags []string) error
	MetricInjected(succeed bool, kind string, tags []string) error
	MetricReinjected(succeed bool, kind string, tags []string) error
	MetricPodsCreated(target, instanceName, namespace string, succeed bool) error
	MetricReconcile() error
	MetricReconcileDuration(duration time.Duration, tags []string) error
	MetricDisruptionCompletedDuration(duration time.Duration, tags []string) error
	MetricDisruptionOngoingDuration(duration time.Duration, tags []string) error
	MetricStuckOnRemoval(tags []string) error
	MetricStuckOnRemovalGauge(gauge float64) error
	MetricDisruptionsGauge(gauge float64, tags []string) error
	MetricDisruptionsCount(kind chaostypes.DisruptionKindName, tags []string) error
	MetricSelectorCacheGauge(gauge float64) error
	MetricWatcherCalls(tags []string) error
	MetricPodsGauge(gauge float64) error
	MetricRestart() error
	MetricValidationFailed(tags []string) error
	MetricValidationCreated(tags []string) error
	MetricValidationUpdated(tags []string) error
	MetricValidationDeleted(tags []string) error
	MetricInformed(tags []string) error
	MetricOrphanFound(tags []string) error
	MetricTooLate(tags []string) error
	MetricTargetMissing(duration time.Duration, tags []string) error
	MetricMissingTargetFound(tags []string) error
	MetricNextScheduledTime(time time.Duration, tags []string) error
	MetricDisruptionScheduled(tags []string) error
}

Sink describes a metric sink

func GetSink

func GetSink(log *zap.SugaredLogger, driver types.SinkDriver, app types.SinkApp) (Sink, error)

GetSink returns an initiated sink

type SinkMock

type SinkMock struct {
	mock.Mock
}

SinkMock is an autogenerated mock type for the Sink type

func NewSinkMock

func NewSinkMock(t interface {
	mock.TestingT
	Cleanup(func())
}) *SinkMock

NewSinkMock creates a new instance of SinkMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SinkMock) Close

func (_m *SinkMock) Close() error

Close provides a mock function with given fields:

func (*SinkMock) EXPECT

func (_m *SinkMock) EXPECT() *SinkMock_Expecter

func (*SinkMock) GetPrefix

func (_m *SinkMock) GetPrefix() string

GetPrefix provides a mock function with given fields:

func (*SinkMock) GetSinkName

func (_m *SinkMock) GetSinkName() string

GetSinkName provides a mock function with given fields:

func (*SinkMock) MetricCleaned

func (_m *SinkMock) MetricCleaned(succeed bool, kind string, tags []string) error

MetricCleaned provides a mock function with given fields: succeed, kind, tags

func (*SinkMock) MetricCleanedForReinjection

func (_m *SinkMock) MetricCleanedForReinjection(succeed bool, kind string, tags []string) error

MetricCleanedForReinjection provides a mock function with given fields: succeed, kind, tags

func (*SinkMock) MetricCleanupDuration

func (_m *SinkMock) MetricCleanupDuration(duration time.Duration, tags []string) error

MetricCleanupDuration provides a mock function with given fields: duration, tags

func (*SinkMock) MetricDisruptionCompletedDuration

func (_m *SinkMock) MetricDisruptionCompletedDuration(duration time.Duration, tags []string) error

MetricDisruptionCompletedDuration provides a mock function with given fields: duration, tags

func (*SinkMock) MetricDisruptionOngoingDuration

func (_m *SinkMock) MetricDisruptionOngoingDuration(duration time.Duration, tags []string) error

MetricDisruptionOngoingDuration provides a mock function with given fields: duration, tags

func (*SinkMock) MetricDisruptionScheduled

func (_m *SinkMock) MetricDisruptionScheduled(tags []string) error

MetricDisruptionScheduled provides a mock function with given fields: tags

func (*SinkMock) MetricDisruptionsCount

func (_m *SinkMock) MetricDisruptionsCount(kind types.DisruptionKindName, tags []string) error

MetricDisruptionsCount provides a mock function with given fields: kind, tags

func (*SinkMock) MetricDisruptionsGauge

func (_m *SinkMock) MetricDisruptionsGauge(gauge float64, tags []string) error

MetricDisruptionsGauge provides a mock function with given fields: gauge, tags

func (*SinkMock) MetricInformed

func (_m *SinkMock) MetricInformed(tags []string) error

MetricInformed provides a mock function with given fields: tags

func (*SinkMock) MetricInjectDuration

func (_m *SinkMock) MetricInjectDuration(duration time.Duration, tags []string) error

MetricInjectDuration provides a mock function with given fields: duration, tags

func (*SinkMock) MetricInjected

func (_m *SinkMock) MetricInjected(succeed bool, kind string, tags []string) error

MetricInjected provides a mock function with given fields: succeed, kind, tags

func (*SinkMock) MetricMissingTargetFound

func (_m *SinkMock) MetricMissingTargetFound(tags []string) error

MetricMissingTargetFound provides a mock function with given fields: tags

func (*SinkMock) MetricNextScheduledTime

func (_m *SinkMock) MetricNextScheduledTime(_a0 time.Duration, tags []string) error

MetricNextScheduledTime provides a mock function with given fields: _a0, tags

func (*SinkMock) MetricOrphanFound

func (_m *SinkMock) MetricOrphanFound(tags []string) error

MetricOrphanFound provides a mock function with given fields: tags

func (*SinkMock) MetricPodsCreated

func (_m *SinkMock) MetricPodsCreated(target string, instanceName string, namespace string, succeed bool) error

MetricPodsCreated provides a mock function with given fields: target, instanceName, namespace, succeed

func (*SinkMock) MetricPodsGauge

func (_m *SinkMock) MetricPodsGauge(gauge float64) error

MetricPodsGauge provides a mock function with given fields: gauge

func (*SinkMock) MetricReconcile

func (_m *SinkMock) MetricReconcile() error

MetricReconcile provides a mock function with given fields:

func (*SinkMock) MetricReconcileDuration

func (_m *SinkMock) MetricReconcileDuration(duration time.Duration, tags []string) error

MetricReconcileDuration provides a mock function with given fields: duration, tags

func (*SinkMock) MetricReinjected

func (_m *SinkMock) MetricReinjected(succeed bool, kind string, tags []string) error

MetricReinjected provides a mock function with given fields: succeed, kind, tags

func (*SinkMock) MetricRestart

func (_m *SinkMock) MetricRestart() error

MetricRestart provides a mock function with given fields:

func (*SinkMock) MetricSelectorCacheGauge

func (_m *SinkMock) MetricSelectorCacheGauge(gauge float64) error

MetricSelectorCacheGauge provides a mock function with given fields: gauge

func (*SinkMock) MetricStuckOnRemoval

func (_m *SinkMock) MetricStuckOnRemoval(tags []string) error

MetricStuckOnRemoval provides a mock function with given fields: tags

func (*SinkMock) MetricStuckOnRemovalGauge

func (_m *SinkMock) MetricStuckOnRemovalGauge(gauge float64) error

MetricStuckOnRemovalGauge provides a mock function with given fields: gauge

func (*SinkMock) MetricTargetMissing

func (_m *SinkMock) MetricTargetMissing(duration time.Duration, tags []string) error

MetricTargetMissing provides a mock function with given fields: duration, tags

func (*SinkMock) MetricTooLate

func (_m *SinkMock) MetricTooLate(tags []string) error

MetricTooLate provides a mock function with given fields: tags

func (*SinkMock) MetricValidationCreated

func (_m *SinkMock) MetricValidationCreated(tags []string) error

MetricValidationCreated provides a mock function with given fields: tags

func (*SinkMock) MetricValidationDeleted

func (_m *SinkMock) MetricValidationDeleted(tags []string) error

MetricValidationDeleted provides a mock function with given fields: tags

func (*SinkMock) MetricValidationFailed

func (_m *SinkMock) MetricValidationFailed(tags []string) error

MetricValidationFailed provides a mock function with given fields: tags

func (*SinkMock) MetricValidationUpdated

func (_m *SinkMock) MetricValidationUpdated(tags []string) error

MetricValidationUpdated provides a mock function with given fields: tags

func (*SinkMock) MetricWatcherCalls

func (_m *SinkMock) MetricWatcherCalls(tags []string) error

MetricWatcherCalls provides a mock function with given fields: tags

type SinkMock_Close_Call

type SinkMock_Close_Call struct {
	*mock.Call
}

SinkMock_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'

func (*SinkMock_Close_Call) Return

func (*SinkMock_Close_Call) Run

func (_c *SinkMock_Close_Call) Run(run func()) *SinkMock_Close_Call

func (*SinkMock_Close_Call) RunAndReturn

func (_c *SinkMock_Close_Call) RunAndReturn(run func() error) *SinkMock_Close_Call

type SinkMock_Expecter

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

func (*SinkMock_Expecter) Close

Close is a helper method to define mock.On call

func (*SinkMock_Expecter) GetPrefix

func (_e *SinkMock_Expecter) GetPrefix() *SinkMock_GetPrefix_Call

GetPrefix is a helper method to define mock.On call

func (*SinkMock_Expecter) GetSinkName

func (_e *SinkMock_Expecter) GetSinkName() *SinkMock_GetSinkName_Call

GetSinkName is a helper method to define mock.On call

func (*SinkMock_Expecter) MetricCleaned

func (_e *SinkMock_Expecter) MetricCleaned(succeed interface{}, kind interface{}, tags interface{}) *SinkMock_MetricCleaned_Call

MetricCleaned is a helper method to define mock.On call

  • succeed bool
  • kind string
  • tags []string

func (*SinkMock_Expecter) MetricCleanedForReinjection

func (_e *SinkMock_Expecter) MetricCleanedForReinjection(succeed interface{}, kind interface{}, tags interface{}) *SinkMock_MetricCleanedForReinjection_Call

MetricCleanedForReinjection is a helper method to define mock.On call

  • succeed bool
  • kind string
  • tags []string

func (*SinkMock_Expecter) MetricCleanupDuration

func (_e *SinkMock_Expecter) MetricCleanupDuration(duration interface{}, tags interface{}) *SinkMock_MetricCleanupDuration_Call

MetricCleanupDuration is a helper method to define mock.On call

  • duration time.Duration
  • tags []string

func (*SinkMock_Expecter) MetricDisruptionCompletedDuration

func (_e *SinkMock_Expecter) MetricDisruptionCompletedDuration(duration interface{}, tags interface{}) *SinkMock_MetricDisruptionCompletedDuration_Call

MetricDisruptionCompletedDuration is a helper method to define mock.On call

  • duration time.Duration
  • tags []string

func (*SinkMock_Expecter) MetricDisruptionOngoingDuration

func (_e *SinkMock_Expecter) MetricDisruptionOngoingDuration(duration interface{}, tags interface{}) *SinkMock_MetricDisruptionOngoingDuration_Call

MetricDisruptionOngoingDuration is a helper method to define mock.On call

  • duration time.Duration
  • tags []string

func (*SinkMock_Expecter) MetricDisruptionScheduled

func (_e *SinkMock_Expecter) MetricDisruptionScheduled(tags interface{}) *SinkMock_MetricDisruptionScheduled_Call

MetricDisruptionScheduled is a helper method to define mock.On call

  • tags []string

func (*SinkMock_Expecter) MetricDisruptionsCount

func (_e *SinkMock_Expecter) MetricDisruptionsCount(kind interface{}, tags interface{}) *SinkMock_MetricDisruptionsCount_Call

MetricDisruptionsCount is a helper method to define mock.On call

  • kind types.DisruptionKindName
  • tags []string

func (*SinkMock_Expecter) MetricDisruptionsGauge

func (_e *SinkMock_Expecter) MetricDisruptionsGauge(gauge interface{}, tags interface{}) *SinkMock_MetricDisruptionsGauge_Call

MetricDisruptionsGauge is a helper method to define mock.On call

  • gauge float64
  • tags []string

func (*SinkMock_Expecter) MetricInformed

func (_e *SinkMock_Expecter) MetricInformed(tags interface{}) *SinkMock_MetricInformed_Call

MetricInformed is a helper method to define mock.On call

  • tags []string

func (*SinkMock_Expecter) MetricInjectDuration

func (_e *SinkMock_Expecter) MetricInjectDuration(duration interface{}, tags interface{}) *SinkMock_MetricInjectDuration_Call

MetricInjectDuration is a helper method to define mock.On call

  • duration time.Duration
  • tags []string

func (*SinkMock_Expecter) MetricInjected

func (_e *SinkMock_Expecter) MetricInjected(succeed interface{}, kind interface{}, tags interface{}) *SinkMock_MetricInjected_Call

MetricInjected is a helper method to define mock.On call

  • succeed bool
  • kind string
  • tags []string

func (*SinkMock_Expecter) MetricMissingTargetFound

func (_e *SinkMock_Expecter) MetricMissingTargetFound(tags interface{}) *SinkMock_MetricMissingTargetFound_Call

MetricMissingTargetFound is a helper method to define mock.On call

  • tags []string

func (*SinkMock_Expecter) MetricNextScheduledTime

func (_e *SinkMock_Expecter) MetricNextScheduledTime(_a0 interface{}, tags interface{}) *SinkMock_MetricNextScheduledTime_Call

MetricNextScheduledTime is a helper method to define mock.On call

  • _a0 time.Duration
  • tags []string

func (*SinkMock_Expecter) MetricOrphanFound

func (_e *SinkMock_Expecter) MetricOrphanFound(tags interface{}) *SinkMock_MetricOrphanFound_Call

MetricOrphanFound is a helper method to define mock.On call

  • tags []string

func (*SinkMock_Expecter) MetricPodsCreated

func (_e *SinkMock_Expecter) MetricPodsCreated(target interface{}, instanceName interface{}, namespace interface{}, succeed interface{}) *SinkMock_MetricPodsCreated_Call

MetricPodsCreated is a helper method to define mock.On call

  • target string
  • instanceName string
  • namespace string
  • succeed bool

func (*SinkMock_Expecter) MetricPodsGauge

func (_e *SinkMock_Expecter) MetricPodsGauge(gauge interface{}) *SinkMock_MetricPodsGauge_Call

MetricPodsGauge is a helper method to define mock.On call

  • gauge float64

func (*SinkMock_Expecter) MetricReconcile

func (_e *SinkMock_Expecter) MetricReconcile() *SinkMock_MetricReconcile_Call

MetricReconcile is a helper method to define mock.On call

func (*SinkMock_Expecter) MetricReconcileDuration

func (_e *SinkMock_Expecter) MetricReconcileDuration(duration interface{}, tags interface{}) *SinkMock_MetricReconcileDuration_Call

MetricReconcileDuration is a helper method to define mock.On call

  • duration time.Duration
  • tags []string

func (*SinkMock_Expecter) MetricReinjected

func (_e *SinkMock_Expecter) MetricReinjected(succeed interface{}, kind interface{}, tags interface{}) *SinkMock_MetricReinjected_Call

MetricReinjected is a helper method to define mock.On call

  • succeed bool
  • kind string
  • tags []string

func (*SinkMock_Expecter) MetricRestart

func (_e *SinkMock_Expecter) MetricRestart() *SinkMock_MetricRestart_Call

MetricRestart is a helper method to define mock.On call

func (*SinkMock_Expecter) MetricSelectorCacheGauge

func (_e *SinkMock_Expecter) MetricSelectorCacheGauge(gauge interface{}) *SinkMock_MetricSelectorCacheGauge_Call

MetricSelectorCacheGauge is a helper method to define mock.On call

  • gauge float64

func (*SinkMock_Expecter) MetricStuckOnRemoval

func (_e *SinkMock_Expecter) MetricStuckOnRemoval(tags interface{}) *SinkMock_MetricStuckOnRemoval_Call

MetricStuckOnRemoval is a helper method to define mock.On call

  • tags []string

func (*SinkMock_Expecter) MetricStuckOnRemovalGauge

func (_e *SinkMock_Expecter) MetricStuckOnRemovalGauge(gauge interface{}) *SinkMock_MetricStuckOnRemovalGauge_Call

MetricStuckOnRemovalGauge is a helper method to define mock.On call

  • gauge float64

func (*SinkMock_Expecter) MetricTargetMissing

func (_e *SinkMock_Expecter) MetricTargetMissing(duration interface{}, tags interface{}) *SinkMock_MetricTargetMissing_Call

MetricTargetMissing is a helper method to define mock.On call

  • duration time.Duration
  • tags []string

func (*SinkMock_Expecter) MetricTooLate

func (_e *SinkMock_Expecter) MetricTooLate(tags interface{}) *SinkMock_MetricTooLate_Call

MetricTooLate is a helper method to define mock.On call

  • tags []string

func (*SinkMock_Expecter) MetricValidationCreated

func (_e *SinkMock_Expecter) MetricValidationCreated(tags interface{}) *SinkMock_MetricValidationCreated_Call

MetricValidationCreated is a helper method to define mock.On call

  • tags []string

func (*SinkMock_Expecter) MetricValidationDeleted

func (_e *SinkMock_Expecter) MetricValidationDeleted(tags interface{}) *SinkMock_MetricValidationDeleted_Call

MetricValidationDeleted is a helper method to define mock.On call

  • tags []string

func (*SinkMock_Expecter) MetricValidationFailed

func (_e *SinkMock_Expecter) MetricValidationFailed(tags interface{}) *SinkMock_MetricValidationFailed_Call

MetricValidationFailed is a helper method to define mock.On call

  • tags []string

func (*SinkMock_Expecter) MetricValidationUpdated

func (_e *SinkMock_Expecter) MetricValidationUpdated(tags interface{}) *SinkMock_MetricValidationUpdated_Call

MetricValidationUpdated is a helper method to define mock.On call

  • tags []string

func (*SinkMock_Expecter) MetricWatcherCalls

func (_e *SinkMock_Expecter) MetricWatcherCalls(tags interface{}) *SinkMock_MetricWatcherCalls_Call

MetricWatcherCalls is a helper method to define mock.On call

  • tags []string

type SinkMock_GetPrefix_Call

type SinkMock_GetPrefix_Call struct {
	*mock.Call
}

SinkMock_GetPrefix_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPrefix'

func (*SinkMock_GetPrefix_Call) Return

func (*SinkMock_GetPrefix_Call) Run

func (_c *SinkMock_GetPrefix_Call) Run(run func()) *SinkMock_GetPrefix_Call

func (*SinkMock_GetPrefix_Call) RunAndReturn

func (_c *SinkMock_GetPrefix_Call) RunAndReturn(run func() string) *SinkMock_GetPrefix_Call

type SinkMock_GetSinkName_Call

type SinkMock_GetSinkName_Call struct {
	*mock.Call
}

SinkMock_GetSinkName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSinkName'

func (*SinkMock_GetSinkName_Call) Return

func (*SinkMock_GetSinkName_Call) Run

func (*SinkMock_GetSinkName_Call) RunAndReturn

func (_c *SinkMock_GetSinkName_Call) RunAndReturn(run func() string) *SinkMock_GetSinkName_Call

type SinkMock_MetricCleanedForReinjection_Call

type SinkMock_MetricCleanedForReinjection_Call struct {
	*mock.Call
}

SinkMock_MetricCleanedForReinjection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricCleanedForReinjection'

func (*SinkMock_MetricCleanedForReinjection_Call) Return

func (*SinkMock_MetricCleanedForReinjection_Call) Run

func (*SinkMock_MetricCleanedForReinjection_Call) RunAndReturn

type SinkMock_MetricCleaned_Call

type SinkMock_MetricCleaned_Call struct {
	*mock.Call
}

SinkMock_MetricCleaned_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricCleaned'

func (*SinkMock_MetricCleaned_Call) Return

func (*SinkMock_MetricCleaned_Call) Run

func (_c *SinkMock_MetricCleaned_Call) Run(run func(succeed bool, kind string, tags []string)) *SinkMock_MetricCleaned_Call

func (*SinkMock_MetricCleaned_Call) RunAndReturn

type SinkMock_MetricCleanupDuration_Call

type SinkMock_MetricCleanupDuration_Call struct {
	*mock.Call
}

SinkMock_MetricCleanupDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricCleanupDuration'

func (*SinkMock_MetricCleanupDuration_Call) Return

func (*SinkMock_MetricCleanupDuration_Call) Run

func (*SinkMock_MetricCleanupDuration_Call) RunAndReturn

type SinkMock_MetricDisruptionCompletedDuration_Call

type SinkMock_MetricDisruptionCompletedDuration_Call struct {
	*mock.Call
}

SinkMock_MetricDisruptionCompletedDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricDisruptionCompletedDuration'

func (*SinkMock_MetricDisruptionCompletedDuration_Call) Return

func (*SinkMock_MetricDisruptionCompletedDuration_Call) Run

func (*SinkMock_MetricDisruptionCompletedDuration_Call) RunAndReturn

type SinkMock_MetricDisruptionOngoingDuration_Call

type SinkMock_MetricDisruptionOngoingDuration_Call struct {
	*mock.Call
}

SinkMock_MetricDisruptionOngoingDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricDisruptionOngoingDuration'

func (*SinkMock_MetricDisruptionOngoingDuration_Call) Return

func (*SinkMock_MetricDisruptionOngoingDuration_Call) Run

func (*SinkMock_MetricDisruptionOngoingDuration_Call) RunAndReturn

type SinkMock_MetricDisruptionScheduled_Call

type SinkMock_MetricDisruptionScheduled_Call struct {
	*mock.Call
}

SinkMock_MetricDisruptionScheduled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricDisruptionScheduled'

func (*SinkMock_MetricDisruptionScheduled_Call) Return

func (*SinkMock_MetricDisruptionScheduled_Call) Run

func (*SinkMock_MetricDisruptionScheduled_Call) RunAndReturn

type SinkMock_MetricDisruptionsCount_Call

type SinkMock_MetricDisruptionsCount_Call struct {
	*mock.Call
}

SinkMock_MetricDisruptionsCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricDisruptionsCount'

func (*SinkMock_MetricDisruptionsCount_Call) Return

func (*SinkMock_MetricDisruptionsCount_Call) Run

func (*SinkMock_MetricDisruptionsCount_Call) RunAndReturn

type SinkMock_MetricDisruptionsGauge_Call

type SinkMock_MetricDisruptionsGauge_Call struct {
	*mock.Call
}

SinkMock_MetricDisruptionsGauge_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricDisruptionsGauge'

func (*SinkMock_MetricDisruptionsGauge_Call) Return

func (*SinkMock_MetricDisruptionsGauge_Call) Run

func (*SinkMock_MetricDisruptionsGauge_Call) RunAndReturn

type SinkMock_MetricInformed_Call

type SinkMock_MetricInformed_Call struct {
	*mock.Call
}

SinkMock_MetricInformed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricInformed'

func (*SinkMock_MetricInformed_Call) Return

func (*SinkMock_MetricInformed_Call) Run

func (*SinkMock_MetricInformed_Call) RunAndReturn

type SinkMock_MetricInjectDuration_Call

type SinkMock_MetricInjectDuration_Call struct {
	*mock.Call
}

SinkMock_MetricInjectDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricInjectDuration'

func (*SinkMock_MetricInjectDuration_Call) Return

func (*SinkMock_MetricInjectDuration_Call) Run

func (*SinkMock_MetricInjectDuration_Call) RunAndReturn

type SinkMock_MetricInjected_Call

type SinkMock_MetricInjected_Call struct {
	*mock.Call
}

SinkMock_MetricInjected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricInjected'

func (*SinkMock_MetricInjected_Call) Return

func (*SinkMock_MetricInjected_Call) Run

func (_c *SinkMock_MetricInjected_Call) Run(run func(succeed bool, kind string, tags []string)) *SinkMock_MetricInjected_Call

func (*SinkMock_MetricInjected_Call) RunAndReturn

type SinkMock_MetricMissingTargetFound_Call

type SinkMock_MetricMissingTargetFound_Call struct {
	*mock.Call
}

SinkMock_MetricMissingTargetFound_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricMissingTargetFound'

func (*SinkMock_MetricMissingTargetFound_Call) Return

func (*SinkMock_MetricMissingTargetFound_Call) Run

func (*SinkMock_MetricMissingTargetFound_Call) RunAndReturn

type SinkMock_MetricNextScheduledTime_Call

type SinkMock_MetricNextScheduledTime_Call struct {
	*mock.Call
}

SinkMock_MetricNextScheduledTime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricNextScheduledTime'

func (*SinkMock_MetricNextScheduledTime_Call) Return

func (*SinkMock_MetricNextScheduledTime_Call) Run

func (*SinkMock_MetricNextScheduledTime_Call) RunAndReturn

type SinkMock_MetricOrphanFound_Call

type SinkMock_MetricOrphanFound_Call struct {
	*mock.Call
}

SinkMock_MetricOrphanFound_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricOrphanFound'

func (*SinkMock_MetricOrphanFound_Call) Return

func (*SinkMock_MetricOrphanFound_Call) Run

func (*SinkMock_MetricOrphanFound_Call) RunAndReturn

type SinkMock_MetricPodsCreated_Call

type SinkMock_MetricPodsCreated_Call struct {
	*mock.Call
}

SinkMock_MetricPodsCreated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricPodsCreated'

func (*SinkMock_MetricPodsCreated_Call) Return

func (*SinkMock_MetricPodsCreated_Call) Run

func (_c *SinkMock_MetricPodsCreated_Call) Run(run func(target string, instanceName string, namespace string, succeed bool)) *SinkMock_MetricPodsCreated_Call

func (*SinkMock_MetricPodsCreated_Call) RunAndReturn

type SinkMock_MetricPodsGauge_Call

type SinkMock_MetricPodsGauge_Call struct {
	*mock.Call
}

SinkMock_MetricPodsGauge_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricPodsGauge'

func (*SinkMock_MetricPodsGauge_Call) Return

func (*SinkMock_MetricPodsGauge_Call) Run

func (*SinkMock_MetricPodsGauge_Call) RunAndReturn

type SinkMock_MetricReconcileDuration_Call

type SinkMock_MetricReconcileDuration_Call struct {
	*mock.Call
}

SinkMock_MetricReconcileDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricReconcileDuration'

func (*SinkMock_MetricReconcileDuration_Call) Return

func (*SinkMock_MetricReconcileDuration_Call) Run

func (*SinkMock_MetricReconcileDuration_Call) RunAndReturn

type SinkMock_MetricReconcile_Call

type SinkMock_MetricReconcile_Call struct {
	*mock.Call
}

SinkMock_MetricReconcile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricReconcile'

func (*SinkMock_MetricReconcile_Call) Return

func (*SinkMock_MetricReconcile_Call) Run

func (*SinkMock_MetricReconcile_Call) RunAndReturn

type SinkMock_MetricReinjected_Call

type SinkMock_MetricReinjected_Call struct {
	*mock.Call
}

SinkMock_MetricReinjected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricReinjected'

func (*SinkMock_MetricReinjected_Call) Return

func (*SinkMock_MetricReinjected_Call) Run

func (_c *SinkMock_MetricReinjected_Call) Run(run func(succeed bool, kind string, tags []string)) *SinkMock_MetricReinjected_Call

func (*SinkMock_MetricReinjected_Call) RunAndReturn

type SinkMock_MetricRestart_Call

type SinkMock_MetricRestart_Call struct {
	*mock.Call
}

SinkMock_MetricRestart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricRestart'

func (*SinkMock_MetricRestart_Call) Return

func (*SinkMock_MetricRestart_Call) Run

func (*SinkMock_MetricRestart_Call) RunAndReturn

func (_c *SinkMock_MetricRestart_Call) RunAndReturn(run func() error) *SinkMock_MetricRestart_Call

type SinkMock_MetricSelectorCacheGauge_Call

type SinkMock_MetricSelectorCacheGauge_Call struct {
	*mock.Call
}

SinkMock_MetricSelectorCacheGauge_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricSelectorCacheGauge'

func (*SinkMock_MetricSelectorCacheGauge_Call) Return

func (*SinkMock_MetricSelectorCacheGauge_Call) Run

func (*SinkMock_MetricSelectorCacheGauge_Call) RunAndReturn

type SinkMock_MetricStuckOnRemovalGauge_Call

type SinkMock_MetricStuckOnRemovalGauge_Call struct {
	*mock.Call
}

SinkMock_MetricStuckOnRemovalGauge_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricStuckOnRemovalGauge'

func (*SinkMock_MetricStuckOnRemovalGauge_Call) Return

func (*SinkMock_MetricStuckOnRemovalGauge_Call) Run

func (*SinkMock_MetricStuckOnRemovalGauge_Call) RunAndReturn

type SinkMock_MetricStuckOnRemoval_Call

type SinkMock_MetricStuckOnRemoval_Call struct {
	*mock.Call
}

SinkMock_MetricStuckOnRemoval_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricStuckOnRemoval'

func (*SinkMock_MetricStuckOnRemoval_Call) Return

func (*SinkMock_MetricStuckOnRemoval_Call) Run

func (*SinkMock_MetricStuckOnRemoval_Call) RunAndReturn

type SinkMock_MetricTargetMissing_Call

type SinkMock_MetricTargetMissing_Call struct {
	*mock.Call
}

SinkMock_MetricTargetMissing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricTargetMissing'

func (*SinkMock_MetricTargetMissing_Call) Return

func (*SinkMock_MetricTargetMissing_Call) Run

func (*SinkMock_MetricTargetMissing_Call) RunAndReturn

type SinkMock_MetricTooLate_Call

type SinkMock_MetricTooLate_Call struct {
	*mock.Call
}

SinkMock_MetricTooLate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricTooLate'

func (*SinkMock_MetricTooLate_Call) Return

func (*SinkMock_MetricTooLate_Call) Run

func (*SinkMock_MetricTooLate_Call) RunAndReturn

type SinkMock_MetricValidationCreated_Call

type SinkMock_MetricValidationCreated_Call struct {
	*mock.Call
}

SinkMock_MetricValidationCreated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricValidationCreated'

func (*SinkMock_MetricValidationCreated_Call) Return

func (*SinkMock_MetricValidationCreated_Call) Run

func (*SinkMock_MetricValidationCreated_Call) RunAndReturn

type SinkMock_MetricValidationDeleted_Call

type SinkMock_MetricValidationDeleted_Call struct {
	*mock.Call
}

SinkMock_MetricValidationDeleted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricValidationDeleted'

func (*SinkMock_MetricValidationDeleted_Call) Return

func (*SinkMock_MetricValidationDeleted_Call) Run

func (*SinkMock_MetricValidationDeleted_Call) RunAndReturn

type SinkMock_MetricValidationFailed_Call

type SinkMock_MetricValidationFailed_Call struct {
	*mock.Call
}

SinkMock_MetricValidationFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricValidationFailed'

func (*SinkMock_MetricValidationFailed_Call) Return

func (*SinkMock_MetricValidationFailed_Call) Run

func (*SinkMock_MetricValidationFailed_Call) RunAndReturn

type SinkMock_MetricValidationUpdated_Call

type SinkMock_MetricValidationUpdated_Call struct {
	*mock.Call
}

SinkMock_MetricValidationUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricValidationUpdated'

func (*SinkMock_MetricValidationUpdated_Call) Return

func (*SinkMock_MetricValidationUpdated_Call) Run

func (*SinkMock_MetricValidationUpdated_Call) RunAndReturn

type SinkMock_MetricWatcherCalls_Call

type SinkMock_MetricWatcherCalls_Call struct {
	*mock.Call
}

SinkMock_MetricWatcherCalls_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricWatcherCalls'

func (*SinkMock_MetricWatcherCalls_Call) Return

func (*SinkMock_MetricWatcherCalls_Call) Run

func (*SinkMock_MetricWatcherCalls_Call) RunAndReturn

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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