workloadrun

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2026 License: Apache-2.0 Imports: 33 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func NewCommand() *cobra.Command

NewCommand returns the "workloadrun" cobra command.

Types

type WorkloadRunStatusOutput

type WorkloadRunStatusOutput struct {
	Name        string   `json:"name"`
	Namespace   string   `json:"namespace"`
	Status      string   `json:"status"`
	FailedNodes []string `json:"failedNodes,omitempty"`
}

WorkloadRunStatusOutput is the JSON output for nvcrectl workloadrun status.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL