Documentation ¶
Overview ¶
Package mock_gpu is a generated GoMock package.
Index ¶
- type MockGPUManager
- func (m *MockGPUManager) EXPECT() *MockGPUManagerMockRecorder
- func (m *MockGPUManager) GetDevices() []*ecs.PlatformDevice
- func (m *MockGPUManager) GetDriverVersion() string
- func (m *MockGPUManager) GetGPUIDsUnsafe() []string
- func (m *MockGPUManager) GetRuntimeVersion() string
- func (m *MockGPUManager) Initialize() error
- func (m *MockGPUManager) SetDevices()
- func (m *MockGPUManager) SetDriverVersion(arg0 string)
- func (m *MockGPUManager) SetGPUIDs(arg0 []string)
- func (m *MockGPUManager) SetRuntimeVersion(arg0 string)
- type MockGPUManagerMockRecorder
- func (mr *MockGPUManagerMockRecorder) GetDevices() *gomock.Call
- func (mr *MockGPUManagerMockRecorder) GetDriverVersion() *gomock.Call
- func (mr *MockGPUManagerMockRecorder) GetGPUIDsUnsafe() *gomock.Call
- func (mr *MockGPUManagerMockRecorder) GetRuntimeVersion() *gomock.Call
- func (mr *MockGPUManagerMockRecorder) Initialize() *gomock.Call
- func (mr *MockGPUManagerMockRecorder) SetDevices() *gomock.Call
- func (mr *MockGPUManagerMockRecorder) SetDriverVersion(arg0 interface{}) *gomock.Call
- func (mr *MockGPUManagerMockRecorder) SetGPUIDs(arg0 interface{}) *gomock.Call
- func (mr *MockGPUManagerMockRecorder) SetRuntimeVersion(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGPUManager ¶
type MockGPUManager struct {
// contains filtered or unexported fields
}
MockGPUManager is a mock of GPUManager interface
func NewMockGPUManager ¶
func NewMockGPUManager(ctrl *gomock.Controller) *MockGPUManager
NewMockGPUManager creates a new mock instance
func (*MockGPUManager) EXPECT ¶
func (m *MockGPUManager) EXPECT() *MockGPUManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockGPUManager) GetDevices ¶
func (m *MockGPUManager) GetDevices() []*ecs.PlatformDevice
GetDevices mocks base method
func (*MockGPUManager) GetDriverVersion ¶
func (m *MockGPUManager) GetDriverVersion() string
GetDriverVersion mocks base method
func (*MockGPUManager) GetGPUIDsUnsafe ¶
func (m *MockGPUManager) GetGPUIDsUnsafe() []string
GetGPUIDsUnsafe mocks base method
func (*MockGPUManager) GetRuntimeVersion ¶
func (m *MockGPUManager) GetRuntimeVersion() string
GetRuntimeVersion mocks base method
func (*MockGPUManager) Initialize ¶
func (m *MockGPUManager) Initialize() error
Initialize mocks base method
func (*MockGPUManager) SetDevices ¶
func (m *MockGPUManager) SetDevices()
SetDevices mocks base method
func (*MockGPUManager) SetDriverVersion ¶
func (m *MockGPUManager) SetDriverVersion(arg0 string)
SetDriverVersion mocks base method
func (*MockGPUManager) SetGPUIDs ¶
func (m *MockGPUManager) SetGPUIDs(arg0 []string)
SetGPUIDs mocks base method
func (*MockGPUManager) SetRuntimeVersion ¶
func (m *MockGPUManager) SetRuntimeVersion(arg0 string)
SetRuntimeVersion mocks base method
type MockGPUManagerMockRecorder ¶
type MockGPUManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockGPUManagerMockRecorder is the mock recorder for MockGPUManager
func (*MockGPUManagerMockRecorder) GetDevices ¶
func (mr *MockGPUManagerMockRecorder) GetDevices() *gomock.Call
GetDevices indicates an expected call of GetDevices
func (*MockGPUManagerMockRecorder) GetDriverVersion ¶
func (mr *MockGPUManagerMockRecorder) GetDriverVersion() *gomock.Call
GetDriverVersion indicates an expected call of GetDriverVersion
func (*MockGPUManagerMockRecorder) GetGPUIDsUnsafe ¶
func (mr *MockGPUManagerMockRecorder) GetGPUIDsUnsafe() *gomock.Call
GetGPUIDsUnsafe indicates an expected call of GetGPUIDsUnsafe
func (*MockGPUManagerMockRecorder) GetRuntimeVersion ¶
func (mr *MockGPUManagerMockRecorder) GetRuntimeVersion() *gomock.Call
GetRuntimeVersion indicates an expected call of GetRuntimeVersion
func (*MockGPUManagerMockRecorder) Initialize ¶
func (mr *MockGPUManagerMockRecorder) Initialize() *gomock.Call
Initialize indicates an expected call of Initialize
func (*MockGPUManagerMockRecorder) SetDevices ¶
func (mr *MockGPUManagerMockRecorder) SetDevices() *gomock.Call
SetDevices indicates an expected call of SetDevices
func (*MockGPUManagerMockRecorder) SetDriverVersion ¶
func (mr *MockGPUManagerMockRecorder) SetDriverVersion(arg0 interface{}) *gomock.Call
SetDriverVersion indicates an expected call of SetDriverVersion
func (*MockGPUManagerMockRecorder) SetGPUIDs ¶
func (mr *MockGPUManagerMockRecorder) SetGPUIDs(arg0 interface{}) *gomock.Call
SetGPUIDs indicates an expected call of SetGPUIDs
func (*MockGPUManagerMockRecorder) SetRuntimeVersion ¶
func (mr *MockGPUManagerMockRecorder) SetRuntimeVersion(arg0 interface{}) *gomock.Call
SetRuntimeVersion indicates an expected call of SetRuntimeVersion