Versions in this module Expand all Collapse all v0 v0.3.0 Apr 10, 2019 v0.2.0 Mar 1, 2019 Changes in this version + const GiBPrefix + const MiBPrefix + type MemoryUnit string v0.1.0 Feb 18, 2019 Changes in this version + const EnvAssignedFlag + const EnvResourceAssignTime + const EnvResourceAssumeTime + const EnvResourceByContainer + const EnvResourceByDev + const EnvResourceByPod + const EnvResourceIndex + const OptimisticLockErrorMsg + func NewSharedGPUManager(enableMPS, healthCheck bool) *sharedGPUManager + func StackTrace(all bool) string + type NvidiaDevicePlugin struct + func NewNvidiaDevicePlugin(mps, healthCheck bool) *NvidiaDevicePlugin + func (m *NvidiaDevicePlugin) Allocate(ctx context.Context, reqs *pluginapi.AllocateRequest) (*pluginapi.AllocateResponse, error) + func (m *NvidiaDevicePlugin) GetDeviceNameByIndex(index uint) (name string, found bool) + func (m *NvidiaDevicePlugin) GetDevicePluginOptions(context.Context, *pluginapi.Empty) (*pluginapi.DevicePluginOptions, error) + func (m *NvidiaDevicePlugin) ListAndWatch(e *pluginapi.Empty, s pluginapi.DevicePlugin_ListAndWatchServer) error + func (m *NvidiaDevicePlugin) PreStartContainer(context.Context, *pluginapi.PreStartContainerRequest) (*pluginapi.PreStartContainerResponse, error) + func (m *NvidiaDevicePlugin) Register(kubeletEndpoint, resourceName string) error + func (m *NvidiaDevicePlugin) Serve() error + func (m *NvidiaDevicePlugin) Start() error + func (m *NvidiaDevicePlugin) Stop() error