Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildWorkflowSpec ¶
func BuildWorkflowSpec( run *nvcrev1alpha1.WorkloadRun, gpusPerNode, mlnxPerNode int32, enableMNNVL bool, frameworkType string, ) (*nvcrev1alpha1.WorkflowSpec, error)
BuildWorkflowSpec constructs a WorkflowSpec from a WorkloadRun (shared logic between controller and CLI).
It returns an error when the workload-object labels cannot be composed — for example when workloadMetadata names the gang scheduler's queue key with a different queue than gangScheduler configures.
func NewCommand ¶
NewCommand returns the "workloadrun" cobra command.
Types ¶
Click to show internal directories.
Click to hide internal directories.