Documentation ¶
Index ¶
- func CopyMPIJobFields(from, to *mpijobv1.MPIJob) bool
- func CopyPytorchJobFields(from, to *pytorchjobv1.PyTorchJob) bool
- func CopyTFJobFields(from, to *tfjobv1.TFJob) bool
- func GenerateMPIJob(name string, namespace string, labels map[string]string, ...) *mpijobv1.MPIJob
- func GeneratePytorchJob(name string, namespace string, labels map[string]string, ...) *pytorchjobv1.PyTorchJob
- func GenerateTFJob(name string, namespace string, labels map[string]string, ...) *tfjobv1.TFJob
- func GetKFCommonCondFromMPICond(cond mpijobv1.JobCondition) kfcommonv1.JobCondition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyMPIJobFields ¶
CopyMPIJobFields copies the owned fields from one MPIJob to another Returns true if the fields copied from don't match to.
func CopyPytorchJobFields ¶
func CopyPytorchJobFields(from, to *pytorchjobv1.PyTorchJob) bool
CopyPytorchJobFields copies the owned fields from one PytrochJob to another Returns true if the fields copied from don't match to.
func CopyTFJobFields ¶
CopyTFJobFields copies the owned fields from one TFJob to another Returns true if the fields copied from don't match to.
func GenerateMPIJob ¶
func GenerateMPIJob( name string, namespace string, labels map[string]string, spec corev1alpha1.KFSpec, ) *mpijobv1.MPIJob
GenerateMPIJob returns a a MPIJob given a a KFSpec
func GeneratePytorchJob ¶
func GeneratePytorchJob( name string, namespace string, labels map[string]string, spec corev1alpha1.KFSpec, ) *pytorchjobv1.PyTorchJob
GeneratePytorchJob returns a a PytorchJob given a a KFSpec
func GenerateTFJob ¶
func GenerateTFJob( name string, namespace string, labels map[string]string, spec corev1alpha1.KFSpec, ) *tfjobv1.TFJob
GenerateTFJob returns a a TFJob given a a KFSpec
func GetKFCommonCondFromMPICond ¶
func GetKFCommonCondFromMPICond(cond mpijobv1.JobCondition) kfcommonv1.JobCondition
GetKFCommonCondFromMPICond generates a new common Job cond based on the MPIJobCond struct
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.