Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsWorkloadFinished ¶
func IsWorkloadFinished(workload metav1.Object) (kubeflowv1.JobConditionType, bool)
IsWorkloadFinished checks if the workload is finished.
Types ¶
type CronReconciler ¶
type CronReconciler struct {
// contains filtered or unexported fields
}
CronReconciler reconciles a Cron object.
func NewCronReconciler ¶
func NewCronReconciler(s *runtime.Scheme, c client.Client, r client.Reader, recorder record.EventRecorder) *CronReconciler
NewCronReconciler creates a new CronReconciler instance.
func (*CronReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. The controller will reconcile the Cron object and create/manage jobs based on the cron schedule.
func (*CronReconciler) SetupWithManager ¶
func (r *CronReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.