(ctx context.Context, a *appv1.Application, eventInfo argo.EventInfo, message string)
| 2682 | } |
| 2683 | |
| 2684 | func (ctrl *ApplicationController) logAppEvent(ctx context.Context, a *appv1.Application, eventInfo argo.EventInfo, message string) { |
| 2685 | eventLabels := argo.GetAppEventLabels(ctx, a, applisters.NewAppProjectLister(ctrl.projInformer.GetIndexer()), ctrl.namespace, ctrl.settingsMgr, ctrl.db) |
| 2686 | ctrl.auditLogger.LogAppEvent(a, eventInfo, message, "", eventLabels) |
| 2687 | } |
| 2688 | |
| 2689 | func (ctrl *ApplicationController) applyImpersonationConfig(config *rest.Config, proj *appv1.AppProject, app *appv1.Application, destCluster *appv1.Cluster) error { |
| 2690 | impersonationEnabled, err := ctrl.settingsMgr.IsImpersonationEnabled() |
no test coverage detected