fakedevice

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeEnv

func MakeEnv(resourceName string, dev pluginapi.Device) map[string]string

MakeEnv creates the following environment variables - _SAMPLE_DEVICE_RESOURCE=<resource-name> - _SAMPLE_DEVICE_ASSIGNED=<device-id> - _SAMPLE_DEVICE_NUMA_LOCALITY=<numanode-id> - <resource-prefix>_<device-id>_<device-file>=<numanode-id>

Types

This section is empty.

Jump to

Keyboard shortcuts

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