Documentation
¶
Index ¶
- Constants
- type ReconcileTrial
- func (r *ReconcileTrial) ControllerName() string
- func (r *ReconcileTrial) Reconcile(req ctrl.Request) (ctrl.Result, error)
- func (r *ReconcileTrial) SetupWithManager(mgr ctrl.Manager) error
- func (r *ReconcileTrial) UpdateTrialStatusByClientJob(instance *morphlingv1alpha1.Trial, deployedJob *batchv1.Job) error
- func (r *ReconcileTrial) UpdateTrialStatusByServiceDeployment(instance *morphlingv1alpha1.Trial, deployedDeployment *appsv1.Deployment)
Constants ¶
View Source
const (
ControllerName = "trial-controller"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReconcileTrial ¶
type ReconcileTrial struct { client.Client Log logr.Logger Scheme *runtime.Scheme dbclient.DBClient // contains filtered or unexported fields }
func NewReconciler ¶
func NewReconciler(mgr manager.Manager) *ReconcileTrial
func (*ReconcileTrial) ControllerName ¶
func (r *ReconcileTrial) ControllerName() string
func (*ReconcileTrial) Reconcile ¶
Reconcile reads that state of the cluster for a trial object and makes changes based on the state read
func (*ReconcileTrial) SetupWithManager ¶
func (r *ReconcileTrial) SetupWithManager(mgr ctrl.Manager) error
func (*ReconcileTrial) UpdateTrialStatusByClientJob ¶
func (r *ReconcileTrial) UpdateTrialStatusByClientJob(instance *morphlingv1alpha1.Trial, deployedJob *batchv1.Job) error
func (*ReconcileTrial) UpdateTrialStatusByServiceDeployment ¶
func (r *ReconcileTrial) UpdateTrialStatusByServiceDeployment(instance *morphlingv1alpha1.Trial, deployedDeployment *appsv1.Deployment)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.