mock_gpu

package
v1.39.0 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_gpu is a generated GoMock package.

Index

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

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) 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

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) 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

Jump to

Keyboard shortcuts

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