Documentation
¶
Index ¶
Constants ¶
View Source
const ( MasterReplicaType = "Master" WorkerReplicaType = "Worker" )
Variables ¶
This section is empty.
Functions ¶
func CreateObject ¶
func CreateObject(namespace, queueName string) *trainingoperatorv1.PyTorchJob
func CreateWorkerOnlyObject ¶
func CreateWorkerOnlyObject(namespace, queueName string, replicas int32) *trainingoperatorv1.PyTorchJob
func GetPodTemplate ¶
func GetPodTemplate(queueName, matchLabelValue string) corev1.PodTemplateSpec
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.