Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Calculator ¶
Calculator is an autogenerated mock type for the Calculator type
func (*Calculator) CalculateUptime ¶
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
Click to show internal directories.
Click to hide internal directories.