Documentation
¶
Index ¶
- type Interface
- type Option
- func WithCDIHandler(handler cdi.Interface) Option
- func WithConfig(config *spec.Config) Option
- func WithDeviceListStrategies(deviceListStrategies spec.DeviceListStrategies) Option
- func WithFailOnInitError(failOnInitError bool) Option
- func WithImexChannels(imexChannels imex.Channels) Option
- func WithInfoLib(infolib info.Interface) Option
- func WithNVML(nvmllib nvml.Interface) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶ added in v0.17.0
type Option func(*options)
Option is a function that configures a options
func WithCDIHandler ¶ added in v0.17.0
WithCDIHandler sets the CDI handler for the options
func WithConfig ¶ added in v0.17.0
WithConfig sets the config reference for the options
func WithDeviceListStrategies ¶ added in v0.17.0
func WithDeviceListStrategies(deviceListStrategies spec.DeviceListStrategies) Option
WithDeviceListStrategies sets the device list strategies.
func WithFailOnInitError ¶ added in v0.17.0
WithFailOnInitError sets whether the options should fail on initialization errors
func WithImexChannels ¶ added in v0.17.0
WithImexChannels sets the imex channels for the manager.
func WithInfoLib ¶ added in v0.17.0
WithInfoLib sets the info lib for the options.
Click to show internal directories.
Click to hide internal directories.