Documentation ¶
Index ¶
Constants ¶
View Source
const (
ServiceAccountName = "korifi-task"
)
Variables ¶
This section is empty.
Functions ¶
func NewTaskWorkloadReconciler ¶
func NewTaskWorkloadReconciler( logger logr.Logger, k8sClient client.Client, scheme *runtime.Scheme, statusGetter TaskStatusGetter, jobTTL time.Duration, ) *k8s.PatchingReconciler[korifiv1alpha1.TaskWorkload, *korifiv1alpha1.TaskWorkload]
Types ¶
type StatusGetter ¶
type StatusGetter struct {
// contains filtered or unexported fields
}
func NewStatusGetter ¶
func NewStatusGetter(k8sClient client.Client) *StatusGetter
func (*StatusGetter) GetStatusConditions ¶
type TaskStatusGetter ¶
type TaskWorkloadReconciler ¶
type TaskWorkloadReconciler struct {
// contains filtered or unexported fields
}
TaskWorkloadReconciler reconciles a TaskWorkload object
func (*TaskWorkloadReconciler) ReconcileResource ¶ added in v0.4.0
func (r *TaskWorkloadReconciler) ReconcileResource(ctx context.Context, taskWorkload *korifiv1alpha1.TaskWorkload) (ctrl.Result, error)
func (*TaskWorkloadReconciler) SetupWithManager ¶
func (r *TaskWorkloadReconciler) SetupWithManager(mgr ctrl.Manager) *builder.Builder
Click to show internal directories.
Click to hide internal directories.