Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsModuleLoaded ¶
IsModuleLoaded tells whether given kernel module is loaded or not.
func LoadModule ¶
LoadModule loads a kernel module (via modprobe).
func UnloadModule ¶
UnloadModule unloads a kernel module (via rmmod).
Types ¶
type PCILister ¶
type PCILister struct{}
PCILister is the object responsible for discovering initial pool of devices and their allocation.
func (PCILister) Discover ¶
func (pci PCILister) Discover(pluginListCh chan dpm.PluginNameList)
Discover discovers all PCI devices within the system.
func (PCILister) GetResourceNamespace ¶
type VFIODevicePlugin ¶
type VFIODevicePlugin struct {
// contains filtered or unexported fields
}
VFIODevicePlugin represents device plugin implementation with VFIO specific attributes.
func (*VFIODevicePlugin) Allocate ¶
func (dpi *VFIODevicePlugin) Allocate(ctx context.Context, r *pluginapi.AllocateRequest) (*pluginapi.AllocateResponse, error)
Allocate allocates a set of devices to be used by container runtime environment.
func (*VFIODevicePlugin) ListAndWatch ¶
func (dpi *VFIODevicePlugin) ListAndWatch(e *pluginapi.Empty, s pluginapi.DevicePlugin_ListAndWatchServer) error
ListAndWatch lists devices.
Click to show internal directories.
Click to hide internal directories.