Documentation ¶
Index ¶
- type MachineLearningReconciler
- func (r *MachineLearningReconciler) GetCephFSPVC(ctx context.Context, ns string) (*PVCDetailInfo, error)
- func (r *MachineLearningReconciler) GetLatestPVCByNFSProvisioner(ctx context.Context, ns string) (*PVCDetailInfo, error)
- func (r *MachineLearningReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *MachineLearningReconciler) SetupWithManager(mgr ctrl.Manager) error
- type PVCDetailInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MachineLearningReconciler ¶
type MachineLearningReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder }
MachineLearningReconciler reconciles a MachineLearning object
func (*MachineLearningReconciler) GetCephFSPVC ¶
func (r *MachineLearningReconciler) GetCephFSPVC(ctx context.Context, ns string) (*PVCDetailInfo, error)
GetCephFSPVC is tools to search pvc for cephfs deployed by cks-operator in user k8s namespace
func (*MachineLearningReconciler) GetLatestPVCByNFSProvisioner ¶
func (r *MachineLearningReconciler) GetLatestPVCByNFSProvisioner(ctx context.Context, ns string) (*PVCDetailInfo, error)
GetLatestPVCByNFSProvisioner is tools to search latest pvc for nfs deployed by cks-operator in user k8s namespace
func (*MachineLearningReconciler) Reconcile ¶
func (r *MachineLearningReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is main function for reconciliation loop
func (*MachineLearningReconciler) SetupWithManager ¶
func (r *MachineLearningReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager set up reconciliation loop
Click to show internal directories.
Click to hide internal directories.