mocks

package
v0.0.0-...-12e0a72 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 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 Client

type Client struct {
	mock.Mock
}

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

func (_m *Client) CreateMigDevices(migProfileNames []string, gpuIndex int) gpu.Error

CreateMigDevices provides a mock function with given fields: migProfileNames, gpuIndex

func (*Client) DeleteAllMigDevicesExcept

func (_m *Client) DeleteAllMigDevicesExcept(migDeviceIds []string) error

DeleteAllMigDevicesExcept provides a mock function with given fields: migDeviceIds

func (*Client) DeleteMigDevice

func (_m *Client) DeleteMigDevice(id string) gpu.Error

DeleteMigDevice provides a mock function with given fields: id

func (*Client) GetGpuIndex

func (_m *Client) GetGpuIndex(gpuId string) (int, gpu.Error)

GetGpuIndex provides a mock function with given fields: gpuId

func (*Client) GetMigDeviceGpuIndex

func (_m *Client) GetMigDeviceGpuIndex(migDeviceId string) (int, gpu.Error)

GetMigDeviceGpuIndex provides a mock function with given fields: migDeviceId

func (*Client) GetMigEnabledGPUs

func (_m *Client) GetMigEnabledGPUs() ([]int, gpu.Error)

GetMigEnabledGPUs provides a mock function with given fields:

Jump to

Keyboard shortcuts

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