workloadrun

package
v0.1.0-rc.8 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildWorkflowSpec

func BuildWorkflowSpec(
	run *burninv1alpha1.WorkloadRun,
	gpusPerNode, mlnxPerNode int32, enableMNNVL bool, frameworkType string,
) *burninv1alpha1.WorkflowSpec

BuildWorkflowSpec constructs a WorkflowSpec from a WorkloadRun (shared logic between controller and CLI).

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 ncrectl workloadrun status.

Jump to

Keyboard shortcuts

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