mocks

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpectrumXManager

type SpectrumXManager struct {
	mock.Mock
}

SpectrumXManager is an autogenerated mock type for the SpectrumXManager type

func NewSpectrumXManager

func NewSpectrumXManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *SpectrumXManager

NewSpectrumXManager creates a new instance of SpectrumXManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SpectrumXManager) ApplyNvConfig

func (_m *SpectrumXManager) ApplyNvConfig(device *v1alpha1.NicDevice) (bool, error)

ApplyNvConfig provides a mock function with given fields: device

func (*SpectrumXManager) ApplyRuntimeConfig

func (_m *SpectrumXManager) ApplyRuntimeConfig(device *v1alpha1.NicDevice) error

ApplyRuntimeConfig provides a mock function with given fields: device

func (*SpectrumXManager) GetDocaCCTargetVersion

func (_m *SpectrumXManager) GetDocaCCTargetVersion(device *v1alpha1.NicDevice) (string, error)

GetDocaCCTargetVersion provides a mock function with given fields: device

func (*SpectrumXManager) NvConfigApplied

func (_m *SpectrumXManager) NvConfigApplied(device *v1alpha1.NicDevice) (bool, error)

NvConfigApplied provides a mock function with given fields: device

func (*SpectrumXManager) RunDocaSpcXCC

func (_m *SpectrumXManager) RunDocaSpcXCC(port v1alpha1.NicDevicePortSpec) error

RunDocaSpcXCC provides a mock function with given fields: port

func (*SpectrumXManager) RuntimeConfigApplied

func (_m *SpectrumXManager) RuntimeConfigApplied(device *v1alpha1.NicDevice) (bool, error)

RuntimeConfigApplied provides a mock function with given fields: device

Jump to

Keyboard shortcuts

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