Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MigCap ¶
type MigCap string
MigCap represents the path to a MIG cap file
func NewComputeInstanceCap ¶
NewComputeInstanceCap creates a MigCap for the specified MIG Compute instance. A GPU instance is uniquely defined by the GPU minor number, GI instance ID, and CI instance ID.
func NewGPUInstanceCap ¶
NewGPUInstanceCap creates a MigCap for the specified MIG GPU instance. A GPU instance is uniquely defined by the GPU minor number and GI instance ID.
type MigCaps ¶
MigCaps stores a map of MIG cap file paths to MIG minors
func NewMigCaps ¶
NewMigCaps creates a MigCaps structure based on the contents of the MIG minors file.
Click to show internal directories.
Click to hide internal directories.