Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type Cndev
- func (m *Cndev) EXPECT() *CndevMockRecorder
- func (m *Cndev) GetDeviceArmOsMemory(arg0 uint) (int64, int64, error)
- func (m *Cndev) GetDeviceCPUUtil(arg0 uint) (uint16, []byte, error)
- func (m *Cndev) GetDeviceCRCInfo(arg0 uint) (uint64, uint64, error)
- func (m *Cndev) GetDeviceClusterCount(arg0 uint) (int, error)
- func (m *Cndev) GetDeviceCoreNum(arg0 uint) (uint, error)
- func (m *Cndev) GetDeviceCount() (uint, error)
- func (m *Cndev) GetDeviceCurrentPCIeInfo(arg0 uint) (int, int, error)
- func (m *Cndev) GetDeviceDDRInfo(arg0 uint) (int, float64, error)
- func (m *Cndev) GetDeviceECCInfo(arg0 uint) (uint64, uint64, uint64, uint64, uint64, uint64, uint64, uint64, error)
- func (m *Cndev) GetDeviceFanSpeed(arg0 uint) (int, error)
- func (m *Cndev) GetDeviceHealth(arg0 uint) (int, error)
- func (m *Cndev) GetDeviceImageCodecUtil(arg0 uint) ([]int, error)
- func (m *Cndev) GetDeviceMLULinkCapability(arg0, arg1 uint) (uint, uint, error)
- func (m *Cndev) GetDeviceMLULinkCounter(arg0, arg1 uint) (uint64, uint64, uint64, uint64, uint64, uint64, uint64, uint64, uint64, uint64, ...)
- func (m *Cndev) GetDeviceMLULinkPortMode(arg0, arg1 uint) (int, error)
- func (m *Cndev) GetDeviceMLULinkPortNumber(arg0 uint) int
- func (m *Cndev) GetDeviceMLULinkSpeedInfo(arg0, arg1 uint) (float32, int, error)
- func (m *Cndev) GetDeviceMLULinkStatus(arg0, arg1 uint) (int, int, error)
- func (m *Cndev) GetDeviceMLULinkVersion(arg0, arg1 uint) (uint, uint, uint, error)
- func (m *Cndev) GetDeviceMemory(arg0 uint) (int64, int64, int64, int64, error)
- func (m *Cndev) GetDeviceModel(arg0 uint) string
- func (m *Cndev) GetDeviceNUMANodeID(arg0 uint) (int, error)
- func (m *Cndev) GetDevicePCIeInfo(arg0 uint) (int, uint, uint, uint16, uint16, uint, uint, uint, uint, error)
- func (m *Cndev) GetDevicePower(arg0 uint) (int, error)
- func (m *Cndev) GetDeviceProcessUtil(arg0 uint) ([]uint32, []uint32, []uint32, []uint32, []uint32, []uint32, error)
- func (m *Cndev) GetDeviceSN(arg0 uint) (string, error)
- func (m *Cndev) GetDeviceTemperature(arg0 uint) (int, []int, error)
- func (m *Cndev) GetDeviceTinyCoreUtil(arg0 uint) ([]int, error)
- func (m *Cndev) GetDeviceUUID(arg0 uint) (string, error)
- func (m *Cndev) GetDeviceUtil(arg0 uint) (int, []int, error)
- func (m *Cndev) GetDeviceVersion(arg0 uint) (uint, uint, uint, uint, uint, uint, error)
- func (m *Cndev) GetDeviceVfState(arg0 uint) (int, error)
- func (m *Cndev) GetDeviceVideoCodecUtil(arg0 uint) ([]int, error)
- func (m *Cndev) Init() error
- func (m *Cndev) Release() error
- type CndevMockRecorder
- func (mr *CndevMockRecorder) GetDeviceArmOsMemory(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceCPUUtil(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceCRCInfo(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceClusterCount(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceCoreNum(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceCount() *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceCurrentPCIeInfo(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceDDRInfo(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceECCInfo(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceFanSpeed(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceHealth(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceImageCodecUtil(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceMLULinkCapability(arg0, arg1 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceMLULinkCounter(arg0, arg1 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceMLULinkPortMode(arg0, arg1 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceMLULinkPortNumber(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceMLULinkSpeedInfo(arg0, arg1 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceMLULinkStatus(arg0, arg1 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceMLULinkVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceMemory(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceModel(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceNUMANodeID(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDevicePCIeInfo(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDevicePower(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceProcessUtil(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceSN(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceTemperature(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceTinyCoreUtil(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceUUID(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceUtil(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceVersion(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceVfState(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) GetDeviceVideoCodecUtil(arg0 interface{}) *gomock.Call
- func (mr *CndevMockRecorder) Init() *gomock.Call
- func (mr *CndevMockRecorder) Release() *gomock.Call
- type Cnpapi
- func (m *Cnpapi) EXPECT() *CnpapiMockRecorder
- func (m *Cnpapi) GetDramReadBytes(arg0 uint) (uint64, error)
- func (m *Cnpapi) GetDramWriteBytes(arg0 uint) (uint64, error)
- func (m *Cnpapi) GetMLULinkReadBytes(arg0 uint) (uint64, error)
- func (m *Cnpapi) GetMLULinkWriteBytes(arg0 uint) (uint64, error)
- func (m *Cnpapi) GetPCIeReadBytes(arg0 uint) (uint64, error)
- func (m *Cnpapi) GetPCIeWriteBytes(arg0 uint) (uint64, error)
- func (m *Cnpapi) Init() error
- func (m *Cnpapi) PmuFlushData(arg0 uint) error
- type CnpapiMockRecorder
- func (mr *CnpapiMockRecorder) GetDramReadBytes(arg0 interface{}) *gomock.Call
- func (mr *CnpapiMockRecorder) GetDramWriteBytes(arg0 interface{}) *gomock.Call
- func (mr *CnpapiMockRecorder) GetMLULinkReadBytes(arg0 interface{}) *gomock.Call
- func (mr *CnpapiMockRecorder) GetMLULinkWriteBytes(arg0 interface{}) *gomock.Call
- func (mr *CnpapiMockRecorder) GetPCIeReadBytes(arg0 interface{}) *gomock.Call
- func (mr *CnpapiMockRecorder) GetPCIeWriteBytes(arg0 interface{}) *gomock.Call
- func (mr *CnpapiMockRecorder) Init() *gomock.Call
- func (mr *CnpapiMockRecorder) PmuFlushData(arg0 interface{}) *gomock.Call
- type Host
- type HostMockRecorder
- type PodResources
- type PodResourcesMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cndev ¶
type Cndev struct {
// contains filtered or unexported fields
}
Cndev is a mock of Cndev interface.
func (*Cndev) EXPECT ¶
func (m *Cndev) EXPECT() *CndevMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Cndev) GetDeviceArmOsMemory ¶ added in v1.6.7
GetDeviceArmOsMemory mocks base method.
func (*Cndev) GetDeviceCPUUtil ¶ added in v1.6.7
GetDeviceCPUUtil mocks base method.
func (*Cndev) GetDeviceCRCInfo ¶ added in v1.6.7
GetDeviceCRCInfo mocks base method.
func (*Cndev) GetDeviceClusterCount ¶
GetDeviceClusterCount mocks base method.
func (*Cndev) GetDeviceCoreNum ¶
GetDeviceCoreNum mocks base method.
func (*Cndev) GetDeviceCount ¶
GetDeviceCount mocks base method.
func (*Cndev) GetDeviceCurrentPCIeInfo ¶ added in v1.6.7
GetDeviceCurrentPCIeInfo mocks base method.
func (*Cndev) GetDeviceDDRInfo ¶ added in v1.6.7
GetDeviceDDRInfo mocks base method.
func (*Cndev) GetDeviceECCInfo ¶ added in v1.6.7
func (m *Cndev) GetDeviceECCInfo(arg0 uint) (uint64, uint64, uint64, uint64, uint64, uint64, uint64, uint64, error)
GetDeviceECCInfo mocks base method.
func (*Cndev) GetDeviceFanSpeed ¶
GetDeviceFanSpeed mocks base method.
func (*Cndev) GetDeviceHealth ¶
GetDeviceHealth mocks base method.
func (*Cndev) GetDeviceImageCodecUtil ¶ added in v1.6.7
GetDeviceImageCodecUtil mocks base method.
func (*Cndev) GetDeviceMLULinkCapability ¶ added in v1.6.7
GetDeviceMLULinkCapability mocks base method.
func (*Cndev) GetDeviceMLULinkCounter ¶ added in v1.6.7
func (m *Cndev) GetDeviceMLULinkCounter(arg0, arg1 uint) (uint64, uint64, uint64, uint64, uint64, uint64, uint64, uint64, uint64, uint64, uint64, error)
GetDeviceMLULinkCounter mocks base method.
func (*Cndev) GetDeviceMLULinkPortMode ¶ added in v1.6.7
GetDeviceMLULinkPortMode mocks base method.
func (*Cndev) GetDeviceMLULinkPortNumber ¶ added in v1.6.7
GetDeviceMLULinkPortNumber mocks base method.
func (*Cndev) GetDeviceMLULinkSpeedInfo ¶ added in v1.6.7
GetDeviceMLULinkSpeedInfo mocks base method.
func (*Cndev) GetDeviceMLULinkStatus ¶ added in v1.6.7
GetDeviceMLULinkStatus mocks base method.
func (*Cndev) GetDeviceMLULinkVersion ¶ added in v1.6.7
GetDeviceMLULinkVersion mocks base method.
func (*Cndev) GetDeviceMemory ¶
GetDeviceMemory mocks base method.
func (*Cndev) GetDeviceModel ¶
GetDeviceModel mocks base method.
func (*Cndev) GetDeviceNUMANodeID ¶ added in v1.6.7
GetDeviceNUMANodeID mocks base method.
func (*Cndev) GetDevicePCIeInfo ¶ added in v1.6.7
func (m *Cndev) GetDevicePCIeInfo(arg0 uint) (int, uint, uint, uint16, uint16, uint, uint, uint, uint, error)
GetDevicePCIeInfo mocks base method.
func (*Cndev) GetDevicePower ¶
GetDevicePower mocks base method.
func (*Cndev) GetDeviceProcessUtil ¶ added in v1.6.7
func (m *Cndev) GetDeviceProcessUtil(arg0 uint) ([]uint32, []uint32, []uint32, []uint32, []uint32, []uint32, error)
GetDeviceProcessUtil mocks base method.
func (*Cndev) GetDeviceSN ¶
GetDeviceSN mocks base method.
func (*Cndev) GetDeviceTemperature ¶
GetDeviceTemperature mocks base method.
func (*Cndev) GetDeviceTinyCoreUtil ¶ added in v1.6.7
GetDeviceTinyCoreUtil mocks base method.
func (*Cndev) GetDeviceUUID ¶ added in v1.6.7
GetDeviceUUID mocks base method.
func (*Cndev) GetDeviceUtil ¶
GetDeviceUtil mocks base method.
func (*Cndev) GetDeviceVersion ¶
GetDeviceVersion mocks base method.
func (*Cndev) GetDeviceVfState ¶ added in v1.6.7
GetDeviceVfState mocks base method.
func (*Cndev) GetDeviceVideoCodecUtil ¶ added in v1.6.7
GetDeviceVideoCodecUtil mocks base method.
type CndevMockRecorder ¶
type CndevMockRecorder struct {
// contains filtered or unexported fields
}
CndevMockRecorder is the mock recorder for Cndev.
func (*CndevMockRecorder) GetDeviceArmOsMemory ¶ added in v1.6.7
func (mr *CndevMockRecorder) GetDeviceArmOsMemory(arg0 interface{}) *gomock.Call
GetDeviceArmOsMemory indicates an expected call of GetDeviceArmOsMemory.
func (*CndevMockRecorder) GetDeviceCPUUtil ¶ added in v1.6.7
func (mr *CndevMockRecorder) GetDeviceCPUUtil(arg0 interface{}) *gomock.Call
GetDeviceCPUUtil indicates an expected call of GetDeviceCPUUtil.
func (*CndevMockRecorder) GetDeviceCRCInfo ¶ added in v1.6.7
func (mr *CndevMockRecorder) GetDeviceCRCInfo(arg0 interface{}) *gomock.Call
GetDeviceCRCInfo indicates an expected call of GetDeviceCRCInfo.
func (*CndevMockRecorder) GetDeviceClusterCount ¶
func (mr *CndevMockRecorder) GetDeviceClusterCount(arg0 interface{}) *gomock.Call
GetDeviceClusterCount indicates an expected call of GetDeviceClusterCount.
func (*CndevMockRecorder) GetDeviceCoreNum ¶
func (mr *CndevMockRecorder) GetDeviceCoreNum(arg0 interface{}) *gomock.Call
GetDeviceCoreNum indicates an expected call of GetDeviceCoreNum.
func (*CndevMockRecorder) GetDeviceCount ¶
func (mr *CndevMockRecorder) GetDeviceCount() *gomock.Call
GetDeviceCount indicates an expected call of GetDeviceCount.
func (*CndevMockRecorder) GetDeviceCurrentPCIeInfo ¶ added in v1.6.7
func (mr *CndevMockRecorder) GetDeviceCurrentPCIeInfo(arg0 interface{}) *gomock.Call
GetDeviceCurrentPCIeInfo indicates an expected call of GetDeviceCurrentPCIeInfo.
func (*CndevMockRecorder) GetDeviceDDRInfo ¶ added in v1.6.7
func (mr *CndevMockRecorder) GetDeviceDDRInfo(arg0 interface{}) *gomock.Call
GetDeviceDDRInfo indicates an expected call of GetDeviceDDRInfo.
func (*CndevMockRecorder) GetDeviceECCInfo ¶ added in v1.6.7
func (mr *CndevMockRecorder) GetDeviceECCInfo(arg0 interface{}) *gomock.Call
GetDeviceECCInfo indicates an expected call of GetDeviceECCInfo.
func (*CndevMockRecorder) GetDeviceFanSpeed ¶
func (mr *CndevMockRecorder) GetDeviceFanSpeed(arg0 interface{}) *gomock.Call
GetDeviceFanSpeed indicates an expected call of GetDeviceFanSpeed.
func (*CndevMockRecorder) GetDeviceHealth ¶
func (mr *CndevMockRecorder) GetDeviceHealth(arg0 interface{}) *gomock.Call
GetDeviceHealth indicates an expected call of GetDeviceHealth.
func (*CndevMockRecorder) GetDeviceImageCodecUtil ¶ added in v1.6.7
func (mr *CndevMockRecorder) GetDeviceImageCodecUtil(arg0 interface{}) *gomock.Call
GetDeviceImageCodecUtil indicates an expected call of GetDeviceImageCodecUtil.
func (*CndevMockRecorder) GetDeviceMLULinkCapability ¶ added in v1.6.7
func (mr *CndevMockRecorder) GetDeviceMLULinkCapability(arg0, arg1 interface{}) *gomock.Call
GetDeviceMLULinkCapability indicates an expected call of GetDeviceMLULinkCapability.
func (*CndevMockRecorder) GetDeviceMLULinkCounter ¶ added in v1.6.7
func (mr *CndevMockRecorder) GetDeviceMLULinkCounter(arg0, arg1 interface{}) *gomock.Call
GetDeviceMLULinkCounter indicates an expected call of GetDeviceMLULinkCounter.
func (*CndevMockRecorder) GetDeviceMLULinkPortMode ¶ added in v1.6.7
func (mr *CndevMockRecorder) GetDeviceMLULinkPortMode(arg0, arg1 interface{}) *gomock.Call
GetDeviceMLULinkPortMode indicates an expected call of GetDeviceMLULinkPortMode.
func (*CndevMockRecorder) GetDeviceMLULinkPortNumber ¶ added in v1.6.7
func (mr *CndevMockRecorder) GetDeviceMLULinkPortNumber(arg0 interface{}) *gomock.Call
GetDeviceMLULinkPortNumber indicates an expected call of GetDeviceMLULinkPortNumber.
func (*CndevMockRecorder) GetDeviceMLULinkSpeedInfo ¶ added in v1.6.7
func (mr *CndevMockRecorder) GetDeviceMLULinkSpeedInfo(arg0, arg1 interface{}) *gomock.Call
GetDeviceMLULinkSpeedInfo indicates an expected call of GetDeviceMLULinkSpeedInfo.
func (*CndevMockRecorder) GetDeviceMLULinkStatus ¶ added in v1.6.7
func (mr *CndevMockRecorder) GetDeviceMLULinkStatus(arg0, arg1 interface{}) *gomock.Call
GetDeviceMLULinkStatus indicates an expected call of GetDeviceMLULinkStatus.
func (*CndevMockRecorder) GetDeviceMLULinkVersion ¶ added in v1.6.7
func (mr *CndevMockRecorder) GetDeviceMLULinkVersion(arg0, arg1 interface{}) *gomock.Call
GetDeviceMLULinkVersion indicates an expected call of GetDeviceMLULinkVersion.
func (*CndevMockRecorder) GetDeviceMemory ¶
func (mr *CndevMockRecorder) GetDeviceMemory(arg0 interface{}) *gomock.Call
GetDeviceMemory indicates an expected call of GetDeviceMemory.
func (*CndevMockRecorder) GetDeviceModel ¶
func (mr *CndevMockRecorder) GetDeviceModel(arg0 interface{}) *gomock.Call
GetDeviceModel indicates an expected call of GetDeviceModel.
func (*CndevMockRecorder) GetDeviceNUMANodeID ¶ added in v1.6.7
func (mr *CndevMockRecorder) GetDeviceNUMANodeID(arg0 interface{}) *gomock.Call
GetDeviceNUMANodeID indicates an expected call of GetDeviceNUMANodeID.
func (*CndevMockRecorder) GetDevicePCIeInfo ¶ added in v1.6.7
func (mr *CndevMockRecorder) GetDevicePCIeInfo(arg0 interface{}) *gomock.Call
GetDevicePCIeInfo indicates an expected call of GetDevicePCIeInfo.
func (*CndevMockRecorder) GetDevicePower ¶
func (mr *CndevMockRecorder) GetDevicePower(arg0 interface{}) *gomock.Call
GetDevicePower indicates an expected call of GetDevicePower.
func (*CndevMockRecorder) GetDeviceProcessUtil ¶ added in v1.6.7
func (mr *CndevMockRecorder) GetDeviceProcessUtil(arg0 interface{}) *gomock.Call
GetDeviceProcessUtil indicates an expected call of GetDeviceProcessUtil.
func (*CndevMockRecorder) GetDeviceSN ¶
func (mr *CndevMockRecorder) GetDeviceSN(arg0 interface{}) *gomock.Call
GetDeviceSN indicates an expected call of GetDeviceSN.
func (*CndevMockRecorder) GetDeviceTemperature ¶
func (mr *CndevMockRecorder) GetDeviceTemperature(arg0 interface{}) *gomock.Call
GetDeviceTemperature indicates an expected call of GetDeviceTemperature.
func (*CndevMockRecorder) GetDeviceTinyCoreUtil ¶ added in v1.6.7
func (mr *CndevMockRecorder) GetDeviceTinyCoreUtil(arg0 interface{}) *gomock.Call
GetDeviceTinyCoreUtil indicates an expected call of GetDeviceTinyCoreUtil.
func (*CndevMockRecorder) GetDeviceUUID ¶ added in v1.6.7
func (mr *CndevMockRecorder) GetDeviceUUID(arg0 interface{}) *gomock.Call
GetDeviceUUID indicates an expected call of GetDeviceUUID.
func (*CndevMockRecorder) GetDeviceUtil ¶
func (mr *CndevMockRecorder) GetDeviceUtil(arg0 interface{}) *gomock.Call
GetDeviceUtil indicates an expected call of GetDeviceUtil.
func (*CndevMockRecorder) GetDeviceVersion ¶
func (mr *CndevMockRecorder) GetDeviceVersion(arg0 interface{}) *gomock.Call
GetDeviceVersion indicates an expected call of GetDeviceVersion.
func (*CndevMockRecorder) GetDeviceVfState ¶ added in v1.6.7
func (mr *CndevMockRecorder) GetDeviceVfState(arg0 interface{}) *gomock.Call
GetDeviceVfState indicates an expected call of GetDeviceVfState.
func (*CndevMockRecorder) GetDeviceVideoCodecUtil ¶ added in v1.6.7
func (mr *CndevMockRecorder) GetDeviceVideoCodecUtil(arg0 interface{}) *gomock.Call
GetDeviceVideoCodecUtil indicates an expected call of GetDeviceVideoCodecUtil.
func (*CndevMockRecorder) Init ¶
func (mr *CndevMockRecorder) Init() *gomock.Call
Init indicates an expected call of Init.
func (*CndevMockRecorder) Release ¶
func (mr *CndevMockRecorder) Release() *gomock.Call
Release indicates an expected call of Release.
type Cnpapi ¶ added in v1.5.2
type Cnpapi struct {
// contains filtered or unexported fields
}
Cnpapi is a mock of Cnpapi interface.
func NewCnpapi ¶ added in v1.5.2
func NewCnpapi(ctrl *gomock.Controller) *Cnpapi
NewCnpapi creates a new mock instance.
func (*Cnpapi) EXPECT ¶ added in v1.5.2
func (m *Cnpapi) EXPECT() *CnpapiMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Cnpapi) GetDramReadBytes ¶ added in v1.5.2
GetDramReadBytes mocks base method.
func (*Cnpapi) GetDramWriteBytes ¶ added in v1.5.2
GetDramWriteBytes mocks base method.
func (*Cnpapi) GetMLULinkReadBytes ¶ added in v1.5.2
GetMLULinkReadBytes mocks base method.
func (*Cnpapi) GetMLULinkWriteBytes ¶ added in v1.5.2
GetMLULinkWriteBytes mocks base method.
func (*Cnpapi) GetPCIeReadBytes ¶ added in v1.5.2
GetPCIeReadBytes mocks base method.
func (*Cnpapi) GetPCIeWriteBytes ¶ added in v1.5.2
GetPCIeWriteBytes mocks base method.
func (*Cnpapi) PmuFlushData ¶ added in v1.5.2
PmuFlushData mocks base method.
type CnpapiMockRecorder ¶ added in v1.5.2
type CnpapiMockRecorder struct {
// contains filtered or unexported fields
}
CnpapiMockRecorder is the mock recorder for Cnpapi.
func (*CnpapiMockRecorder) GetDramReadBytes ¶ added in v1.5.2
func (mr *CnpapiMockRecorder) GetDramReadBytes(arg0 interface{}) *gomock.Call
GetDramReadBytes indicates an expected call of GetDramReadBytes.
func (*CnpapiMockRecorder) GetDramWriteBytes ¶ added in v1.5.2
func (mr *CnpapiMockRecorder) GetDramWriteBytes(arg0 interface{}) *gomock.Call
GetDramWriteBytes indicates an expected call of GetDramWriteBytes.
func (*CnpapiMockRecorder) GetMLULinkReadBytes ¶ added in v1.5.2
func (mr *CnpapiMockRecorder) GetMLULinkReadBytes(arg0 interface{}) *gomock.Call
GetMLULinkReadBytes indicates an expected call of GetMLULinkReadBytes.
func (*CnpapiMockRecorder) GetMLULinkWriteBytes ¶ added in v1.5.2
func (mr *CnpapiMockRecorder) GetMLULinkWriteBytes(arg0 interface{}) *gomock.Call
GetMLULinkWriteBytes indicates an expected call of GetMLULinkWriteBytes.
func (*CnpapiMockRecorder) GetPCIeReadBytes ¶ added in v1.5.2
func (mr *CnpapiMockRecorder) GetPCIeReadBytes(arg0 interface{}) *gomock.Call
GetPCIeReadBytes indicates an expected call of GetPCIeReadBytes.
func (*CnpapiMockRecorder) GetPCIeWriteBytes ¶ added in v1.5.2
func (mr *CnpapiMockRecorder) GetPCIeWriteBytes(arg0 interface{}) *gomock.Call
GetPCIeWriteBytes indicates an expected call of GetPCIeWriteBytes.
func (*CnpapiMockRecorder) Init ¶ added in v1.5.2
func (mr *CnpapiMockRecorder) Init() *gomock.Call
Init indicates an expected call of Init.
func (*CnpapiMockRecorder) PmuFlushData ¶ added in v1.5.2
func (mr *CnpapiMockRecorder) PmuFlushData(arg0 interface{}) *gomock.Call
PmuFlushData indicates an expected call of PmuFlushData.
type Host ¶ added in v1.5.2
type Host struct {
// contains filtered or unexported fields
}
Host is a mock of Host interface.
func NewHost ¶ added in v1.5.2
func NewHost(ctrl *gomock.Controller) *Host
NewHost creates a new mock instance.
func (*Host) EXPECT ¶ added in v1.5.2
func (m *Host) EXPECT() *HostMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Host) GetCPUStats ¶ added in v1.5.2
GetCPUStats mocks base method.
type HostMockRecorder ¶ added in v1.5.2
type HostMockRecorder struct {
// contains filtered or unexported fields
}
HostMockRecorder is the mock recorder for Host.
func (*HostMockRecorder) GetCPUStats ¶ added in v1.5.2
func (mr *HostMockRecorder) GetCPUStats() *gomock.Call
GetCPUStats indicates an expected call of GetCPUStats.
func (*HostMockRecorder) GetMemoryStats ¶ added in v1.5.2
func (mr *HostMockRecorder) GetMemoryStats() *gomock.Call
GetMemoryStats indicates an expected call of GetMemoryStats.
type PodResources ¶
type PodResources struct {
// contains filtered or unexported fields
}
PodResources is a mock of PodResources interface.
func NewPodResources ¶
func NewPodResources(ctrl *gomock.Controller) *PodResources
NewPodResources creates a new mock instance.
func (*PodResources) EXPECT ¶
func (m *PodResources) EXPECT() *PodResourcesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*PodResources) GetDeviceToPodInfo ¶
func (m *PodResources) GetDeviceToPodInfo() (map[string]podresources.PodInfo, error)
GetDeviceToPodInfo mocks base method.
type PodResourcesMockRecorder ¶
type PodResourcesMockRecorder struct {
// contains filtered or unexported fields
}
PodResourcesMockRecorder is the mock recorder for PodResources.
func (*PodResourcesMockRecorder) GetDeviceToPodInfo ¶
func (mr *PodResourcesMockRecorder) GetDeviceToPodInfo() *gomock.Call
GetDeviceToPodInfo indicates an expected call of GetDeviceToPodInfo.