mocks

package
v4.0.0-rc7 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockApplicationMonitor

type MockApplicationMonitor struct {
	StartCall           func()
	StopCall            func()
	GetHealthStatusCall func() application.HealthDto
	NotifyEventCall     func(counterType int)
	ResetCall           func(counterType int, value int)
}

MockApplicationMonitor mocked implementation of application monitor

func (MockApplicationMonitor) GetHealthStatus

func (m MockApplicationMonitor) GetHealthStatus() application.HealthDto

GetHealthStatus mock

func (MockApplicationMonitor) NotifyEvent

func (m MockApplicationMonitor) NotifyEvent(counterType int)

NotifyEvent mock

func (MockApplicationMonitor) Reset

func (m MockApplicationMonitor) Reset(counterType int, value int)

Reset mock

func (MockApplicationMonitor) Start

func (m MockApplicationMonitor) Start()

Start mock

func (MockApplicationMonitor) Stop

func (m MockApplicationMonitor) Stop()

Stop mock

type MockServicesMonitor

type MockServicesMonitor struct {
	StartCall           func()
	StopCall            func()
	GetHealthStatusCall func() services.HealthDto
}

MockServicesMonitor mocked implementation of services monitor

func (MockServicesMonitor) GetHealthStatus

func (m MockServicesMonitor) GetHealthStatus() services.HealthDto

GetHealthStatus mock

func (MockServicesMonitor) Start

func (m MockServicesMonitor) Start()

Start mock

func (MockServicesMonitor) Stop

func (m MockServicesMonitor) Stop()

Stop mock

Jump to

Keyboard shortcuts

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