mocks

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIClock

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

MockIClock is a mock of IClock interface.

func NewMockIClock

func NewMockIClock(ctrl *gomock.Controller) *MockIClock

NewMockIClock creates a new mock instance.

func (*MockIClock) After

func (m *MockIClock) After(d time.Duration) (<-chan time.Time, func() bool)

After mocks base method.

func (*MockIClock) AfterFunc

func (m *MockIClock) AfterFunc(d time.Duration, f func()) func() bool

AfterFunc mocks base method.

func (*MockIClock) EXPECT

func (m *MockIClock) EXPECT() *MockIClockMockRecorder

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

func (*MockIClock) Now

func (m *MockIClock) Now() time.Time

Now mocks base method.

type MockIClockMockRecorder

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

MockIClockMockRecorder is the mock recorder for MockIClock.

func (*MockIClockMockRecorder) After

func (mr *MockIClockMockRecorder) After(d any) *gomock.Call

After indicates an expected call of After.

func (*MockIClockMockRecorder) AfterFunc

func (mr *MockIClockMockRecorder) AfterFunc(d, f any) *gomock.Call

AfterFunc indicates an expected call of AfterFunc.

func (*MockIClockMockRecorder) Now

func (mr *MockIClockMockRecorder) Now() *gomock.Call

Now indicates an expected call of Now.

type MockIHostMeasures

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

MockIHostMeasures is a mock of IHostMeasures interface.

func NewMockIHostMeasures

func NewMockIHostMeasures(ctrl *gomock.Controller) *MockIHostMeasures

NewMockIHostMeasures creates a new mock instance.

func (*MockIHostMeasures) Cores

func (m *MockIHostMeasures) Cores() int

Cores mocks base method.

func (*MockIHostMeasures) DirectoryBytes

func (m *MockIHostMeasures) DirectoryBytes(directory string) (uint64, error)

DirectoryBytes mocks base method.

func (*MockIHostMeasures) EXPECT

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

func (*MockIHostMeasures) FreeBytes

func (m *MockIHostMeasures) FreeBytes(path string) (uint64, error)

FreeBytes mocks base method.

func (*MockIHostMeasures) LoadAverage

func (m *MockIHostMeasures) LoadAverage() (float64, error)

LoadAverage mocks base method.

type MockIHostMeasuresMockRecorder

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

MockIHostMeasuresMockRecorder is the mock recorder for MockIHostMeasures.

func (*MockIHostMeasuresMockRecorder) Cores

Cores indicates an expected call of Cores.

func (*MockIHostMeasuresMockRecorder) DirectoryBytes

func (mr *MockIHostMeasuresMockRecorder) DirectoryBytes(directory any) *gomock.Call

DirectoryBytes indicates an expected call of DirectoryBytes.

func (*MockIHostMeasuresMockRecorder) FreeBytes

func (mr *MockIHostMeasuresMockRecorder) FreeBytes(path any) *gomock.Call

FreeBytes indicates an expected call of FreeBytes.

func (*MockIHostMeasuresMockRecorder) LoadAverage

func (mr *MockIHostMeasuresMockRecorder) LoadAverage() *gomock.Call

LoadAverage indicates an expected call of LoadAverage.

Jump to

Keyboard shortcuts

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