Documentation
¶
Index ¶
Constants ¶
View Source
const ErrTemplateSchemeNotSupported = "scheme %s is not supported yet"
Variables ¶
View Source
var SupportedSchemeReconciler = map[string]ReconcilerSetupFunc{ kubeflowv1.TFJobKind: func(mgr manager.Manager, gangSchedulingSetupFunc common.GangSchedulingSetupFunc, controllerThreads int) error { return tensorflowcontroller.NewReconciler(mgr, gangSchedulingSetupFunc).SetupWithManager(mgr, controllerThreads) }, kubeflowv1.PyTorchJobKind: func(mgr manager.Manager, gangSchedulingSetupFunc common.GangSchedulingSetupFunc, controllerThreads int) error { return pytorchcontroller.NewReconciler(mgr, gangSchedulingSetupFunc).SetupWithManager(mgr, controllerThreads) }, kubeflowv1.XGBoostJobKind: func(mgr manager.Manager, gangSchedulingSetupFunc common.GangSchedulingSetupFunc, controllerThreads int) error { return xgboostcontroller.NewReconciler(mgr, gangSchedulingSetupFunc).SetupWithManager(mgr, controllerThreads) }, kubeflowv1.MPIJobKind: func(mgr manager.Manager, gangSchedulingSetupFunc common.GangSchedulingSetupFunc, controllerThreads int) error { return mpicontroller.NewReconciler(mgr, gangSchedulingSetupFunc).SetupWithManager(mgr, controllerThreads) }, kubeflowv1.PaddleJobKind: func(mgr manager.Manager, gangSchedulingSetupFunc common.GangSchedulingSetupFunc, controllerThreads int) error { return paddlecontroller.NewReconciler(mgr, gangSchedulingSetupFunc).SetupWithManager(mgr, controllerThreads) }, kubeflowv1.JAXJobKind: func(mgr manager.Manager, gangSchedulingSetupFunc common.GangSchedulingSetupFunc, controllerThreads int) error { return jaxcontroller.NewReconciler(mgr, gangSchedulingSetupFunc).SetupWithManager(mgr, controllerThreads) }, }
Functions ¶
This section is empty.
Types ¶
type EnabledSchemes ¶
type EnabledSchemes []string
func (*EnabledSchemes) Empty ¶
func (es *EnabledSchemes) Empty() bool
func (*EnabledSchemes) FillAll ¶
func (es *EnabledSchemes) FillAll()
func (*EnabledSchemes) Set ¶
func (es *EnabledSchemes) Set(kind string) error
func (*EnabledSchemes) String ¶
func (es *EnabledSchemes) String() string
type ReconcilerSetupFunc ¶
Directories
¶
Path | Synopsis |
---|---|
Package controller provides a Kubernetes controller for a TFJob resource.
|
Package controller provides a Kubernetes controller for a TFJob resource. |
Click to show internal directories.
Click to hide internal directories.