Documentation
¶
Index ¶
- type Client
- func (_m *Client) CreateMigDevices(migProfileNames []string, gpuIndex int) gpu.Error
- func (_m *Client) DeleteAllMigDevicesExcept(migDeviceIds []string) error
- func (_m *Client) DeleteMigDevice(id string) gpu.Error
- func (_m *Client) GetGpuIndex(gpuId string) (int, gpu.Error)
- func (_m *Client) GetMigDeviceGpuIndex(migDeviceId string) (int, gpu.Error)
- func (_m *Client) GetMigEnabledGPUs() ([]int, gpu.Error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
func NewClient(t mockConstructorTestingTNewClient) *Client
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Client) CreateMigDevices ¶
CreateMigDevices provides a mock function with given fields: migProfileNames, gpuIndex
func (*Client) DeleteAllMigDevicesExcept ¶
DeleteAllMigDevicesExcept provides a mock function with given fields: migDeviceIds
func (*Client) DeleteMigDevice ¶
DeleteMigDevice provides a mock function with given fields: id
func (*Client) GetGpuIndex ¶
GetGpuIndex provides a mock function with given fields: gpuId
func (*Client) GetMigDeviceGpuIndex ¶
GetMigDeviceGpuIndex provides a mock function with given fields: migDeviceId
Click to show internal directories.
Click to hide internal directories.