mocks

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT 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 MockCollector

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

MockCollector is a mock of Collector interface.

func NewMockCollector

func NewMockCollector(ctrl *gomock.Controller) *MockCollector

NewMockCollector creates a new mock instance.

func (*MockCollector) Backend

func (m *MockCollector) Backend() string

Backend mocks base method.

func (*MockCollector) Device

func (m *MockCollector) Device(i int) (*gpu.Device, error)

Device mocks base method.

func (*MockCollector) DeviceCount

func (m *MockCollector) DeviceCount() (int, error)

DeviceCount mocks base method.

func (*MockCollector) EXPECT

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

func (*MockCollector) Init

func (m *MockCollector) Init() error

Init mocks base method.

func (*MockCollector) Shutdown

func (m *MockCollector) Shutdown() error

Shutdown mocks base method.

type MockCollectorMockRecorder

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

MockCollectorMockRecorder is the mock recorder for MockCollector.

func (*MockCollectorMockRecorder) Backend

func (mr *MockCollectorMockRecorder) Backend() *gomock.Call

Backend indicates an expected call of Backend.

func (*MockCollectorMockRecorder) Device

func (mr *MockCollectorMockRecorder) Device(i interface{}) *gomock.Call

Device indicates an expected call of Device.

func (*MockCollectorMockRecorder) DeviceCount

func (mr *MockCollectorMockRecorder) DeviceCount() *gomock.Call

DeviceCount indicates an expected call of DeviceCount.

func (*MockCollectorMockRecorder) Init

Init indicates an expected call of Init.

func (*MockCollectorMockRecorder) Shutdown

func (mr *MockCollectorMockRecorder) Shutdown() *gomock.Call

Shutdown indicates an expected call of Shutdown.

Jump to

Keyboard shortcuts

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