Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckFlags ¶
CheckFlags ensures that any required flags are provided and ensures they are well-formed.
func VGPUConfig ¶
VGPUConfig applies the selected vGPU config to the node
Types ¶
type Context ¶
Context containing CLI flags and the selected VGPUConfig to apply
func (*Context) ApplyVGPUConfig ¶
ApplyVGPUConfig applies a particular vGPU config to the node. The 'VGPUConfig' being applied is embedded in the 'Context' struct itself.
func (*Context) AssertVGPUConfig ¶
AssertVGPUConfig reuses calls from the 'assert' subcommand to check if the vGPU devices of a particular vGPU config are currently applied. The 'VGPUConfig' being checked is embedded in the 'Context' struct itself.
Click to show internal directories.
Click to hide internal directories.