Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchJobReconciler ¶
type BatchJobReconciler struct { client.Client Config BatchJobReconcilerConfig Log logr.Logger AWS *awslib.Client ClusterConfig *clusterconfig.Config Prometheus promv1.API Scheme *runtime.Scheme }
BatchJobReconciler reconciles a BatchJob object
func (*BatchJobReconciler) 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.
func (*BatchJobReconciler) SetupWithManager ¶
func (r *BatchJobReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type BatchJobReconcilerConfig ¶
type BatchJobReconcilerConfig struct { GetTotalBatchCount func(r *BatchJobReconciler, batchJob batch.BatchJob) (int, error) GetMetrics func(r *BatchJobReconciler, batchJob batch.BatchJob) (metrics.BatchMetrics, error) SaveJobMetrics func(r *BatchJobReconciler, batchJob batch.BatchJob) error SaveJobStatus func(r *BatchJobReconciler, batchJob batch.BatchJob) error }
BatchJobReconcilerConfig reconciler config for the BatchJob kind. Allows for mocking specific methods
func (BatchJobReconcilerConfig) ApplyDefaults ¶
func (c BatchJobReconcilerConfig) ApplyDefaults() BatchJobReconcilerConfig
ApplyDefaults sets the defaults for BatchJobReconcilerConfig
Click to show internal directories.
Click to hide internal directories.