mocks

package
v0.0.0-...-7be9c83 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Calculator

type Calculator struct {
	mock.Mock
}

Calculator is an autogenerated mock type for the Calculator type

func (*Calculator) CalculateUptime

func (_m *Calculator) CalculateUptime(nodeID ids.ShortID) (time.Duration, time.Time, error)

CalculateUptime provides a mock function with given fields: nodeID

func (*Calculator) CalculateUptimePercent

func (_m *Calculator) CalculateUptimePercent(nodeID ids.ShortID) (float64, error)

CalculateUptimePercent provides a mock function with given fields: nodeID

func (*Calculator) CalculateUptimePercentFrom

func (_m *Calculator) CalculateUptimePercentFrom(nodeID ids.ShortID, startTime time.Time) (float64, error)

CalculateUptimePercentFrom provides a mock function with given fields: nodeID, startTime

Jump to

Keyboard shortcuts

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