trackermock

package
v1.12.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package trackermock is a generated GoMock package.

Package trackermock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Targeter

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

Targeter is a mock of Targeter interface.

func NewTargeter

func NewTargeter(ctrl *gomock.Controller) *Targeter

NewTargeter creates a new mock instance.

func (*Targeter) EXPECT

func (m *Targeter) EXPECT() *TargeterMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*Targeter) TargetUsage

func (m *Targeter) TargetUsage(arg0 ids.NodeID) float64

TargetUsage mocks base method.

type TargeterMockRecorder

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

TargeterMockRecorder is the mock recorder for Targeter.

func (*TargeterMockRecorder) TargetUsage

func (mr *TargeterMockRecorder) TargetUsage(arg0 any) *gomock.Call

TargetUsage indicates an expected call of TargetUsage.

type Tracker

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

Tracker is a mock of Tracker interface.

func NewTracker

func NewTracker(ctrl *gomock.Controller) *Tracker

NewTracker creates a new mock instance.

func (*Tracker) EXPECT

func (m *Tracker) EXPECT() *TrackerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*Tracker) TimeUntilUsage

func (m *Tracker) TimeUntilUsage(arg0 ids.NodeID, arg1 time.Time, arg2 float64) time.Duration

TimeUntilUsage mocks base method.

func (*Tracker) TotalUsage

func (m *Tracker) TotalUsage() float64

TotalUsage mocks base method.

func (*Tracker) Usage

func (m *Tracker) Usage(arg0 ids.NodeID, arg1 time.Time) float64

Usage mocks base method.

type TrackerMockRecorder

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

TrackerMockRecorder is the mock recorder for Tracker.

func (*TrackerMockRecorder) TimeUntilUsage

func (mr *TrackerMockRecorder) TimeUntilUsage(arg0, arg1, arg2 any) *gomock.Call

TimeUntilUsage indicates an expected call of TimeUntilUsage.

func (*TrackerMockRecorder) TotalUsage

func (mr *TrackerMockRecorder) TotalUsage() *gomock.Call

TotalUsage indicates an expected call of TotalUsage.

func (*TrackerMockRecorder) Usage

func (mr *TrackerMockRecorder) Usage(arg0, arg1 any) *gomock.Call

Usage indicates an expected call of Usage.

Jump to

Keyboard shortcuts

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