Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { Fetch() (*types.MigState, error) RestoreMode(state *types.MigState) error RestoreConfig(state *types.MigState) error }
Manager represents the set of operations for fetching / restoring the full MIG state of all GPUs on a node.
func NewMigStateManager ¶
func NewMigStateManager() Manager
NewMigStateManager creates a new MIG state Manager.
func NewMockMigStateManager ¶
NewMockMigStateManager creates a MIG state Manager using 'nvml' as the underlying NVML library to mock out its calls.
Click to show internal directories.
Click to hide internal directories.