mock_ghw

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_ghw is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGHWLib

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

MockGHWLib is a mock of GHWLib interface.

func NewMockGHWLib

func NewMockGHWLib(ctrl *gomock.Controller) *MockGHWLib

NewMockGHWLib creates a new mock instance.

func (*MockGHWLib) EXPECT

func (m *MockGHWLib) EXPECT() *MockGHWLibMockRecorder

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

func (*MockGHWLib) PCI

func (m *MockGHWLib) PCI() (ghw0.Info, error)

PCI mocks base method.

type MockGHWLibMockRecorder

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

MockGHWLibMockRecorder is the mock recorder for MockGHWLib.

func (*MockGHWLibMockRecorder) PCI

func (mr *MockGHWLibMockRecorder) PCI() *gomock.Call

PCI indicates an expected call of PCI.

type MockInfo

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

MockInfo is a mock of Info interface.

func NewMockInfo

func NewMockInfo(ctrl *gomock.Controller) *MockInfo

NewMockInfo creates a new mock instance.

func (*MockInfo) EXPECT

func (m *MockInfo) EXPECT() *MockInfoMockRecorder

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

func (*MockInfo) ListDevices

func (m *MockInfo) ListDevices() []*ghw.PCIDevice

ListDevices mocks base method.

type MockInfoMockRecorder

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

MockInfoMockRecorder is the mock recorder for MockInfo.

func (*MockInfoMockRecorder) ListDevices

func (mr *MockInfoMockRecorder) ListDevices() *gomock.Call

ListDevices indicates an expected call of ListDevices.

Jump to

Keyboard shortcuts

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